MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch14.HeldMargin

theorem MindFormal.RevealedChoice.held_eligible_time {ν target need release H : ℝ} (hν : 0 < ν) (hn : 0 < need) (hr : 0 ≤ release) :
hitTime (referenceActivity ν target 0) need release H = if max (↑release) (extendedPassageTime ν target 0 need) ≤ ↑H then max (↑release) (extendedPassageTime ν target 0 need) else ⊤

RP1.13's held-reference eligibility correction. The uncensored time is the existing extended passage time; take its maximum with eligibility and replace a result beyond the horizon by infinity. Unreachable targets and eligibility beyond the deadline are retained.

theorem MindFormal.RevealedChoice.held_score_time (ν target need bar shift release H : ℝ) (hν : 0 < ν) (hn : 0 < need + shift) (hr : 0 ≤ release) :
hitTime (fun (t : ℝ) => referenceActivity ν target 0 t + bar - need) (bar + shift) release H = if max (↑release) (extendedPassageTime ν target 0 (need + shift)) ≤ ↑H then max (↑release) (extendedPassageTime ν target 0 (need + shift)) else ⊤

The held output score's shifted bar is exactly a shifted requirement. Consequently both signs of the score allowance use held_eligible_time, with need b + E or b - E and the corresponding eligibility endpoint.

theorem MindFormal.RevealedChoice.held_comparison_time {Ω : 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} {B : OwnBox E H} {C : LoadComparison B} (R : OutputComparison C) (ν : ℝ) (target need : Fin N → ℝ) (hν : 0 < ν) (held : ∀ t ∈ Set.Icc 0 ↑H, ∀ (j : Fin N), R.score t j = referenceActivity ν (target j) 0 t + E.mind.reads.actionBar - need j) (i : Fin N) (shift release : ℝ) (hn : 0 < need i + shift) (hr : 0 ≤ release) :
hitTime (fun (t : ℝ) => R.score t i) (E.mind.reads.actionBar + shift) release ↑H = if max (↑release) (extendedPassageTime ν (target i) 0 (need i + shift)) ≤ ↑↑H then max (↑release) (extendedPassageTime ν (target i) 0 (need i + shift)) else ⊤

A computed comparison with the held score identity has exactly these eligibility-adjusted hit times. The identity is needed only on the certificate horizon. Substituting the two signs gives the times used in margin_event and race_bin_probability, including every censored or unreachable branch.

theorem MindFormal.RevealedChoice.held_margin_probability {Ω : 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} {B : OwnBox E H} {C : LoadComparison B} (R : OutputComparison C) (hH : H ≤ E.horizon) (ν e : ℝ) (target need : Fin N → ℝ) (hν : 0 < ν) (he : 0 < e) (hn : ∀ (j : Fin N), e < need j) (held : ∀ t ∈ Set.Icc 0 ↑H, ∀ (j : Fin N), R.score t j = referenceActivity ν (target j) 0 t + E.mind.reads.actionBar - need j) (error : ∀ t ∈ Set.Icc 0 ↑H, ∀ (j : Fin N), R.error t j ≤ e) (w : Fin N) (hw : E.mind.reads.outputs w = true) (deadline : need w + e < (1 - Real.exp (-ν * ↑H)) * target w) (pairs : ∀ (j : Fin N), j ≠ w → E.mind.reads.outputs j = true → 0 < target j → (need w + e) * target j < (need j - e) * target w) :
1 - B.errorProbability ≤ E.ground.μ.real {ω : Ω | ∃ t ∈ Set.Icc 0 ↑H, E.supportRecord H false 0 ω = (t, Sum.inl w)}

RP1.13's concrete product and strict deadline margin at common release zero, on the full learning mind's own noise. This applies finite_race_own; its held identity and uniform error bound concern the computed comparison. Positive-target rivals are tested, including unoffered native outputs.