Theorem 2 — the optimal value of (3) is finite iff has -growth
ProvedWassersteinLinOpt.Ball.optimalValue_finite_iff_growthThroughout, 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. Standing assumptions of problem (3) (p. 1108): is upper semicontinuous and, for every , at least one of and is finite.
Theorem 2. Assume has a finite -th moment. Then the optimal value
of problem (3) is finite (neither nor ) if and only if there exist and such that for all .
Formalization Note. The integral is the extended-real integral (quasiIntegral) and the supremum is in EReal; "finite" is ≠ ⊤ ∧ ≠ ⊥. The standing quasi-integrability assumption is the hypothesis hquasi.
import Mathlib import Definitions.Def_WassersteinLinOpt_Ball_wassersteinBall import Definitions.Def_WassersteinLinOpt_Ball_HasFinitePthMoment import Definitions.Def_WassersteinLinOpt_Ball_optimalValue open MeasureTheory open scoped ENNReal NNReal
namespace WassersteinLinOpt.Ball
/-- Theorem 2, p. 1110. Let `f` be upper semicontinuous and, for every `μ ∈ 𝓑_r(ν)`, let at
least one of `∫ [f]₊ dμ`, `∫ [−f]₊ dμ` be finite (the standing assumptions of problem (3)).
If `ν` has a finite `p`-th moment, the optimal value of (3) is finite (neither `+∞` nor `−∞`)
iff `f(x) ≤ c[1 + d^p(x, x₀)]` for all `x`, for some `x₀ ∈ X` and `c > 0`. -/
theorem optimalValue_finite_iff_growth {X : Type*} [MetricSpace X] [ProperSpace X]
[MeasurableSpace X] [BorelSpace X] (p r : ℝ) (hp : 1 ≤ p) (hr : 0 < r)
(ν : ProbabilityMeasure X) (hν : HasFinitePthMoment p (ν : Measure X))
(f : X → ℝ) (hf : UpperSemicontinuous f)
(hquasi : ∀ μ ∈ wassersteinBall p r ν,
∫⁻ x, ENNReal.ofReal (f x) ∂(μ : Measure X) < ⊤ ∨
∫⁻ x, ENNReal.ofReal (-f x) ∂(μ : Measure X) < ⊤) :
(optimalValue p r ν f ≠ ⊤ ∧ optimalValue p r ν f ≠ ⊥) ↔
∃ x₀ : X, ∃ c : ℝ, 0 < c ∧ ∀ x : X, f x ≤ c * (1 + dist x x₀ ^ p) := 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 metric and its Borel σ-algebra. The remaining data and hypotheses are:
- real numbers and with and ;
- a probability measure with a finite -th moment, meaning some has ;
- a function that is upper semicontinuous;
- a quasi-integrability hypothesis: for every , at least one of and is finite.
The ball is the set of probability measures with , where is the -th power of the coupling infimum of . The integrals of and are -valued.
The statement. Define the extended real
Then is neither nor if and only if there exist a point and a real with
Degenerate cases.
- Excluded values: the hypotheses exclude and .
- Non-empty : the finite-moment hypothesis forces to be non-empty.
- Empty ball: if were empty, then and the left-hand side would be false. The statement does not itself assert that the ball is non-empty.
- The value : the left-hand side excludes as well as .
- Both parts infinite: the quasi-integrability hypothesis rules out, within the ball, the case where both parts are (whose difference would evaluate to ).
Confirmed by the mission captain (proposal self-audit).
Confirmed by the moderator at approval.