Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 1 — conditional unbiasedness of Algorithm 2

Proved
SubsampVB.Consist.lemma_1_unbiased

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

bootstrapinput-uncertaintyp2o-batch-pfp2ap2o-gran-per-chapterp2o-plan-paperp2o-v1stochastic-simulationsubsamplingunbiasedness

Fix observed data from m≥1m\ge1m≥1 input processes with ni≥1n_i\ge1ni​≥1, a subsample ratio 0<θ≤10<\theta\le10<θ≤1 with si=⌊θni⌋≥1s_i=\lfloor\theta n_i\rfloor\ge1si​=⌊θni​⌋≥1, and integers B,R≥2B,R\ge2B,R≥2. Suppose each simulation replication under the resampled input laws has mean ψ\psiψ of those laws and a finite second moment. If σ^SVB2\widehat\sigma_{SVB}^2σSVB2​ is Algorithm 2's ANOVA output and σSVB2\sigma_{SVB}^2σSVB2​ is the ideal resampling variance, then

E∗[σ^SVB2]=σSVB2.\mathbb E_*[\widehat\sigma_{SVB}^2]=\sigma_{SVB}^2.E∗​[σSVB2​]=σSVB2​.

The conditional expectation covers both the with-replacement index maps and the independent simulation replications. This exact identity separates systematic error from Monte Carlo variability.

Formalization Note The simulation responses are distributed according to finite product measures. Positive sample sizes and second-moment integrability make the conditional expectation a genuine expectation.

Preamble
import Mathlib
import Definitions.Def_SubsampVB_Consist_Setting
Formal statement
namespace SubsampVB.Consist

open MeasureTheory Finset

universe u

/-- Lemma 1, first sentence, p. 25: exact conditional unbiasedness. -/
theorem lemma_1_unbiased
    {m B R : ℕ} [NeZero m] {Ξ : Fin m → Type u} [∀ i, MeasurableSpace (Ξ i)]
    (ψ : Inputs Ξ → ℝ) (simLaw : Inputs Ξ → Measure ℝ)
    (n : Fin m → ℕ) (θ : ℝ) (x : Sample Ξ n)
    (hB : 2 ≤ B) (hR : 2 ≤ R) (hθ : 0 < θ ∧ θ ≤ 1)
    (hn : ∀ i, 1 ≤ n i) (hs : ∀ i, 1 ≤ subsampleSize θ n i)
    (hOracle : SimOracle ψ simLaw)
    (hSecond : ∀ I : Resample n (subsampleSize θ n),
      Integrable (fun y => (y - ψ (Fbar univ I x)) ^ 2)
        (simLaw (Fbar univ I x))) :
    (Fintype.card (Fin B → Resample n (subsampleSize θ n)) : ℝ)⁻¹ *
      ∑ I : Fin B → Resample n (subsampleSize θ n),
        ∫ Y, sigmaHatSVB θ Y ∂(outputLaw (R := R) simLaw I x) =
      sigmaSVB ψ θ x := by sorry

end SubsampVB.Consist
Source
Lam & Qian, Subsampling to enhance efficiency in input uncertainty quantification, arXiv:1811.04500v2, p. 25, Lemma 1, first sentence; Algorithm 2 p. 15
Human review
  • Endorsed by Shuze Chen · Oct 20, 2026

    Confirmed by the moderator at approval.

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