# Structure 10: Ergodic theory and measurable dynamics Part of the [Mathlib and TauCeti coverage series](STRUCTURE.md). [Mathematical inventory](SYNOPSIS10.md); [bibliographical scope](CKMA-bib.md#ckma-10); [MSC2020 index](CKMA-MSC2020.md). This file follows the thematic order of the mathematical inventory. It records definitions, structures, and proved results, with supporting material identified separately. A topic heading locates the recorded statements; the closing line of each section states which synopsis entries are covered. **Source baseline.** Mathlib `911003dd6dea5df215dff57f2717be762e11a6ca` and TauCeti `5cdecf40e99d5a5ad0833afff31f5b007d68a149`, both of 2026-10-18, checked against local checkouts on 2026-10-19. See the [revision and source conventions](STRUCTURE.md#source-baseline-and-conventions). **Mathlib source areas.** `Mathlib.Dynamics.Ergodic`, `Mathlib.Dynamics.BirkhoffSum`, `Mathlib.Analysis.InnerProductSpace.MeanErgodic`, `Mathlib.MeasureTheory.Function.LpSpace.Basic`, `Mathlib.MeasureTheory.Group.FoelnerFilter`, `Mathlib.MeasureTheory.Function.Intersectivity`, `Mathlib.Dynamics.TopologicalEntropy`, `Mathlib.Dynamics.Minimal`, `Mathlib.Dynamics.Transitive`, `Mathlib.Dynamics.Circle.RotationNumber`, `Mathlib.Dynamics.SymbolicDynamics`, `Mathlib.Dynamics.OmegaLimit`, `Mathlib.Dynamics.PeriodicPts`, `Mathlib.Dynamics.Flow`, `Mathlib.Dynamics.FixedPoints`, `Mathlib.Analysis.Subadditive`, `Mathlib.Combinatorics.HalesJewett`, `Mathlib.Combinatorics.Additive.Corner.Roth`. **Namespaces.** `MeasureTheory`, with nested `MeasurePreserving`, `Conservative`, `MeasurableEquiv`, and `Lp`. The predicates `PreErgodic`, `QuasiErgodic`, and `Ergodic` are namespaces of their own, as are `ErgodicSMul` and `AddCircle`. Endomorphisms of a group are `MonoidHom`. Følner sequences are `IsFoelner`. Topological entropy is `Dynamics`. Flows are `Flow`, and the translation number of a degree-one lift is `CircleDeg1Lift`. Symbolic dynamics is `SymbolicDynamics`, with nested `FullShift` and `Pattern`. Fixed points and periodic points are `Function`. Minimality and topological transitivity are the classes `MulAction.IsMinimal`, `AddAction.IsMinimal`, `MulAction.IsTopologicallyTransitive`, and `AddAction.IsTopologicallyTransitive`. Birkhoff sums and averages, and the ω-limit of a general action, are declared at the root; ω-limits of a flow return to `Flow`. Fekete's lemma is `Subadditive`, and the van der Waerden and Roth theorems are in `Combinatorics` and at the root. TauCeti declarations are mostly under `TauCeti.Probability` and `TauCeti.MeasureTheory`; the Bernoulli-shift theorems are in `MeasureTheory.Measure`, the diagonal spectral measure in `ContinuousLinearMap`, and the action form of the extreme-point theorems in `ErgodicSMul`. ## Recurrence, induction, and the ergodic theorems [Mathematical scope](SYNOPSIS10.md#recurrence-induction-and-the-ergodic-theorems). ### Mathlib **Measure-preserving maps and recurrence.** A map is measure-preserving when it is measurable and pushes the source measure onto the target measure. Preimages of null sets are null, and a null-measurable set has the same measure as its preimage. Composition and iteration preserve the property, as do addition and scaling of measures (`Dynamics/Ergodic/MeasurePreserving.lean`). A map is quasi-measure-preserving, or nonsingular, when it is measurable and the preimage of a null set is null. If \(f\) preserves \(\mu\) and \(\mu(X)0\), with Haar measure, \(y\mapsto n\cdot y\) is ergodic whenever \(n\in\mathbb{Z}\) satisfies \(|n|>1\), and so is \(y\mapsto n\cdot y+x\) for any fixed \(x\) (`AddCircle.ergodic_zsmul`, `AddCircle.ergodic_zsmul_add`). The argument is a Lebesgue density argument: a null-measurable set that is almost invariant under a family of rotations whose additive orders tend to infinity is almost empty or almost full (`Dynamics/Ergodic/AddCircle.lean`). Rotation by a fixed \(a\) is ergodic if and only if \(a\) has infinite additive order. Equivalently, the integer multiples of \(a\) are dense. For a real representative, those multiples are dense if and only if the ratio of the representative to the circumference is irrational (`Dynamics/Ergodic/AddCircleAdd.lean`). This is ergodicity for Haar measure, not unique ergodicity or equidistribution. A continuous surjective endomorphism of a compact second-countable group is ergodic for Haar measure when the preimages of the identity under its iterates are dense (`MonoidHom.ergodic_of_dense_iUnion_preimage_one`, `Dynamics/Ergodic/Action/OfMinimal.lean`); the eigenvalue criterion for toral automorphisms is not derived from it. A degree-one lift is a monotone map \(f:\mathbb{R}\to\mathbb{R}\) with \(f(x+1)=f(x)+1\). Its translation number exists and is independent of the base point: \[ \tau(f)=\lim_{n\to\infty}\frac{f^{n}(x)-x}{n}. \] It is monotone in \(f\), additive on commuting maps, changes sign under inversion, and is unchanged by semiconjugacy in this class. For continuous \(f\), \(\tau(f)=m/n\) in lowest terms if and only if \(f^{n}(x)=x+m\) for some \(x\) (`CircleDeg1Lift.translationNumber_eq_rat_iff`), and two bijective lifts with the same translation number are semiconjugate by a degree-one lift (`CircleDeg1Lift.semiconj_of_bijective_of_translationNumber_eq`). The same semiconjugacy holds for two group actions by such lifts whenever corresponding elements have equal translation numbers (`Dynamics/Circle/RotationNumber/TranslationNumber.lean`). The rotation number of a circle homeomorphism, as a class in \(\mathbb R/\mathbb Z\), is not constructed. **Symbolic dynamics.** On a left-cancellative monoid, configurations are maps from the monoid to an alphabet, with the product topology and the left shift. Cylinders are clopen when the alphabet is discrete, and closed when it is \(T_1\). A subshift is a closed shift-invariant set of configurations (`SymbolicDynamics.FullShift.Subshift`, `MulSubshift`). A pattern is a configuration that takes a default value off a finite support. Forbidding a family of patterns defines a subshift when the alphabet is discrete (`MulSubshift.ofForbidden`), and the language of a set of configurations on a finite shape is defined, with finiteness of the patterns of a given support over a finite alphabet (`Dynamics/SymbolicDynamics/Basic.lean`). A finite forbidden family is allowed by this construction. The module comment names a subshift of finite type, but no separate declaration for it exists, and the entropy of a subshift is not defined. Irreducible and primitive nonnegative matrices are defined, with the path characterization of positive entries of powers (`Matrix.IsIrreducible`, `Matrix.IsPrimitive`, `LinearAlgebra/Matrix/Irreducible/Defs.lean`); the Perron–Frobenius theorem itself is not proved. **Van der Waerden's theorem.** For a finitely coloured commutative additive monoid \(M\) and a finite set \(S\subseteq M\), some homothetic copy \(\{a\cdot s+b:s\in S\}\) with \(a>0\) is monochromatic (`Combinatorics.exists_mono_homothetic_copy`, `Combinatorics/HalesJewett.lean`). With \(M=\mathbb Z\) and \(S=\{0,\ldots,k-1\}\) this gives, for each \(k\), a monochromatic arithmetic progression of length \(k\); the proof is combinatorial, via the Hales–Jewett theorem, not by topological multiple recurrence. ### TauCeti For a measurable action of a countable group, an invariant finite measure is ergodic if and only if it is an extreme point of the invariant measures of the same mass (`ErgodicSMul.iff_mem_extremePoints_measure_univ_eq`, `ErgodicSMul.iff_mem_extremePoints`); the invariant measures of given mass form a convex set. In integral form, on a countably generated space an ergodic probability written as a mixture of invariant probabilities has almost every component equal to it (`ErgodicSMul.ae_eq_of_comp_eq`; [extreme invariant measures](https://github.com/TauCetiProject/TauCeti/blob/5cdecf40e99d5a5ad0833afff31f5b007d68a149/TauCeti/MeasureTheory/Group/ErgodicExtreme.lean)). **Synopsis entries.** Partly covered: 10.29 (existence by Krylov–Bogolyubov via empirical measures and the extreme-point characterization of ergodic measures; compactness of the set of invariant probabilities is not stated), 10.65 (only van der Waerden's theorem, by a combinatorial proof; minimal sets, uniform recurrence, and the Furstenberg–Weiss theorem are absent), 10.32 (the circle case: multiplication by \(n\), \(|n|>1\), is ergodic; mixing, the higher-dimensional criterion, and entropy are absent). Not covered: 10.30, 10.31, 10.33–10.39, 10.63. ## Uniformly hyperbolic systems [Mathematical scope](SYNOPSIS10.md#uniformly-hyperbolic-systems). **Synopsis entries.** Not covered: 10.66, 10.67. ## Lyapunov exponents and smooth ergodic theory [Mathematical scope](SYNOPSIS10.md#lyapunov-exponents-and-smooth-ergodic-theory). **Synopsis entries.** Not covered: 10.40–10.44. ## Joinings, recurrence, and nonconventional averages [Mathematical scope](SYNOPSIS10.md#joinings-recurrence-and-nonconventional-averages). ### Mathlib Roth's theorem, the length-three case of Szemerédi's theorem, is proved in finitary form: for \(\varepsilon>0\) and \(n\) large enough depending on \(\varepsilon\), every \(A\subseteq\{0,\ldots,n-1\}\) with \(|A|\ge\varepsilon n\) contains a nontrivial three-term arithmetic progression, and the Roth number of \(\{0,\ldots,n-1\}\) is \(o(n)\) (`roth_3ap_theorem_nat`, `rothNumberNat_isLittleO_id`, `Combinatorics/Additive/Corner/Roth.lean`). The proof goes through the corners theorem and the triangle removal lemma, not through ergodic theory. As supporting material, Bergelson's intersectivity lemma is proved: in a finite measure space, a sequence of measurable sets of measure at least \(r>0\) has an infinite subsequence all of whose finite intersections have positive measure (`bergelson`, `MeasureTheory/Function/Intersectivity.lean`). Joinings and multiple recurrence are not formalized. **Synopsis entries.** Partly covered: 10.48 (the case \(k=1\) is not stated, but follows from TauCeti's \(L^2\) mean ergodic theorem; \(k\geq2\) is absent), 10.50 (Mathlib: progressions of length three only, in finitary form, by a combinatorial proof). Not covered: 10.45–10.47, 10.49, 10.51–10.54. ## Infinite invariant measure [Mathematical scope](SYNOPSIS10.md#infinite-invariant-measure). The nearest supporting material is Mathlib's notion of a conservative nonsingular map and its recurrence theorems, recorded in the first section; it is stated for arbitrary measures, but wandering sets, the Hopf decomposition, and ratio averages are absent. **Synopsis entries.** Not covered: 10.55–10.57. ## Actions of amenable groups and orbit equivalence [Mathematical scope](SYNOPSIS10.md#actions-of-amenable-groups-and-orbit-equivalence). ### Mathlib **Følner filters (supporting).** Let a group act on a measure space. A family of sets \(F_i\), indexed along a filter, is Følner when the sets are eventually measurable and of finite positive measure, and for every group element \(g\) \[ \frac{\mu\bigl((g\cdot F_i)\triangle F_i\bigr)}{\mu(F_i)}\to 0. \] The constant family equal to the whole space is Følner when the measure is finite and nonzero. There is a maximal Følner filter on the measurable sets of finite positive measure, characterised by the same ratio tending to zero, and a family is Følner if and only if it tends to that filter. Along an ultrafilter, the densities \(\mu(s\cap F_i)/\mu(F_i)\) converge. If the underlying measure is invariant, this mean is invariant under the action, the whole space has mean one, and the mean is additive for a measurable set disjoint from another set. Consequently, a nontrivial Følner filter produces a finitely additive \(G\)-invariant probability, with values in the extended nonnegative reals: total mass one, invariant under the action, and additive when one of the two sets is measurable and the sets are disjoint (`IsFoelner.amenable`, `MeasureTheory/Group/FoelnerFilter.lean`). The file uses the name amenable for this existence statement and says explicitly that amenability itself has not been defined. Averages along Følner sets and ergodic theorems for group actions are not proved. **Ergodic group actions (supporting).** An action of a group on a measure space is ergodic when the measure is invariant and every null-measurable set that is almost invariant under every group element is almost empty or almost full (`ErgodicSMul`). For the iteration action of a measurable self-map, this agrees with ergodicity of the map (`Dynamics/Ergodic/Action/Basic.lean`). The left action of a group on itself is ergodic for any s-finite left-invariant measure, and the right action is ergodic for any s-finite right-invariant measure, assuming multiplication and inversion are measurable (`Dynamics/Ergodic/Action/Regular.lean`). If a monoid acts continuously and ergodically on an \(\mathrm{R}_1\) space, and \(\mu\) is a finite inner-regular measure, then an element whose natural powers are dense in the monoid acts ergodically. The same holds for integer powers in a group. Thus if \(N\) acts continuously and ergodically and \(M\) acts minimally on \(N\), the induced action of \(M\) is ergodic. On a second-countable topological group, left multiplication by \(g\) is ergodic for a finite, nonzero, inner-regular, left-invariant measure if and only if the integer powers of \(g\) are dense (`ergodic_mul_left_iff_denseRange_zpow`). One direction needs only that the measure of every nonempty open set is positive (`Dynamics/Ergodic/Action/OfMinimal.lean`). **Synopsis entries.** Not covered: 10.68–10.71. ## Operator principles and statistical consequences [Mathematical scope](SYNOPSIS10.md#operator-principles-and-statistical-consequences). ### Mathlib Let \(f\) be a linear self-map of a normed space over \(\mathbb{R}\) or \(\mathbb{C}\), Lipschitz with constant \(1\), and let \(g\) be a continuous linear projection onto the fixed subspace of \(f\), equal to the identity on that subspace. If the kernel of \(g\) is contained in the closure of the range of \(f-\mathrm{id}\), then for every vector \(x\) the averages \(n^{-1}\sum_{k=0}^{n-1}f^{k}(x)\) converge in norm to \(g(x)\) (`LinearMap.tendsto_birkhoffAverage_of_ker_subset_closure`, `Analysis/InnerProductSpace/MeanErgodic.lean`). This is the convergence half of the mean ergodic theorem under an assumed splitting \(E=\ker(I-f)\oplus\overline{\mathop{\mathrm{ran}}(I-f)}\); the existence of the splitting for power-bounded operators on reflexive spaces is not proved. **Synopsis entries.** Partly covered: 10.59 (Mathlib: convergence for contractions given the fixed-space splitting; the reflexive-space theorem is absent). Not covered: 10.58, 10.64.