MindFormal v1.0.0One Mind

MindFormal.Tools.A617Choice.Population

theorem MindFormal.A617Choice.bounded_price_mean {Ω : Type u_1} [MeasurableSpace Ω] {μ : MeasureTheory.Measure Ω} [MeasureTheory.IsProbabilityMeasure μ] (good : Set Ω) (hm : MeasurableSet good) (reported reference error : Ω → ℝ) (lo hi failure : ℝ) (hr : MeasureTheory.Integrable reported μ) (hv : MeasureTheory.Integrable reference μ) (he : MeasureTheory.IntegrableOn error good μ) (hbound : ∀ᵐ (ω : Ω) ∂μ, reported ω ∈ Set.Icc lo hi ∧ reference ω ∈ Set.Icc lo hi) (hgood : ∀ᵐ (ω : Ω) ∂μ.restrict good, |reported ω - reference ω| ≤ error ω) (hfail : μ.real goodᶜ ≤ failure) (hdiam : lo ≤ hi) :
|∫ (ω : Ω), reported ω ∂μ - ∫ (ω : Ω), reference ω ∂μ| ≤ ∫ (ω : Ω) in good, error ω ∂μ + (hi - lo) * failure

Split a bounded price error over certified and failed preparations. The underlying probability may be the joint preparation/noise distribution; no population distribution is inferred from an individual certificate.