Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3, p. 10 β€” sup_{yβˆˆπ’΄} |E[I{ΕΆ ≀ y}] βˆ’ F_{Y|X}(y | VaRΞ±(X))| = O(m^{βˆ’1})

Proved
CoVaRMC.Batching.lemma_3

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

batching-estimatorbiascovarorder-statisticsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let (Xi,j,Yi,j)(X_{i,j}, Y_{i,j})(Xi,j​,Yi,j​) be i.i.d. with joint density fff, let Ξ±,β∈(0,1)\alpha, \beta \in (0,1)Ξ±,β∈(0,1), and let v=VaRΞ±(X)v = \mathrm{VaR}_\alpha(X)v=VaRα​(X) and c=CoVaRΞ±,Ξ²c = \mathrm{CoVaR}_{\alpha,\beta}c=CoVaRΞ±,β​, i.e. FX(v)=Ξ±F_X(v) = \alphaFX​(v)=Ξ± and FY∣X(c∣v)=Ξ²F_{Y|X}(c\mid v) = \betaFY∣X​(c∣v)=Ξ². Suppose Assumption 1 holds and there is M>0M > 0M>0 such that

βˆ£βˆ‚βˆ‚xFY∣X(y∣VaRΞ±(X))βˆ£β‰€MΒ Β forΒ allΒ y∈Y,βˆ£βˆ‚2βˆ‚x2FY∣X(y∣x)βˆ£β‰€MΒ Β forΒ allΒ (x,y)∈RΓ—Y.\Big|\frac{\partial}{\partial x}F_{Y|X}(y\mid \mathrm{VaR}_\alpha(X))\Big| \le M \ \text{ for all } y \in \mathcal Y, \qquad \Big|\frac{\partial^2}{\partial x^2}F_{Y|X}(y\mid x)\Big| \le M \ \text{ for all } (x,y) \in \mathbb R \times \mathcal Y.β€‹βˆ‚xβˆ‚β€‹FY∣X​(y∣VaRα​(X))​≀MΒ Β forΒ allΒ y∈Y,β€‹βˆ‚x2βˆ‚2​FY∣X​(y∣x)​≀MΒ Β forΒ allΒ (x,y)∈RΓ—Y.

Then, with Y^\hat YY^ the concomitant of the ⌈αmβŒ‰\lceil \alpha m\rceil⌈αmβŒ‰-th order statistic in a batch of size mmm, there is a constant CCC such that for all sufficiently large mmm,

sup⁑y∈Y∣E[I{Y^≀y}]βˆ’FY∣X(y∣VaRΞ±(X))βˆ£β‰€Cm,\sup_{y \in \mathcal Y}\Big|\mathrm E\big[I\{\hat Y \le y\}\big] - F_{Y|X}\big(y \mid \mathrm{VaR}_\alpha(X)\big)\Big| \le \frac{C}{m},y∈Ysup​​E[I{Y^≀y}]βˆ’FY∣X​(y∣VaRα​(X))​≀mC​,

that is, the within-batch error is O(mβˆ’1)O(m^{-1})O(mβˆ’1) uniformly on Y\mathcal YY as mβ†’βˆžm \to \inftymβ†’βˆž.

This is the bias half of the error decomposition (5); it fixes the rate at which mmm must grow relative to k\sqrt kk​ in Theorem 3.

Formalization Note. FY∣XF_{Y|X}FY∣X​ is a version FcF_cFc​ agreeing with (3) where fX>0f_X > 0fX​>0, and βˆ‚/βˆ‚x\partial/\partial xβˆ‚/βˆ‚x is the derivative in the second argument of FcF_cFc​. "sup⁑≀C/m\sup \le C/msup≀C/m" is written as "every term ≀C/m\le C/m≀C/m". No moment or tail condition on (X,Y)(X, Y)(X,Y) is assumed.

Preamble
import Mathlib
import Definitions.Def_CoVaRMC_Batching_Setting

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace CoVaRMC.Batching

/-- Lemma 3, p. 10: under Assumption 1 and the derivative bounds `M`,
`sup_{y ∈ 𝒴} |E[I{ΕΆ ≀ y}] - F_{Y|X}(y | VaR_Ξ±(X))| = O(m^{-1})` as `m β†’ ∞`. -/
theorem lemma_3 (D : JointDensity) (Fc : ℝ β†’ ℝ β†’ ℝ) (Ξ± Ξ² : ℝ)
    (hΞ± : Ξ± ∈ Set.Ioo (0 : ℝ) 1) (hΞ² : Ξ² ∈ Set.Ioo (0 : ℝ) 1)
    (v c : ℝ) (𝒳 𝒴 : Set ℝ) (hFc : IsCondCDFVersion D Fc) (hA1 : Assumption1 D Fc v c 𝒳 𝒴)
    (hv : D.FX v = Ξ±) (hc : Fc c v = Ξ²)
    (M : ℝ) (hM : 0 < M)
    (hM1 : βˆ€ y ∈ 𝒴, |deriv (fun x => Fc y x) v| ≀ M)
    (hM2 : βˆ€ x : ℝ, βˆ€ y ∈ 𝒴, |deriv (deriv (fun x => Fc y x)) x| ≀ M)
    {Ξ© : Type*} [MeasurableSpace Ξ©] (P : Measure Ξ©) [IsProbabilityMeasure P]
    (S : β„• Γ— β„• β†’ Ξ© β†’ ℝ Γ— ℝ) (hSm : βˆ€ p, Measurable (S p)) (hSi : iIndepFun S P)
    (hSl : βˆ€ p, P.map (S p) = D.law) :
    βˆƒ C : ℝ, βˆ€αΆ  m : β„• in atTop, βˆ€ y ∈ 𝒴, |pHat P S Ξ± m y - Fc y v| ≀ C / m := by sorry

end CoVaRMC.Batching
Source
Huang, Lin, Hong, Monte-Carlo Estimation of CoVaR, arXiv:2210.06148v1, p. 10, Lemma 3
Human review
  • Endorsed by Shuze Chen Β· Oct 23, 2026

    Confirmed by the moderator at approval.

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