MindFormal v1.0.0One Mind

MindFormal.Run.A630MenuSearch.Optimizer

theorem MindFormal.A630MenuSearch.guard_eq_zero_at_first {N : ℕ} {g f : ℝ → Fin N → ℝ} {H : ℝ} (S : NativeSearch g f 0 H) (initial : ∀ (i : Fin N), g 0 i < 0) {t : ℝ} (ht : t ∈ Set.Icc 0 H) (before : ∀ (s : ℝ), 0 ≤ s → s < t → ∀ (i : Fin N), g s i < 0) (i : Fin N) (qual : 0 ≤ g t i) :
g t i = 0

Continuity makes every qualifying guard equal zero at an initially unqualified first hit. This is proved from the paths, not assumed as a winner or an enclosure.

def MindFormal.A630MenuSearch.MaskedFractionWinner {N : ℕ} (mask : Fin N → Bool) (T z need : Fin N → ℝ) (i : Fin N) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    theorem MindFormal.A630MenuSearch.initial_priority_path_iff {N : ℕ} {f : ℝ → Fin N → ℝ} {H : ℝ} (mask : Fin N → Bool) (bar : ℝ) (S : NativeSearch (fun (t : ℝ) (i : Fin N) => if mask i = true then f t i - bar else -1) f 0 H) (initial : ∀ (i : Fin N), mask i = true → f 0 i < bar) (i : Fin N) :
    nativeChoice S = some i ↔ ∃ t ∈ Set.Icc 0 H, mask i = true ∧ bar ≤ f t i ∧ (∀ (s : ℝ), 0 ≤ s → s < t → ∀ (j : Fin N), mask j = true → f s j < bar) ∧ ∀ (j : Fin N), mask j = true → bar ≤ f t j → i ≤ j

    SF1.2's time/priority form follows from the native current-score rule when every output starts strictly below the bar.

    theorem MindFormal.A630MenuSearch.held_fraction_choice_iff {N : ℕ} {f : ℝ → Fin N → ℝ} {H : ℝ} (mask : Fin N → Bool) (bar ν : ℝ) (T z need : 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 ↔ MaskedFractionWinner mask T z need i ∧ passageTime ν (T i) (z i) (need i) ≤ H

    SF1.7 on its expressly held branch. Complete targets are fixed, but unreachable rivals and non-output pool contents are retained. The scalar read is only required to have its stated finite activity requirement. The finite horizon is explicit; an attained limiting equality is never invented. Initially qualified/released cases use choice_path_iff.

    theorem MindFormal.A630MenuSearch.held_optimizer_iff {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