MindFormal v1.0.0One Mind

MindFormal.Run.PendingGlobal

theorem MindFormal.PhysicalGlobalData.compare_before {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (H : NNReal) (c : ↑(HorizonTime ↑H)) {dr : MindDriftData (Fin N) n T Λ} (R : LearningReference dr ⟨↑H - ↑c, ⋯⟩) (cap : ↑(HorizonTime (↑H - ↑c))) {d0 b L Δ room : ℝ} (hd0 : 0 ≤ d0) (hb : 0 ≤ b) (hL : 0 ≤ L) (hΔ : 0 ≤ Δ) (hstart : ‖G.state ↑c - ↑R.start‖ ≤ d0) (m : ℝ → ℝ) (hm : IntervalIntegrable m MeasureTheory.volume 0 (↑H - ↑c)) (hbudget : ∀ t ≤ cap, ∫ (s : ℝ) in 0..↑t, m s ≤ Δ) (hnoise : ∀ t ≤ cap, (∀ s ≤ t, ‖G.state (↑c + ↑s) - R.path s‖ ≤ room) → ∀ s ≤ t, ‖G.driver (↑c + ↑s).toNNReal - G.driver (↑c).toNNReal‖ ≤ b) (hlocal : ∀ t ≤ cap, ∀ (z : MindState (Fin N) n T Λ), PhysicalMindState z → ‖z - R.path t‖ ≤ room → ‖assembledDrift G.data (G.input (↑c + ↑t)) (G.pulse (↑c + ↑t)) z - learningForcing dr ⋯ R.input R.mode R.path ↑t‖ ≤ L * ‖z - R.path t‖ + m ↑t) (hroom : 2 * (d0 + b + Δ) * Real.exp (2 * L * (↑H - ↑c)) < room) (t : ↑(HorizonTime (↑H - ↑c))) :
t ≤ cap → ‖G.state (↑c + ↑t) - R.path t‖ ≤ 2 * (d0 + b + Δ) * Real.exp (2 * L * (↑H - ↑c)) ∧ ‖G.state (↑c + ↑t) - R.path t‖ < room

Prefix comparison on the original global state. Finite restriction and translation are identities of that state and driver, rather than a new run.

theorem MindFormal.PhysicalGlobalData.compare_window_before {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (p H : NNReal) {dr : MindDriftData (Fin N) n T Λ} (R : LearningReference dr H) (cap : ↑(HorizonTime ↑H)) {d0 b L Δ room : ℝ} (hd0 : 0 ≤ d0) (hb : 0 ≤ b) (hL : 0 ≤ L) (hΔ : 0 ≤ Δ) (hstart : ‖G.state ↑p - ↑R.start‖ ≤ d0) (m : ℝ → ℝ) (hm : IntervalIntegrable m MeasureTheory.volume 0 ↑H) (hbudget : ∀ t ≤ cap, ∫ (s : ℝ) in 0..↑t, m s ≤ Δ) (hnoise : ∀ t ≤ cap, (∀ s ≤ t, ‖G.state (↑p + ↑s) - R.path s‖ ≤ room) → ∀ s ≤ t, ‖G.driver (↑p + ↑s).toNNReal - G.driver p‖ ≤ b) (hlocal : ∀ t ≤ cap, ∀ (z : MindState (Fin N) n T Λ), PhysicalMindState z → ‖z - R.path t‖ ≤ room → ‖assembledDrift G.data (G.input (↑p + ↑t)) (G.pulse (↑p + ↑t)) z - learningForcing dr ⋯ R.input R.mode R.path ↑t‖ ≤ L * ‖z - R.path t‖ + m ↑t) (hroom : 2 * (d0 + b + Δ) * Real.exp (2 * L * ↑H) < room) (t : ↑(HorizonTime ↑H)) :
t ≤ cap → ‖G.state (↑p + ↑t) - R.path t‖ ≤ 2 * (d0 + b + Δ) * Real.exp (2 * L * ↑H) ∧ ‖G.state (↑p + ↑t) - R.path t‖ < room

Fixed-duration form of the same pending comparison. The start is the attained full state and the noise is its original increment.