MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch03.A630MenuSearch.Paths

In One Mind, clause 5 of result 3.4: When the first option to act is the first one good enough · all its clauses in Lean
theorem MindFormal.A630MenuSearch.result_03_21_5_L634 {N M : ℕ} {g f : ℝ → Fin N → ℝ} {H r : ℝ} (D : DeclaredMenu M) (embed : Fin M ↪ Fin N) (S : NativeSearch g f r H) :
nativeChoice S = Option.map (⇑embed) D.first ↔ match D.first with | none => ∀ t ∈ Set.Icc r H, ∀ (i : Fin N), g t i < 0 | some i => pathCriterion g f r H (embed i)

03.21.5. SF1.2: independently declared menu/order/value/aspiration, all native rivals, current-score ties at release and the empty-acceptance branch. On the initially unqualified branch, initial_priority_path_iff derives the exact time/priority test by continuity.

In One Mind, clause 6 of result 3.4: When the first option to act is the first one good enough · all its clauses in Lean
theorem MindFormal.A630MenuSearch.result_03_21_6_L634 {N : ℕ} {f : ℝ → Fin N → ℝ} {H : ℝ} (mask : Fin N → Bool) (bar ν : ℝ) (T z need U : Fin N → ℝ) (hν : 0 < ν) (hs : ∀ (i : Fin N), mask i = true → z i < need i) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then f t i - bar else -1) f 0 H) (calibration : ∀ t ∈ Set.Icc 0 H, ∀ (i : Fin N), mask i = true → (bar ≤ f t i ↔ need i ≤ referenceActivity ν (T i) (z i) t)) :
(∃ (i : Fin N), nativeChoice S = some i ∧ ∀ (j : Fin N), mask j = true → U j ≤ U i) ↔ ∃ (i : Fin N), MaskedFractionWinner mask T z need i ∧ passageTime ν (T i) (z i) (need i) ≤ H ∧ ∀ (j : Fin N), mask j = true → U j ≤ U i

03.21.6. SF1.7: the actual native winner maximizes the independently declared value exactly when its least reachable fraction and fixed priority do. The held comparison retains output masks, unreachable rivals, finite deadlines and unequal inherited starts/requirements.

In One Mind, clause 7 of result 3.4: When the first option to act is the first one good enough · all its clauses in Lean
theorem MindFormal.A630MenuSearch.result_03_21_7_L634 {N M : ℕ} {g f : ℝ → Fin N → ℝ} {H : ℝ} (D : DeclaredMenu M) (embed : Fin M ↪ Fin N) (P : InspectionProtocol g H (D.order.toEmbedding.trans embed)) (S : NativeSearch g f 0 H) (m : Fin M) (accepts : D.aspiration m ≤ D.value (D.order m)) (earlier : ∀ k < m, D.value (D.order k) < D.aspiration k) (ν : ℝ) (T z : Fin M → ℝ) (need : Fin M → Option ℝ) (hν : 0 < ν) (starts : ∀ (k : Fin M) (h : ℝ), need k = some h → z k < h) (held : ∀ (k : Fin M), ∀ t ∈ Set.Icc (P.start k) (P.finish k), 0 ≤ g t (embed (D.order k)) ↔ ∃ (h : ℝ), need k = some h ∧ h ≤ referenceActivity ν (T k) (z k) (t - P.start k)) :
nativeChoice S = Option.map (⇑embed) D.first ↔ (∀ k < m, ∀ (h : ℝ), need k = some h → referenceActivity ν (T k) (z k) (P.finish k - P.start k) < h) ∧ ∃ (h : ℝ), need m = some h ∧ h ≤ referenceActivity ν (T m) (z m) (P.finish m - P.start m)

03.21.7. SF1.5: under the printed no-outside-action prefix exclusion, native agreement is equivalent to earlier terminal failures and acceptance during the first declared acceptable inspection. Empty qualifying sets and finite endpoint equality are included; no condition is placed after choice.