Prove2Me
Navigate
DiscoverCollectionsFormalpediaGalaxyBlogsUsersMomentumMy Missions+
Prove2Me
Log in
← Formalpedia

Lemma 3.8: periodic partition symmetry and exact entropy density

Open
QAlgorithms.Papers.Independent.Intake100.P82.periodic_partition_RN_symmetry

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.

Choose either C-Commutation, where θ\thetaθ is an involutive homeomorphism and φ=θ∘φ∘θ\varphi=\theta\circ\varphi\circ\thetaφ=θ∘φ∘θ, or R-Reversal, where additionally φ\varphiφ is a homeomorphism and φ−1=θ∘φ∘θ\varphi^{-1}=\theta\circ\varphi\circ\thetaφ−1=θ∘φ∘θ. Set θn=θ\theta_n=\thetaθn​=θ in C and θn=θ∘φn−1\theta_n=\theta\circ\varphi^{n-1}θn​=θ∘φn−1 in R, G^n=Gn∘θn\widehat G_n=G_n\circ\theta_nGn​=Gn​∘θn​, σn=Gn−G^n\sigma_n=G_n-\widehat G_nσn​=Gn​−Gn​, and ep⁡(Q)=G(Q)−G(θ∗Q)\operatorname{ep}(Q)=\mathcal G(Q)-\mathcal G(\theta_*Q)ep(Q)=G(Q)−G(θ∗​Q) for invariant QQQ.

For Mn=Fix⁡(φn)M_n=\operatorname{Fix}(\varphi^n)Mn​=Fix(φn) finite and nonempty, put Zn=∑x∈MneGn(x)Z_n=\sum_{x\in M_n}e^{G_n(x)}Zn​=∑x∈Mn​​eGn​(x) and Pn=Zn−1∑x∈MneGn(x)δxP_n=Z_n^{-1}\sum_{x\in M_n}e^{G_n(x)}\delta_xPn​=Zn−1​∑x∈Mn​​eGn​(x)δx​. At the finitely many unused early times with empty periodic sets, use a fixed reference Dirac law. This extension has no effect on any asymptotic assertion.

Retain USCE, WPS, S and PAP, and fix a positive time nnn with MnM_nMn​ finite and nonempty. For every AA potential,

Zn(G)=Zn(G^),(θn)∗Pn=Zn−1∑x∈MneGn(θnx)δx.Z_n(\mathcal G)=Z_n(\widehat{\mathcal G}),\qquad (\theta_n)_*P_n=Z_n^{-1}\sum_{x\in M_n}e^{G_n(\theta_n x)}\delta_x.Zn​(G)=Zn​(G​),(θn​)∗​Pn​=Zn−1​x∈Mn​∑​eGn​(θn​x)δx​.

The two probabilities are mutually absolutely continuous and

log⁡dPnd((θn)∗Pn)=σnPn-almost everywhere.\log\frac{dP_n}{d((\theta_n)_*P_n)}=\sigma_n\quad P_n\text{-almost everywhere}.logd((θn​)∗​Pn​)dPn​​=σn​Pn​-almost everywhere.

This is the exact finite-time identity. The nonempty-period domain is essential and is not replaced by normalization of the zero measure.

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 3.8, arXiv:1712.05167v3, PDF p.29. Finite NONEMPTY periodic set
is the finite-time domain: equal partitions, explicit reversed law, mutual absolute
continuity, and a.e. log RN derivative, all included. -/
theorem periodic_partition_RN_symmetry (phi : M → M) (hphi : Continuous phi)
    (h : PeriodicHypotheses phi) (theta : M ≃ₜ M) (rev : Bool)
    (hsym : Symmetry phi theta rev) (G : ℕ → M → ℝ)
    (hG : AsymptoticallyAdditive phi G) (reference : M)
    (n : ℕ) (hn : 1 ≤ n) (hf : (periodicSet phi n).Finite)
    (hne : (periodicSet phi n).Nonempty) :
    let P := periodicLaw phi G reference n
    let Phat := Measure.map (timeReversal phi theta rev n) P
    periodicPartition phi G n = periodicPartition phi (transformed phi theta rev G) n ∧
    Phat = (periodicPartition phi G n)⁻¹ •
      ∑ x ∈ hf.toFinset,
        ENNReal.ofReal (Real.exp (G n (timeReversal phi theta rev n x))) • Measure.dirac x ∧
    P ≪ Phat ∧ Phat ≪ P ∧
    (∀ᵐ x ∂P, Real.log ((P.rnDeriv Phat x).toReal) = sequenceEntropyProduction phi theta rev G n x) := by sorry

