Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Lemma 1, p. 7, Equation (6) — E[I{Ŷ ≤ y}] = E[F_{Y|X}(y | X_(⌈αm⌉))]

Proved
CoVaRMC.Batching.eq_6

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

concomitantconditional-distributioncovarorder-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 \in (0,1)α∈(0,1) and m≥1m \ge 1m≥1. In the first batch (X1,j,Y1,j)j≤m(X_{1,j}, Y_{1,j})_{j \le m}(X1,j​,Y1,j​)j≤m​, let X(⌈αm⌉)X_{(\lceil \alpha m\rceil)}X(⌈αm⌉)​ be the ⌈αm⌉\lceil \alpha m\rceil⌈αm⌉-th smallest of the XXX's and let Y^\hat YY^ be the YYY paired with it. Then, with FY∣XF_{Y|X}FY∣X​ the conditional distribution function of Equation (3), for every y∈Ry \in \mathbb Ry∈R,

E[I{Y^≤y}]=E[FY∣X(y∣X(⌈αm⌉))].\mathrm E\big[I\{\hat Y \le y\}\big] = \mathrm E\big[F_{Y|X}\big(y \mid X_{(\lceil \alpha m\rceil)}\big)\big].E[I{Y^≤y}]=E[FY∣X​(y∣X(⌈αm⌉)​)].

The identity turns the bias of the batch indicator into a smooth functional of a single order statistic of XXX; it is the starting point of Lemma 1 and of the O(m−1)O(m^{-1})O(m−1) bias bound of Lemma 3.

Formalization Note. FY∣XF_{Y|X}FY∣X​ is formula (3) itself (with value 000 where fX=0f_X = 0fX​=0, a set the order statistic avoids almost surely), not a version. Assumption 1, which the page states for Lemma 1, is not used by this identity and is not assumed; only the standing model of §2 is.

Preamble
import Mathlib
import Definitions.Def_CoVaRMC_Batching_Setting

open MeasureTheory ProbabilityTheory Filter Topology
Formal statement
namespace CoVaRMC.Batching

/-- Proof of Lemma 1, p. 7, Equation (6): `E[I{Ŷ ≤ y}] = E[F_{Y|X}(y | X_(⌈αm⌉))]`, with `F_{Y|X}` given
by (3) and `X_(⌈αm⌉)` the `⌈αm⌉`-th order statistic of the first batch. -/
theorem eq_6 (D : JointDensity) (α : ℝ) (hα : α ∈ Set.Ioo (0 : ℝ) 1)
    {Ω : Type*} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (S : ℕ × ℕ → Ω → ℝ × ℝ) (hSm : ∀ p, Measurable (S p)) (hSi : iIndepFun S P)
    (hSl : ∀ p, P.map (S p) = D.law)
    (m : ℕ) (hm : 0 < m) (y : ℝ) :
    pHat P S α m y = ∫ ω, D.condCDF y (Xorder S α m 0 ω) ∂P := by sorry

end CoVaRMC.Batching
Source
Huang, Lin, Hong, Monte-Carlo Estimation of CoVaR, arXiv:2210.06148v1, p. 7, proof of Lemma 1, Equation (6)
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