Lean 4 Proof Corpus

Small, machine-checked abstractions for AI reliability claims: optimisation, dynamical systems, consensus, safety. Each repository names the abstraction, proves the boundary, and states its axioms and non-claims. Most are zero-sorry.

by velvetmonkey · ORCID · Claims need receipts.

One thesis: the results that make learning systems trustworthy, convergence, stability, consensus, generalisation, should be checkable down to their axioms. Each repository proves one such result and shows its footprint.

This is a research index, not a monolith. Each entry is a small, checkable piece of the mathematics under modern AI: a convergence rate, a stability basin, a consensus guarantee, proved in Lean 4 and published with its theorem statements, axiom footprint, and any remaining gaps visible in the source. The unit of work is one auditable claim, not one grand library.

The corpus is also a bet about method: that a narrow theorem driven honestly to zero sorry is worth more than a broad formalisation with hidden gaps. Start with a concrete theorem, keep the model narrow enough to audit, and publish what was proved, what was assumed, and what was left out. Some entries are mature proof bricks; others are active research notes. Where these convex and classical results bound the non-convex systems used in practice, that boundary is stated, not blurred.

The definition is the work. The proof is often just the receipt; the invention is finding the smaller shape a messy claim really has, and naming it. The method is one seam: a messy AI or systems claim, narrowed to the smallest faithful model, given a named abstraction, driven to a theorem boundary, with its non-claims stated, and connected back to a usable software or research story. Not a stack of isolated textbook lemmas. Architecture at the theorem boundary.

★ Featured demo  ·  Hebbian Kuramoto — Basin Boundary  interactive showcase → ★ Featured demo  ·  The Coordination Kernel — proof-linked consensus  interactive showcase →

Two load-bearing bricks anchor the corpus, each a field where a proven boundary is itself the product:

Lead repositories

The rest is the supporting corpus: proof bricks for the mathematics the lead results rest on, grouped by area. Useful evidence of range; the identity above is the point.

Convex optimisation & gradient methods

Learning theory & online learning

Dynamical systems & stability

Distributed systems & consensus

Neural & associative memory

Linear algebra & logic

Physics