Keyboard shortcuts

Press ← or → to navigate between chapters

Press ? to show this help

Press Esc to hide this help

Birkhoff pointwise ergodic theorem

Abstract

Real integrable time averages of an ergodic probability transformation converge almost everywhere to their integral.

Theorem 1.1 (Almost-everywhere convergence to the mean).

\begin{aligned}\forall \alpha: \operatorname{Type} u, [\operatorname{MeasurableSpace}\left(\alpha\right)] \forall \mu: \operatorname{Measure}\left(\alpha\right), [\operatorname{IsProbabilityMeasure}\left(\mu\right)] \\\forall T: \alpha \to \alpha, \operatorname{Ergodic}\left(T, \mu\right) \Rightarrow\forall g: \alpha \to \mathbb{R}, \operatorname{Integrable}\left(g, \mu\right) \Rightarrow\\\operatorname{Eventually}\left(\lambda (x: \alpha) \mapsto \operatorname{Tendsto}\left(\lambda (n: \mathbb{N}) \mapsto \operatorname{birkhoffAverage}\left(\mathbb{R}, T, g, n, x\right), \operatorname{atTop}, \operatorname{nhds}\left(\operatorname{integral}\left(\mu, \lambda (y: \alpha) \mapsto g\left(y\right)\right)\right)\right), \operatorname{ae}\left(\mu\right)\right)\end{aligned}

Proof. Machine-checked in Lean as D5/S3/Analytic/Probability/BirkhoffPointwise.birkhoff_pointwise_ergodic (✓ std3). ∎

Citation. Rick Durrett (2019). Probability: Theory and Examples, Fifth Edition. DOI: 10.1017/9781108591034. URL: https://services.math.duke.edu/~rtd/PTE/PTE5_011119.pdf.

Commentary.

The carrier alpha ranges over every universe u and has an arbitrary measurable-space structure. The measure mu is any probability measure. Ergodic(T,mu) is the native conjunction of measure preservation and pre-ergodicity: every null-measurable almost-invariant set is null or conull. The real observable g is only assumed integrable. No pointwise measurability, boundedness, square integrability, countability, standard Borel structure, or invertibility is required.

For each fixed g, the conclusion holds for mu-almost every x along the complete sequence of natural times. The average at n=0 is canonically zero; for positive n it is the sum of g(T^j x) over j<n divided by n. The theorem retains empty-carrier quantification and all integrable constants, including zero. It asserts neither a common exceptional set for every g nor uniform, vector-valued, nonergodic conditional-expectation, or L1 convergence.

For a measurable integrable f, take the finite maximum of its initial orbit sums, including the zeroth sum. Positivity of that maximum gives a one-step inequality. Integrating over its positive set, measure preservation cancels the full integrals of the maximum and its composition with T. An increasing-set limit yields the nonnegative integral of f over the set where some orbit sum is positive.

For each level c above the mean of g, form the invariant set where orbit sums exceed n times a rational level above c arbitrarily late. Apply the maximal integral inequality to the indicator of this set times g-c. Ergodicity makes the set null or conull; the conull case contradicts the negative integral of g-c. Countably many rational levels for g and -g give the upper and lower eventual bounds, hence order convergence. Finally, an almost-everywhere equal measurable representative has the same integral, and quasi-measure preservation identifies every finite-time average almost everywhere.

Durrett, Probability: Theory and Examples, fifth edition, Section 6.2, Theorem 6.2.1 and Lemma 6.2.2, printed pages 335–337, provide the classical mathematical reference. The Lean proof is an attributed adaptation of facebookresearch/atlas-lean, MathlibExt/Dynamics/Ergodic/Birkhoff.lean, revision a60759060b5616df0d5775b42da4d337719feb32. Its Meta Platforms copyright and complete supplier license are retained. The adaptation makes auxiliary declarations private and uses pinned Mathlib fixed-set iteration and almost-everywhere transport; the literature note separates the book citation from the code provenance.

Symbolic frequencies, joint-product moments, context-dependent compositions and entropy-production rates require an actual probability law, ergodicity, an integrable observable, identification of its integral and the relevant orbit or boundary correspondence. This autonomous theorem supplies the convergence step once those mathematical bridges are established.

