Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 2.51 — dual representation of upper semicontinuous conditional acceptability mappings

Proved
RiskFunctionals.Conditional.representation

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

conditional-risk-mappingsconvex-dualityrisk-measures

Let (Ω,F,P)(\Omega,\mathcal F,\mathbb P)(Ω,F,P) be a probability space, F1⊆F\mathcal F_1\subseteq\mathcal FF1​⊆F a sub-σ\sigmaσ-field, 1≤p<∞1\le p<\infty1≤p<∞ and 1/p+1/q=11/p+1/q=11/p+1/q=1. Let A:Lp(F)→Lp(F1)\mathcal A:L_p(\mathcal F)\to L_p(\mathcal F_1)A:Lp​(F)→Lp​(F1​) be an upper semicontinuous conditional acceptability mapping. For B∈F1B\in\mathcal F_1B∈F1​ and Z∈Lq(F)Z\in L_q(\mathcal F)Z∈Lq​(F) let

AB(Z)=inf⁡{E(YZ)−E(A(Y)1B):Y∈Lp(F)}.(2.46)A_B(Z)=\inf\{\mathbb E(YZ)-\mathbb E(\mathcal A(Y)\mathbb 1_B):Y\in L_p(\mathcal F)\}.\tag{2.46}AB​(Z)=inf{E(YZ)−E(A(Y)1B​):Y∈Lp​(F)}.(2.46)
  1. For every Y∈Lp(F)Y\in L_p(\mathcal F)Y∈Lp​(F) and B∈F1B\in\mathcal F_1B∈F1​,
E(A(Y)1B)=inf⁡Z∈Lq(F){E(YZ)−AB(Z):Z≥0, E(Z∣F1)=1B}.(2.45)\mathbb E(\mathcal A(Y)\mathbb 1_B)=\inf_{Z\in L_q(\mathcal F)}\{\mathbb E(YZ)-A_B(Z):Z\ge0,\ \mathbb E(Z\mid\mathcal F_1)=\mathbb 1_B\}.\tag{2.45}E(A(Y)1B​)=Z∈Lq​(F)inf​{E(YZ)−AB​(Z):Z≥0, E(Z∣F1​)=1B​}.(2.45)
  1. If A\mathcal AA is positively homogeneous then, for every B∈F1B\in\mathcal F_1B∈F1​, with SB={Z∈Lq(F):AB(Z)≥0}S_B=\{Z\in L_q(\mathcal F):A_B(Z)\ge0\}SB​={Z∈Lq​(F):AB​(Z)≥0}, one has AB(Z)=0A_B(Z)=0AB​(Z)=0 for Z∈SBZ\in S_BZ∈SB​ and AB(Z)=−∞A_B(Z)=-\inftyAB​(Z)=−∞ for Z∉SBZ\notin S_BZ∈/SB​, and for every Y∈Lp(F)Y\in L_p(\mathcal F)Y∈Lp​(F)
E(A(Y)1B)=inf⁡Z∈SB{E(YZ):Z≥0, E(Z∣F1)=1B}.(2.47)\mathbb E(\mathcal A(Y)\mathbb 1_B)=\inf_{Z\in S_B}\{\mathbb E(YZ):Z\ge0,\ \mathbb E(Z\mid\mathcal F_1)=\mathbb 1_B\}.\tag{2.47}E(A(Y)1B​)=Z∈SB​inf​{E(YZ):Z≥0, E(Z∣F1​)=1B​}.(2.47)

The theorem is the conditional analogue of the dual representation of acceptability functionals: the conditional mapping is determined by its integrals over the observable events BBB, and each of these is an infimum of linear functionals over densities whose conditional expectation is the indicator of BBB, exactly as in the defining relation of the conditional expectation.

