MindFormal v1.0.0One Mind

MindFormal.Tools.A699Shared.RaceInitial

theorem MindFormal.A699Shared.race_initial_iff {n : ℕ} (τ : Fin (n + 1) → ENNReal) (i : Fin (n + 1)) (H : ENNReal) (strict : Fin n → Bool) (hzero : (∃ (k : Fin (n + 1)), τ k = 0) ∨ H = 0) :
(τ i ≤ H ∧ ∀ (j : Fin n), τ (i.succAbove j) ∈ survivalSet (strict j) (τ i)) ↔ τ i = 0 ∧ ∀ (j : Fin n), strict j = true → τ (i.succAbove j) ≠ 0

If some coordinate is already aware, or the deadline is zero, the complete race is decided at zero. Strict rivals exclude a tied candidate; weak rivals retain its non-exclusive or later-priority label.

theorem MindFormal.A699Shared.probability_of_ae_iff {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (S : Set Ω) (p : Prop) [Decidable p] (h : ∀ᵐ (ω : Ω) ∂μ, ω ∈ S ↔ p) :
μ.real S = if p then 1 else 0

An event that is almost surely a fixed proposition has its exact zero-or-one probability, without independence or distributional continuity.