Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 5, p. 17 — P(D_T ≤ D̂_T) = 1 − β = λ − ψ, λP^M(λZ_T ≤ 1) + P(λZ_T ≥ 1) = 1 − β (38), and P(𝒟) = E[(λZ_T) ∧ ∆] (39)

Proved
ProdHedgeCVaR.Joint.lemma_5

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

change-of-measureconditional-probabilitygaussianp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-strengthenedp2o-v1

Throughout, (Ω,F,P)(\Omega,\mathcal F,\mathbb P)(Ω,F,P) is a probability space carrying the terminal values of the model of §3: the asset-driven demand component AT≥0A_T\ge 0AT​≥0, the asset noise BT∼N(0,T)B_T\sim N(0,T)BT​∼N(0,T), both measurable with respect to the hedger's information G\mathcal GG (the paper's σ(AT,XT)\sigma(A_T,X_T)σ(AT​,XT​)), and ξ∼N(0,1)\xi\sim N(0,1)ξ∼N(0,1) independent of G\mathcal GG. The demand is DT=AT+σ~T ξD_T=A_T+\tilde\sigma\sqrt T\,\xiDT​=AT​+σ~T​ξ, the production payoff HT(Q)=pQ−(p+c)(Q−DT+)+H_T(Q)=pQ-(p+c)(Q-D_T^+)^+HT​(Q)=pQ−(p+c)(Q−DT+​)+, and ZT=e−ηBT−η2T/2Z_T=e^{-\eta B_T-\eta^2T/2}ZT​=e−ηBT​−η2T/2 is the density of the martingale measure, EM[Y]=E[ZTY]\mathsf E^M[Y]=\mathsf E[Z_TY]EM[Y]=E[ZT​Y]. The parameters satisfy p,c,σ~,T,C>0p,c,\tilde\sigma,T,C>0p,c,σ~,T,C>0 and η≠0\eta\ne0η=0. Fix λ≥0\lambda\ge0λ≥0 and a real number QQQ. Let D^T=D^T(λ)\hat D_T=\hat D_T(\lambda)D^T​=D^T​(λ) be as in (30) (with D^T=+∞\hat D_T=+\inftyD^T​=+∞ when λZT≥1\lambda Z_T\ge1λZT​≥1 and −∞-\infty−∞ when λZT=0\lambda Z_T=0λZT​=0), β=E[(1−λZT)+]\beta=\mathsf E[(1-\lambda Z_T)^+]β=E[(1−λZT​)+] and ψ=E[(λZT−1)+]\psi=\mathsf E[(\lambda Z_T-1)^+]ψ=E[(λZT​−1)+] (37), Δ=Φ((Q−AT)/(σ~T))\Delta=\Phi\big((Q-A_T)/(\tilde\sigma\sqrt T)\big)Δ=Φ((Q−AT​)/(σ~T​)) (29), and D={DT≤Q∧D^T}\mathcal D=\{D_T\le Q\wedge\hat D_T\}D={DT​≤Q∧D^T​}. Then

P(DT≤D^T)=1−β=λ−ψ,λ PM(λZT≤1)+P(λZT≥1)=1−β,(38)\mathsf P(D_T\le\hat D_T)=1-\beta=\lambda-\psi,\qquad \lambda\,\mathsf P^M(\lambda Z_T\le1)+\mathsf P(\lambda Z_T\ge1)=1-\beta,\qquad(38)P(DT​≤D^T​)=1−β=λ−ψ,λPM(λZT​≤1)+P(λZT​≥1)=1−β,(38)

and

P(D)=P(ξ≤Φ−1(λZT)∧Q−ATσ~T)=E[(λZT)∧Δ].(39)\mathsf P(\mathcal D)=\mathsf P\Big(\xi\le\Phi^{-1}(\lambda Z_T)\wedge\frac{Q-A_T}{\tilde\sigma\sqrt T}\Big)=\mathsf E[(\lambda Z_T)\wedge\Delta].\qquad(39)P(D)=P(ξ≤Φ−1(λZT​)∧σ~T​Q−AT​​)=E[(λZT​)∧Δ].(39)

These identities convert the closed form (34) into the expression (42) for s(m,Q)s(m,Q)s(m,Q) from which the optimality equations are derived.

