MindFormal v1.0.0One Mind

MindFormal.Tools.ContractCompletion.Probability

theorem MindFormal.ContractCompletion.clipped_probability {Ω : Type u_1} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω) [MeasureTheory.IsProbabilityMeasure μ] (good lower actual upper : Set Ω) (hg : MeasurableSet good) (_hl : MeasurableSet lower) (_ha : MeasurableSet actual) (_hu : MeasurableSet upper) (epsilon : ℝ) (mass : 1 - epsilon ≤ μ.real good) (inner : good ∩ lower ⊆ actual) (outer : good ∩ actual ⊆ upper) :
max 0 (μ.real lower - epsilon) ≤ μ.real actual ∧ μ.real actual ≤ min 1 (μ.real upper + epsilon)

The whole event bill is charged on both sides; ties are included only in the outer event. This lemma is consumed with a constructed native event.