MindFormal v1.0.0One Mind

MindFormal.Run.PromptRangeClosure

theorem MindFormal.StateExperiment.prefix_box {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) {Ht : NNReal} (B : OwnBox E Ht) {ω : Ω} (hgood : E.own.data.toPhysicalNoiseData.Good ω) (hstream : ω ∈ B.stream) {u : NNReal} (huH : u ≤ Ht) (hP : ∀ s ≤ u, ∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver s c| ≤ B.allowance c) (t : ℝ) :
t ∈ Set.Icc 0 ↑u → InCorridorBox (↑(E.start.state ω)) B.X B.Xr B.ρW B.ρv ((E.supportHistory ω).state t)

The existing box closure on a bounded prefix of the own run.

theorem MindFormal.StateExperiment.prompt_range_closure {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (E : StateExperiment Ω N n T Λ J) {Ht : NNReal} (B : OwnBox E Ht) {K : Type u_5} [Fintype K] {Φ : MindState (Fin N) n T Λ → K → ℝ} (hΦ : Continuous Φ) (R : NNReal) {ω : Ω} (hgood : E.own.data.toPhysicalNoiseData.Good ω) (hstream : ω ∈ B.stream) (p h : NNReal) (hpH : p + h ≤ Ht) (hHt : Ht ≤ E.horizon) {τ : Ω → WithTop NNReal} (hp : τ ω = ↑p) (past future : CoordinateIndex (Fin N) n T Λ → ℝ) (hallow : ∀ (c : CoordinateIndex (Fin N) n T Λ), past c + future c < B.allowance c) (hpre : ∀ s ≤ p, ∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver s c| ≤ past c) (hpost : ∀ s ≤ E.horizon, ∀ (c : CoordinateIndex (Fin N) n T Λ), |MeasureTheory.stoppedProcess (MeasureTheory.stoppedProcess (fun (t : NNReal) (ω : Ω) => E.ownPath t ω c) (E.ownRangeExit Φ R)) (fun (ω : Ω) => τ ω + ↑h) s ω - MeasureTheory.stoppedProcess (MeasureTheory.stoppedProcess (fun (t : NNReal) (ω : Ω) => E.ownPath t ω c) (E.ownRangeExit Φ R)) τ s ω| < future c) (hinside : ∀ s0 ∈ B.starts, ∀ (s : MindState (Fin N) n T Λ), InCorridorBox (↑s0) B.X B.Xr B.ρW B.ρv s → ‖Φ s‖ < ↑R) :
↑p + ↑h < E.ownRangeExit Φ R ω ∧ (∀ t ∈ Set.Icc 0 ↑(p + h), InCorridorBox (↑(E.start.state ω)) B.X B.Xr B.ρW B.ρv ((E.supportHistory ω).state t)) ∧ ∀ s ∈ Set.Icc p (p + h), ∀ (c : CoordinateIndex (Fin N) n T Λ), |(E.supportHistory ω).driver s c - (E.supportHistory ω).driver p c| < future c

Closing FR6's range removes the future stop. The past driver is bounded up to the actual prompt; only increments of the stopped original driver are bounded afterwards. All writes, values, traces and native pulses keep running. The box and its state-range containment are primitive coefficient and margin checks.