Formalization Note All infima are in EReal, over Lp ℝ q P, and all constraints hold almost surely; E(Z∣F1)\mathbb E(Z\mid\mathcal F_1)E(Z∣F1​) is Mathlib's P[Z|m] with m ≤ mΩ. The difference E(YZ)−AB(Z)\mathbb E(YZ)-A_B(Z)E(YZ)−AB​(Z) has a real first term, so it is +∞+\infty+∞ when AB(Z)=−∞A_B(Z)=-\inftyAB​(Z)=−∞ and is never of the form ∞−∞\infty-\infty∞−∞. Upper semicontinuity is that of each real functional Y↦E(A(Y)1B)Y\mapsto\mathbb E(\mathcal A(Y)\mathbb 1_B)Y↦E(A(Y)1B​), B∈F1B\in\mathcal F_1B∈F1​, as the book defines it, not of the map into Lp(F1)L_p(\mathcal F_1)Lp​(F1​).

Preamble
import Mathlib
import Definitions.Def_RiskFunctionals_Conditional_Mappings
Formal statement
namespace RiskFunctionals.Conditional

open MeasureTheory

/-- Pflug & Römisch, *Modeling, Measuring and Managing Risk*, World Scientific 2007,
pp. 67–68, Theorem 2.51. Let `𝒜 : L_p(ℱ) → L_p(ℱ₁)` (`1 ≤ p < ∞`, `ℱ₁ ⊆ ℱ`) be an upper
semicontinuous conditional acceptability mapping and `1/p + 1/q = 1`.
1. (2.45)–(2.46): for every `Y ∈ 𝒴` and `B ∈ ℱ₁`,
   `𝔼(𝒜(Y) 𝟙_B) = inf_{Z ∈ L_q(ℱ)} {𝔼(Y Z) − A_B(Z) : Z ≥ 0, 𝔼(Z|ℱ₁) = 𝟙_B}`,
   with `A_B(Z) = inf {𝔼(Y Z) − 𝔼(𝒜(Y) 𝟙_B) : Y ∈ 𝒴}` (`dualFunction`).
2. If `𝒜` is positively homogeneous then, for every `B ∈ ℱ₁`, `A_B(Z) = 0` for `Z ∈ S_B`,
   `A_B(Z) = −∞` otherwise, where `S_B = {Z ∈ L_q(ℱ) : A_B(Z) ≥ 0}` (`dualSet`), and (2.47)
   `𝔼(𝒜(Y) 𝟙_B) = inf_{Z ∈ S_B} {𝔼(Y Z) : Z ≥ 0, 𝔼(Z|ℱ₁) = 𝟙_B}` for every `Y ∈ 𝒴`.
All infima are in `EReal`. -/
theorem representation {Ω : Type*} {m mΩ : MeasurableSpace Ω} (hm : m ≤ mΩ)
    (P : Measure[mΩ] Ω) [IsProbabilityMeasure P]
    (p q : ENNReal) [Fact (1 ≤ p)] (hp : p ≠ ⊤) [p.HolderConjugate q]
    (A : Lp ℝ p P → lpMeas ℝ ℝ m p P) (hA : IsConditionalAcceptabilityMapping A)
    (husc : IsUpperSemicontinuousMapping A) :
    (∀ (Y : Lp ℝ p P) (B : Set Ω), MeasurableSet[m] B →
      ((∫ ω in B, (A Y : Lp ℝ p P) ω ∂P : ℝ) : EReal)
        = ⨅ (Z : Lp ℝ q P) (_ : IsConditionalDensity m P B Z),
            ((pairing Y Z : ℝ) : EReal) - dualFunction A B Z) ∧
    (IsPositivelyHomogeneous A →
      ∀ B : Set Ω, MeasurableSet[m] B →
        (∀ Z ∈ dualSet q A B, dualFunction A B Z = 0) ∧
        (∀ Z : Lp ℝ q P, Z ∉ dualSet q A B → dualFunction A B Z = ⊥) ∧
        (∀ Y : Lp ℝ p P,
          ((∫ ω in B, (A Y : Lp ℝ p P) ω ∂P : ℝ) : EReal)
            = ⨅ Z ∈ dualSet q A B, ⨅ (_ : IsConditionalDensity m P B Z),
                ((pairing Y Z : ℝ) : EReal))) := by sorry

