Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 3, p. 11 — Ŷ^BE − CoVaR = O_Pr(n^{−1/3}) when √k/m → c ≠ 0, and √k(Ŷ^BE − CoVaR) is asymptotically normal when √k/m → 0

Proved
CoVaRMC.Batching.theorem_3

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

asymptotic-normalitybatching-estimatorconvergence-ratecovarp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let (X,Y)(X, Y)(X,Y) have a joint density fff with marginal density fXf_XfX​ and conditional distribution function FY∣XF_{Y|X}FY∣X​ (Equation (3)), let α,β∈(0,1)\alpha, \beta \in (0,1)α,β∈(0,1), and let VaRα(X)\mathrm{VaR}_\alpha(X)VaRα​(X) and CoVaRα,β\mathrm{CoVaR}_{\alpha,\beta}CoVaRα,β​ satisfy

Pr⁡{X≤VaRα(X)}=α,Pr⁡{Y≤CoVaRα,β∣X=VaRα(X)}=β.\Pr\{X \le \mathrm{VaR}_\alpha(X)\} = \alpha, \qquad \Pr\{Y \le \mathrm{CoVaR}_{\alpha,\beta} \mid X = \mathrm{VaR}_\alpha(X)\} = \beta.Pr{X≤VaRα​(X)}=α,Pr{Y≤CoVaRα,β​∣X=VaRα​(X)}=β.

Suppose Assumption 1 holds and there is M>0M > 0M>0 with ∣∂∂xFY∣X(y∣VaRα(X))∣≤M|\frac{\partial}{\partial x}F_{Y|X}(y\mid \mathrm{VaR}_\alpha(X))| \le M∣∂x∂​FY∣X​(y∣VaRα​(X))∣≤M for all y∈Yy \in \mathcal Yy∈Y and ∣∂2∂x2FY∣X(y∣x)∣≤M|\frac{\partial^2}{\partial x^2}F_{Y|X}(y\mid x)| \le M∣∂x2∂2​FY∣X​(y∣x)∣≤M for all (x,y)∈R×Y(x, y) \in \mathbb R \times \mathcal Y(x,y)∈R×Y. From an i.i.d. sample of size n=k×mn = k \times mn=k×m form the batching estimator Y^BE\hat Y^{\mathrm{BE}}Y^BE with kkk batches of mmm observations, and let k→∞k \to \inftyk→∞ and m→∞m \to \inftym→∞ as n→∞n \to \inftyn→∞.

  1. When k/m→c\sqrt k/m \to ck​/m→c for some constant c≠0c \ne 0c=0,
Y^BE−CoVaRα,β=OPr⁡(n−1/3).\hat Y^{\mathrm{BE}} - \mathrm{CoVaR}_{\alpha,\beta} = O_{\Pr}\big(n^{-1/3}\big).Y^BE−CoVaRα,β​=OPr​(n−1/3).
  1. When k/m→0\sqrt k/m \to 0k​/m→0,
k (Y^BE−CoVaRα,β)⇒β(1−β)fY∣X(CoVaRα,β∣VaRα(X))⋅N(0,1).\sqrt k\,\big(\hat Y^{\mathrm{BE}} - \mathrm{CoVaR}_{\alpha,\beta}\big) \Rightarrow \frac{\sqrt{\beta(1-\beta)}}{f_{Y|X}(\mathrm{CoVaR}_{\alpha,\beta}\mid \mathrm{VaR}_\alpha(X))}\cdot N(0,1).k​(Y^BE−CoVaRα,β​)⇒fY∣X​(CoVaRα,β​∣VaRα​(X))β(1−β)​​⋅N(0,1).