Differences from the source:

  • generalization: Q the production quantity (Q ≥ 0 in context) → every real Q; reason: the identities (39) hold for every real Q; the paper's case Q ≥ 0 is an instance
  • encoding: P(ξ ≤ Φ⁻¹(λZ_T) ∧ (Q − A_T)/(σ̃√T)) with Φ⁻¹ possibly ±∞ → the comparison is made in EReal; reason: Φ⁻¹(λZ_T) is ±∞ at the endpoints; the event is the same
  • encoding: D̂_T of (30) with Φ⁻¹(0) = −∞, Φ⁻¹(1) = +∞; E^M, P^M under dP^M/dP = Z_T (26) → D̂_T(λ) in EReal: −∞ if λZ_T ≤ 0, +∞ if λZ_T ≥ 1, else A_T + σ̃√T Φ⁻¹(λZ_T) with Φ⁻¹(u) = sup{x : Φ(x) ≤ u}; E^M[Y] = E[Z_T Y], P^M(S) = E[Z_T 1_S]; reason: Φ is continuous and strictly increasing onto (0, 1), so the order inverse is Φ⁻¹ there; the endpoint values are the paper's conventions (p. 15); E^M and P^M are the expectations under the measure with density Z_T
  • generalization: the hedger's information is σ(A_T, X_T), with A_T adapted to the asset filtration F^X and B̃ a Brownian motion independent of B (§3, pp. 10–12) → any sub-σ-algebra G of the probability space such that A_T and B_T are G-measurable and ξ = B̃_T/√T is independent of G; reason: σ(A_T, X_T) = σ(A_T, B_T) (X_T is a strictly increasing function of B_T) satisfies these properties, so the paper's model is the instance G = σ(A_T, X_T); nothing else about G enters the statement
  • encoding: the dynamic model: GBM asset (17), demand dD_t = dA_t + σ̃dB̃_t (18)–(19), density process (26) on [0, T] → the terminal values only: A_T ≥ 0, W = B_T with law N(0, T), ξ with law N(0, 1); Z_T = exp(−ηW − η²T/2), D_T = A_T + σ̃√T ξ; reason: every object in the statement is a function of (A_T, B_T, B̃_T); B̃_T has the law of √T ξ
  • reading: p is the unit profit, c the net unit cost (p. 5), σ̃ > 0 (p. 10), T > 0 (p. 5), budget C > 0 (p. 12), η ≠ 0 (p. 13) → hypotheses p > 0, c > 0, σ̃ > 0, T > 0, C > 0, η ≠ 0 (Params.Valid); reason: the standing assumptions of §§2–3; c > 0 is needed: with c = 0 the second equation of (45) has no root, since its left-hand side stays below p(1 − α)
Preamble
import Mathlib
import Definitions.Def_BlackScholesModel_Core
import Definitions.Def_ProdHedgeCVaR_Joint_Model
Formal statement
namespace ProdHedgeCVaR.Joint

open MeasureTheory ProbabilityTheory Filter Topology

/-- Lemma 5, p. 17: (38) and (39), for every λ ≥ 0 and every Q. -/
theorem lemma_5 {Ω : Type*} [MeasurableSpace Ω] (M : Model Ω) (hM : M.Valid)
    (lam : ℝ) (hlam : 0 ≤ lam) (Q : ℝ) :
    M.P.real {ω | ((M.D ω : ℝ) : EReal) ≤ M.Dhat lam ω} = 1 - M.beta lam ∧
    1 - M.beta lam = lam - M.psi lam ∧
    lam * M.PM {ω | lam * M.Z ω ≤ 1} + M.P.real {ω | 1 ≤ lam * M.Z ω} = 1 - M.beta lam ∧
    M.P.real (M.Dset lam Q) =
      M.P.real {ω | ((M.xi ω : ℝ) : EReal) ≤
        min (stdNormalInvE (lam * M.Z ω))
          (((Q - M.A ω) / (M.θ.sigT * Real.sqrt M.θ.T) : ℝ) : EReal)} ∧
    M.P.real {ω | ((M.xi ω : ℝ) : EReal) ≤
        min (stdNormalInvE (lam * M.Z ω))
          (((Q - M.A ω) / (M.θ.sigT * Real.sqrt M.θ.T) : ℝ) : EReal)} =
      ∫ ω, min (lam * M.Z ω) (M.Delta Q ω) ∂M.P := by sorry

end ProdHedgeCVaR.Joint
Source
Wang, Yao, Production Planning with Risk Hedging under a CVaR Objective, SSRN 3875464 (April 2020), p. 17, Lemma 5, (37)–(39)
Human review
  • Endorsed by Shuze Chen · Oct 24, 2026

    Confirmed by the moderator at approval.

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