MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch03.A630MenuSearch.Finite

In One Mind, clause 26 of result 3.4: When the first option to act is the first one good enough · all its clauses in Lean
theorem MindFormal.A630MenuSearch.PulseBudget.result_03_21_26_L634 {Ω : 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.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} {B : J → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {E : GroupsWorld.CompleteExperiment hB} {a : A} {H : NNReal} {P : A630TwoRaces.Prefix.Parameters E a H} {C : A630TwoRaces.FiniteData P} (D : PulseBudget C) [Finite J] (noise : A630TwoRaces.Prefix.Noise P) {Lx Lv margin : ℝ} (hLx : 0 ≤ Lx) (hLv : 0 ≤ Lv) (read : D.ReadControl Lx Lv) (error : D.scoreError Lx Lv < margin) (w : Fin (N a)) (hout : (E.observed.member a).reads.outputs w = true) (deadline : (E.observed.member a).reads.actionBar + margin ≤ D.referenceScore (↑H) w) (rivals : ∀ t ∈ Set.Icc 0 ↑H, ∀ (j : Fin (N a)), j ≠ w → (E.observed.member a).reads.outputs j = true → D.referenceScore t j ≤ (E.observed.member a).reads.actionBar - margin) :
∃ (good : Set Ω), MeasurableSet good ∧ 1 - noise.failure ≤ μ.real good ∧ good ⊆ C.winner w ∧ ∀ ω ∈ good, ∀ t ≤ H, ↑t ≤ P.endTime ω → ∀ (i : Fin (N a)), |mindActivity (E.observed.path a t ω) i - C.reference (↑t) i| ≤ D.activityError ∧ |(A630TwoRaces.readAtValue (E.observed.member a).reads.output (mindValue (E.observed.path a t ω) i)) (mindActivity (E.observed.path a t ω) i).toNNReal - D.referenceScore (↑t) i| ≤ D.scoreError Lx Lv

03.21.26 / SF1.15--16. Complete source stream, II/III/trace and every native pulse are paid in the finite prefix bound. Original rows share one F1 stopped event. Strict score/rival margins give the actual first action at the stated probability; the reference is never called the mean.