Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 5.1: convex dual rate and entropy formula

Open
QAlgorithms.Papers.Independent.Intake100.P82.dual_rate_identification

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.

Assume finite topological entropy and let G∈A(M)\mathcal G\in\mathcal A(M)G∈A(M). Define, rather than independently choose, the pressure dual

J∗(Q)=sup⁡v∈C(M){∫v dQ−p(G+Sv)+p(G)}.J^*(Q)=\sup_{v\in C(M)}\left\{\int v\,dQ-p(\mathcal G+Sv)+p(\mathcal G)\right\}.J∗(Q)=v∈C(M)sup​{∫vdQ−p(G+Sv)+p(G)}.

It is nonnegative, lower semicontinuous and convex on probabilities. If USCE also holds, then J∗(Q)=p(G)−G(Q)−hφ(Q)J^*(Q)=p(\mathcal G)-\mathcal G(Q)-h_\varphi(Q)J∗(Q)=p(G)−G(Q)−hφ​(Q) on invariant probabilities and +∞+\infty+∞ otherwise. This identifies the dual rate without assuming the entropy formula as data.

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 5.1, arXiv:1712.05167v3, PDF p.33. Finite entropy is the domain
needed for real pressure differences; identification additionally assumes USCE. -/
theorem dual_rate_identification (phi : M → M) (hphi : Continuous phi)
    (hfinite : topologicalEntropy phi < ⊤) (G : ℕ → M → ℝ)
    (hG : AsymptoticallyAdditive phi G) :
    IsRate (dualRate phi G) ∧ ProbabilityConvex (dualRate phi G) ∧
      (USCE phi → ∀ Q : ProbabilityMeasure M, dualRate phi G Q = empiricalRate phi G Q) := by sorry

end CompactDynamics

end QAlgorithms.Papers.Independent.Intake100.P82

end
Source
Fluctuation Theorem and Thermodynamic Formalism, arXiv:1712.05167v3, PDF p. 33, Lemma 5.1: convex dual rate and entropy formula
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 assume its cover entropy on the whole space MMM is less than +∞+\infty+∞. 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. 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 functions 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. For any sequence UUU, 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)​,

allowing the empty finite set and using extended nonnegative sums and the extended logarithm. For every probability measure QQQ, define the extended real quantity

D(Q)=sup⁡V∈C(M,R)(∫MV dQ−p((Gn+SnV)n)+p(G)),D(Q)=\sup_{V\in C(M,\mathbb R)} \left(\int_M V\,dQ-p\bigl((G_n+S_nV)_n\bigr)+p(G)\right),D(Q)=V∈C(M,R)sup​(∫M​VdQ−p((Gn​+Sn​V)n​)+p(G)),

with the arithmetic grouped as the displayed subtraction followed by addition; the integral is the total real integral. Then DDD is lower semicontinuous and D(Q)≥0D(Q)\ge0D(Q)≥0 for every QQQ. Moreover, for every three probability measures Q,R,SQ,R,SQ,R,S and every 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,

D(S)≤aD(Q)+bD(R)D(S)\le aD(Q)+bD(R)D(S)≤aD(Q)+bD(R)

in extended real arithmetic, including zero weights. There is also the following conditional conclusion. 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},

with 0log⁡0=00\log0=00log0=0, and let uG(Q)u_G(Q)uG​(Q) be the real limit of n−1∫Gn dQn^{-1}\int G_n\,dQn−1∫Gn​dQ when it exists and 000 otherwise. If the cover entropy is less than +∞+\infty+∞ and hhh is upper semicontinuous on the invariant probability measures, then every probability measure QQQ, including noninvariant ones, satisfies

D(Q)={p(G)−uG(Q)−h(Q),ϕ∗Q=Q,+∞,ϕ∗Q≠Q.D(Q)= \begin{cases} p(G)-u_G(Q)-h(Q),&\phi_*Q=Q,\\ +\infty,&\phi_*Q\ne Q. \end{cases}D(Q)={p(G)−uG​(Q)−h(Q),+∞,​ϕ∗​Q=Q,ϕ∗​Q=Q.​

All integer limits use positive indices, and the assumptions do not restrict G0G_0G0​.

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