MathFin
Map / Risk · Value at risk and expected shortfall / MathFin.Risk.ExpectedShortfall

Expected shortfall is coherent: the Rockafellar–Uryasev theorem for every integrable loss

MathFin.Risk.ExpectedShortfallMSC 91G70JEL G32 source

For an integrable loss X and a level α ∈ (0, 1), the Rockafellar–Uryasev theorem says that expected shortfall is the minimum of the one-parameter objective

g(c) = c + (1 − α)⁻¹ E[(X − c)⁺],

and that the minimum is attained at c = VaR_α(X) (isLeast_rockafellarUryasev, rockafellarUryasev_valueAtRisk). The Gaussian case is Risk/RockafellarUryasev.lean; this file proves it for every integrable loss, atoms included.

The proof is the Gaussian file's pointwise certificate, moved to quantile coordinates. Under the quantile transform E[(X − c)⁺] = ∫₀¹ (q(u) − c)⁺ du with q = VaR_·(X), and pointwise

(q(u) − c)⁺ ≥ (q(u) − c) · 𝟙{u > α},

which integrates to g(c) ≥ ES_α(X). At c = q(α) the certificate is exact, because q is monotone: the positive part vanishes on (0, α] and is the identity on (α, 1). In quantile coordinates an atom of X is a flat stretch of q, so the argument needs no case analysis for atoms.

Coherence follows in one line per axiom (expectedShortfall_isCoherentRiskMeasure). Subadditivity, the axiom that value-at-risk fails (Risk/VaRSuperadditivity.lean), is (a + b)⁺ ≤ a⁺ + b⁺ inside the objective at c = VaR_α(X) + VaR_α(Y). This is the result behind the Basel III move of market-risk capital from VaR₉₉ to ES₉₇.₅.

The dual representation (isGreatest_integral_mul_expectedShortfall) says ES is a worst-case expectation. ES_α(X) is the largest value of E[D·X] over densities 0 ≤ D ≤ (1 − α)⁻¹ with E[D] = 1. The maximizer loads the tail event {X > VaR_α(X)}, plus the fraction of the atom at VaR_α(X) needed to make up mass 1 − α. The value ES_α(X) = (1 − α)⁻¹ (E[X·𝟙{X > q}] + q·(1 − α − P(X > q))) at q = VaR_α(X) is the formula of Acerbi and Tasche (expectedShortfall_eq_acerbiTasche).

Main definitions

  • rockafellarUryasev: the objective c ↦ c + (1 − α)⁻¹ E[(X − c)⁺] of a loss X at level α.

Main results

  • isLeast_rockafellarUryasev: ES_α(X) is its minimum; rockafellarUryasev_valueAtRisk: the minimum is attained at VaR_α(X).
  • expectedShortfall_add_le: subadditivity of ES.
  • expectedShortfall_isCoherentRiskMeasure: ES is a coherent risk measure.
  • expectedShortfall_eq_acerbiTasche: the Acerbi–Tasche formula.
  • expectedShortfall_eq_setIntegral_tail: without atoms, ES is the mean of the α-tail.
  • isGreatest_integral_mul_expectedShortfall: the dual representation of ES.
  • representingSet_expectedShortfall: on a finite probability space the ADEH representing set of ES is exactly the probability vectors q with qᵢ ≤ (1 − α)⁻¹ P{i}, the densities bounded by (1 − α)⁻¹.
  • expectedShortfall_isLUB_representingSet: on a finite probability space ES is a coherent risk measure of Risk/AcceptanceSet.lean, so the finite representation theorem coherentRisk_isLUB applies to it.

References

Tags

expected shortfall, conditional VaR, Rockafellar-Uryasev, tail risk, Acerbi-Tasche, coherent risk measure, Basel III, dual representation, MSC 91G70, JEL G32

Import neighbourhood

Above: what it imports. Below: what imports it.

Corpus entries

qrm-rockafellar-uryasev · quantitative_risk_management.json · full statement
Rockafellar–Uryasev Theorem (Every Integrable Loss)

For an integrable loss X and α ∈ (0, 1), expected shortfall ES_α(X) = (1−α)⁻¹∫_α^1 VaR_u(X) du is the least value of c ↦ c + (1−α)⁻¹E[(X − c)⁺], and that value is attained (the minimizer c = VaR_α(X) is `rockafellarUryasev_valueAtRisk`). No continuity of the law is assumed.

qrm-es-subadditive · quantitative_risk_management.json · full statement
Expected Shortfall Is Subadditive

For integrable losses X, Y on one probability space and α ∈ (0, 1): ES_α(X + Y) ≤ ES_α(X) + ES_α(Y).

