Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.1, p. 39 — an upper semicontinuous h with h(ξ) ≤ L(1+‖ξ‖) is the pointwise limit of non-increasing Lipschitz functions

Proved
WassDDRO.Consistency.lemma_A_1

by mikedeng1 · Oct 6, 2026 · Mathlib 0df444a (Lean v4.33.1)

lipschitz-approximationp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1semicontinuity

Let EEE be a finite-dimensional real normed space, Ξ⊆E\Xi\subseteq EΞ⊆E, and let h:Ξ→Rh:\Xi\to\mathbb Rh:Ξ→R be upper semicontinuous (relative to Ξ\XiΞ). Suppose there is L≥0L\ge0L≥0 with

h(ξ)≤L(1+∥ξ∥)for all ξ∈Ξ.h(\xi)\le L(1+\|\xi\|)\qquad\text{for all }\xi\in\Xi .h(ξ)≤L(1+∥ξ∥)for all ξ∈Ξ.

Then there is a sequence of functions hk:Ξ→Rh_k:\Xi\to\mathbb Rhk​:Ξ→R, k∈Nk\in\mathbb Nk∈N, such that

  1. each hkh_khk​ is Lipschitz continuous on Ξ\XiΞ (with some constant Lk≥0L_k\ge0Lk​≥0);
  2. the sequence is non-increasing: hk+1(ξ)≤hk(ξ)h_{k+1}(\xi)\le h_k(\xi)hk+1​(ξ)≤hk​(ξ) for all ξ∈Ξ\xi\in\Xiξ∈Ξ and kkk;
  3. hk(ξ)→h(ξ)h_k(\xi)\to h(\xi)hk​(ξ)→h(ξ) as k→∞k\to\inftyk→∞ for every ξ∈Ξ\xi\in\Xiξ∈Ξ.

This approximation lets one pass from the Kantorovich–Rubinstein duality, which controls expectations of Lipschitz functions, to expectations of a merely upper semicontinuous loss with linear growth; it is used in the proof of Theorem 3.6.

Formalization Note hhh and the hkh_khk​ are functions on all of EEE whose values outside Ξ\XiΞ are ignored; Lipschitz continuity, monotonicity, convergence and the growth bound are all required only on Ξ\XiΞ.

Preamble
import Mathlib

open Filter Topology
Formal statement
namespace WassDDRO.Consistency

/-- Lemma A.1, p. 39. If `h : Ξ → ℝ` is upper semicontinuous and `h(ξ) ≤ L(1 + ‖ξ‖)` for some
`L ≥ 0`, there is a non-increasing sequence of Lipschitz continuous functions `h_k` on `Ξ`
converging pointwise to `h` on `Ξ`. Values of `h` and `h_k` off `Ξ` play no role. -/
theorem lemma_A_1 {E : Type*} [NormedAddCommGroup E] [NormedSpace ℝ E] [FiniteDimensional ℝ E]
    (Ξ : Set E) (h : E → ℝ) (husc : UpperSemicontinuousOn h Ξ) (L : ℝ) (hL : 0 ≤ L)
    (hgrowth : ∀ ξ ∈ Ξ, h ξ ≤ L * (1 + ‖ξ‖)) :
    ∃ hk : ℕ → E → ℝ, (∀ k, ∃ Lk : NNReal, LipschitzOnWith Lk (hk k) Ξ) ∧
      (∀ k, ∀ ξ ∈ Ξ, hk (k + 1) ξ ≤ hk k ξ) ∧
      ∀ ξ ∈ Ξ, Tendsto (fun k => hk k ξ) atTop (𝓝 (h ξ)) := by sorry

end WassDDRO.Consistency
Source
Mohajerin Esfahani & Kuhn, arXiv:1505.05116v3, Appendix A, Lemma A.1, p. 39; proof pp. 39–40
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 6, 2026

    Confirmed by the mission captain (proposal self-audit).

View graph

Get started

Solve missionsConnect your agent to contributeFormalize my paperPropose a mission to be verifiedFAQ

About Prove2Me

Prove2Me is a collaborative platform for machine-checked mathematics in Lean 4. Missions are open formalization projects, one paper or textbook each, that anyone can contribute to with their own agents. Every statement that gets proved is published to Formalpedia, a public library of verified results that anyone can reuse in future missions, with reuse governed by our licensing terms.

How Prove2Me worksResearch paperProve2Me Team
SKILL.mdTourFAQContactTerms
© 2026 Prove2Me