MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch08.MediumRace

13.20's first-race tools: the target comparison (MX3) for a scalar activity path, the first-crossing certificate (MX4) on the reference, the read corner's crossing quantities (MX5)–(MX7), the population identity (MX8) for two arms' choice events, and the evaluated margin at h=11/20. Nothing here is tagged.

theorem MindFormal.target_comparison {ν h Tm TM xm xM : ℝ} (hν : 0 < ν) (x Tg : ℝ → ℝ) (hT : IntervalIntegrable Tg MeasureTheory.volume 0 h) (hx : ContinuousOn x (Set.Icc 0 h)) (heq : ∀ s ∈ Set.Icc 0 h, x s = x 0 + ∫ (w : ℝ) in 0..s, ν * (Tg w - x w)) (hTb : ∀ w ∈ Set.Icc 0 h, Tm ≤ Tg w ∧ Tg w ≤ TM) (hx0 : xm ≤ x 0 ∧ x 0 ≤ xM) :
(∀ t ∈ Set.Icc 0 h, Tm + (xm - Tm) * Real.exp (-ν * t) ≤ x t ∧ x t ≤ TM + (xM - TM) * Real.exp (-ν * t)) ∧ ∀ t ∈ Set.Icc 0 h, TM + (xM - TM) * Real.exp (-ν * t) ≤ max xM (TM + (xM - TM) * Real.exp (-ν * h))

13.20 (MX3): an activity path solving x=x(0)+∫ν(𝒯−x) with its target enclosed by 𝒯⁻ ≤ 𝒯 ≤ 𝒯⁺ on [0,h] and its entering value by x⁻ ≤ x(0) ≤ x⁺ stays between X⁻(t)=𝒯⁻+(x⁻−𝒯⁻)e^{−νt} and X⁺(t)=𝒯⁺+(x⁺−𝒯⁺)e^{−νt}, and X⁺ never exceeds max{x⁺,X⁺(h)} on [0,h].

theorem MindFormal.first_crossing_certificate {ι : Type u_1} {h ω m : ℝ} (hh : 0 ≤ h) (hm : 0 < m) (Ow : ℝ → ℝ) (Or : ι → ℝ → ℝ) (hc : ContinuousOn Ow (Set.Icc 0 h)) (h0 : Ow 0 < ω) (hw : ω + m ≤ Ow h) (hr : ∀ (j : ι), ∀ t ∈ Set.Icc 0 h, Or j t ≤ ω - m) :
∃ ts ∈ Set.Icc 0 h, Ow ts = ω ∧ (∀ s ∈ Set.Ico 0 ts, Ow s < ω) ∧ ∀ (j : ι), ∀ s ∈ Set.Icc 0 ts, Or j s < ω

13.20 (MX4) on the reference: a continuous winner score below ω at the start and at least ω+m at h, with every rival at most ω−m throughout [0,h], first reaches ω at some t* ≤ h, stays below ω before t*, and no rival reaches ω on [0,t*].

theorem MindFormal.crossing_quantities :
(∀ {ν Tg x0 th : ℝ}, 0 < ν → x0 < th → th < Tg → 0 < (Tg - th) / (Tg - x0) ∧ (Tg - th) / (Tg - x0) < 1 ∧ Tg + (x0 - Tg) * Real.exp (-ν * (-(1 / ν) * Real.log ((Tg - th) / (Tg - x0)))) = th) ∧ (∀ {ν A6 A7 : ℝ}, 0 < ν → 0 < A6 → 0 < A7 → (-(1 / ν) * Real.log A7 < -(1 / ν) * Real.log A6 ↔ A6 < A7)) ∧ (∀ {P g I6 I7 th6 th7 : ℝ}, 0 < P → 0 < th6 → 0 < th7 → th6 < I6 / P - g → th7 < I7 / P - g → ((I6 / P - g - th6) / (I6 / P - g - 0) < (I7 / P - g - th7) / (I7 / P - g - 0) ↔ 0 < th6 * (I7 - g * P) - th7 * (I6 - g * P))) ∧ ∀ (P g I6 I7 th6 th7 dP dI6 dI7 : ℝ), th6 * (I7 + dI7 - g * (P + dP)) - th7 * (I6 + dI6 - g * (P + dP)) - (th6 * (I7 - g * P) - th7 * (I6 - g * P)) = th6 * dI7 - th7 * dI6 - g * (th6 - th7) * dP

13.20 (MX5)–(MX6): from x⁰<ϑ<𝒯 the path 𝒯+(x⁰−𝒯)e^{−νt} reaches ϑ at t=−ν^{−1}log𝒜, 𝒜=(𝒯−ϑ)/(𝒯−x⁰) ∈ (0,1); the larger 𝒜 crosses strictly earlier; from zero entering activity, 𝒯_i=ℐ_i/𝒫−g and positive requirements, 𝒜₇>𝒜₆ exactly when 𝒵=ϑ₆(ℐ₇−g𝒫)−ϑ₇(ℐ₆−g𝒫)>0, and the change of 𝒵 under input and pool changes is ϑ₆Δℐ₇−ϑ₇Δℐ₆−g(ϑ₆−ϑ₇)Δ𝒫.

theorem MindFormal.crossing_time_partials {ν Tg x0 th : ℝ} (hν : 0 < ν) (h1 : x0 < th) (h2 : th < Tg) :
HasDerivAt (fun (y : ℝ) => -(1 / ν) * Real.log ((Tg - y) / (Tg - x0))) (1 / (ν * (Tg - th))) th ∧ HasDerivAt (fun (y : ℝ) => -(1 / ν) * Real.log ((Tg - th) / (Tg - y))) (-(1 / (ν * (Tg - x0)))) x0 ∧ HasDerivAt (fun (y : ℝ) => -(1 / ν) * Real.log ((y - th) / (y - x0))) ((x0 - th) / (ν * (Tg - th) * (Tg - x0))) Tg

13.20 (MX1.6), 12.30 (RC10.12): the crossing time t=−ν^{−1}log[(𝒯−ϑ)/(𝒯−x⁰)] from x⁰<ϑ<𝒯 has ∂t/∂ϑ=1/[ν(𝒯−ϑ)]>0, ∂t/∂x⁰=−1/[ν(𝒯−x⁰)]<0 and ∂t/∂𝒯=(x⁰−ϑ)/[ν(𝒯−ϑ)(𝒯−x⁰)]<0.

theorem MindFormal.exp_neg_eleven_twentieths :
5769 / 10000 < Real.exp (-(11 / 20)) ∧ Real.exp (-(11 / 20)) < 57695 / 100000

e^{−11/20} lies in (0.5769, 0.57695): the eighth Taylor polynomial with its remainder.

theorem MindFormal.population_identity {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] {Ad Ap Bd Bp : Set Ω} (hAd : MeasurableSet Ad) (hAp : MeasurableSet Ap) (hBd : MeasurableSet Bd) (hBp : MeasurableSet Bp) :
|μ.real Ap - μ.real Ad - (μ.real (Bp \ Bd) - μ.real (Bd \ Bp))| ≤ μ.real (symmDiff Ap Bp) + μ.real (symmDiff Ad Bd)

13.20 (MX8): for measurable seven-choice events of two arms (actual A_d, A_p; reference B_d, B_p) in a probability space, the actual increase differs from the reference's forward minus reverse reversal mass by at most the two disagreement masses.