Finite signed contrasts, threshold sets and probability enclosures.
theorem
MindFormal.margin_probability
{Ω : Type u_1}
[MeasurableSpace Ω]
(μ : MeasureTheory.Measure Ω)
[MeasureTheory.IsProbabilityMeasure μ]
(x y e : Ω → ℝ)
(good : Set Ω)
(hg : MeasurableSet good)
(ε : ℝ)
(hmass : 1 - ε ≤ μ.real good)
(he : ∀ ω ∈ good, |x ω - y ω| ≤ e ω)
:
A common high-probability error event sandwiches a strict positive decision's probability between the two comparison margins. The reference may vary across preparations; it need not be independent of the error event.