Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem A.1 — existence and uniqueness of the essential supremum

Proved
CondConvexRisk.Representation.essSup_exists

by mikedeng1 · Sep 27, 2026 · Mathlib 0df444a (Lean v4.33.1)

essential-supremump2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1probability

Let (Ω,F,P)(\Omega,\mathcal F,P)(Ω,F,P) be a probability space and X={Xi}i∈I\mathcal X=\{X_i\}_{i\in I}X={Xi​}i∈I​ a family of extended random variables. Then:

  1. there exists X∗∈D(X)X^*\in D(\mathcal X)X∗∈D(X) with X∗≤ZX^*\le ZX∗≤Z PPP-a.s. for every Z∈D(X)Z\in D(\mathcal X)Z∈D(X), i.e. an essential supremum X∗=ess.sup⁡XX^*=\operatorname{ess.sup}\mathcal XX∗=ess.supX;
  2. it is unique up to PPP-null sets;
  3. if I≠∅I\neq\emptysetI=∅ and X\mathcal XX is upward directed, there is a sequence (in)(i_n)(in​) in III such that
Xin↗X∗P-a.s.X_{i_n}\nearrow X^*\quad P\text{-a.s.}Xin​​↗X∗P-a.s.

The essential supremum replaces the pointwise supremum, which is not measurable and not well defined on equivalence classes for uncountable families; part 3 is what makes monotone convergence applicable to it.

Formalization Note Members are PPP-a.e. measurable functions Ω→\Omega\toΩ→ EReal. The nonemptiness of III in part 3 is added: for the empty family no sequence exists (the paper's statement tacitly assumes a nonempty family).

Preamble
import Mathlib
import Definitions.Def_CondConvexRisk_Representation_EssSup

open MeasureTheory Filter Topology
Formal statement
namespace CondConvexRisk.Representation

theorem essSup_exists {Ω ι : Type*} [MeasurableSpace Ω] (P : Measure Ω)
    [IsProbabilityMeasure P] (F : ι → Ω → EReal) (hF : ∀ i, AEMeasurable (F i) P) :
    (∃ Z : Ω → EReal, IsEssSup P F Z) ∧
    (∀ Z Z' : Ω → EReal, IsEssSup P F Z → IsEssSup P F Z' → Z =ᵐ[P] Z') ∧
    (Nonempty ι → IsUpwardDirected P F → ∀ Z : Ω → EReal, IsEssSup P F Z →
      ∃ s : ℕ → ι, ∀ᵐ ω ∂P, Monotone (fun n => F (s n) ω) ∧
        Tendsto (fun n => F (s n) ω) atTop (𝓝 (Z ω))) := by sorry

end CondConvexRisk.Representation
Source
Detlefsen & Scandolo, Conditional and Dynamic Convex Risk Measures, SFB 649 Discussion Paper 2005-006, p. 19, Theorem A.1 (proof cited to [8] Föllmer–Schied, Stochastic Finance (2002), Theorem A.18)
Human review
  • Endorsed by Shuze Chen · Sep 27, 2026

    Confirmed by the moderator at approval.

  • Endorsed by mikedeng1 · Sep 27, 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