Lemma 3 — Portmanteau characterization by upper semicontinuous functions
ProvedWassersteinLinOpt.Ball.tendsto_iff_limsup_quasiIntegral_leThroughout, is a proper metric space (every closed ball is compact; such a space is complete and separable, hence Polish) with its Borel -algebra, and , are real.
Lemma 3. A sequence in converges weakly to if and only if for every function that is bounded above and upper semicontinuous,
This excerpt of the Portmanteau theorem is what Theorem 3's proof uses for a truncated objective.
Formalization Note. Weak convergence is Filter.Tendsto μs atTop (nhds μlim) in ProbabilityMeasure X. Since is bounded above, is finite and the integral is a well-defined value in , taken as quasiIntegral in EReal; the is Filter.limsup in EReal.
import Mathlib import Definitions.Def_WassersteinLinOpt_Ball_quasiIntegral open MeasureTheory open scoped ENNReal NNReal
namespace WassersteinLinOpt.Ball
/-- Lemma 3 (Appendix A, p. 1120; excerpted from the Portmanteau theorem). A sequence `μᵏ` in
`𝒫(X)` converges weakly to `μ^∞` iff `limsup_k ∫ g dμᵏ ≤ ∫ g dμ^∞` for every upper-bounded,
upper semicontinuous `g : X → ℝ`. The integrals are extended-real (they may be `−∞`). -/
theorem tendsto_iff_limsup_quasiIntegral_le {X : Type*} [MetricSpace X] [ProperSpace X]
[MeasurableSpace X] [BorelSpace X] (μs : ℕ → ProbabilityMeasure X)
(μlim : ProbabilityMeasure X) :
Filter.Tendsto μs Filter.atTop (nhds μlim) ↔
∀ g : X → ℝ, BddAbove (Set.range g) → UpperSemicontinuous g →
Filter.limsup (fun k => quasiIntegral g (μs k : Measure X)) Filter.atTop ≤
quasiIntegral g (μlim : Measure X) := by sorry
end WassersteinLinOpt.Ball
Read-back
What the Lean code literally says, in plain math · claude-opus-5-5
Setting. is a proper metric space with its Borel σ-algebra. The inputs are a sequence of probability measures on and a probability measure on .
The statement. The following two conditions are equivalent.
- as in Mathlib's topology on probability measures. This is the weak-convergence topology, generated by for bounded continuous .
- For every function that is bounded above and upper semicontinuous,
The integrals are -valued. The differences and the limit superior are computed in the extended reals .
Degenerate cases.
- Finite positive part: because is bounded above and the measures are probability measures, each positive part is finite. Each difference therefore lies in , and the evaluation of to never occurs.
- Differences equal to : a difference is exactly when .
- empty: there are no probability measures, so the statement is vacuous.
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.