Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 1 (upper bound) — Gärtner–Ellis large-deviation upper bound

Proved
ProbEffIS.GE.ge_upper_bound

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

gartner-ellislarge-deviationsrare-event-simulation

Let XγX_\gammaXγ​ have laws νγ\nu_\gammaνγ​ (probability measures for all large γ\gammaγ) whose scaled log-moment generating functions μγ(x)=1γlog⁡Eex⊤Xγ\mu_\gamma(x)=\frac1\gamma\log E e^{x^\top X_\gamma}μγ​(x)=γ1​logEex⊤Xγ​ satisfy Assumption 1, with limit μ\muμ and rate function I(y)=sup⁡x{x⊤y−μ(x)}I(y)=\sup_x\{x^\top y-\mu(x)\}I(y)=supx​{x⊤y−μ(x)}. Then for every Borel set B⊆RdB\subseteq\mathbb R^dB⊆Rd

lim sup⁡γ→∞1γlog⁡Pr⁡(γ−1Xγ∈B)≤−I(B‾),I(B‾)=inf⁡y∈B‾I(y).\limsup_{\gamma\to\infty}\frac1\gamma\log\Pr(\gamma^{-1}X_\gamma\in B)\le-I(\overline B),\qquad I(\overline B)=\inf_{y\in\overline B}I(y).γ→∞limsup​γ1​logPr(γ−1Xγ​∈B)≤−I(B),I(B)=y∈Binf​I(y).

This is the upper-bound half of the Gärtner–Ellis theorem stated as Theorem 1 of the paper (cited there from Dembo and Zeitouni, Theorem 2.3.6(a)). Values are extended reals: log⁡0=−∞\log 0=-\inftylog0=−∞ and I(∅)=+∞I(\emptyset)=+\inftyI(∅)=+∞.

Preamble
import Mathlib
import Definitions.Def_ProbEffIS_GE_Defs

open MeasureTheory Filter Topology ProbabilityTheory
open scoped RealInnerProductSpace
Formal statement
namespace ProbEffIS.GE

/-- Theorem 1, p. 8 (upper bound): the Gärtner–Ellis large-deviation upper bound. -/
theorem ge_upper_bound {d : ℕ} (ν : ℝ → Measure (Rd d))
    (hν : ∀ᶠ γ in atTop, IsProbabilityMeasure (ν γ))
    (μ : Rd d → EReal) (h1 : Assumption1 ν μ)
    (B : Set (Rd d)) (hB : MeasurableSet B) :
    limsup (fun γ : ℝ => ((γ⁻¹ : ℝ) : EReal) *
      ENNReal.log (ν γ {x | γ⁻¹ • x ∈ B})) atTop ≤
        -(rateOn μ (closure B)) := by sorry

end ProbEffIS.GE
Source
Bai, Huang, Lam & Zhao, Over-Conservativeness of Variance-Based Efficiency Criteria and Probabilistic Efficiency in Rare-Event Simulation, arXiv:2110.12573v2, p. 8, Theorem 1 (upper bound in the first display); Dembo & Zeitouni, Large Deviations Techniques and Applications, Theorem 2.3.6(a)

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