end RiskFunctionals.Conditional
Source
Pflug & Römisch, Modeling, Measuring and Managing Risk, World Scientific 2007, pp. 67–68, Theorem 2.51
Read-back

What the Lean code literally says, in plain math · claude-opus-5-5

Fix the following data:

  • a type Ω\OmegaΩ with two σ-algebras: F\mathcal FF, the ambient one, and G\mathcal GG, with G⊆F\mathcal G \subseteq \mathcal FG⊆F. Taking G=F\mathcal G = \mathcal FG=F is allowed.
  • a probability measure PPP on (Ω,F)(\Omega,\mathcal F)(Ω,F).
  • extended non-negative reals p,q∈[0,∞]p, q \in [0,\infty]p,q∈[0,∞] with 1≤p1 \le p1≤p, p≠∞p \ne \inftyp=∞, and p,qp, qp,q Hölder conjugate, i.e. 1p+1q=1\frac1p + \frac1q = 1p1​+q1​=1. So 1≤p<∞1 \le p < \infty1≤p<∞ and 1<q≤∞1 < q \le \infty1<q≤∞, with q=∞q = \inftyq=∞ exactly when p=1p = 1p=1.
  • a map
A:Lp(Ω,F,P;R)→LGp(P),\mathcal A : L^p(\Omega,\mathcal F,P;\mathbb R) \to L^p_{\mathcal G}(P),A:Lp(Ω,F,P;R)→LGp​(P),

where LGp(P)L^p_{\mathcal G}(P)LGp​(P) is the subspace of Lp(Ω,F,P;R)L^p(\Omega,\mathcal F,P;\mathbb R)Lp(Ω,F,P;R) made of the classes that have a G\mathcal GG-measurable representative. It is a subspace of the F\mathcal FF-space, not a separate LpL^pLp space built on G\mathcal GG.

Two hypotheses are imposed on A\mathcal AA: it satisfies the predicate IsConditionalAcceptabilityMapping, and it satisfies the predicate IsUpperSemicontinuousMapping.

These predicates, together with IsConditionalDensity, pairing, dualFunction, dualSet and IsPositivelyHomogeneous, are defined in the imported module Definitions.Def_RiskFunctionals_Conditional_Mappings. That module's code was not provided, so here they can only be described by name and by how they are used. Write:

  • ⟨Y,Z⟩∈R\langle Y, Z\rangle \in \mathbb R⟨Y,Z⟩∈R for pairing Y Z, where Y∈LpY \in L^pY∈Lp and Z∈Lq(Ω,F,P;R)Z \in L^q(\Omega,\mathcal F,P;\mathbb R)Z∈Lq(Ω,F,P;R).
  • DB(Z)D_B(Z)DB​(Z) for dualFunction A B Z. It is an extended real in [−∞,+∞][-\infty,+\infty][−∞,+∞], depends on A\mathcal AA, BBB and ZZZ, but not on YYY, and does not take qqq as an explicit argument.
  • SB⊆LqS_B \subseteq L^qSB​⊆Lq for dualSet q A B.
  • "ZZZ is a G\mathcal GG-conditional density on BBB" for IsConditionalDensity m P B Z.

The docstring describes these objects informally (as ABA_BAB​, SBS_BSB​, Z≥0Z \ge 0Z≥0, E(Z∣F1)=1B\mathbb E(Z\mid\mathcal F_1) = \mathbb 1_BE(Z∣F1​)=1B​, and so on). The code shown does not establish that description.

All equalities below are equalities in the extended reals. The left-hand sides are always real numbers, embedded as finite extended reals. Each left-hand side is

I(Y,B):=∫BA(Y) dP,I(Y,B) := \int_B \mathcal A(Y)\,dP,I(Y,B):=∫B​A(Y)dP,

the integral over BBB of a representative of A(Y)\mathcal A(Y)A(Y), taken as an element of LpL^pLp. Because PPP is a probability measure and p≥1p \ge 1p≥1, this function is integrable, so I(Y,B)I(Y,B)I(Y,B) is the genuine integral.

