Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma A.7, p. 32 — for ℙ(A) = 1 − p, ESₚ(X) = 𝔼[X|A] iff A is a p-tail event of X

Proved
ESAxioms.Characterization.lemma_A7

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

expected-shortfallp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1risk-measuretail-event

Let (Ω,F,P)(\Omega,\mathcal F,\mathbb P)(Ω,F,P) be an atomless probability space, p∈(0,1)p\in(0,1)p∈(0,1) and X∈L1X\in L^1X∈L1. For every event AAA with P(A)=1−p\mathbb P(A)=1-pP(A)=1−p,

ESp(X)=E[X∣A]  ⟺  A is a p-tail event of X,\mathrm{ES}_p(X)=\mathbb E[X\mid A]\iff A\text{ is a }p\text{-tail event of }X,ESp​(X)=E[X∣A]⟺A is a p-tail event of X,

where E[X∣A]=E[X1A]/P(A)\mathbb E[X\mid A]=\mathbb E[X\mathbf 1_A]/\mathbb P(A)E[X∣A]=E[X1A​]/P(A).

The lemma characterizes exactly when the expected shortfall is attained as an average over an event of probability 1−p1-p1−p.

Formalization Note ESp\mathrm{ES}_pESp​ is defined by the quantile integral, not through tail events, so the lemma is not definitional. E[X∣A]\mathbb E[X\mid A]E[X∣A] is the elementary conditional expectation on an event, not Mathlib's σ-algebra condExp.

Preamble
import Mathlib
import Definitions.Def_ESAxioms_Characterization_Setting

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace ESAxioms.Characterization

theorem lemma_A7 {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (hP : TailRiskSharing.VaRConv.IsAtomless P) (p : ℝ) (hp : p ∈ Set.Ioo (0 : ℝ) 1)
    (X : Ω → ℝ) (hX : X ∈ L1 P) (A : Set Ω) (hA : MeasurableSet A) (hPA : P.real A = 1 - p) :
    ES P p X = condExpOn P X A ↔ IsPTailEvent P p X A := by sorry

end ESAxioms.Characterization
Source
Wang & Zitikis, An Axiomatic Foundation for the Expected Shortfall, SSRN 3423042 (version of 12 March 2020), p. 32, Lemma A.7
Human review
  • Endorsed by Shuze Chen · Oct 22, 2026

    Confirmed by the moderator at approval.

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