Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.2 — expectation of the essential supremum of a directed family

Proved
CondConvexRisk.Representation.expectation_essSup_eq_iSup

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

essential-supremummonotone-convergencep2o-batch-p200ap2o-gran-per-chapterp2o-plan-paperp2o-v1

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​ an upward directed family of extended random variables whose expectations exist, and assume some member Xi0X_{i_0}Xi0​​ has EP[Xi0−]<∞E_P[X_{i_0}^-]<\inftyEP​[Xi0​−​]<∞. Then the expectation of ess.sup⁡X\operatorname{ess.sup}\mathcal Xess.supX exists and

EP(ess.sup⁡X)=sup⁡i∈IEPXi.E_P\big(\operatorname{ess.sup}\mathcal X\big)=\sup_{i\in I}E_P X_i .EP​(ess.supX)=i∈Isup​EP​Xi​.

This lemma lets one exchange expectation and essential supremum; in the proof of Theorem 3.2 it identifies EP[α∗(Q)]E_P[\alpha^*(Q)]EP​[α∗(Q)] with the unconditional penalty α0∗(Q)\alpha^*_0(Q)α0∗​(Q).

Formalization Note The paper's proviso "provided the expectations exist" is made precise as: every member has an expectation in [−∞,+∞][-\infty,+\infty][−∞,+∞] and one member has integrable negative part. Without the latter the identity fails (take g≥0g\ge0g≥0 with E[g 1{g>n}]=∞E[g\,1_{\{g>n\}}]=\inftyE[g1{g>n}​]=∞ for all nnn and Xn=−g 1{g>n}↗0X_n=-g\,1_{\{g>n\}}\nearrow0Xn​=−g1{g>n}​↗0: every EXn=−∞E X_n=-\inftyEXn​=−∞ while the essential supremum is 000). In the paper's application the member X=0X=0X=0 of BQB_QBQ​ is 000.

Preamble
import Mathlib
import Definitions.Def_CondConvexRisk_Representation_EssSup

open MeasureTheory Filter Topology
Formal statement
namespace CondConvexRisk.Representation

theorem expectation_essSup_eq_iSup {Ω ι : Type*} [MeasurableSpace Ω] (P : Measure Ω)
    [IsProbabilityMeasure P] (F : ι → Ω → EReal) (hF : ∀ i, AEMeasurable (F i) P)
    (hdir : IsUpwardDirected P F) (hexp : ∀ i, HasExpectation P (F i))
    (i₀ : ι) (hi₀ : negExpectation P (F i₀) ≠ ⊤)
    (Z : Ω → EReal) (hZ : IsEssSup P F Z) :
    HasExpectation P Z ∧ expectation P Z = ⨆ i, expectation P (F i) := by sorry

end CondConvexRisk.Representation
Source
Detlefsen & Scandolo, Conditional and Dynamic Convex Risk Measures, SFB 649 Discussion Paper 2005-006, pp. 19–20, Lemma A.2
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