MindFormal v1.0.0One Mind

MindFormal.Run.A699Shared.MeanJacobian

noncomputable def MindFormal.A699Shared.linkForcing {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] (d : MindDriftData C n T Λ) (u q : C → ℝ) (s : MindState C n T Λ) (i j : C) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    noncomputable def MindFormal.A699Shared.linkLoss {C : Type u_1} {T : Type u_2} {Λ : Type u_3} {n : ℕ} [Fintype C] [Fintype Λ] [DecidableEq C] (d : MindDriftData C n T Λ) (u : C → ℝ) (s : MindState C n T Λ) (i j m : C) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.A699Shared.mean_row_derivative {C : Type u_1} [Fintype C] {dbar : (C × C → ℝ) → ℝ} {Lbar : C → (C × C → ℝ) → ℝ} {z : C × C → ℝ} (hd : DifferentiableAt ℝ dbar z) (hL : ∀ (m : C), DifferentiableAt ℝ (Lbar m) z) (i : C) (v : C × C → ℝ) :
      (fderiv ℝ (fun (w : C × C → ℝ) => dbar w - ∑ m : C, Lbar m w * w (i, m)) z) v = (fderiv ℝ dbar z) v - ∑ m : C, (fderiv ℝ (Lbar m) z) v * z (i, m) - ∑ m : C, Lbar m z * v (i, m)

      Differentiating the full conditional coefficient moments includes their dependence on learned coordinates. No derivative of the experience distribution is dropped: it is already inside dbar and Lbar.

      theorem MindFormal.A699Shared.mean_row_coordinate {C : Type u_1} [Fintype C] [DecidableEq C] {dbar : (C × C → ℝ) → ℝ} {Lbar : C → (C × C → ℝ) → ℝ} {z : C × C → ℝ} (hd : DifferentiableAt ℝ dbar z) (hL : ∀ (m : C), DifferentiableAt ℝ (Lbar m) z) (i k l : C) :
      (fderiv ℝ (fun (w : C × C → ℝ) => dbar w - ∑ m : C, Lbar m w * w (i, m)) z) (Pi.single (k, l) 1) = (fderiv ℝ dbar z) (Pi.single (k, l) 1) - ∑ m : C, (fderiv ℝ (Lbar m) z) (Pi.single (k, l) 1) * z (i, m) - if k = i then Lbar l z else 0