For the literal doubling-map application, put I = [0,1), mu = volume.restrict I on the real line, and F(x) = Int.fract(2*x). Here volume is real Lebesgue measure, mu(univ) = volume(I) = 1, and F maps every real number into I. In particular F(0) = 0 and F(1/2) = 0. The interval carrier X is the actual subtype of reals belonging to I; its measure nu is Measure.comap Subtype.val volume, and its lifted dynamics is U(x) = the subtype element with real value F(x). The real inclusion iota = Subtype.val pushes nu forward to mu, by map_comap_subtype_coe. Thus the subtype presentation and the restricted real measure describe the same measured interval.

Use the additive circle C = AddCircle 1 with its native volume of total mass one, the quotient pi(x) = (x : C), and d(y) = (2 : Nat) • y. The measurable equivalence e = AddCircle.measurableEquivIco 1 0 takes C to X; its inverse is the quotient restricted to X. Write r(y) = iota(e(y)) for the representative in [0,1). AddCircle.coe_equivIco_mk_apply gives r(pi(x)) = Int.fract(x) for every real x, while the equivalence gives pi(r(y)) = y for every circle point. On I the first identity is r(pi(x)) = x, including x = 0.

The upstream AddCircle.measurePreserving_mk 1 0 uses volume.restrict (0,1], rather than the requested volume.restrict [0,1). The real Lebesgue measure has null singletons, so restrict_Ico_eq_restrict_Ioc identifies these two measures and makes pi measure preserving from mu to circle volume. This equality is used only for measures. To obtain the reverse transport, r composed with pi equals the identity mu-almost everywhere because mu is concentrated on I. Applying Measure.map_map and Measure.map_congr to that equality shows that r pushes circle volume to mu. The measurable embedding iota has an injective measure pushforward, so its pushforward identity also shows that e pushes circle volume to nu.

The quotient respects addition, hence d(pi(x)) = pi(2*x). Combining this with pi(r(y)) = y and the fractional-part representative formula gives the pointwise identity r(d(y)) = F(r(y)). Taking subtype values gives e(d(y)) = U(e(y)), and iota(U(x)) = F(iota(x)) holds by the definition of U. These are pointwise semiconjugacies, without removal of endpoints. Function.Semiconj.iterate_right therefore gives, for every natural n, e(d^n(y)) = U^n(e(y)) and iota(U^n(x)) = F^n(iota(x)); for every real x in I it also gives r(d^n(pi(x))) = F^n(x). The identities include n = 0, the start 0 and the cutpoint 1/2. Equality of measures at endpoints alone would not supply these orbit identities.

At the pinned Mathlib revision 56a005855ea17e0b0958f73ec801ae140b0a1679, Dynamics/Ergodic/AddCircle.lean supplies AddCircle.ergodic_nsmul with n = 2 and the discharged inequality 1 < 2. The lifted U is measurable because F is the fractional part of the measurable function x ↦ 2*x. Apply MeasurePreserving.ergodic_of_ergodic_semiconj first along e and then along iota. This yields Ergodic U nu and the actual Ergodic F mu on the real restricted measure, including measurable measure preservation of F. Neither ergodicity nor preservation of the interval map is an assumption of this application.

Take the two fixed real observables g = indicator [0,1/2) and h = indicator [0,1/4), each with value one on its indicated half-open interval and zero elsewhere. Both are integrable under mu by integrability of the constant one and Integrable.indicator for measurable intervals. The integral_indicator_const identity reduces their integrals to the real measures of those intervals. Restricting mu intersects each interval with I, which leaves it unchanged; Real.volume_real_Ico_of_le then gives the actual integrals integral(g,mu) = 1/2 and integral(h,mu) = 1/4.

Instantiate birkhoff_pointwise_ergodic twice with alpha = Real, this mu, T = F, the established Ergodic F mu, and respectively g and h. Intersect the two conull sets. For mu-almost every x, simultaneously the sum of g(F^j(x)) over 0 ≤ j < n divided by n tends to 1/2 and the corresponding sum for h tends to 1/4 as n tends to infinity through all natural numbers. Unfolding birkhoffAverage and birkhoffSum identifies these literal real-iterate averages; at n = 0 the sum and the canonically defined average are zero.

This is a checked application of the existing frozen Birkhoff theorem and pinned upstream suppliers. It introduces no separately frozen interval theorem or new mathematical declaration. The common conull set here serves these two fixed indicators only: the result gives no common exceptional set for every integrable observable, no guarantee for any prescribed start, and no convergence rate. Binary expansions and their coding of orbits, rational-orbit examples, floating-point behavior, numerical simulations and SRB or Lorenz claims require their own evidence and are outside this application.

References