Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 5.2: abstract empirical and asymptotically additive LDP

Open
QAlgorithms.Papers.Independent.Intake100.P82.abstract_empirical_scalar_LDP

by Gohan · Oct 30, 2026 · Mathlib 0df444a (Lean v4.33.1)

prove2quantum

Let MMM be a nonempty compact metric space with its Borel sigma-algebra, and let φ:M→M\varphi:M\to Mφ:M→M be continuous. Write P(M)\mathcal P(M)P(M) for Borel probabilities with the weak topology, Pφ(M)\mathcal P_\varphi(M)Pφ​(M) for invariant probabilities, and Eφ(M)\mathcal E_\varphi(M)Eφ​(M) for ergodic probabilities. Entropy hφh_\varphihφ​ is Kolmogorov–Sinai entropy with natural logarithms. For a bounded Borel sequence G=(Gn)n≥1\mathcal G=(G_n)_{n\ge1}G=(Gn​)n≥1​, asymptotic additivity means uniform approximation at linear scale by sums Sng=∑j=0n−1g∘φjS_n g=\sum_{j=0}^{n-1}g\circ\varphi^jSn​g=∑j=0n−1​g∘φj of continuous functions. For such a sequence, G(Q)\mathcal G(Q)G(Q) denotes the constructed real limit of n−1∫Gn dQn^{-1}\int G_n\,dQn−1∫Gn​dQ on invariant probabilities, and p(G)p(\mathcal G)p(G) denotes its topological pressure. All time limits use positive integers.

Condition USCE means finite topological entropy and upper semicontinuity of Q↦hφ(Q)Q\mapsto h_\varphi(Q)Q↦hφ​(Q) on invariant probabilities. S is ordinary specification; WPS is the source weak periodic specification; PAP is finiteness of periodic sets and convergence of their normalized log partition sums to pressure.

The empirical measure is μnx=n−1∑j=0n−1δφj(x)\mu_n^x=n^{-1}\sum_{j=0}^{n-1}\delta_{\varphi^j(x)}μnx​=n−1∑j=0n−1​δφj(x)​. An LDP below is the full speed-nnn Borel-set principle, with interior in the lower bound and closure in the upper bound. Put