Part 1. For every Y∈LpY \in L^pY∈Lp and every G\mathcal GG-measurable BBB:

I(Y,B)  =  inf⁡{ ⟨Y,Z⟩−DB(Z)  :  Z∈Lq, Z is a G-conditional density on B }.I(Y,B) \;=\; \inf\Big\{\, \langle Y,Z\rangle - D_B(Z) \;:\; Z \in L^q,\ Z \text{ is a } \mathcal G\text{-conditional density on } B \,\Big\}.I(Y,B)=inf{⟨Y,Z⟩−DB​(Z):Z∈Lq, Z is a G-conditional density on B}.

The subtraction is extended-real subtraction, with r−(−∞)=+∞r - (-\infty) = +\inftyr−(−∞)=+∞ and r−(+∞)=−∞r - (+\infty) = -\inftyr−(+∞)=−∞ for real rrr.

Part 2. Suppose, in addition, that A\mathcal AA satisfies IsPositivelyHomogeneous. Then for every G\mathcal GG-measurable BBB all three of the following hold:

  1. DB(Z)=0D_B(Z) = 0DB​(Z)=0 for every Z∈SBZ \in S_BZ∈SB​.
  2. DB(Z)=−∞D_B(Z) = -\inftyDB​(Z)=−∞ for every Z∈LqZ \in L^qZ∈Lq with Z∉SBZ \notin S_BZ∈/SB​.
  3. For every Y∈LpY \in L^pY∈Lp,
I(Y,B)  =  inf⁡{ ⟨Y,Z⟩  :  Z∈SB, Z is a G-conditional density on B }.I(Y,B) \;=\; \inf\Big\{\, \langle Y,Z\rangle \;:\; Z \in S_B,\ Z \text{ is a } \mathcal G\text{-conditional density on } B \,\Big\}.I(Y,B)=inf{⟨Y,Z⟩:Z∈SB​, Z is a G-conditional density on B}.

Degenerate cases.

  • Empty Ω\OmegaΩ. A probability measure cannot exist on an empty type, so the hypotheses cannot be met.

  • One-point Ω\OmegaΩ. Then G=F\mathcal G = \mathcal FG=F is forced, Lp≅RL^p \cong \mathbb RLp≅R, and BBB ranges over ∅\emptyset∅ and Ω\OmegaΩ.

  • Trivial G={∅,Ω}\mathcal G = \{\emptyset,\Omega\}G={∅,Ω}. This is allowed. In that case A\mathcal AA takes values in the a.e.-constant classes.

  • p=1p = 1p=1. This is allowed, and then q=∞q = \inftyq=∞.

  • B=∅B = \emptysetB=∅. This is always admissible, and the left-hand side is 000. Part 1 then asserts that the infimum over densities on ∅\emptyset∅ equals 000, and Part 2(3) asserts the same for the infimum restricted to S∅S_\emptysetS∅​.

  • Empty or infinite infima. An infimum over an empty index set is +∞+\infty+∞. Since every left-hand side is finite, each equality can only hold if its index set is nonempty:

    • Part 1, for each BBB, requires at least one G\mathcal GG-conditional density on BBB.
    • Part 2(3), for each BBB, requires at least one such density that also lies in SBS_BSB​.

    For the same reason, no admissible ZZZ in Part 1 may have DB(Z)=+∞D_B(Z) = +\inftyDB​(Z)=+∞, since that term would be −∞-\infty−∞ and force the infimum to −∞-\infty−∞. Admissible ZZZ with DB(Z)=−∞D_B(Z) = -\inftyDB​(Z)=−∞ contribute +∞+\infty+∞ and do not affect the infimum.

No Bochner-integral junk value (the value 000 assigned to non-integrable functions) arises, because A(Y)\mathcal A(Y)A(Y) is always integrable.

Human review
  • Endorsed by Community (Bot) · Oct 22, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Shuze Chen · 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