MindFormal v1.0.0One Mind

MindFormal.Tools.A699Shared.MovingRace

noncomputable def MindFormal.A699Shared.movingPassageLaw {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) (H ν : NNReal) (target : ℝ → ℝ) (ht : IntervalIntegrable target MeasureTheory.volume 0 ↑H) (start α : ℝ) (w : Ω → C(↑(HorizonTime ↑H), ℝ)) :

The scalar passage distribution is the pushforward of the constructed moving-target reflected solution, with no-act mass retained at infinity.

Equations
Instances For
    noncomputable def MindFormal.A699Shared.movingRaceIntegral {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) {n : ℕ} (H ν : NNReal) (own rival : Fin (n + 1) → ℝ → ℝ) (ho : ∀ (j : Fin (n + 1)), IntervalIntegrable (own j) MeasureTheory.volume 0 ↑H) (hr : ∀ (j : Fin (n + 1)), IntervalIntegrable (rival j) MeasureTheory.volume 0 ↑H) (start : Fin (n + 1) → ℝ) (α : ℝ) (w : Fin (n + 1) → Ω → C(↑(HorizonTime ↑H), ℝ)) (i : Fin (n + 1)) (strict : Fin n → Bool) :

    Closed-interval Stieltjes product for one candidate's target and all rivals' targets. The candidate and rival choices can differ: slow/fast gives the lower comparison, and fast/slow the upper comparison.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.A699Shared.independent_moving_race_mass {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] {n : ℕ} (H ν : NNReal) (own rival : Fin (n + 1) → ℝ → ℝ) (ho : ∀ (j : Fin (n + 1)), IntervalIntegrable (own j) MeasureTheory.volume 0 ↑H) (hr : ∀ (j : Fin (n + 1)), IntervalIntegrable (rival j) MeasureTheory.volume 0 ↑H) (start : Fin (n + 1) → ℝ) (α : ℝ) (w : Fin (n + 1) → Ω → C(↑(HorizonTime ↑H), ℝ)) (hw : ∀ (j : Fin (n + 1)), Measurable (w j)) (hi : ProbabilityTheory.iIndepFun w μ) (i : Fin (n + 1)) (strict : Fin n → Bool) :
      μ.real (raceEvent (fun (j : Fin (n + 1)) (ω : Ω) => movingFirstHit ⋯ ν (own j) ⋯ (start j) α (w j ω)) (fun (j : Fin (n + 1)) (ω : Ω) => movingFirstHit ⋯ ν (rival j) ⋯ (start j) α (w j ω)) i (↑H) strict) = movingRaceIntegral μ H ν own rival ho hr start α w i strict

      Independent original continuous innovations give the exact mixed moving-target race product. Independence is applied coordinate by coordinate to the proved measurable solver, including the initial atom and no-act mass.

      theorem MindFormal.A699Shared.prefix_race_probability {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] {n : ℕ} (H : NNReal) (α : ℝ) (x lo hi : Fin (n + 1) → Ω → C(↑(HorizonTime ↑H), ℝ)) (good : Set Ω) (ε : ℝ) (hε : μ.real goodᶜ ≤ ε) (hc : ∀ᵐ (ω : Ω) ∂μ, ω ∈ good → RacePrefixComparison H α (fun (j : Fin (n + 1)) => x j ω) (fun (j : Fin (n + 1)) => lo j ω) fun (j : Fin (n + 1)) => hi j ω) (i : Fin (n + 1)) (strict : Fin n → Bool) :
      have tx := fun (j : Fin (n + 1)) (ω : Ω) => compactFirstHit ⋯ α (x j ω); have tl := fun (j : Fin (n + 1)) (ω : Ω) => compactFirstHit ⋯ α (lo j ω); have th := fun (j : Fin (n + 1)) (ω : Ω) => compactFirstHit ⋯ α (hi j ω); max 0 (μ.real (raceEvent tl th i (↑H) strict) - ε) ≤ μ.real (raceEvent tx tx i (↑H) strict) ∧ μ.real (raceEvent tx tx i (↑H) strict) ≤ min 1 (μ.real (raceEvent th tl i (↑H) strict) + ε)

      A comparison valid on a common enclosure event pays only that event's failure mass. Almost-sure native equations may be used without choosing a measurable set of all their pathwise witnesses. No independence from the enclosure event is required.

      theorem MindFormal.A699Shared.prefix_split_probability {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] {n : ℕ} (H : NNReal) (α : ℝ) (x lo hi : Fin (n + 1) → Ω → C(↑(HorizonTime ↑H), ℝ)) (good : Set Ω) (ε : ℝ) (hε : μ.real goodᶜ ≤ ε) (hc : ∀ᵐ (ω : Ω) ∂μ, ω ∈ good → RacePrefixComparison H α (fun (j : Fin (n + 1)) => x j ω) (fun (j : Fin (n + 1)) => lo j ω) fun (j : Fin (n + 1)) => hi j ω) (i : Fin (n + 1)) (strict : Fin n → Bool) (z : ENNReal) (hz : z ≤ ↑H) :
      have tx := fun (j : Fin (n + 1)) (ω : Ω) => compactFirstHit ⋯ α (x j ω); have tl := fun (j : Fin (n + 1)) (ω : Ω) => compactFirstHit ⋯ α (lo j ω); have th := fun (j : Fin (n + 1)) (ω : Ω) => compactFirstHit ⋯ α (hi j ω); max 0 (μ.real {ω : Ω | tl i ω ≤ z} - ∑ j : Fin n, μ.real {ω : Ω | th (i.succAbove j) ω ≤ z} - ε) ≤ μ.real (raceEvent tx tx i (↑H) strict)

      The split-time first-label lower bound uses only marginal passage probabilities and a union bound. It holds for every strict/weak convention and for arbitrary dependence among the innovations.

      theorem MindFormal.A699Shared.prefix_first_upper_probability {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] {n : ℕ} (H : NNReal) (α : ℝ) (x lo hi : Fin (n + 1) → Ω → C(↑(HorizonTime ↑H), ℝ)) (good : Set Ω) (ε : ℝ) (hε : μ.real goodᶜ ≤ ε) (hc : ∀ᵐ (ω : Ω) ∂μ, ω ∈ good → RacePrefixComparison H α (fun (j : Fin (n + 1)) => x j ω) (fun (j : Fin (n + 1)) => lo j ω) fun (j : Fin (n + 1)) => hi j ω) (i : Fin (n + 1)) (strict : Fin n → Bool) :
      μ.real (raceEvent (fun (j : Fin (n + 1)) (ω : Ω) => compactFirstHit ⋯ α (x j ω)) (fun (j : Fin (n + 1)) (ω : Ω) => compactFirstHit ⋯ α (x j ω)) i (↑H) strict) ≤ min 1 (μ.real {ω : Ω | compactFirstHit ⋯ α (hi i ω) ≤ ↑H} + ε)

      For arbitrary dependence, winning is bounded above by the fast own comparison hitting by the deadline, plus the same enclosure failure.