Skip to content
Review

From Lecture Notes to Lean: Formalizing a Textbook on Probability Theory

Jul 2026 · arXiv.org · Vol abs/2607.27298 · 0 citations · 26 references
Computer Science

Abstract

As large language models become increasingly capable of generating mathematical arguments, mathematics is likely to face not a scarcity of proofs but an abundance of plausible ones. In such an environment, verification, exposition, and incorporation into reusable mathematical infrastructure become central tasks. We report on an ongoing Lean formalization of"Measure-Theoretic Probability: With Applications to Statistics, Finance, and Engineering", a fourteen-chapter upper-level undergraduate textbook covering topics from Riemann--Stieltjes integration to martingales and limit theorems. The project produces a machine-checked companion to the textbook and contributes reusable infrastructure for future formalizations involving probability theory. A Lean formalization provides computer-checked statements and proofs, makes hypotheses explicit, and allows readers to inspect the precise logical content of textbook results. A central challenge is to bridge textbook-facing statements with Mathlib's more general measure-theoretic interfaces. We reuse Mathlib results when possible and introduce reviewable interface lemmas when the textbook formulation and library abstraction differ. The project illustrates how formalized textbooks can support teaching, clarify mathematical assumptions, and help build the formal foundations needed for reliable AI-assisted mathematics.

View source

Similar papers

Library Before Proof: Making LLM-Generated Rocq Usable by Mathematicians

A three-artifact approach is proposed: mathcomp-style Rocq backed by an explicit coding-style skill, a Lean-style blueprint cross-linking informal math to formal lemmas, and a verification PDF pairing each definition and theorem statement with its informal version.

Guillaume Baudart, Marc Lelarge · 0 citations
Preprint Sep 2026

Statistical Theory in the Age of Machine-Assisted Mathematics: Rethinking How Theory Is Made and Taught

The computational revolution is advancing at an unprecedented pace. The combination of proof-assistant technologies and generative AI tools has recently enabled the solution of complex problems in pure mathematics at a scale that seemed unattainable only a few years ago. However, these technologies have not yet become...

Pietro Coretto · 0 citations
#artificial intelligence Preprint Aug 2026

MathAdv: What Theorem Provers Know, Reason, Formalize, and Generalize

This work introduces MathAdv, a diagnostic benchmark spanning 13 domains across undergraduate- and graduate-level mathematics, and shows how component-wise evaluation can reveal model capabilities and failure modes that aggregate theorem-proving accuracy obscures.

Jiajie Yuan, C. Lockhart, Xiao-Yun Liu et al. · 0 citations
#artificial intelligence Review Aug 2026

A Human Audit of OpenAIs AI-Generated Mathematical Proofs

We assess 18 chapter-specific reviews of the ten mathematical results announced by OpenAI on 1 August 2026, alongside review standards, Lean formalizations, subsequent research, and mathematical references. The article audits this review record without claiming a complete reconstruction of all ten proofs. No confirmed...

M. Sienicki, K. Sienicki · 0 citations
Preprint Jul 2026

TREAT: Evaluating Access to Formal Knowledge across Equivalent Mathematical Representations

TREAT is introduced, a benchmark for evaluating whether large language models can recover known theorem identities from equivalence-preserving formula-level transformations, and provides a controlled testbed for evaluating representation-robust access to formal knowledge.

Fatemeh Mazdarani, Carlos Toxtli · 0 citations
#artificial intelligence Preprint Sep 2026

AxQM: A Textbook-Scale Benchmark for Formal Proof Synthesis in a Library of Finite-Dimensional Quantum Mechanics

Formalizing mathematics in a proof assistant, where a machine checks every definition, statement and proof, has set a new standard of rigor. Large language models are now capable of formalizing autonomously, even at the scale of whole textbooks. We bring this standard of rigor to physics, where theoretical arguments ca...

W. Yin, Jacob M. Taylor, D. Englund et al. · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.