Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 2.7, p. 7 — continuity properties of partial infima

Proved
WassInvCov.Shrinkage.lemma_2_7

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

p2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1partial-infimumsemicontinuityvariational-analysis

Let E\mathcal EE be a normed space, Γ\GammaΓ an index set, φ:E×Γ→R\varphi:\mathcal E\times\Gamma\to\mathbb Rφ:E×Γ→R, and define the partial infimum

Φ(ε)=inf⁡γ∈Γφ(ε,γ)∈[−∞,+∞],ε∈E.\Phi(\varepsilon)=\inf_{\gamma\in\Gamma}\varphi(\varepsilon,\gamma)\in[-\infty,+\infty],\qquad \varepsilon\in\mathcal E.Φ(ε)=γ∈Γinf​φ(ε,γ)∈[−∞,+∞],ε∈E.

Let ε0∈E\varepsilon_0\in\mathcal Eε0​∈E.

  1. If ε↦φ(ε,γ)\varepsilon\mapsto\varphi(\varepsilon,\gamma)ε↦φ(ε,γ) is continuous at ε0\varepsilon_0ε0​ for every γ∈Γ\gamma\in\Gammaγ∈Γ, then Φ\PhiΦ is upper semicontinuous at ε0\varepsilon_0ε0​.
  2. If φ\varphiφ is calm from below at ε0\varepsilon_0ε0​ uniformly in γ\gammaγ, that is, there is a constant L≥0L\ge0L≥0 with φ(ε,γ)−φ(ε0,γ)≥−L∥ε0−ε∥\varphi(\varepsilon,\gamma)-\varphi(\varepsilon_0,\gamma)\ge-L\|\varepsilon_0-\varepsilon\|φ(ε,γ)−φ(ε0​,γ)≥−L∥ε0​−ε∥ for all ε∈E\varepsilon\in\mathcal Eε∈E and γ∈Γ\gamma\in\Gammaγ∈Γ, then Φ\PhiΦ is lower semicontinuous at ε0\varepsilon_0ε0​.

The paper uses this lemma to pass from positive definite to singular sample covariance matrices in the proof of Proposition 2.8.

Formalization Note The page asks E\mathcal EE and Γ\GammaΓ to be normed spaces; here E\mathcal EE is a normed additive group and Γ\GammaΓ an arbitrary type (the norm of Γ\GammaΓ is never used, and the paper's own application takes Γ={γ:γI≻X}\Gamma=\{\gamma:\gamma I\succ X\}Γ={γ:γI≻X}, which is not a normed space). Φ\PhiΦ is computed in the extended reals, since the infimum may be −∞-\infty−∞ (or +∞+\infty+∞ for empty Γ\GammaΓ). The calmness inequality is required for all ε\varepsilonε, the literal reading of the page.

Preamble
import Mathlib
Formal statement
namespace WassInvCov.Shrinkage

/-- Lemma 2.7, p. 7 (arXiv:1805.07194v1): continuity properties of the partial infimum
`Φ(ε) = inf_{γ ∈ Γ} φ(ε, γ)`, computed in `EReal`.
(i) If `φ(·, γ)` is continuous at `ε₀` for every `γ`, then `Φ` is upper semicontinuous at `ε₀`.
(ii) If `φ` is calm from below at `ε₀` uniformly in `γ` — there is `L ≥ 0` with
`φ(ε, γ) − φ(ε₀, γ) ≥ −L‖ε₀ − ε‖` for all `ε` and `γ` — then `Φ` is lower semicontinuous at `ε₀`.
Here `ε` ranges over a normed group `E` and `Γ` is an arbitrary index type. -/
theorem lemma_2_7 {E Γ : Type*} [NormedAddCommGroup E] (ϕ : E → Γ → ℝ) (ε₀ : E) :
    ((∀ γ, ContinuousAt (fun ε => ϕ ε γ) ε₀) →
      UpperSemicontinuousAt (fun ε => ⨅ γ, (ϕ ε γ : EReal)) ε₀) ∧
    ((∃ L : ℝ, 0 ≤ L ∧ ∀ ε γ, ϕ ε γ - ϕ ε₀ γ ≥ -L * ‖ε₀ - ε‖) →
      LowerSemicontinuousAt (fun ε => ⨅ γ, (ϕ ε γ : EReal)) ε₀) := by sorry

end WassInvCov.Shrinkage
Source
Nguyen, Kuhn & Mohajerin Esfahani, Distributionally Robust Inverse Covariance Estimation, arXiv:1805.07194v1, p. 7, Lemma 2.7
Human review
  • Endorsed by Shuze Chen · Oct 18, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Oct 18, 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