qrm-es-coherent · quantitative_risk_management.json · full statement
Expected Shortfall Is a Coherent Risk Measure

For α ∈ (0, 1), X ↦ ES_α(X) satisfies the four coherence axioms (monotonicity, translation invariance, positive homogeneity, subadditivity) on the integrable losses of any probability space.

qrm-es-acerbi-tasche · quantitative_risk_management.json · full statement
Acerbi–Tasche Formula for Expected Shortfall

For an integrable loss X, α ∈ (0, 1) and q = VaR_α(X): ES_α(X) = (1−α)⁻¹(E[X·1{X > q}] + q·(1 − α − P(X > q))), the correction term accounting for an atom at q.

qrm-es-tail-mean · quantitative_risk_management.json · full statement
Expected Shortfall as the Tail Mean of an Atomless Loss

For an integrable loss X whose law has a continuous CDF and α ∈ (0, 1), with q = VaR_α(X): the tail {X > q} has probability exactly 1 − α, and ES_α(X) = (1−α)⁻¹ E[X·1{X > q}], the mean of X over that tail. The Acerbi–Tasche correction term vanishes.

qrm-es-dual-representation · quantitative_risk_management.json · full statement
Dual Representation of Expected Shortfall

For an integrable loss X and α ∈ (0, 1), ES_α(X) is the greatest value of E[D·X] over densities D with 0 ≤ D ≤ (1−α)⁻¹ a.s. and E[D] = 1; the maximum is attained.

qrm-es-monotone-level · quantitative_risk_management.json · full statement
Expected Shortfall Is Nondecreasing in the Level

For an integrable loss X and 0 < α ≤ β < 1, ES_α(X) ≤ ES_β(X).

qrm-es-adeh-representation · quantitative_risk_management.json · full statement
ES in the ADEH Representation (Finite State)

On a finite probability space, ES_α is a coherent risk measure of losses (IsCoherentRiskMeasure), so ES_α(L) is the least upper bound of the expected losses ∑ qᵢ Lᵢ over its representing probability vectors, those q with ∑ qᵢ Zᵢ ≤ 0 on every loss Z with ES_α(Z) ≤ 0. That this representing set is the set of probability vectors with qᵢ ≤ (1 − α)⁻¹ P{i} is the separate entry mf-expected-shortfall-representing-set.

mf-expected-shortfall-representing-set · risk_measures.json · full statement
The Representing Set of Expected Shortfall

On a finite probability space (any reference probability measure P, atoms of null mass allowed) and for α ∈ (0, 1), the Artzner–Delbaen–Eber–Heath representing set of expected shortfall ES_α, the probability vectors q with ∑ qᵢ Zᵢ ≤ 0 for every loss Z with ES_α(Z) ≤ 0, equals the set of probability vectors q with qᵢ ≤ (1 − α)⁻¹ P{i} for every state i, that is, the probability densities q/P bounded by (1 − α)⁻¹ (a state of null P-mass carries no q-mass).

Declarations 18

defMathFin.rockafellarUryasevsource
{Ω : Type u_1} → {mΩ : MeasurableSpace Ω} → (Ω → ℝ) → Measure Ω → ℝ → ℝ → ℝ

The Rockafellar–Uryasev objective of a loss X at level α: c ↦ c + (1 − α)⁻¹ E[(X − c)⁺].

theoremMathFin.integral_max_sub_eq_setIntegral_valueAtRisksource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} [IsProbabilityMeasure P], AEMeasurable X P → ∀ (c : ℝ), ∫ (ω : Ω), max (X ω - c) 0 ∂P = ∫ (u : ℝ) in Set.Ioo 0 1, max (valueAtRisk X P u - c) 0

The expected positive part of X − c in quantile coordinates: E[(X − c)⁺] = ∫₀¹ (VaR_u(X) − c)⁺ du.

theoremMathFin.integrableOn_max_valueAtRisk_subsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} [IsProbabilityMeasure P], Integrable X P → ∀ (c : ℝ), IntegrableOn (fun u => max (valueAtRisk X P u - c) 0) (Set.Ioo 0 1) volume

u ↦ (VaR_u(X) − c)⁺ is integrable on (0, 1) for an integrable loss.

theoremMathFin.expectedShortfall_le_rockafellarUryasevsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → α ∈ Set.Ioo 0 1 → ∀ (c : ℝ), expectedShortfall X P α ≤ rockafellarUryasev X P α c

The Rockafellar–Uryasev inequality: ES_α(X) ≤ c + (1 − α)⁻¹ E[(X − c)⁺] for every threshold c. The certificate (q(u) − c)⁺ ≥ (q(u) − c)·𝟙{u > α}, integrated over (0, 1).

