Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Theorem B: additive Gibbs Fluctuation Principle

Open
QAlgorithms.Papers.Independent.Intake100.P82.theorem_B

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.

Assume φ\varphiφ is an expansive homeomorphism satisfying Bowen specification. Let θ\thetaθ be a continuous involution with φ−1=θ∘φ∘θ\varphi^{-1}=\theta\circ\varphi\circ\thetaφ−1=θ∘φ∘θ. No regularity of the potential beyond that stated, uniqueness of equilibrium, or ergodicity is assumed.

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

Let g∈C(M)g\in C(M)g∈C(M) and let PPP be any weak Gibbs probability for (Sng)(S_n g)(Sn​g). Set σ=g−g∘θ\sigma=g-g\circ\thetaσ=g−g∘θ and J=J(Sng)J=J_{(S_ng)}J=J(Sn​g)​. Under the single law PPP at every time, μn\mu_nμn​ and Snσ/nS_n\sigma/nSn​σ/n obey the LDP with rates JJJ and

I(s)=inf⁡Q∈P(M): ∫σ dQ=sJ(Q).I(s)=\inf_{Q\in\mathcal P(M):\,\int\sigma\,dQ=s}J(Q).I(s)=Q∈P(M):∫σdQ=sinf​J(Q).

These same rates satisfy J(θ∗Q)=J(Q)+∫σ dQJ(\theta_*Q)=J(Q)+\int\sigma\,dQJ(θ∗​Q)=J(Q)+∫σdQ for every QQQ and I(−s)=I(s)+sI(-s)=I(s)+sI(−s)=I(s)+s for every real sss. No invariance of PPP or convergence from periodic laws is required. This is the Gibbs fluctuation principle.

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 B, arXiv:1712.05167v3, PDF p.5: the same rates as Theorem A,
under one fixed weak Gibbs law, which need not be invariant. -/
theorem theorem_B (f theta : M ≃ₜ M) (h : IntroHypotheses f theta)
    (g : C(M, ℝ)) (P : ProbabilityMeasure M) (hP : WeakGibbs f (orbitSum f g) P) :
    AdditiveFluctuationPrinciple f g theta (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. 5, Theorem B: additive Gibbs Fluctuation Principle
Read-back

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

Let f,θ:M→Mf,\theta:M\to Mf,θ:M→M be homeomorphisms such that some δ>0\delta>0δ>0 makes d(fkx,fky)≤δd(f^k x,f^k y)\le\deltad(fkx,fky)≤δ for every integer kkk imply x=yx=yx=y, where negative iterates use f−1f^{-1}f−1; for every ε>0\varepsilon>0ε>0 there exists N∈NN\in\mathbb NN∈N, N≥1N\ge1N≥1, such that every finite nonempty family of intervals [ai,bi]⊆N[a_i,b_i]\subseteq\mathbb N[ai​,bi​]⊆N whose times in distinct intervals are all at distance at least NNN, together with arbitrary zi∈Mz_i\in Mzi​∈M, admits xxx satisfying d(fkx,fkzi)<εd(f^k x,f^k z_i)<\varepsilond(fkx,fkzi​)<ε for ai≤k≤bia_i\le k\le b_iai​≤k≤bi​ and f(max⁡ibi−min⁡iai)+Nx=xf^{(\max_i b_i-\min_i a_i)+N}x=xf(maxi​bi​−mini​ai​)+Nx=x; and θ2=id\theta^2=\mathrm{id}θ2=id, with a homeomorphism uuu satisfying u=fu=fu=f pointwise and u−1(x)=θ(f(θx))u^{-1}(x)=\theta(f(\theta x))u−1(x)=θ(f(θx)). Let g:M→Rg:M\to\mathbb Rg:M→R be continuous, put Hn(x)=∑j=0n−1g(fjx)H_n(x)=\sum_{j=0}^{n-1}g(f^j x)Hn​(x)=∑j=0n−1​g(fjx), and let PPP be a probability measure satisfying the following conditions. Each HnH_nHn​, n≥1n\ge1n≥1, is measurable and bounded in absolute value by some real constant; there exist functions Fk:M→RF_k:M\to\mathbb RFk​:M→R, continuous for every k≥1k\ge1k≥1, such that

lim⁡k→∞lim sup⁡n→∞1n∥Hn−∑j=0n−1Fk∘fj∥∗=0,∥v∥∗=sup⁡x∈M∣v(x)∣,\lim_{k\to\infty}\limsup_{n\to\infty} \frac1n\left\|H_n-\sum_{j=0}^{n-1}F_k\circ f^j\right\|_*=0, \qquad \|v\|_*=\sup_{x\in M}|v(x)|,k→∞lim​n→∞limsup​n1​​Hn​−j=0∑n−1​Fk​∘fj​∗​=0,∥v∥∗​=x∈Msup​∣v(x)∣,

where the norm is a real supremum, equal to 000 if its range is empty or unbounded above, and the inner limit superior and outer convergence are in the extended real line. Define, for any sequence UUU,

P(U)=sup⁡ε>0lim sup⁡n→∞1nlog⁡ ⁣(sup⁡E⊆M finitex≠y∈E⇒∃0≤j<n, d(fjy,fjx)≥ε∑x∈EeUn(x)),\mathcal P(U)= \sup_{\varepsilon>0}\limsup_{n\to\infty}\frac1n \log\!\left( \sup_{\substack{E\subseteq M\text{ finite}\\ x\ne y\in E\Rightarrow\exists\,0\le j<n,\ d(f^j y,f^j x)\ge\varepsilon}} \sum_{x\in E}e^{U_n(x)} \right),P(U)=ε>0sup​n→∞limsup​n1​log​E⊆M finitex=y∈E⇒∃0≤j<n, d(fjy,fjx)≥ε​sup​x∈E∑​eUn​(x)​,

with nonnegative extended sums and extended logarithms. Assume P(H)=p\mathcal P(H)=pP(H)=p for some p∈Rp\in\mathbb Rp∈R, and that there exists K:R×N→RK:\mathbb R\times\mathbb N\to\mathbb RK:R×N→R such that K(ε,n)≥1K(\varepsilon,n)\ge1K(ε,n)≥1 for ε>0\varepsilon>0ε>0, n≥1n\ge1n≥1,

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

in the extended real line, and, with Bn(x,ε)={y:d(fjy,fjx)<ε for every 0≤j<n}B_n(x,\varepsilon)=\{y:d(f^j y,f^j x)<\varepsilon\text{ for every }0\le j<n\}Bn​(x,ε)={y:d(fjy,fjx)<ε for every 0≤j<n},

K(ε,n)−1eHn(x)−np≤P(Bn(x,ε))≤K(ε,n)eHn(x)−np(ε>0, n≥1, x∈M).K(\varepsilon,n)^{-1}e^{H_n(x)-np} \le P(B_n(x,\varepsilon)) \le K(\varepsilon,n)e^{H_n(x)-np} \quad(\varepsilon>0,\ n\ge1,\ x\in M).K(ε,n)−1eHn​(x)−np≤P(Bn​(x,ε))≤K(ε,n)eHn​(x)−np(ε>0, n≥1, x∈M).

No invariance assumption on PPP is included in these premises. For any probability measure QQQ, let eU(Q)e_U(Q)eU​(Q) be the real limit of n−1∫Un dQn^{-1}\int U_n\,dQn−1∫Un​dQ when it exists and 000 otherwise, and let

h(Q)=sup⁡k≥1c:M→{0,…,k−1} measurablelim inf⁡n→∞1n∑w−pwlog⁡pw,pw=Q{x:c(fjx)=wj (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-p_w\log p_w,\qquad p_w=Q\{x:c(f^j x)=w_j\ (0\le j<n)\},h(Q)=k≥1c:M→{0,…,k−1} measurable​sup​n→∞liminf​n1​w∑​−pw​logpw​,pw​=Q{x:c(fjx)=wj​ (0≤j<n)},

where www runs over all length-nnn words, probabilities are converted to reals, and the real logarithm is 000 at 000. Real integrals use the total integral, equal to 000 for nonintegrable integrands. Put σ=g−g∘θ\sigma=g-g\circ\thetaσ=g−g∘θ,

J(Q)={P(H)−eH(Q)−h(Q),f∗Q=Q,+∞,f∗Q≠Q,I(s)=inf⁡Q a probability measure∫σdQ=sJ(Q),J(Q)= \begin{cases} \mathcal P(H)-e_H(Q)-h(Q),&f_*Q=Q,\\ +\infty,&f_*Q\ne Q, \end{cases} \qquad I(s)=\inf_{\substack{Q\text{ a probability measure}\\\int\sigma\,dQ=s}}J(Q),J(Q)={P(H)−eH​(Q)−h(Q),+∞,​f∗​Q=Q,f∗​Q=Q,​I(s)=Q a probability measure∫σdQ=s​inf​J(Q),

with empty infimum +∞+\infty+∞. For positive nnn, define Ln(x)=n−1∑j=0n−1δfjxL_n(x)=n^{-1}\sum_{j=0}^{n-1}\delta_{f^j x}Ln​(x)=n−1∑j=0n−1​δfjx​, En(A)=P{x:Ln(x)∈A}E_n(A)=P\{x:L_n(x)\in A\}En​(A)=P{x:Ln​(x)∈A}, and Fn(B)=P{x:n−1∑j=0n−1σ(fjx)∈B}F_n(B)=P\{x:n^{-1}\sum_{j=0}^{n-1}\sigma(f^j x)\in B\}Fn​(B)=P{x:n−1∑j=0n−1​σ(fjx)∈B}. The conclusion is that JJJ and III are lower semicontinuous and nonnegative and, for each of (T,R)=(E,J)(T,R)=(E,J)(T,R)=(E,J) and (T,R)=(F,I)(T,R)=(F,I)(T,R)=(F,I), every measurable set AAA satisfies

−inf⁡int⁡AR≤lim inf⁡n→∞1nlog⁡Tn(A)≤lim sup⁡n→∞1nlog⁡Tn(A)≤−inf⁡A‾R.-\inf_{\operatorname{int}A}R \le\liminf_{n\to\infty}\frac1n\log T_n(A) \le\limsup_{n\to\infty}\frac1n\log T_n(A) \le-\inf_{\overline A}R.−intAinf​R≤n→∞liminf​n1​logTn​(A)≤n→∞limsup​n1​logTn​(A)≤−Ainf​R.

Here the logarithm is extended, with log⁡0=−∞\log0=-\inftylog0=−∞, and empty infima are +∞+\infty+∞. Moreover,

J(θ∗Q)=J(Q)+∫σ dQfor every probability measure Q,I(−s)=I(s)+s(s∈R).J(\theta_*Q)=J(Q)+\int\sigma\,dQ \quad\text{for every probability measure }Q,\qquad I(-s)=I(s)+s\quad(s\in\mathbb R).J(θ∗​Q)=J(Q)+∫σdQfor every probability measure Q,I(−s)=I(s)+s(s∈R).

These are extended-real equalities; the first includes noninvariant measures. Every asymptotic index is positive, and the boundedness and approximation assumptions place no condition on 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