MindFormal v1.0.0One Mind

MindFormal.Tools.A695LearningValue.ClosedProbability

theorem MindFormal.A695LearningValue.closed_probability_eventually_lt {Ω : Type u_1} {E : Type u_2} [MeasurableSpace Ω] [MetricSpace E] [MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (X : ℕ → Ω → E) (Y : Ω → E) (hm : ∀ (k : ℕ), Measurable (X k)) (hY : Measurable Y) (hc : MeasureTheory.TendstoInMeasure μ X Filter.atTop Y) (A : Set E) (hA : IsClosed A) {r : ℝ} (hr : μ.real (Y ⁻¹' A) < r) :
∀ᶠ (k : ℕ) in Filter.atTop, μ.real (X k ⁻¹' A) < r

Closed tests give an eventual strict upper bound under convergence in probability. No absence of atoms at the threshold is needed for this one-sided statement.

theorem MindFormal.A695LearningValue.closed_read_upperSemicontinuous {Ω : Type u_1} {E : Type u_2} {G : Type u_3} [MeasurableSpace Ω] [MetricSpace E] [MeasurableSpace E] [BorelSpace E] [SecondCountableTopology E] [MetricSpace G] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (X : G → Ω → E) (hX : ∀ (g : G), Measurable (X g)) (f : G → E → ℝ) (hf : ∀ (x : E), Continuous fun (g : G) => f g x) (hfm : ∀ (g : G), Measurable (f g)) (htv : ∀ (g : G) (ε : ℝ), 0 < ε → ∀ᶠ (g' : G) in nhds g, ∀ (A : Set E), MeasurableSet A → μ.real (X g' ⁻¹' A) ≤ μ.real (X g ⁻¹' A) + ε) (α : ℝ) :
UpperSemicontinuous fun (g : G) => μ.real {ω : Ω | α ≤ f g (X g ω)}

A continuous scalar read of a family whose native distributions vary locally in total variation has an upper semicontinuous closed-test probability. Moving read windows are allowed; threshold atoms are retained.