end CompactDynamics

end QAlgorithms.Papers.Independent.Intake100.P82

end
Source
Fluctuation Theorem and Thermodynamic Formalism, arXiv:1712.05167v3, PDF p. 29, Lemma 3.8: periodic partition symmetry and exact entropy density
Read-back

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

On the underlying metric and measurable space MMM, let ϕ:M→M\phi:M\to Mϕ:M→M be continuous. Use the following notation to spell out the assumptions. Set Snf(x)=∑j=0n−1f(ϕjx)S_nf(x)=\sum_{j=0}^{n-1}f(\phi^j x)Sn​f(x)=∑j=0n−1​f(ϕjx), Bn(x,ϵ)={y: d(ϕjy,ϕjx)<ϵ for every 0≤j<n}B_n(x,\epsilon)=\{y:\ d(\phi^j y,\phi^j x)<\epsilon\text{ for every }0\le j<n\}Bn​(x,ϵ)={y: d(ϕjy,ϕjx)<ϵ for every 0≤j<n}, and ∥f∥∞=sup⁡x∣f(x)∣\|f\|_\infty=\sup_x|f(x)|∥f∥∞​=supx​∣f(x)∣, using the total real supremum, which is 000 for an empty or unbounded-above set. Call a sequence U=(Un)n≥0U=(U_n)_{n\ge0}U=(Un​)n≥0​ admissible if every UnU_nUn​ with n≥1n\ge1n≥1 is measurable and bounded and there are continuous functions fk:M→Rf_k:M\to\mathbb Rfk​:M→R, k≥1k\ge1k≥1, such that

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

where the inner limsup and the outer limit are taken 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)​.

The finite sets include the empty set; the sums and their suprema are nonnegative extended real numbers, and the logarithm is the extended logarithm. For a probability measure QQQ, call it invariant if ϕ∗Q=Q\phi_*Q=Qϕ∗​Q=Q, and 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}.

Here 0log⁡0=00\log0=00log0=0. Assume all four of the following: the cover entropy of ϕ\phiϕ on MMM is less than +∞+\infty+∞, and Q↦h(Q)Q\mapsto h(Q)Q↦h(Q) is upper semicontinuous on the invariant probability measures; there exist functions m:R×N→Nm:\mathbb R\times\mathbb N\to\mathbb Nm:R×N→N and ρ:R→R\rho:\mathbb R\to\mathbb Rρ:R→R with ρ(ϵ)→0\rho(\epsilon)\to0ρ(ϵ)→0 as ϵ↓0\epsilon\downarrow0ϵ↓0, such that for every ϵ>0\epsilon>0ϵ>0, m(ϵ,n)/n→ρ(ϵ)m(\epsilon,n)/n\to\rho(\epsilon)m(ϵ,n)/n→ρ(ϵ), and some n0≥1n_0\ge1n0​≥1 satisfies, for every n≥n0n\ge n_0n≥n0​, m(ϵ,n)<nm(\epsilon,n)<nm(ϵ,n)<n and every x∈Mx\in Mx∈M has a point y∈Bn−m(ϵ,n)(x,ϵ)y\in B_{n-m(\epsilon,n)}(x,\epsilon)y∈Bn−m(ϵ,n)​(x,ϵ) with ϕny=y\phi^n y=yϕny=y; for every ϵ>0\epsilon>0ϵ>0, some integer N≥1N\ge1N≥1 has the property that every finite nonempty family of integer intervals [ai,bi][a_i,b_i][ai​,bi​], with ai≤bia_i\le b_iai​≤bi​, and points xi∈Mx_i\in Mxi​∈M, whose times in distinct intervals are all at distance at least NNN, admits x∈Mx\in Mx∈M satisfying d(ϕkx,ϕkxi)<ϵd(\phi^k x,\phi^k x_i)<\epsilond(ϕkx,ϕkxi​)<ϵ for every iii and ai≤k≤bia_i\le k\le b_iai​≤k≤bi​; and, writing Fn={x:ϕnx=x}F_n=\{x:\phi^n x=x\}Fn​={x:ϕnx=x}, every FnF_nFn​ with n≥1n\ge1n≥1 is finite and every admissible UUU satisfies

