MindFormal v1.0.0One Mind

MindFormal.Example.A617Judgment.EpisodeRowIntegral

Vector form of the actual zero-start native relation equation during training. Only the presented input and quiet-pulse hypotheses are used.

theorem MindFormal.A617Judgment.EpisodeFamily.native_row_integral {Ω : Type u_1} [MeasurableSpace Ω] {N : ℕ} (P : Parameters) (B : EquationGround Ω (Coord N)) (hB : CompletedEquationGround B) (H : NNReal) (W : ConstructedWorld (mind P) B) (ω : Ω) {t U : ℝ} (ht : 0 ≤ t) (world : ℝ → Fin N) (hin : ∀ s ∈ Set.Icc 0 t, ((experimentWorld P B hB H W).supportHistory ω).input s = Pi.single (world s) U) (hp : ∀ s ∈ Set.Icc 0 t, ((experimentWorld P B hB H W).supportHistory ω).pulse s = 0) (hi : IntervalIntegrable (fun (s : ℝ) => (Episodes.instantForce P.β (fun (k : Fin N) => Episodes.portSignal U world k s) (mindActivity (((experimentWorld P B hB H W).supportHistory ω).state s)) fun (k : Fin N) => mindTrace (((experimentWorld P B hB H W).supportHistory ω).state s) k ()) - fun (i j : Fin N) => (Episodes.instantMatrix P.β (mindActivity (((experimentWorld P B hB H W).supportHistory ω).state s)) (fun (k : Fin N) => mindTrace (((experimentWorld P B hB H W).supportHistory ω).state s) k ()) i).mulVec (mindRelation (((experimentWorld P B hB H W).supportHistory ω).state s) i) j) MeasureTheory.volume 0 t) (i : Fin N) :
mindRelation (((experimentWorld P B hB H W).supportHistory ω).state t) i = (P.m • ∫ (s : ℝ) in 0..t, Episodes.instantForce P.β (fun (k : Fin N) => Episodes.portSignal U world k s) (mindActivity (((experimentWorld P B hB H W).supportHistory ω).state s)) (fun (k : Fin N) => mindTrace (((experimentWorld P B hB H W).supportHistory ω).state s) k ()) i - (Episodes.instantMatrix P.β (mindActivity (((experimentWorld P B hB H W).supportHistory ω).state s)) (fun (k : Fin N) => mindTrace (((experimentWorld P B hB H W).supportHistory ω).state s) k ()) i).mulVec (mindRelation (((experimentWorld P B hB H W).supportHistory ω).state s) i)) + fun (j : Fin N) => ((experimentWorld P B hB H W).supportHistory ω).driver t.toNNReal (Sum.inl (i, j))