MindFormal v1.0.0One Mind

MindFormal.Equations.FiniteRaceTransfer

theorem MindFormal.native_finite_inner_coordinates {N : ℕ} (mask : Fin N → Bool) (bar ν H : ℝ) (e target need : Fin N → ℝ) (score : ℝ → Fin N → ℝ) {r : ℝ} (S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then score t i - bar else -1) score r H) (hr : r = 0) (hν : 0 < ν) (hH : 0 ≤ H) (he : ∀ (j : Fin N), 0 ≤ e j) (hn : ∀ (j : Fin N), e j < need j) (enclosure : ∀ t ∈ Set.Icc 0 H, ∀ (j : Fin N), |score t j - (referenceActivity ν (target j) 0 t + bar - need j)| ≤ e j) (w : Fin N) (hw : mask w = true) (deadline : need w + e w ≤ referenceActivity ν (target w) 0 H) (pairs : ∀ (j : Fin N), j ≠ w → mask j = true → 0 < target j → (need w + e w) * target j < (need j - e j) * target w) :
∃ t ∈ Set.Icc 0 H, S.event = some (t, w)

The finite raised/lowered inner test with one computed score error per port. Scores need only be enclosed by the independently computed held curves on the whole search window. The native event is derived, with all masked outputs tested.

theorem MindFormal.native_finite_inner {N : ℕ} (mask : Fin N → Bool) (bar ν H e : ℝ) (target need : Fin N → ℝ) (score : ℝ → Fin N → ℝ) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then score t i - bar else -1) score 0 H) (hν : 0 < ν) (hH : 0 ≤ H) (he : 0 ≤ e) (hn : ∀ (j : Fin N), e < need j) (enclosure : ∀ t ∈ Set.Icc 0 H, ∀ (j : Fin N), |score t j - (referenceActivity ν (target j) 0 t + bar - need j)| ≤ e) (w : Fin N) (hw : mask w = true) (deadline : need w + e ≤ referenceActivity ν (target w) 0 H) (pairs : ∀ (j : Fin N), j ≠ w → mask j = true → 0 < target j → (need w + e) * target j < (need j - e) * target w) :
∃ t ∈ Set.Icc 0 H, S.event = some (t, w)

RT1.7's finite raised/lowered inner test. Scores need only be enclosed by the independently computed held curves on the whole search window. The native event is derived, with all masked outputs tested.

theorem MindFormal.native_finite_outer_coordinates {N : ℕ} (mask : Fin N → Bool) (bar ν H : ℝ) (e target need : Fin N → ℝ) (score : ℝ → Fin N → ℝ) {r : ℝ} (S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then score t i - bar else -1) score r H) (hr : r = 0) (hν : 0 < ν) (hn : ∀ (j : Fin N), e j < need j) (enclosure : ∀ t ∈ Set.Icc 0 H, ∀ (j : Fin N), |score t j - (referenceActivity ν (target j) 0 t + bar - need j)| ≤ e j) {t : ℝ} {w : Fin N} (hit : S.event = some (t, w)) :
need w - e w ≤ referenceActivity ν (target w) 0 H ∧ ∀ (j : Fin N), mask j = true → 0 < target j → (need w - e w) * target j ≤ (need j + e j) * target w

The weak outer test with one computed score error per port. An actual winner must pass its lowered deadline and its lowered-versus-raised cross-product inequalities. Initial strict nonqualification follows from e < need, so release overshoots are not mistaken for first contacts.

theorem MindFormal.native_finite_outer {N : ℕ} (mask : Fin N → Bool) (bar ν H e : ℝ) (target need : Fin N → ℝ) (score : ℝ → Fin N → ℝ) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then score t i - bar else -1) score 0 H) (hν : 0 < ν) (hn : ∀ (j : Fin N), e < need j) (enclosure : ∀ t ∈ Set.Icc 0 H, ∀ (j : Fin N), |score t j - (referenceActivity ν (target j) 0 t + bar - need j)| ≤ e) {t : ℝ} {w : Fin N} (hit : S.event = some (t, w)) :
need w - e ≤ referenceActivity ν (target w) 0 H ∧ ∀ (j : Fin N), mask j = true → 0 < target j → (need w - e) * target j ≤ (need j + e) * target w

RT1.7's weak outer test. An actual winner must pass its lowered deadline and its lowered-versus-raised cross-product inequalities. Initial strict nonqualification follows from e < need, so release overshoots are not mistaken for first contacts.

theorem MindFormal.native_finite_deferral {N : ℕ} (mask : Fin N → Bool) (bar ν H e : ℝ) (target need : Fin N → ℝ) (score : ℝ → Fin N → ℝ) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then score t i - bar else -1) score 0 H) (hν : 0 < ν) (hn : ∀ (j : Fin N), e < need j) (enclosure : ∀ t ∈ Set.Icc 0 H, ∀ (j : Fin N), |score t j - (referenceActivity ν (target j) 0 t + bar - need j)| ≤ e) (deadline : ∀ (j : Fin N), mask j = true → referenceActivity ν (target j) 0 H + e < need j) :

The finite deferral test checks every enabled output at the horizon. Nonpositive targets stay unreachable; positive targets are increasing.