Xiang Huang

AI for Mathematics

AI writes. Lean checks.

This page collects the work I began in Spring 2026 on AI-driven formalization. Ordinary AI output may be right, wrong, or hallucinated; the change is that we no longer have to trust the prose, because we ask for a proof in a language Lean can check. AI writes. Lean checks. The projects span research monographs, textbooks, PDE papers, and open competition problems.

A proof enters a library here only after three gates: the statement is faithful to the theorem we intended, the Lean kernel accepts the proof with no placeholders or custom axioms, and a fresh build passes.

Three of these projects turned up errors in published proofs. Formalization at this scale tends to surface that kind of thing, which is a good part of why it is worth doing.

The list below is ordered by what I have been working on most recently, not chronologically.

Ripple — an AI-formalized Lean 4 framework for computing with CRNs

Ho-Lin Chen and Xiang Huang, Ripple: An Open, AI-Formalized Lean 4 Framework for Computing with CRNs, arXiv:2607.13531 (2026); presented at DNA 32.

Limits of recurrence-generated sequences

Repository

Lean 4 formalizations of limits of recurrence-generated sequences converging to classical constants (π, γ, Catalan’s G, ζ(2) + ζ(3), …).

A research PDE trilogy, formalized

Repository

A source-faithful Lean 4 formalization of three papers of Wenxian Shen and coauthors on traveling waves, boundedness and global existence for chemotaxis–logistic systems, with 0 sorry.

Proofs from THE BOOK — all 40 chapters

Repository

Aigner & Ziegler, 6th edition. 40/40 chapters, 0 sorry, 0 axiom. Chapters with substantial original formalization rather than Mathlib wrappers include Zagier’s one-sentence two-squares proof (full involution and fixed-point analysis), Monsky’s theorem via Sperner parity, the Herglotz trick, Galvin’s theorem (the Dinitz conjecture), the five-color Kempe-chain argument, and the Kneser-graph chromatic number.

An Invitation to q-Series — a complete book formalization

Repository

Hei-Chi Chan’s book, from the definition of a partition to the tenth-order mock theta identity that closes its hardest chapter.

Flajolet–Sedgewick, Analytic Combinatorics — all nine chapters

Repository

622 audited theorems, 0 sorry / 0 axiom / 0 native_decide.

Lean community

Learning Lean

Platforms

Formalization service