1nlog⁡Zn(U)⟶p(U),Zn(U)={∑x∈FneUn(x),Fn finite,+∞,Fn infinite.\frac1n\log Z_n(U)\longrightarrow p(U),\qquad Z_n(U)= \begin{cases} \displaystyle\sum_{x\in F_n}e^{U_n(x)},&F_n\text{ finite},\\ +\infty,&F_n\text{ infinite}. \end{cases}n1​logZn​(U)⟶p(U),Zn​(U)=⎩⎨⎧​x∈Fn​∑​eUn​(x),+∞,​Fn​ finite,Fn​ infinite.​

All limits indexed by nnn or kkk here and below run through positive integers. Let θ:M→M\theta:M\to Mθ:M→M be a homeomorphism, let rrr be a Boolean, and assume θ2=id\theta^2=\mathrm{id}θ2=id; if rrr is true, assume there exists a homeomorphism fff with ϕ=f\phi=fϕ=f and f−1=θ∘ϕ∘θf^{-1}=\theta\circ\phi\circ\thetaf−1=θ∘ϕ∘θ, and if rrr is false, assume ϕ=θ∘ϕ∘θ\phi=\theta\circ\phi\circ\thetaϕ=θ∘ϕ∘θ. Let GGG be admissible, choose any reference point z∈Mz\in Mz∈M, and let n≥1n\ge1n≥1 with FnF_nFn​ finite and nonempty. Define Tn=θ∘ϕn−1T_n=\theta\circ\phi^{n-1}Tn​=θ∘ϕn−1 when rrr is true and Tn=θT_n=\thetaTn​=θ when rrr is false, GmT(x)=Gm(Tmx)G^T_m(x)=G_m(T_mx)GmT​(x)=Gm​(Tm​x), and

P=1Zn(G)∑x∈FneGn(x)δx,P^=(Tn)∗P.P=\frac1{Z_n(G)}\sum_{x\in F_n}e^{G_n(x)}\delta_x,\qquad \widehat P=(T_n)_*P.P=Zn​(G)1​x∈Fn​∑​eGn​(x)δx​,P=(Tn​)∗​P.

The assertion is the conjunction

Zn(G)=Zn(GT),P^=1Zn(G)∑x∈FneGn(Tnx)δx,P≪P^,P^≪P,Z_n(G)=Z_n(G^T),\qquad \widehat P=\frac1{Z_n(G)}\sum_{x\in F_n}e^{G_n(T_nx)}\delta_x,\qquad P\ll\widehat P,\qquad \widehat P\ll P,Zn​(G)=Zn​(GT),P=Zn​(G)1​x∈Fn​∑​eGn​(Tn​x)δx​,P≪P,P≪P,

and, for PPP-almost every xxx,

log⁡ ⁣((dPdP^(x))R)=Gn(x)−Gn(Tnx).\log\!\left(\left(\frac{dP}{d\widehat P}(x)\right)_{\mathbb R}\right) =G_n(x)-G_n(T_nx).log((dPdP​(x))R​)=Gn​(x)−Gn​(Tn​x).

The subscript R\mathbb RR denotes conversion of a nonnegative extended real number to a real number, sending +∞+\infty+∞ to 000; the last logarithm is the total real logarithm, with log⁡0=0\log0=0log0=0. The reference point is a quantified argument, but the finite, nonempty case used here gives the displayed PPP independently of it. No condition on G0G_0G0​ is imposed by admissibility.

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