theorem
MindFormal.A640SharedReports.risk_transfer
{Ω : Type u_1}
{I : Type u_2}
[MeasurableSpace Ω]
[Fintype I]
(μ : MeasureTheory.Measure Ω)
[MeasureTheory.IsProbabilityMeasure μ]
(Y f g : Ω → ℝ)
(hY : Measurable Y)
(hf : Measurable f)
(hg : Measurable g)
(bY : ∀ (ω : Ω), Y ω ∈ Set.Icc 0 1)
(bf : ∀ (ω : Ω), f ω ∈ Set.Icc 0 1)
(bg : ∀ (ω : Ω), g ω ∈ Set.Icc 0 1)
(bad : I → Set Ω)
(hb : ∀ (i : I), MeasurableSet (bad i))
(ε : I → ℝ)
(bill : ∀ (i : I), μ.real (bad i) ≤ ε i)
{e : ℝ}
(he : 0 ≤ e)
(coupling : ∀ (ω : Ω), (∀ (i : I), ω ∉ bad i) → |f ω - g ω| ≤ e)
:
Every actual return/read failure contributes its own allowance. The coupling is on the complete experiment, without independence.