Proof of Theorem 8, p. 27, displays 3–4 — E[∫_{T(X)} ℓ(Y; z) dμ(z)] = E[∫_{T(X)} E[ℓ(Y; z) | X] dμ(z)]
ProvedRiskControl.Optimal.lintegral_condLossLet be a probability measure on , the law of , with marginal , and let be a Markov kernel from to that disintegrates , so that is the conditional law of given . Let be a finite measure on , let be measurable, and let be a set-valued predictor whose graph is measurable. Then
where .
This is the step of the proof of Theorem 8 that moves the conditional expectation inside the -integral; the proof applies it to , , their complements and their set differences.
Formalization Note The page writes the left side as ; by the tower property this is the plain expectation stated here. Integrals are lower Lebesgue integrals in . The measurable graph is needed for both sides to be integrals of measurable functions; the page leaves it implicit.
import Mathlib import Definitions.Def_RiskControl_Optimal_Setting open MeasureTheory ProbabilityTheory open scoped ENNReal NNReal
namespace RiskControl.Optimal
/-- Proof of Theorem 8, arXiv:2101.02703v3, p. 27, displays 3–4: for any set-valued predictor
`A : 𝒳 → 2^𝒵` with a measurable graph,
`𝔼[𝔼[∫_{z ∈ A(X)} ℓ(Y; z) dμ(z) | X]] = 𝔼[∫_{z ∈ A(X)} 𝔼[ℓ(Y; z) | X] dμ(z)]`, where the outer
`𝔼[𝔼[· | X]] = 𝔼[·]` is taken under `P` and `𝔼[ℓ(Y; z) | X = x]` is `condLoss κ ℓ x z` for a
Markov kernel `κ` disintegrating `P`. -/
theorem lintegral_condLoss {𝒳 𝒴 𝒵 : Type*} [MeasurableSpace 𝒳] [MeasurableSpace 𝒴]
[MeasurableSpace 𝒵]
(P : Measure (𝒳 × 𝒴)) [IsProbabilityMeasure P]
(μ : Measure 𝒵) [IsFiniteMeasure μ]
(ℓ : 𝒴 → 𝒵 → ℝ≥0) (hℓ : Measurable (Function.uncurry ℓ))
(κ : Kernel 𝒳 𝒴) [IsMarkovKernel κ] (hκ : P.fst ⊗ₘ κ = P)
(A : 𝒳 → Set 𝒵) (hA : MeasurableSet {q : 𝒳 × 𝒵 | q.2 ∈ A q.1}) :
∫⁻ p, ∫⁻ z in A p.1, (ℓ p.2 z : ℝ≥0∞) ∂μ ∂P
= ∫⁻ x, ∫⁻ z in A x, condLoss κ ℓ x z ∂μ ∂P.fst := by sorry
end RiskControl.Optimal
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.