Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 4.4: invariant weak Gibbs probabilities are equilibrium

Open
QAlgorithms.Papers.Independent.Intake100.P82.invariant_Gibbs_equilibrium

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.

If G∈A(M)\mathcal G\in\mathcal A(M)G∈A(M) and PPP is an invariant weak Gibbs probability for it, then PPP is equilibrium:

p(G)=G(P)+hφ(P).p(\mathcal G)=\mathcal G(P)+h_\varphi(P).p(G)=G(P)+hφ​(P).

No ergodicity, uniqueness or converse is asserted. The invariance condition is essential for this conclusion.

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

/-- Lemma 4.4, arXiv:1712.05167v3, PDF p.32. Invariant weak Gibbs
probabilities are equilibrium states; no converse, uniqueness or ergodicity. -/
theorem invariant_Gibbs_equilibrium (phi : M → M) (hphi : Continuous phi)
    (G : ℕ → M → ℝ) (hG : AsymptoticallyAdditive phi G)
    (P : ProbabilityMeasure M) (hP : ProbabilityInvariant phi P) (hg : WeakGibbs phi G P) :
    Equilibrium phi G P := by sorry

end CompactDynamics

end QAlgorithms.Papers.Independent.Intake100.P82

end
Source
Fluctuation Theorem and Thermodynamic Formalism, arXiv:1712.05167v3, PDF p. 32, Lemma 4.4: invariant weak Gibbs probabilities are equilibrium
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 and PPP a probability measure with ϕ∗P=P\phi_*P=Pϕ∗​P=P. 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. Let G:N×M→RG:\mathbb N\times M\to\mathbb RG:N×M→R have bounded measurable GnG_nGn​ for every n≥1n\ge1n≥1, and assume there exist continuous fkf_kfk​, k≥1k\ge1k≥1, such that

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

in the extended real line. Define

p(G)=sup⁡ϵ>0lim sup⁡n→∞1nlog⁡ ⁣(sup⁡E⊂M finitex≠y∈E⇒y∉Bn(x,ϵ)∑x∈EeGn(x)),p(G)=\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^{G_n(x)}\right),p(G)=ϵ>0sup​n→∞limsup​n1​log​E⊂M finitex=y∈E⇒y∈/Bn​(x,ϵ)​sup​x∈E∑​eGn​(x)​,

allowing the empty finite set and using extended nonnegative sums and the extended logarithm. Assume also that p(G)=pp(G)=pp(G)=p for some real ppp, and there is K:R×N→RK:\mathbb R\times\mathbb N\to\mathbb RK:R×N→R with K(ϵ,n)≥1K(\epsilon,n)\ge1K(ϵ,n)≥1 for all ϵ>0,n≥1\epsilon>0,n\ge1ϵ>0,n≥1,

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

in the extended real line, and

K(ϵ,n)−1eGn(x)−np≤P(Bn(x,ϵ))≤K(ϵ,n)eGn(x)−npK(\epsilon,n)^{-1}e^{G_n(x)-np} \le P(B_n(x,\epsilon)) \le K(\epsilon,n)e^{G_n(x)-np}K(ϵ,n)−1eGn​(x)−np≤P(Bn​(x,ϵ))≤K(ϵ,n)eGn​(x)−np

for all ϵ>0,n≥1,x∈M\epsilon>0,n\ge1,x\in Mϵ>0,n≥1,x∈M. For any probability measure QQQ, define uG(Q)u_G(Q)uG​(Q) as the real limit of n−1∫Gn dQn^{-1}\int G_n\,dQn−1∫Gn​dQ if this sequence converges to a real number, and as 000 otherwise. 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. Then PPP is invariant and the following equality holds in the extended real line:

p(G)=uG(P)+h(P).p(G)=u_G(P)+h(P).p(G)=uG​(P)+h(P).

All integer limits use positive indices, and no condition on G0G_0G0​ is imposed.

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