MindFormal v1.0.0One Mind

MindFormal.Run.A630TwoRaces.Window

theorem MindFormal.A630TwoRaces.prefix_first_window {Ω : Type u_1} {A : Type u_2} {J : Type u_3} [mΩ : MeasurableSpace Ω] [Fintype A] {N n : A → ℕ} {V : A → Type u_4} {Λ : A → Type u_5} [(a : A) → Fintype (V a)] [(a : A) → Fintype (Λ a)] {μ : MeasureTheory.Measure Ω} {ℱ : MeasureTheory.Filtration NNReal mΩ} (r : GroupsWorld.ObservedContinuation μ ℱ A N n V Λ J) (a : A) (c : Bool) (H : NNReal) (ω : Ω) (hr : r.release a ω c = 0) (w : Fin (N a)) {L U : ℝ} (hL : 0 ≤ L) (hLU : L ≤ U) (hU : U ≤ ↑H) (deadline : ↑U.toNNReal ≤ firstQualification r a c ω → 0 ≤ r.nativeGuard H ω a c U w) (before : ∀ t ∈ Set.Icc 0 L, ↑t.toNNReal ≤ firstQualification r a c ω → ∀ (j : Fin (N a)), r.nativeGuard H ω a c t j < 0) (rivals : ∀ t ∈ Set.Icc 0 U, ↑t.toNNReal ≤ firstQualification r a c ω → ∀ (j : Fin (N a)), j ≠ w → r.nativeGuard H ω a c t j < 0) :
∃ (t : ℝ), L < t ∧ t ≤ U ∧ (firstSearch r H ω a c hr).event = some (t, w)

A first-event window may be certified with estimates valid only up to that event. The absent and late-event branches use the upper endpoint; the attained branch supplies its own earliest-time equality.