MindFormal v1.0.0One Mind

MindFormal.Tools.A695LearningValue.ThresholdAverage

theorem MindFormal.A695LearningValue.threshold_average (ρ : MeasureTheory.Measure ℝ) [MeasureTheory.IsProbabilityMeasure ρ] (p : ℝ → ℝ) (hp : MeasureTheory.Integrable p ρ) {m δ ε : ℝ} (h01 : ∀ (θ : ℝ), 0 ≤ p θ ∧ p θ ≤ 1) (hl : ∀ (θ : ℝ), (if θ ≤ m - δ then 1 else 0) - ε ≤ p θ) (hu : ∀ (θ : ℝ), p θ ≤ (if θ ≤ m + δ then 1 else 0) + ε) :
max 0 (ρ.real (Set.Iic (m - δ)) - ε) ≤ ∫ (θ : ℝ), p θ ∂ρ ∧ ∫ (θ : ℝ), p θ ∂ρ ≤ min 1 (ρ.real (Set.Iic (m + δ)) + ε)

Averaging the pointwise probe comparison over a fixed admitted threshold distribution retains its actual CDF, including every atom and the two clipped endpoints. No independence from a future success is used.