theoremMathFin.rockafellarUryasev_valueAtRisksource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → α ∈ Set.Ioo 0 1 → rockafellarUryasev X P α (valueAtRisk X P α) = expectedShortfall X P α

The Rockafellar–Uryasev objective attains ES at VaR: at c = VaR_α(X) the certificate is exact, since the VaR curve lies below VaR_α(X) on (0, α] and above it on (α, 1).

theoremMathFin.isLeast_rockafellarUryasevsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → α ∈ Set.Ioo 0 1 → IsLeast (Set.range (rockafellarUryasev X P α)) (expectedShortfall X P α)

The Rockafellar–Uryasev theorem for an arbitrary integrable loss: ES_α(X) is the least value of c ↦ c + (1 − α)⁻¹ E[(X − c)⁺]. The minimizer c = VaR_α(X) is named in rockafellarUryasev_valueAtRisk.

theoremMathFin.expectedShortfall_add_lesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X Y : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → Integrable Y P → α ∈ Set.Ioo 0 1 → expectedShortfall (fun ω => X ω + Y ω) P α ≤ expectedShortfall X P α + expectedShortfall Y P α

Subadditivity of expected shortfall: ES_α(X + Y) ≤ ES_α(X) + ES_α(Y). Evaluate the Rockafellar–Uryasev objective of X + Y at VaR_α(X) + VaR_α(Y) and split the positive part, (a + b)⁺ ≤ a⁺ + b⁺.

theoremMathFin.expectedShortfall_isCoherentRiskMeasuresource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {α : ℝ} [IsProbabilityMeasure P], α ∈ Set.Ioo 0 1 → IsCoherentRiskMeasure P fun X => expectedShortfall X P α

Expected shortfall is a coherent risk measure on the integrable losses (Acerbi and Tasche 2002; McNeil–Frey–Embrechts, Proposition 8.13 context).

theoremMathFin.expectedShortfall_eq_acerbiTaschesource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → α ∈ Set.Ioo 0 1 → expectedShortfall X P α = (1 - α)⁻¹ * (∫ (ω : Ω) in {ω | valueAtRisk X P α < X ω}, X ω ∂P + valueAtRisk X P α * (1 - α - P.real {ω | valueAtRisk X P α < X ω}))

The Acerbi–Tasche formula: with q = VaR_α(X), ES_α(X) = (1 − α)⁻¹ (E[X·𝟙{X > q}] + q·(1 − α − P(X > q))). The correction term is the part of the atom at q that lies in the α-tail; it vanishes when P(X = q) = 0.

theoremMathFin.measureReal_valueAtRisk_ltsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], AEMeasurable X P → Continuous ↑(cdf (Measure.map X P)) → α ∈ Set.Ioo 0 1 → P.real {ω | valueAtRisk X P α < X ω} = 1 - α

Without atoms the α-tail has mass 1 − α: if the law of X has a continuous CDF, then P(X > VaR_α(X)) = 1 − α.

theoremMathFin.expectedShortfall_eq_setIntegral_tailsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → Continuous ↑(cdf (Measure.map X P)) → α ∈ Set.Ioo 0 1 → expectedShortfall X P α = (1 - α)⁻¹ * ∫ (ω : Ω) in {ω | valueAtRisk X P α < X ω}, X ω ∂P

Without atoms ES is the mean of the tail: if the law of X has a continuous CDF, the correction term of expectedShortfall_eq_acerbiTasche vanishes and ES_α(X) = (1 − α)⁻¹ E[X·𝟙{X > VaR_α(X)}]. The tail event has mass 1 − α (measureReal_valueAtRisk_lt), so this is the mean of X over it.

theoremMathFin.measure_Iio_quantile_lesource
∀ {α : ℝ} {μ : Measure ℝ} [IsProbabilityMeasure μ], α ∈ Set.Ioo 0 1 → μ (Set.Iio (quantile μ α)) ≤ ENNReal.ofReal α

The mass strictly below the α-quantile is at most α: under the quantile transform, the levels whose quantile lies below quantile μ α are levels below α.

theoremMathFin.integral_mul_le_expectedShortfallsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → α ∈ Set.Ioo 0 1 → ∀ {D : Ω → ℝ}, AEStronglyMeasurable D P → (∀ᵐ (ω : Ω) ∂P, 0 ≤ D ω) → (∀ᵐ (ω : Ω) ∂P, D ω ≤ (1 - α)⁻¹) → ∫ (ω : Ω), D ω ∂P = 1 → ∫ (ω : Ω), D ω * X ω ∂P ≤ expectedShortfall X P α

