MindFormal v1.0.0One Mind

MindFormal.Chapters.Ch06.ShortfallBound

11.14 (SF12): the independent shortfall bound on the actual run. On the enclosure event every member's actual complete target stays below the upper target function, so the convolution of its own target stays at most the upper comparison x̄⁺ ≤ x^need − d. The reflected activity stays within twice its innovation's running maximum of that convolution (RP5); a member therefore reaches x^need by t only if its innovation reaches d/2 in absolute value by then. That has probability at most 2e^{−d²/(8χ²t)} ≤ 2e^{−d²/(8𝒱(t))}, 𝒱(t) = χ²(e^{2νt} − 1)/(2ν), by the per-coordinate Gaussian bound; m members reaching x^need at one time need m such innovations, whose events are independent, and a union over the m-member subsets gives (SF12).

theorem MindFormal.actualScalarDriver_apply {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) (H : NNReal) (i : Fin N) (z : Ω) (r : ↑(HorizonTime ↑H)) :

02.20 / SE1: the actual activity innovation on [0,H] is the run's driver coordinate.

theorem MindFormal.shortfall_SF12_of_tail {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] {𝒩 : NoiseCase Ω (CoordinateIndex (Fin N) n T Λ) J} (S : PhysicalNoiseData Ω N n T Λ J 𝒩) [MeasureTheory.IsProbabilityMeasure S.μ] (t : NNReal) (members : Finset (Fin N)) (m : ℕ) (need : ℝ) (hi : ℝ → ℝ) (hhi : IntervalIntegrable hi MeasureTheory.volume 0 ↑t) {zp d ε p : ℝ} (hzp : ∀ (z : Ω), ∀ i ∈ members, mindActivity (↑(S.start z)) i ≤ zp) (hshort : ∀ s ∈ Set.Icc 0 ↑t, expConv S.data.activity.ν zp hi s ≤ need - d) (E : Set Ω) (hfail : S.μ.real Eᶜ ≤ ε) (enclosure : ∀ z ∈ E, ∀ i ∈ members, ∀ (s : ↑(HorizonTime ↑t)), actualTarget S i z ↑s ≤ hi ↑s) (htail : ∀ i ∈ members, S.μ.real {z : Ω | ∃ (r : ↑(HorizonTime ↑t)), d / 2 ≤ |(actualScalarDriver S t i z) r|} ≤ p) (hind : ProbabilityTheory.iIndepFun (fun (i : ↥members) (z : Ω) => actualScalarDriver S t (↑i) z) S.μ) :
S.μ.real {z : Ω | searchQuorum members m need fun (i : Fin N) => actualScalarPath S t i z} ≤ min 1 (ε + ↑(members.card.choose m) * p ^ m)

11.14 (SF12), the independent shortfall bound for any case of noise, from a bound p on the chance that each member's actual activity innovation reaches d/2 by t: on the enclosure event a member reaches need only if its innovation does (RP5), the members' innovation paths are independent, and a union over the m-member subsets gives min 1 (ε + C(N,m) p^m).

theorem MindFormal.shortfall_exponent_le {ν χ d t : ℝ} (hν : 0 < ν) (ht : 0 < t) (hχ : 0 < χ ^ 2) :
2 * Real.exp (-(d / 2) ^ 2 / (2 * (χ ^ 2 * t))) ≤ 2 * Real.exp (-(d ^ 2 / (8 * (χ ^ 2 * (Real.exp (2 * ν * t) - 1) / (2 * ν)))))

11.14 (SF12): the variance bound. χ²t is at most 𝒱(t) = χ²(e^{2νt} − 1)/(2ν), so a tail 2exp(-(d/2)²/(2χ²t)) is at most 2exp(-d²/(8𝒱(t))).

theorem MindFormal.independent_shortfall_SF12 {Ω : Type u_1} [MeasurableSpace Ω] {N n : ℕ} {T : Type u_2} {Λ : Type u_3} {J : Type u_4} [Fintype T] [Fintype Λ] [Fintype J] (experiment : AdmittedExperiment Ω N n T Λ J) (t : NNReal) (ht : 0 < t) (members : Finset (Fin N)) (m : ℕ) (need : ℝ) (hi : ℝ → ℝ) (hhi : IntervalIntegrable hi MeasureTheory.volume 0 ↑t) {zp d χ ε : ℝ} (hd : 0 < d) (hzp : ∀ (z : Ω), ∀ i ∈ members, mindActivity (↑(experiment.data.toPhysicalBrownianData.start z)) i ≤ zp) (hshort : ∀ s ∈ Set.Icc 0 ↑t, expConv experiment.data.toPhysicalBrownianData.data.activity.ν zp hi s ≤ need - d) (E : Set Ω) (hfail : experiment.data.μ.real Eᶜ ≤ ε) (enclosure : ∀ z ∈ E, ∀ i ∈ members, ∀ (s : ↑(HorizonTime ↑t)), actualTarget experiment.data.toPhysicalBrownianData i z ↑s ≤ hi ↑s) (hχ : ∀ i ∈ members, √(loadNormSq (experiment.constant.matrix (Sum.inr (Sum.inl i)))) ≤ χ) (hind : ProbabilityTheory.iIndepFun (fun (i : ↥members) (z : Ω) => actualScalarDriver experiment.data.toPhysicalBrownianData t (↑i) z) experiment.data.μ) :
experiment.data.μ.real {z : Ω | searchQuorum members m need fun (i : Fin N) => actualScalarPath experiment.data.toPhysicalBrownianData t i z} ≤ min 1 (ε + ↑(members.card.choose m) * min 1 (2 * Real.exp (-(d ^ 2 / (8 * (χ ^ 2 * (Real.exp (2 * experiment.data.toPhysicalBrownianData.data.activity.ν * ↑t) - 1) / (2 * experiment.data.toPhysicalBrownianData.data.activity.ν)))))) ^ m)

11.14 (SF12), THE INDEPENDENT SHORTFALL BOUND. See the module header; hi is the upper target function, zp the upper comparison's start, d the shortfall, χ the members' common loading norm, E the enclosure event with failure at most ε.