JG(Q)={p(G)−G(Q)−hφ(Q),Q∈Pφ(M),+∞,otherwise.J_{\mathcal G}(Q)=\begin{cases}p(\mathcal G)-\mathcal G(Q)-h_\varphi(Q),&Q\in\mathcal P_\varphi(M),\\+\infty,&\text{otherwise}.\end{cases}JG​(Q)={p(G)−G(Q)−hφ​(Q),+∞,​Q∈Pφ​(M),otherwise.​

Assume S and USCE. Let PnP_nPn​ be any sequence of Borel probabilities and let G∈A(M)\mathcal G\in\mathcal A(M)G∈A(M).

For every v∈C(M)v\in C(M)v∈C(M) assume C1,

1nlog⁡∫eSnv dPn⟶p(G+Sv)−p(G).\frac1n\log\int e^{S_nv}\,dP_n\longrightarrow p(\mathcal G+Sv)-p(\mathcal G).n1​log∫eSn​vdPn​⟶p(G+Sv)−p(G).

Assume C2: for every sufficiently small positive δ\deltaδ there are n0(δ)≥1n_0(\delta)\ge1n0​(δ)≥1, Kn(δ)≥1K_n(\delta)\ge1Kn​(δ)≥1 and integers 0≤mδ(n)<n0\le m_\delta(n)<n0≤mδ​(n)<n on the eventual time domain such that, uniformly in xxx,

Kn(δ)−1eGn(x)−np(G)≤Pn(Bn−mδ(n)(x,δ)),n≥n0(δ),K_n(\delta)^{-1}e^{G_n(x)-np(\mathcal G)}\le P_n(B_{n-m_\delta(n)}(x,\delta)),\quad n\ge n_0(\delta),Kn​(δ)−1eGn​(x)−np(G)≤Pn​(Bn−mδ​(n)​(x,δ)),n≥n0​(δ), lim⁡δ↓0lim sup⁡nlog⁡Kn(δ)+mδ(n)n=0.\lim_{\delta\downarrow0}\limsup_n\frac{\log K_n(\delta)+m_\delta(n)}n=0.δ↓0lim​nlimsup​nlogKn​(δ)+mδ​(n)​=0.

The witnesses depend on radius and time, never on the center.

For V=(Vn)∈A(M)\mathcal V=(V_n)\in\mathcal A(M)V=(Vn​)∈A(M), define

IV(s)=inf⁡Q∈Pφ(M)V(Q)=sJG(Q).I_{\mathcal V}(s)=\inf_{\substack{Q\in\mathcal P_\varphi(M)\\\mathcal V(Q)=s}}J_{\mathcal G}(Q).IV​(s)=Q∈Pφ​(M)V(Q)=s​inf​JG​(Q).

The empirical measures obey the LDP with lower semicontinuous convex rate JGJ_{\mathcal G}JG​. For every such V\mathcal VV, Vn/nV_n/nVn​/n obeys the LDP with good convex rate IVI_{\mathcal V}IV​, and

IV(s)=sup⁡α∈R{αs−p(G+αV)+p(G)}.I_{\mathcal V}(s)=\sup_{\alpha\in\mathbb R}\{\alpha s-p(\mathcal G+\alpha\mathcal V)+p(\mathcal G)\}.IV​(s)=α∈Rsup​{αs−p(G+αV)+p(G)}.

This is the complete abstract empirical and asymptotically additive LDP criterion.

Preamble
import Definitions.Def_QAlgorithms_Papers_Independent_Intake100_P82
Formal statement
noncomputable section

open Filter MeasureTheory Set

open scoped Topology BigOperators ENNReal

namespace QAlgorithms.Papers.Independent.Intake100.P82

attribute [local instance] Classical.propDecidable

section CompactDynamics

variable {M : Type*} [instMetric : MetricSpace M] [instCompact : CompactSpace M]
  [instNonempty : Nonempty M] [instMeasurable : MeasurableSpace M] [instBorel : BorelSpace M]

-- Retain standing assumptions even when a displayed lemma does not use them.

include instCompact instNonempty instBorel

local instance : DecidableEq M := Classical.decEq M

/-- Theorem 5.2, arXiv:1712.05167v3, PDF pp.33--34. Arbitrary law sequence;
C1/C2 are the actual Laplace and shortened-ball bounds, not assumed LDP data. -/
theorem abstract_empirical_scalar_LDP (phi : M → M) (hphi : Continuous phi)
    (hu : USCE phi) (hs : Specification phi) (G : ℕ → M → ℝ)
    (hG : AsymptoticallyAdditive phi G) (laws : ℕ → ProbabilityMeasure M)
    (hc1 : C1 phi G (fun n => (laws n : Measure M)))
    (hc2 : C2 phi G (fun n => (laws n : Measure M))) :
    EmpiricalScalarLDP phi G (fun n => (laws n : Measure M)) := by sorry

end CompactDynamics

end QAlgorithms.Papers.Independent.Intake100.P82

end
Source
Fluctuation Theorem and Thermodynamic Formalism, arXiv:1712.05167v3, PDF p. 33, Theorem 5.2: abstract empirical and asymptotically additive LDP
Read-back

What the Lean code literally says, in plain math · gpt-6.1-sol

Let ϕ:M→M\phi:M\to Mϕ:M→M be continuous. Define Snf=∑j=0n−1f∘ϕjS_nf=\sum_{j=0}^{n-1}f\circ\phi^jSn​f=∑j=0n−1​f∘ϕj, Bn(x,ϵ)={y: d(ϕjy,ϕjx)<ϵ for 0≤j<n}B_n(x,\epsilon)=\{y:\ d(\phi^j y,\phi^j x)<\epsilon\text{ for }0\le j<n\}Bn​(x,ϵ)={y: d(ϕjy,ϕjx)<ϵ for 0≤j<n}, and ∥f∥∞=sup⁡x∣f(x)∣\|f\|_\infty=\sup_x|f(x)|∥f∥∞​=supx​∣f(x)∣, using the total real supremum, equal to 000 for an empty or unbounded-above set. Call U=(Un)U=(U_n)U=(Un​) admissible if UnU_nUn​ is bounded and measurable for every n≥1n\ge1n≥1 and some continuous fkf_kfk​, k≥1k\ge1k≥1, satisfy

lim⁡k→∞lim sup⁡n→∞∥Un−Snfk∥∞n=0\lim_{k\to\infty}\limsup_{n\to\infty}\frac{\|U_n-S_nf_k\|_\infty}{n}=0k→∞lim​n→∞limsup​n∥Un​−Sn​fk​∥∞​​=0

in the extended real line. Put

p(U)=sup⁡ϵ>0lim sup⁡n→∞1nlog⁡ ⁣(sup⁡E⊂M finitex≠y∈E⇒y∉Bn(x,ϵ)∑x∈EeUn(x)),p(U)=\sup_{\epsilon>0}\limsup_{n\to\infty}\frac1n \log\!\left(\sup_{\substack{E\subset M\text{ finite}\\ x\ne y\in E\Rightarrow y\notin B_n(x,\epsilon)}}\sum_{x\in E}e^{U_n(x)}\right),p(U)=ϵ>0sup​n→∞limsup​n1​log​E⊂M finitex=y∈E⇒y∈/Bn​(x,ϵ)​sup​x∈E∑​eUn​(x)​,

allowing E=∅E=\varnothingE=∅ and using extended nonnegative sums and the extended logarithm. For a probability measure QQQ, define

h(Q)=sup⁡k≥1c:M→{0,…,k−1} measurablelim inf⁡n→∞1n∑w∈{0,…,k−1}n−qwlog⁡qw,qw=Q{x: c(ϕjx)=wj for 0≤j<n},h(Q)=\sup_{\substack{k\ge1\\c:M\to\{0,\ldots,k-1\}\text{ measurable}}} \liminf_{n\to\infty}\frac1n\sum_{w\in\{0,\ldots,k-1\}^n}-q_w\log q_w,\qquad q_w=Q\{x:\ c(\phi^j x)=w_j\text{ for }0\le j<n\},h(Q)=k≥1c:M→{0,…,k−1} measurable​sup​n→∞liminf​n1​w∈{0,…,k−1}n∑​−qw​logqw​,qw​=Q{x: c(ϕjx)=wj​ for 0≤j<n},

where 0log⁡0=00\log0=00log0=0. Assume the cover entropy of ϕ\phiϕ on MMM is less than +∞+\infty+∞, and hhh is upper semicontinuous on the invariant probabilities ϕ∗Q=Q\phi_*Q=Qϕ∗​Q=Q. Assume also that for every ϵ>0\epsilon>0ϵ>0, there exists an integer N≥1N\ge1N≥1 such that every finite nonempty family of intervals [ai,bi]⊂N[a_i,b_i]\subset\mathbb N[ai​,bi​]⊂N, with ai≤bia_i\le b_iai​≤bi​, and points xix_ixi​, whose times in distinct intervals are all at distance at least NNN, admits xxx with d(ϕkx,ϕkxi)<ϵd(\phi^k x,\phi^k x_i)<\epsilond(ϕkx,ϕkxi​)<ϵ for all ai≤k≤bia_i\le k\le b_iai​≤k≤bi​. Let GGG be admissible, and let (μn)n≥0(\mu_n)_{n\ge0}(μn​)n≥0​ be any sequence of probability measures satisfying both of the following conditions. First, for every continuous real-valued VVV,

lim⁡n→∞1nlog⁡(∫MeSnV(x) dμn(x))=p((Gn+SnV)n)−p(G).\lim_{n\to\infty}\frac1n\log\left(\int_M e^{S_nV(x)}\,d\mu_n(x)\right) =p\bigl((G_n+S_nV)_n\bigr)-p(G).n→∞lim​n1​log(∫M​eSn​V(x)dμn​(x))=p((Gn​+Sn​V)n​)−p(G).

Second, there exist ϵ0>0\epsilon_0>0ϵ0​>0, n0:R→Nn_0:\mathbb R\to\mathbb Nn0​:R→N, K:R×N→RK:\mathbb R\times\mathbb N\to\mathbb RK:R×N→R, and m:R×N→Nm:\mathbb R\times\mathbb N\to\mathbb Nm:R×N→N, such that for every 0<ϵ<ϵ00<\epsilon<\epsilon_00<ϵ<ϵ0​, n0(ϵ)≥1n_0(\epsilon)\ge1n0​(ϵ)≥1, and every n≥n0(ϵ)n\ge n_0(\epsilon)n≥n0​(ϵ) satisfies K(ϵ,n)≥1K(\epsilon,n)\ge1K(ϵ,n)≥1, m(ϵ,n)<nm(\epsilon,n)<nm(ϵ,n)<n, and

K(ϵ,n)−1eGn(x)−np(G)R≤μn(Bn−m(ϵ,n)(x,ϵ))for every x∈M,K(\epsilon,n)^{-1}e^{G_n(x)-np(G)_{\mathbb R}} \le \mu_n\bigl(B_{n-m(\epsilon,n)}(x,\epsilon)\bigr) \quad\text{for every }x\in M,K(ϵ,n)−1eGn​(x)−np(G)R​≤μn​(Bn−m(ϵ,n)​(x,ϵ))for every x∈M,

and such that

lim⁡ϵ↓0lim sup⁡n→∞log⁡K(ϵ,n)+m(ϵ,n)n=0\lim_{\epsilon\downarrow0}\limsup_{n\to\infty} \frac{\log K(\epsilon,n)+m(\epsilon,n)}n=0ϵ↓0lim​n→∞limsup​nlogK(ϵ,n)+m(ϵ,n)​=0

in the extended real line. Here p(G)Rp(G)_{\mathbb R}p(G)R​ is the real conversion of p(G)p(G)p(G), equal to 000 at either infinite endpoint; the first integral is the nonnegative extended integral. For any sequence UUU and probability QQQ, define uU(Q)u_U(Q)uU​(Q) as the real limit of n−1∫Un dQn^{-1}\int U_n\,dQn−1∫Un​dQ if it exists, and 000 otherwise. Set

J(Q)={p(G)−uG(Q)−h(Q),ϕ∗Q=Q,+∞,ϕ∗Q≠Q,IV(s)=inf⁡Q probabilityϕ∗Q=QuV(Q)=sJ(Q),CV(a)=p((Gn+aVn)n)−p(G),J(Q)= \begin{cases} p(G)-u_G(Q)-h(Q),&\phi_*Q=Q,\\ +\infty,&\phi_*Q\ne Q, \end{cases} \quad I_V(s)=\inf_{\substack{Q\text{ probability}\\\phi_*Q=Q\\u_V(Q)=s}}J(Q), \quad C_V(a)=p\bigl((G_n+aV_n)_n\bigr)-p(G),J(Q)={p(G)−uG​(Q)−h(Q),+∞,​ϕ∗​Q=Q,ϕ∗​Q=Q,​IV​(s)=Q probabilityϕ∗​Q=QuV​(Q)=s​inf​J(Q),CV​(a)=p((Gn​+aVn​)n​)−p(G),

with an empty infimum equal to +∞+\infty+∞, and, for n≥1n\ge1n≥1, put

Ln(x)=1n∑j=0n−1δϕjx,En(B)=μn{x:∃Q∈B, Q=Ln(x)},FnV(A)=μn{x:Vn(x)/n∈A}.L_n(x)=\frac1n\sum_{j=0}^{n-1}\delta_{\phi^j x},\quad E_n(B)=\mu_n\{x:\exists Q\in B,\ Q=L_n(x)\},\quad F_n^V(A)=\mu_n\{x:V_n(x)/n\in A\}.Ln​(x)=n1​j=0∑n−1​δϕjx​,En​(B)=μn​{x:∃Q∈B, Q=Ln​(x)},FnV​(A)=μn​{x:Vn​(x)/n∈A}.

Then JJJ is lower semicontinuous and nonnegative, and for every measurable set BBB of probability measures,

−inf⁡Q∈int⁡BJ(Q)≤lim inf⁡n→∞1nlog⁡En(B),lim sup⁡n→∞1nlog⁡En(B)≤−inf⁡Q∈B‾J(Q).-\inf_{Q\in\operatorname{int}B}J(Q) \le\liminf_{n\to\infty}\frac1n\log E_n(B),\qquad \limsup_{n\to\infty}\frac1n\log E_n(B) \le-\inf_{Q\in\overline B}J(Q).−Q∈intBinf​J(Q)≤n→∞liminf​n1​logEn​(B),n→∞limsup​n1​logEn​(B)≤−Q∈Binf​J(Q).

For every probabilities Q,R,SQ,R,SQ,R,S and a,b∈Ra,b\in\mathbb Ra,b∈R with a,b≥0a,b\ge0a,b≥0, a+b=1a+b=1a+b=1, and S=aQ+bRS=aQ+bRS=aQ+bR as measures, J(S)≤aJ(Q)+bJ(R)J(S)\le aJ(Q)+bJ(R)J(S)≤aJ(Q)+bJ(R). For every admissible VVV, IVI_VIV​ is lower semicontinuous and nonnegative, every set {s:IV(s)≤c}\{s:I_V(s)\le c\}{s:IV​(s)≤c} with c∈Rc\in\mathbb Rc∈R is compact, and for every measurable A⊂RA\subset\mathbb RA⊂R,

−inf⁡s∈int⁡AIV(s)≤lim inf⁡n→∞1nlog⁡FnV(A),lim sup⁡n→∞1nlog⁡FnV(A)≤−inf⁡s∈A‾IV(s).-\inf_{s\in\operatorname{int}A}I_V(s) \le\liminf_{n\to\infty}\frac1n\log F_n^V(A),\qquad \limsup_{n\to\infty}\frac1n\log F_n^V(A) \le-\inf_{s\in\overline A}I_V(s).−s∈intAinf​IV​(s)≤n→∞liminf​n1​logFnV​(A),n→∞limsup​n1​logFnV​(A)≤−s∈Ainf​IV​(s).

For all real x,y,a,bx,y,a,bx,y,a,b with a,b≥0a,b\ge0a,b≥0 and a+b=1a+b=1a+b=1, IV(ax+by)≤aIV(x)+bIV(y)I_V(ax+by)\le aI_V(x)+bI_V(y)IV​(ax+by)≤aIV​(x)+bIV​(y), and for every s∈Rs\in\mathbb Rs∈R,

IV(s)=sup⁡t∈R(ts−CV(t)).I_V(s)=\sup_{t\in\mathbb R}\bigl(ts-C_V(t)\bigr).IV​(s)=t∈Rsup​(ts−CV​(t)).

All rate operations use extended real arithmetic, including zero weights and empty infima. All asymptotic integer indices are positive; G0G_0G0​ and μ0\mu_0μ0​ are absent from the asymptotic conditions and conclusions.

Human review
  • Endorsed by Shuze Chen · Oct 30, 2026

    Confirmed by the moderator at approval.

  • Endorsed by Gohan · Oct 30, 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