Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem 4.5: empirical and scalar LDP under weak Gibbs probabilities

Open
QAlgorithms.Papers.Independent.Intake100.P82.Gibbs_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 USCE and S, and let PPP be a weak Gibbs probability for G∈A(M)\mathcal G\in\mathcal A(M)G∈A(M). Under the fixed law PPP at every time:

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)}.

The statement requires neither WPS/PAP nor invariance of the Gibbs law.

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 4.5, arXiv:1712.05167v3, PDF p.32: all empirical/scalar LDP
conclusions of 3.1. WPS/PAP and invariance of P are not hypotheses. -/
theorem Gibbs_empirical_scalar_LDP (phi : M → M) (hphi : Continuous phi)
    (hu : USCE phi) (hs : Specification phi) (G : ℕ → M → ℝ)
    (hG : AsymptoticallyAdditive phi G) (P : ProbabilityMeasure M) (hg : WeakGibbs phi G P) :
    EmpiricalScalarLDP phi G (fun _ => (P : Measure M)) := by sorry

end CompactDynamics

end QAlgorithms.Papers.Independent.Intake100.P82

end
Source
Fluctuation Theorem and Thermodynamic Formalism, arXiv:1712.05167v3, PDF p. 32, Theorem 4.5: empirical and scalar LDP under weak Gibbs probabilities
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. Write 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 every UnU_nUn​, n≥1n\ge1n≥1, is bounded and measurable 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. Define

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)​,

with the empty finite set included and extended sums and logarithms. For each probability 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 probabilities QQQ satisfying ϕ∗Q=Q\phi_*Q=Qϕ∗​Q=Q. Assume also that for each ϵ>0\epsilon>0ϵ>0, there is an integer N≥1N\ge1N≥1 such that every finite nonempty family of integer intervals [ai,bi][a_i,b_i][ai​,bi​], ai≤bia_i\le b_iai​≤bi​, and points xix_ixi​, with every pair of times from distinct intervals 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 PPP be a probability measure. Assume p(G)=pp(G)=pp(G)=p for some real ppp, and that some K:R×N→RK:\mathbb R\times\mathbb N\to\mathbb RK:R×N→R satisfies K(ϵ,n)≥1K(\epsilon,n)\ge1K(ϵ,n)≥1 for every ϵ>0,n≥1\epsilon>0,n\ge1ϵ>0,n≥1,

lim⁡ϵ↓0lim sup⁡n→∞log⁡K(ϵ,n)n=0,K(ϵ,n)−1eGn(x)−np≤P(Bn(x,ϵ))≤K(ϵ,n)eGn(x)−np\lim_{\epsilon\downarrow0}\limsup_{n\to\infty}\frac{\log K(\epsilon,n)}n=0, \qquad K(\epsilon,n)^{-1}e^{G_n(x)-np} \le P(B_n(x,\epsilon)) \le K(\epsilon,n)e^{G_n(x)-np}ϵ↓0lim​n→∞limsup​nlogK(ϵ,n)​=0,K(ϵ,n)−1eGn​(x)−np≤P(Bn​(x,ϵ))≤K(ϵ,n)eGn​(x)−np

for all ϵ>0,n≥1,x\epsilon>0,n\ge1,xϵ>0,n≥1,x, with the displayed iterated limit in the extended real line. For any sequence UUU and probability QQQ, let uU(Q)u_U(Q)uU​(Q) be the real limit of n−1∫Un dQn^{-1}\int U_n\,dQn−1∫Un​dQ, if it exists, and 000 otherwise. Put

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).

An empty infimum is +∞+\infty+∞. For n≥1n\ge1n≥1, define

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

The assertion is that 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);

that for all probabilities Q,R,SQ,R,SQ,R,S and real a,b≥0a,b\ge0a,b≥0 with 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);

and that for every admissible VVV, the function IVI_VIV​ is lower semicontinuous and nonnegative, every real sublevel set {s:IV(s)≤c}\{s:I_V(s)\le c\}{s:IV​(s)≤c} is compact, and every measurable A⊂RA\subset\mathbb RA⊂R satisfies

−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^V_n(A),\qquad \limsup_{n\to\infty}\frac1n\log F^V_n(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).

Moreover, for all x,y,a,b∈Rx,y,a,b\in\mathbb Rx,y,a,b∈R with a,b≥0a,b\ge0a,b≥0 and a+b=1a+b=1a+b=1,

IV(ax+by)≤aIV(x)+bIV(y),IV(s)=sup⁡t∈R(ts−CV(t))for every s∈R.I_V(ax+by)\le aI_V(x)+bI_V(y), \qquad I_V(s)=\sup_{t\in\mathbb R}\bigl(ts-C_V(t)\bigr)\quad\text{for every }s\in\mathbb R.IV​(ax+by)≤aIV​(x)+bIV​(y),IV​(s)=t∈Rsup​(ts−CV​(t))for every s∈R.

All rate operations use extended real arithmetic, including zero weights and empty-set infima. All asymptotic indices are positive, and admissibility imposes no restriction at index 000.

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