Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Proof of Theorem 2 — the Monte Carlo MSE of Algorithm 2 is op(n−2)o_p(n^{-2})op​(n−2)

Open
SubsampVB.Consist.theorem_2_mse_rate

by tianyipeng · Nov 1, 2026 · Mathlib 0df444a (Lean v4.33.1)

bootstrapinput-uncertaintyrelative-consistencystochastic-simulationsubsampling

Consider mmm independent empirical input models, a performance measure ψ\psiψ, and the proportionate subsampled variance bootstrap of Algorithm 2 with BBB outer resamples, RRR inner simulation replications and subsample ratio θ\thetaθ, so that si=⌊θni⌋s_i=\lfloor\theta n_i\rfloorsi​=⌊θni​⌋. Let n=m−1∑inin=m^{-1}\sum_i n_in=m−1∑i​ni​ and let σ^SVB2\widehat\sigma_{SVB}^2σSVB2​ be Algorithm 2's output (the ANOVA estimate multiplied by θ\thetaθ), and σSVB2\sigma_{SVB}^2σSVB2​ the exact subsampled bootstrap variance (8). Under Assumptions 1–7, with B,R≥2B,R\ge 2B,R≥2, 0<θ≤10<\theta\le 10<θ≤1 and the budget configuration (7)

B=ω(1),BR2=ω((θn)2),θn→∞,B=\omega(1),\qquad BR^2=\omega((\theta n)^2),\qquad \theta n\to\infty,B=ω(1),BR2=ω((θn)2),θn→∞,

the conditional mean squared Monte Carlo error of Algorithm 2 (over the with-replacement index maps and the simulation replications, given the data) is op(n−2)o_p(n^{-2})op​(n−2):

n2 E∗[(σ^SVB2−σSVB2)2]→p0.n^2\,\mathbb E_*\big[(\widehat\sigma_{SVB}^2-\sigma_{SVB}^2)^2\big]\xrightarrow{\mathrm p}0 .n2E∗​[(σSVB2​−σSVB2​)2]p​0.

This is the first step of the proof of Theorem 2 on p. ec14 ("we have Var⁡∗[σ^SVB2]=op(1/n2)\operatorname{Var}_*[\widehat\sigma^2_{SVB}]=o_p(1/n^2)Var∗​[σSVB2​]=op​(1/n2)"); by the unbiasedness part of Lemma 1, Var⁡∗[σ^SVB2]\operatorname{Var}_*[\widehat\sigma^2_{SVB}]Var∗​[σSVB2​] equals this conditional mean squared error. In the paper it follows from the variance formula in the proof of Lemma 1: the leading term is 2B(∑iσi2/ni+τ2θ/R)2\frac2B\big(\sum_i\sigma_i^2/n_i+\tau^2\theta/R\big)^2B2​(∑i​σi2​/ni​+τ2θ/R)2 plus lower-order terms, and n2n^2n2 times it vanishes under (7).

Formalization Note The hypotheses are exactly those of Theorem 2 (no positivity of τ2\tau^2τ2 is assumed; the op(n−2)o_p(n^{-2})op​(n−2) bound is an upper bound and remains valid when τ2=0\tau^2=0τ2=0). The conditional expectation is the platform's outMSE: the uniform average over the BBB independent index maps of the Bochner integral against the product law of the B×RB\times RB×R simulation outputs. Data sizes and algorithm parameters are one common sequence indexed by kkk.

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

open MeasureTheory Filter Finset

universe u v

/-- Proof of Theorem 2, p. ec14: under (7), the conditional MSE of Algorithm 2 is `o_p(n⁻²)`. -/
theorem theorem_2_mse_rate
    {m : ℕ} [NeZero m] {Ξ : Fin m → Type u} [∀ i, MeasurableSpace (Ξ i)]
    {Ω : Type v} [MeasurableSpace Ω] (P : Measure Ω) [IsProbabilityMeasure P]
    (F : Inputs Ξ) [∀ i, IsProbabilityMeasure (F i)]
    (S : ∀ i, Set (Ξ i)) (ψ : Inputs Ξ → ℝ)
    (g : Inputs Ξ → ∀ i, Ξ i → ℝ) (simLaw : Inputs Ξ → Measure ℝ)
    (X : ∀ i : Fin m, ℕ → Ω → Ξ i) (n : ℕ → Fin m → ℕ)
    (θ : ℕ → ℝ) (B R : ℕ → ℕ)
    (hS : ∀ i, MeasurableSet (S i) ∧ F i (S i)ᶜ = 0)
    (hData : IIDData P F X) (hOracle : SimOracle ψ simLaw)
    (hTauFinite : Integrable (fun y => (y - ψ F) ^ 2) (simLaw F))
    (hA1 : A1 n) (hA2 : A2 F S ψ g) (hA3 : A3 P F ψ g X n)
    (hA4 : A4 P F ψ g X n θ) (hA5 : A5 P F ψ simLaw X n)
    (hA6 : A6 P ψ simLaw X n θ) (hA7 : A7 P ψ simLaw X n θ)
    (hParams : ∀ k, 2 ≤ B k ∧ 2 ≤ R k ∧ 0 < θ k ∧ θ k ≤ 1)
    (hB : Tendsto (fun k => (B k : ℝ)) atTop atTop)
    (hBR2 : Tendsto (fun k =>
      (B k : ℝ) * (R k : ℝ) ^ 2 / (θ k * nbar (n k)) ^ 2) atTop atTop)
    (hθn : Tendsto (fun k => θ k * nbar (n k)) atTop atTop) :
    TendstoInMeasure P (fun k ω =>
      nbar (n k) ^ 2 *
        outMSE (B := B k) (R := R k) ψ simLaw (n := n k)
          (s := subsampleSize (θ k) (n k)) (θ k) (dataSample X (n k) ω))
      atTop (fun _ => 0) := by sorry

end SubsampVB.Consist
Source
Lam & Qian, Subsampling to enhance efficiency in input uncertainty quantification, arXiv:1811.04500v2, proof of Theorem 2, p. ec14 (PDF 64), first sentence; configuration (7) p. 15; variance formula in the proof of Lemma 1, p. ec14

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