The theorem identifies n−1/3n^{-1/3}n−1/3 as the optimal rate of the batching estimator, slower than the n−1/2n^{-1/2}n−1/2 of ordinary quantile estimators because the conditioning event {X=VaRα(X)}\{X = \mathrm{VaR}_\alpha(X)\}{X=VaRα​(X)} has probability zero and VaRα(X)\mathrm{VaR}_\alpha(X)VaRα​(X) must itself be estimated; in the regime k/m→0\sqrt k/m \to 0k​/m→0 the limit is the one obtained as if VaRα(X)\mathrm{VaR}_\alpha(X)VaRα​(X) were known.

Formalization Note. kkk and mmm are sequences k(ν),m(ν)≥1k(\nu), m(\nu) \ge 1k(ν),m(ν)≥1 tending to infinity, with n=k(ν)m(ν)n = k(\nu)m(\nu)n=k(ν)m(ν); the paper's case k(n)m(n)=nk(n)m(n) = nk(n)m(n)=n is ν=n\nu = nν=n. Batches are nonempty (k,m≥1k, m \ge 1k,m≥1, added). OPr⁡O_{\Pr}OPr​ is the definition of p. 5: for every ε>0\varepsilon > 0ε>0 one constant C>0C > 0C>0 works for all ν\nuν. "⇒\Rightarrow⇒" is convergence in distribution (TendstoInDistribution) to the centred normal law with variance β(1−β)/fY∣X(CoVaRα,β∣VaRα(X))2\beta(1-\beta)/f_{Y|X}(\mathrm{CoVaR}_{\alpha,\beta}\mid\mathrm{VaR}_\alpha(X))^2β(1−β)/fY∣X​(CoVaRα,β​∣VaRα​(X))2, where fY∣X(y∣x)=f(x,y)/fX(x)f_{Y|X}(y\mid x) = f(x,y)/f_X(x)fY∣X​(y∣x)=f(x,y)/fX​(x); this variance is positive under Assumption 1, so its conversion to a nonnegative real loses nothing. FY∣XF_{Y|X}FY∣X​ is a version agreeing with (3) wherever fX>0f_X > 0fX​>0, and VaRα(X)\mathrm{VaR}_\alpha(X)VaRα​(X), CoVaRα,β\mathrm{CoVaR}_{\alpha,\beta}CoVaRα,β​ enter as reals satisfying (1) and (2).

Preamble
import Mathlib
import Definitions.Def_CoVaRMC_Batching_Setting

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace CoVaRMC.Batching

/-- Theorem 3, p. 11: with `k → ∞`, `m → ∞` and `n = k m`, (a) if `√k/m → c₀ ≠ 0` then
`Ŷ^BE - CoVaR_{α,β} = O_Pr(n^{-1/3})`; (b) if `√k/m → 0` then
`√k (Ŷ^BE - CoVaR_{α,β}) ⇒ (√(β(1-β)) / f_{Y|X}(CoVaR_{α,β} | VaR_α(X))) · N(0, 1)`. -/
theorem theorem_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)
    (k m : ℕ → ℕ) (hk0 : ∀ ν, 0 < k ν) (hm0 : ∀ ν, 0 < m ν)
    (hk : Tendsto k atTop atTop) (hm : Tendsto m atTop atTop) :
    (∀ c0 : ℝ, c0 ≠ 0 → Tendsto (fun ν => √(k ν : ℝ) / m ν) atTop (𝓝 c0) →
      OPr P (fun ν ω => YBE S α β (k ν) (m ν) ω - c)
        (fun ν => ((k ν * m ν : ℕ) : ℝ) ^ (-(1 / 3 : ℝ)))) ∧
    (Tendsto (fun ν => √(k ν : ℝ) / m ν) atTop (𝓝 0) →
      TendstoInDistribution (fun ν ω => √(k ν : ℝ) * (YBE S α β (k ν) (m ν) ω - c)) atTop id
        (fun _ => P) (gaussianReal 0 (β * (1 - β) / D.condDensity c v ^ 2).toNNReal)) := by sorry

end CoVaRMC.Batching
Source
Huang, Lin, Hong, Monte-Carlo Estimation of CoVaR, arXiv:2210.06148v1, p. 11, Theorem 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