MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch04.ExaminationEndings.LastRelease

Finite release calculation for 04.34, EW1.3/EW1.12. These are local assembly lemmas, not existential examples. Score margins are hypotheses here; an example must derive them from its complete own-noise equations.

def MindFormal.ExaminationEndings.LastPulseExpiry {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (H : ℝ) (i : Fin N) (a : ℝ) :

The last half-open pulse expiry, including activity arbitrarily close to its left. A late exclusion bound alone does not establish this predicate.

Equations
Instances For
    theorem MindFormal.ExaminationEndings.prefix_of_release_margins {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (S : NativeSchedule guard score H pause) (i : Fin N) (K : ℕ) (hH : ↑K * pause ≤ H) (hm : ∀ k < K, 0 ≤ guard (↑k * pause) i ∧ ∀ (j : Fin N), j ≠ i → guard (↑k * pause) j < 0) (k : ℕ) :
    k < K → (S.search k).event = some (↑k * pause, i)

    Derive the finite prefix from guards at its actual releases. No records or pulse modes are supplied. P: S,i,K,H,pause. E: complete qualification and unique-winner margins at every preceding release.

    theorem MindFormal.ExaminationEndings.terminal_of_release_margins {N : ℕ} {guard score : ℝ → Fin N → ℝ} {H pause : ℝ} (S : NativeSchedule guard score H pause) (i : Fin N) (K : ℕ) (hH : ↑K * pause ≤ H) (hm : ∀ k < K, 0 ≤ guard (↑k * pause) i ∧ ∀ (j : Fin N), j ≠ i → guard (↑k * pause) j < 0) (hq : ∀ t ∈ Set.Icc (↑K * pause) H, ∀ (j : Fin N), guard t j < 0) (k : ℕ) :
    K ≤ k → (S.search k).event = none

    All earlier releases are proved first. The next search is then genuinely empty, so terminality excludes every later search.

    theorem MindFormal.ExaminationEndings.last_expiry_of_release_margins {N n : ℕ} {T : Type u_1} {Λ : Type u_2} [Fintype T] [Fintype Λ] (G : PhysicalGlobalData N n T Λ) (H : NNReal) (i : Fin N) (K : ℕ) (hK : 0 < K) (hH : ↑K * G.pause true ≤ ↑H) (hm : ∀ k < K, 0 ≤ (G.reads.guards true) (G.realPath (↑k * G.pause true)) i ∧ ∀ (j : Fin N), j ≠ i → (G.reads.guards true) (G.realPath (↑k * G.pause true)) j < 0) (hq : ∀ t ∈ Set.Icc (↑K * G.pause true) ↑H, ∀ (j : Fin N), (G.reads.guards true) (G.realPath t) j < 0) :
    LastPulseExpiry G (↑H) i (↑K * G.pause true)

    The native pulse has an actual last expiry K*rho. Its entire prefix is derived from score margins and its entire tail from attained guards and terminality. This also proves the left-cofinal condition, not just exclusion. All complete-state dynamics remain in G; this lemma constructs no mind.