ES dominates every stress expectation: for a density D with 0 ≤ D ≤ (1 − α)⁻¹ and E[D] = 1, E[D·X] ≤ ES_α(X). Pointwise D·X ≤ q·D + (1 − α)⁻¹ (X − q)⁺ with q = VaR_α(X), and the right side integrates to the Rockafellar–Uryasev objective at q.

theoremMathFin.exists_density_integral_mul_eq_expectedShortfallsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → α ∈ Set.Ioo 0 1 → ∃ g, Measurable g ∧ (∀ (x : ℝ), 0 ≤ g x) ∧ (∀ (x : ℝ), g x ≤ (1 - α)⁻¹) ∧ ∫ (ω : Ω), g (X ω) ∂P = 1 ∧ ∫ (ω : Ω), g (X ω) * X ω ∂P = expectedShortfall X P α

The ES-maximizing stress density is a function of the loss: (1 − α)⁻¹ on the tail {X > q}, the fraction β ∈ [0, 1] of it on the atom {X = q} that completes the tail mass to 1 − α, and 0 below, where q = VaR_α(X). It makes the pointwise bound of integral_mul_le_expectedShortfall exact: g(x)·(x − q) = (1 − α)⁻¹ (x − q)⁺ for every x.

theoremMathFin.isGreatest_integral_mul_expectedShortfallsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → α ∈ Set.Ioo 0 1 → IsGreatest {r | ∃ D, AEStronglyMeasurable D P ∧ (∀ᵐ (ω : Ω) ∂P, 0 ≤ D ω) ∧ (∀ᵐ (ω : Ω) ∂P, D ω ≤ (1 - α)⁻¹) ∧ ∫ (ω : Ω), D ω ∂P = 1 ∧ r = ∫ (ω : Ω), D ω * X ω ∂P} (expectedShortfall X P α)

The dual representation of expected shortfall (QRM Exercise 8.2): ES_α(X) is the greatest value of E[D·X] over the stress densities 0 ≤ D ≤ (1 − α)⁻¹ with E[D] = 1.

theoremMathFin.expectedShortfall_mono_levelsource
∀ {Ω : Type u_1} {mΩ : MeasurableSpace Ω} {P : Measure Ω} {X : Ω → ℝ} {α : ℝ} [IsProbabilityMeasure P], Integrable X P → α ∈ Set.Ioo 0 1 → ∀ {β : ℝ}, β ∈ Set.Ioo 0 1 → α ≤ β → expectedShortfall X P α ≤ expectedShortfall X P β

ES is nondecreasing in the level (QRM Exercise 8.2b): raising α relaxes the bound D ≤ (1 − α)⁻¹ on the stress densities, so the dual representation maximizes over a larger set.

theoremMathFin.representingSet_expectedShortfallsource
∀ {α : ℝ} {ι : Type u_2} [Fintype ι] [MeasurableSpace ι] [MeasurableSingletonClass ι] (P : Measure ι) [IsProbabilityMeasure P], α ∈ Set.Ioo 0 1 → (representingSet fun L => expectedShortfall L P α) = {q | (∀ (i : ι), 0 ≤ q i) ∧ ∑ i, q i = 1 ∧ ∀ (i : ι), q i ≤ (1 - α)⁻¹ * P.real {i}}

The representing set of expected shortfall: on a finite probability space the ADEH representing set of ES_α is exactly the set of probability vectors q with qᵢ ≤ (1 − α)⁻¹ P{i}, that is, the probability densities q/P bounded by (1 − α)⁻¹ (a state of null mass carries no q-mass). ⊇ is the dual bound integral_mul_le_expectedShortfall for the density q/P; ⊆ tests the acceptable loss 𝟙{i} − (1 − α)⁻¹ P{i}, whose shortfall is nonpositive by the Rockafellar–Uryasev bound at c = 0.

theoremMathFin.expectedShortfall_isLUB_representingSetsource
∀ {α : ℝ} {ι : Type u_2} [Fintype ι] [MeasurableSpace ι] [MeasurableSingletonClass ι] (P : Measure ι) [IsProbabilityMeasure P], α ∈ Set.Ioo 0 1 → ∀ (L : ι → ℝ), IsLUB ((fun q => ∑ i, q i * L i) '' representingSet fun L => expectedShortfall L P α) (expectedShortfall L P α)

ES has an ADEH representation: on a finite probability space, ES_α(L) is the least upper bound of the expected losses ∑ qᵢ Lᵢ over the representing set of ES_α (coherentRisk_isLUB applied to expectedShortfall_isCoherentRiskMeasure). By representingSet_expectedShortfall that set is the densities bounded by (1 − α)⁻¹, the set over which isGreatest_integral_mul_expectedShortfall attains the same supremum.