Distinguishing four ways LLMs actually use Lean for theorem proving

gleech · x · 2026-12-06

Developer gleech breaks down "LLM + Lean" into four essentially different things: (1) old-school automatic theorem provers based on local term rewriting; (2) LLM training with Lean as a sparse reward signal; (3) an LLM harness that involves Lean somewhere, but not at every step; (4) an LLM produced by (2) and (3) that no longer relies on Lean at runtime. He jokes that "term rewriting or whatever" is basically the standard name for the technique, and suspects he saw it back in his logic days and forgot it.

Related event: Debunking the Myth: AI Math Proofs Are Not Brute-Force Search(3 posts)→

Original post →

More from coding & agent

coding & agent channel →