noncomputable def
MindFormal.LeadConfidence.heldGap
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{Ω : Type u_3}
[MeasurableSpace Ω]
(μ : MeasureTheory.Measure Ω)
(G : Ω → PhysicalGlobalData N n T Λ)
(fav riv : Fin N)
(F : ℝ → ℝ)
:
The existing first native answer's lead-rating mean minus its actual correct-first probability. This is a statistic, not another record interface.
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MindFormal.LeadConfidence.held_native_directions
{N n : ℕ}
{T : Type u_1}
{Λ : Type u_2}
[Fintype T]
[Fintype Λ]
{Ω : Type u_3}
{J : Type u_4}
[mΩ : MeasurableSpace Ω]
{μ : MeasureTheory.Measure Ω}
[MeasureTheory.IsProbabilityMeasure μ]
{ℱ : MeasureTheory.Filtration NNReal mΩ}
{B : J → NNReal → Ω → ℝ}
(hB : BrownianFiltration μ ℱ B)
(j : J)
(hBc : ∀ (ω : Ω), Continuous fun (t : NNReal) => B j t ω)
(hB0 : ∀ (ω : Ω), B j 0 ω = 0)
(G : Bool → Ω → PhysicalGlobalData N n T Λ)
(fav riv : Fin N)
{ν a S L : ℝ}
(υ d : Bool → ℝ)
(hν : 0 < ν)
(hυ : ∀ (b : Bool), 0 < υ b)
(hL : L = 2 * a - S)
(hLp : 0 < L)
(hLS : L < S)
(rate : ∀ (b : Bool) (ω : Ω), (G b ω).data.activity.ν = ν)
(read :
∀ (b : Bool) (ω : Ω) (t : ℝ),
0 ≤ t →
∀ i ∈ {fav, riv}, 0 ≤ ((G b ω).reads.guards false) ((G b ω).realPath t) i ↔ a ≤ mindActivity ((G b ω).state t) i)
(start : ∀ (b : Bool) (ω : Ω), mindActivity ((G b ω).state 0) fav = S / 2 ∧ mindActivity ((G b ω).state 0) riv = S / 2)
(held :
∀ (b : Bool) (ω : Ω) (t : NNReal),
↑t ≤ (G b ω).hitTime false 0 →
(G b ω).target fav ↑t = (S + d b) / 2 ∧ (G b ω).target riv ↑t = (S - d b) / 2 ∧ (G b ω).driver t (Sum.inr (Sum.inl fav)) = υ b * B j t ω ∧ (G b ω).driver t (Sum.inr (Sum.inl riv)) = -υ b * B j t ω ∧ ∀ i ∉ {fav, riv}, ((G b ω).reads.guards false) ((G b ω).realPath ↑t) i < 0)
(F : ℝ → ℝ)
:
(∀ (b : Bool), heldGap μ (G b) fav riv F = F L - ScalarExit.accuracy (ν / (4 * υ b ^ 2)) (d b) L) ∧ (υ false = υ true → d false < d true → heldGap μ (G true) fav riv F < heldGap μ (G false) fav riv F) ∧ (d false = d true → 0 < d false → υ false < υ true → heldGap μ (G false) fav riv F < heldGap μ (G true) fav riv F)
Native matched-family and noise comparisons. The finite native outcome and its gap are first derived for each held comparison; the strict orders are then consequences of the computed scalar law.