MindFormal v1.0.0One Mind

MindFormal.Example.A630TwoRaces.FocusWindow

theorem MindFormal.A630TwoRaces.race_constant_before_focus {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : RaceCoord → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s} {noise f : ℝ} {hn : 0 < noise} {hf : 0 < f} {hf100 : f ≤ 100} {bar : ℝ} {ω : Ω} (G : RacePath hB hnull hn hf hf100 bar false ω) (t : ℝ) (ht : t ∈ Set.Icc 0 1) (hfirst : ↑t.toNNReal ≤ firstQualification (raceExperiment hB hnull hn hf bar false).observed () true ω) (i : Fin 3) :
theorem MindFormal.A630TwoRaces.race_other_focus_negative {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : RaceCoord → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s} {noise f : ℝ} {hn : 0 < noise} {hf : 0 < f} {hf100 : f ≤ 100} {bar : ℝ} {ω : Ω} (G : RacePath hB hnull hn hf hf100 bar false ω) (t : ℝ) (ht : t ∈ Set.Icc 0 1) (hfirst : ↑t.toNNReal ≤ firstQualification (raceExperiment hB hnull hn hf bar false).observed () true ω) (hbar : 2 / 5 + raceError f false + raceEv < bar) (i : Fin 3) (hi : i ≠ 1) :
(raceExperiment hB hnull hn hf bar false).observed.nativeGuard 1 ω () true t i < 0
theorem MindFormal.A630TwoRaces.race_focus_window {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : RaceCoord → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s} {noise f : ℝ} {hn : 0 < noise} {hf : 0 < f} {hf100 : f ≤ 100} {bar : ℝ} {ω : Ω} (G : RacePath hB hnull hn hf hf100 bar false ω) {L U : ℝ} (hL : 0 ≤ L) (hLU : L ≤ U) (hU : U ≤ 1) (haw : 1 / 100 + raceError f false ≤ 3 / 10 * (1 - Real.exp (-U))) (hqual : bar < 1 + 3 / 10 * (1 - Real.exp (-U)) - raceError f false - raceEv) (hbefore : 1 + 3 / 10 * (1 - Real.exp (-L)) + raceError f false + raceEv < bar) (hother : 2 / 5 + raceError f false + raceEv < bar) :
∃ (F : ℝ), L < F ∧ F ≤ U ∧ (firstSearch (raceExperiment hB hnull hn hf bar false).observed 1 ω () true ⋯).event = some (F, 1)

The printed focus-window inequalities are checked on the hypothetical no-focus prefix and at the attained native focus. No schedule is an input.

theorem MindFormal.A630TwoRaces.race_pulse_after {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : RaceCoord → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s} {noise f : ℝ} {hn : 0 < noise} {hf : 0 < f} {hf100 : f ≤ 100} {bar : ℝ} {ω : Ω} (G : RacePath hB hnull hn hf hf100 bar false ω) {F s : ℝ} (hF : 0 < F) (hit : (firstSearch (raceExperiment hB hnull hn hf bar false).observed 1 ω () true ⋯).event = some (F, 1)) (hs : s ∈ Set.Icc F 1) :
G.realization.path.pulse s = fun (i : Fin 3) => if i = 1 then 1 else 0
theorem MindFormal.A630TwoRaces.race_constant_pulse_estimate {Ω : Type u_1} [mΩ : MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] {ℱ : MeasureTheory.Filtration NNReal mΩ} [ℱ.IsRightContinuous] {B : RaceCoord → NNReal → Ω → ℝ} {hB : BrownianFiltration μ ℱ B} {hnull : ∀ (s : Set Ω), μ s = 0 → MeasurableSet s} {noise f : ℝ} {hn : 0 < noise} {hf : 0 < f} {hf100 : f ≤ 100} {bar : ℝ} {ω : Ω} (G : RacePath hB hnull hn hf hf100 bar false ω) {F t : ℝ} (hF : 0 < F) (hit : (firstSearch (raceExperiment hB hnull hn hf bar false).observed 1 ω () true ⋯).event = some (F, 1)) (ht : t ∈ Set.Icc 0 1) (a b : Fin 3 → ℝ) (ha : a = raceTargets) (hb : ∀ (i : Fin (Nat.succ 2)), normalizedTarget 1 (1 / 10) (fun (j : Fin (Nat.succ 2)) => ![10, 8, 1] j + f * if j = 1 then 1 else 0) i = b i) (i : Fin 3) :
|mindActivity ((raceExperiment hB hnull hn hf bar false).observed.path () t.toNNReal ω) i - twoStage 1 (a i) (b i) F t| ≤ raceError f false

The actual first focus and its refractory separation force one pulse on this horizon. Both complete writer displacements have already been paid by raceError; only the auxiliary constant targets are calculated here.