MindFormal v1.0.0One Mind

MindFormal.Run.A630MenuSearch.NativeMargin

Native margin adapters independent of any history-wide box certificate. The deterministic score enclosure is an internal lemma; LocalReference.event constructs it from the printed local coefficient holds.

theorem MindFormal.A630MenuSearch.race_of_error {Ω : 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} {H : NNReal} (f : ℝ → Fin N → ℝ) (continuous : ∀ (i : Fin N), Continuous fun (t : ℝ) => f t i) {ω : Ω} {k : ℕ} {e rlo rhi : ℝ} (hr0 : 0 ≤ rlo) (hr : ((E.supportHistory ω).native (↑H) false).release k ∈ Set.Icc rlo rhi) (enc : ∀ t ∈ Set.Icc 0 ↑H, ∀ (i : Fin N), |((E.supportHistory ω).reads.scores false) ((E.supportHistory ω).realPath t) i - f t i| ≤ e) (w : Fin N) (hw : E.mind.reads.outputs w = true) (deadline : hitTime (fun (t : ℝ) => f t w) (E.mind.reads.actionBar + e) rhi ↑H ≤ ↑↑H) (separation : ∀ (j : Fin N), j ≠ w → E.mind.reads.outputs j = true → hitTime (fun (t : ℝ) => f t w) (E.mind.reads.actionBar + e) rhi ↑H < hitTime (fun (t : ℝ) => f t j) (E.mind.reads.actionBar - e) rlo ↑H) :
∃ t ∈ Set.Icc 0 ↑H, E.supportRecord H false k ω = (t, Sum.inl w) ∧ hitTime (fun (t : ℝ) => f t w) (E.mind.reads.actionBar - e) rlo ↑H ≤ ↑t ∧ ↑t ≤ hitTime (fun (t : ℝ) => f t w) (E.mind.reads.actionBar + e) rhi ↑H
theorem MindFormal.A630MenuSearch.window_of_error {Ω : 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} {H : NNReal} (f e : ℝ → Fin N → ℝ) {ω : Ω} {k : ℕ} {L U : ℝ} (w : Fin N) (he : ∀ t ∈ Set.Icc 0 ↑H, ∀ (i : Fin N), |((E.supportHistory ω).reads.scores false) ((E.supportHistory ω).realPath t) i - f t i| ≤ e t i) (hL : 0 ≤ L) (hLU : L ≤ U) (hr0 : 0 ≤ ((E.supportHistory ω).native (↑H) false).release k) (hrU : ((E.supportHistory ω).native (↑H) false).release k ≤ U) (hU : U ≤ ↑H) (hw : E.mind.reads.outputs w = true) (before : ∀ t ∈ Set.Icc 0 ↑H, ((E.supportHistory ω).native (↑H) false).release k ≤ t → t < L → ∀ (j : Fin N), E.mind.reads.outputs j = true → f t j + e t j < E.mind.reads.actionBar) (qualifies : E.mind.reads.actionBar ≤ f U w - e U w) (dominates : ∀ t ∈ Set.Icc L U, 0 ≤ t → ∀ (j : Fin N), j ≠ w → E.mind.reads.outputs j = true → f t j + e t j < f t w - e t w) :
∃ t ∈ Set.Icc L U, E.supportRecord H false k ω = (t, Sum.inl w)
theorem MindFormal.A630MenuSearch.deferral_of_error {Ω : 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} {H : NNReal} (f e : ℝ → Fin N → ℝ) {ω : Ω} {k : ℕ} (he : ∀ t ∈ Set.Icc 0 ↑H, ∀ (i : Fin N), |((E.supportHistory ω).reads.scores false) ((E.supportHistory ω).realPath t) i - f t i| ≤ e t i) (hr : 0 ≤ ((E.supportHistory ω).native (↑H) false).release k) (quiet : ∀ t ∈ Set.Icc (((E.supportHistory ω).native (↑H) false).release k) ↑H, ∀ (j : Fin N), E.mind.reads.outputs j = true → f t j + e t j < E.mind.reads.actionBar) :