MindFormal v1.0.0One Mind

MindFormal.Run.A640Settings.Trace

theorem MindFormal.A640Settings.paired_trace {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (long short : PhysicalGlobalData N n T Λ) (i : Fin N) (l : Λ) {t : ℝ} (ht : 0 ≤ t) (hstart : mindTrace (long.state 0) i l = mindTrace (short.state 0) i l) :
mindTrace (long.state t) i l - mindTrace (short.state t) i l = (Real.exp (-long.data.rate l * t) * mindTrace (short.state 0) i l + long.data.rate l * ∫ (s : ℝ) in 0..t, Real.exp (-long.data.rate l * (t - s)) * mindActivity (short.state s) i) - (Real.exp (-short.data.rate l * t) * mindTrace (short.state 0) i l + short.data.rate l * ∫ (s : ℝ) in 0..t, Real.exp (-short.data.rate l * (t - s)) * mindActivity (short.state s) i) + long.data.rate l * ∫ (s : ℝ) in 0..t, Real.exp (-long.data.rate l * (t - s)) * (mindActivity (long.state s) i - mindActivity (short.state s) i)

Direct kernel change on the short-trace run, plus the entire changed activity history. No native writer, clock or return is held here.

theorem MindFormal.A640Settings.paired_trace_feedback_bound {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (long short : PhysicalGlobalData N n T Λ) (i : Fin N) (l : Λ) {t D : ℝ} (ht : 0 ≤ t) (hD : ∀ s ∈ Set.Icc 0 t, |mindActivity (long.state s) i - mindActivity (short.state s) i| ≤ D) :
|long.data.rate l * ∫ (s : ℝ) in 0..t, Real.exp (-long.data.rate l * (t - s)) * (mindActivity (long.state s) i - mindActivity (short.state s) i)| ≤ (1 - Real.exp (-long.data.rate l * t)) * D