Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Case (a), β=1\beta=1β=1 — with Nl=⌈2ε−2(L+1)c2hl⌉N_l=\lceil2\varepsilon^{-2}(L+1)c_2h_l\rceilNl​=⌈2ε−2(L+1)c2​hl​⌉, V[Y^]≤12ε2V[\widehat Y]\le\tfrac12\varepsilon^2V[Y]≤21​ε2

Proved
GilesMLMC.Complexity.case_a_variance

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

multilevel-monte-carlop2o-batch-pfp2bp2o-gran-per-chapterp2o-plan-paperp2o-v1probability

Let (Ω,F,μ)(\Omega,\mathcal F,\mu)(Ω,F,μ) be a probability space, M≥2M\ge2M≥2 an integer, T>0T>0T>0, hl=M−lTh_l=M^{-l}Thl​=M−lT, β=1\beta=1β=1 and c2>0c_2>0c2​>0. Let Y^l(n)\widehat Y_l^{(n)}Yl(n)​ be square-integrable level estimators, for every level lll and sample size n≥1n\ge1n≥1, such that

  1. (iii) V[Y^l(n)]≤c2 n−1hlβV[\widehat Y_l^{(n)}]\le c_2\,n^{-1}h_l^\betaV[Yl(n)​]≤c2​n−1hlβ​ for every lll and n≥1n\ge1n≥1;
  2. for every choice of sample sizes N0,N1,⋯≥1N_0,N_1,\dots\ge1N0​,N1​,⋯≥1 the estimators Y^0(N0),Y^1(N1),…\widehat Y_0^{(N_0)},\widehat Y_1^{(N_1)},\dotsY0(N0​)​,Y1(N1​)​,… are independent.

Let ε>0\varepsilon>0ε>0, L≥0L\ge0L≥0, and Nl=⌈2ε−2(L+1)c2hl⌉N_l=\lceil2\varepsilon^{-2}(L+1)c_2h_l\rceilNl​=⌈2ε−2(L+1)c2​hl​⌉. Then the multilevel estimator Y^=∑l=0LY^l(Nl)\widehat Y=\sum_{l=0}^L\widehat Y_l^{(N_l)}Y=∑l=0L​Yl(Nl​)​ satisfies

V[Y^]=∑l=0LV[Y^l]≤∑l=0Lc2Nl−1hl≤12ε2.V[\widehat Y]=\sum_{l=0}^LV[\widehat Y_l]\le\sum_{l=0}^Lc_2N_l^{-1}h_l\le\tfrac12\varepsilon^2 .V[Y]=l=0∑L​V[Yl​]≤l=0∑L​c2​Nl−1​hl​≤21​ε2.

This is the variance half of the MSE bound in case (a).

Formalization Note PPP and P^l\widehat P_lPl​ are arbitrary random variables; in the paper they come from an SDE and its discretisation, which the theorem uses only through (i)–(iv). This makes the statement more general, not weaker. Each hypothesis on Y^l\widehat Y_lYl​ is assumed for every sample size N≥1N\ge1N≥1, because the proof chooses the sample sizes; Y^l\widehat Y_lYl​ is assumed square integrable (Lean's variance is 000 off L2L^2L2). Independence of the level estimators is assumed for every choice of sample sizes N0,N1,⋯≥1N_0,N_1,\dots\ge1N0​,N1​,⋯≥1 (mutual independence). The bound holds for every level LLL.

Preamble
import Mathlib
import Definitions.Def_GilesMLMC_Complexity_Setup
import Definitions.Def_GilesMLMC_Complexity_Choices
Formal statement
namespace GilesMLMC.Complexity

/-- Case (a) of the proof of Theorem 3.1, variance (Giles 2008, §3, p. 609, PDF 3, right column): if `β = 1` and `N_l = ⌈2ε⁻²(L+1)c₂h_l⌉`, then `V[Ŷ] = Σ V[Ŷ_l] ≤ Σ c₂ N_l⁻¹ h_l ≤ ½ ε²`.

Formalization Note. `Y l n` is the level-`l` estimator Ŷ_l built from `n` samples; the paper's `P`, `P̂_l` come from an SDE and its discretisation, which the theorem uses only through (i)–(iv), so here they are arbitrary random variables (more general, not weaker). Hypotheses are assumed for every sample size `n ≥ 1` because the proof chooses the sample sizes; `MemLp 2` is needed because `variance` is 0 off L². Independence of the level estimators is assumed for every choice of sample sizes. The statement holds for every level `L : ℕ`. `Nat.ceil` agrees with `⌈·⌉` since its argument is positive. -/
theorem case_a_variance
    {Ω : Type*} [MeasurableSpace Ω] (μ : MeasureTheory.Measure Ω)
    [MeasureTheory.IsProbabilityMeasure μ]
    (M : ℕ) (hM : 2 ≤ M) (T : ℝ) (hT : 0 < T)
    (β c₂ : ℝ) (hβ : β = 1) (hc₂ : 0 < c₂)
    (Y : ℕ → ℕ → Ω → ℝ)
    (hY : ∀ l N, 1 ≤ N → MeasureTheory.MemLp (Y l N) 2 μ)
    (h_iii : ∀ l N, 1 ≤ N →
      ProbabilityTheory.variance (Y l N) μ ≤ c₂ * (N : ℝ)⁻¹ * h M T l ^ β)
    (h_indep : ∀ N : ℕ → ℕ, (∀ l, 1 ≤ N l) →
      ProbabilityTheory.iIndepFun (fun l => Y l (N l)) μ)
    (ε : ℝ) (hε : 0 < ε) (L : ℕ) :
    ProbabilityTheory.variance (estimator Y (NA M T c₂ ε L) L) μ ≤ ε ^ 2 / 2 := by sorry

end GilesMLMC.Complexity
Source
Giles, Multilevel Monte Carlo path simulation, Operations Research 56(3) (2008), §3, proof of Theorem 3.1, case (a), p. 609
Human review
  • Endorsed by Shuze Chen · Oct 6, 2026

    Confirmed by the moderator at approval.

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