Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

p. 8 — Ŷ^BE = F̂^{−1}_k(β), the β-inverse of the empirical distribution function of Ŷ_1, …, Ŷ_k

Proved
CoVaRMC.Batching.ybe_eq_quantile

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

batching-estimatorempirical-quantileorder-statisticsp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1

Let Y^1,…,Y^k\hat Y_1, \dots, \hat Y_kY^1​,…,Y^k​ (k≥1k \ge 1k≥1) be the batch values of the batching procedure, F^k(y)=1k∑i=1kI{Y^i≤y}\hat F_k(y) = \frac1k \sum_{i=1}^k I\{\hat Y_i \le y\}F^k​(y)=k1​∑i=1k​I{Y^i​≤y} their empirical distribution function, and F^k−1(z)=inf⁡{y∈R:F^k(y)≥z}\hat F_k^{-1}(z) = \inf\{y \in \mathbb R : \hat F_k(y) \ge z\}F^k−1​(z)=inf{y∈R:F^k​(y)≥z}. For every β∈(0,1)\beta \in (0,1)β∈(0,1), the batching estimator Y^BE=Y^(⌈βk⌉)\hat Y^{\mathrm{BE}} = \hat Y_{(\lceil \beta k\rceil)}Y^BE=Y^(⌈βk⌉)​ satisfies

Y^BE=F^k−1(β).\hat Y^{\mathrm{BE}} = \hat F_k^{-1}(\beta).Y^BE=F^k−1​(β).

The identity converts statements about the estimator into statements about the empirical distribution function, which is how both the consistency and the normality proofs proceed.

Formalization Note. The identity is deterministic: it holds for every outcome ω\omegaω and every sample array, and the batch size mmm plays no role. For β∈(0,1)\beta \in (0,1)β∈(0,1) the set {y:F^k(y)≥β}\{y : \hat F_k(y) \ge \beta\}{y:F^k​(y)≥β} is nonempty and bounded below, so the real infimum is a genuine minimum.

Preamble
import Mathlib
import Definitions.Def_CoVaRMC_Batching_Setting

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace CoVaRMC.Batching

/-- p. 8: the batching estimator is the `β`-inverse of the empirical distribution function,
`Ŷ^BE = F̂_k^{-1}(β) = inf {y ∈ ℝ : F̂_k(y) ≥ β}`. -/
theorem ybe_eq_quantile {Ω : Type*} (S : ℕ × ℕ → Ω → ℝ × ℝ) (α β : ℝ) (hβ : β ∈ Set.Ioo (0 : ℝ) 1)
    (k m : ℕ) (hk : 0 < k) (ω : Ω) :
    YBE S α β k m ω = sInf {y : ℝ | β ≤ FkHat S α k m y ω} := by sorry

end CoVaRMC.Batching
Source
Huang, Lin, Hong, Monte-Carlo Estimation of CoVaR, arXiv:2210.06148v1, p. 8, 'we have Ŷ^BE = F̂^{−1}_k(β)'
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