cff-version: 1.2.0 message: >- If you use this software, please cite it using the metadata below. The Lean code, proofs, blueprint and documentation of this project were generated by Anthropic's Claude models under the direction of the author; the faithfulness of the Lean statements to the prose has been audited by AI, not by a human expert. title: "Ergodic theory in Lean 4" type: software authors: - family-names: Morgenstern given-names: Marcel version: "v4.36.0" license: Apache-2.0 repository-code: "https://github.com/marcmorningstar/lean4-ergodic-theory" url: "https://marcmorningstar.github.io/lean4-ergodic-theory/" abstract: >- A Lean 4 / Mathlib formalization of parts of ergodic theory: the Oseledets multiplicative ergodic theorem (one-sided, two-sided, singular and continuous-time versions), Kolmogorov-Sinai entropy theory including the Shannon-McMillan-Breiman theorem, the Abramov-Rokhlin formula and Krieger's finite generator theorem, the Margulis-Ruelle inequality and a special case of Pesin's entropy formula for maps of R^d, Livsic theory, and, in a separate library, finite-dimensional quantum relative entropy (Lieb's joint convexity, the data-processing inequality and Petz's theorem). The project is entirely AI-generated (Anthropic's Claude models, directed by the author); all proofs are checked by the Lean kernel. keywords: - Lean 4 - Mathlib - formal verification - ergodic theory - Lyapunov exponents - Oseledets theorem - entropy - quantum information