LeanTutor
An interactive tutor that walks undergraduate math and CS students through writing their first Lean proofs, using AI-generated step-by-step guidance tied to recent famous formalizations.
Undergraduate and self-taught math students intimidated by formal proof assistants
- Guided proof templates for the major Lean libraries (mathlib, primes-of-the-week formalizations)
- 'Compare to AI' mode: see how GPT-5.6 would structure the same proof, then try it yourself
- Live error decoder that turns cryptic Lean type errors into plain-English hints
- Course-pack builder for professors who want a Lean module in their discrete math class
Lean just got celebrity status from the CDC and convex optimization proofs, but the tooling barrier is still brutal — most undergrads quit before writing their first tactic.
Hacker News buzz and Stanford CS99-style courses show real interest, but Natural Number Game + official textbooks are free and the addressable paying undergrad segment is tiny.Courses using Lean - leanprover-community ↗CS 99: Functional Programming and Theorem Proving in Lean 4 - Stanford ↗
'LeanTutor' is literally the name of an existing arXiv paper (2506.08321) and a Renaissance Philanthropy-funded project doing essentially the same job; MathGPT.ai already serves 50+ institutions with AI math tutoring, and Lean4.dev sells a professional course.LeanTutor: Towards a Verified AI Mathematical Proof Tutor (arXiv) ↗LeanTutor: A tutor for undergraduate mathematics proofs — Renaissance Philanthropy ↗MathGPT.ai expands to 50+ institutions - TechCrunch ↗
Lean learners are overwhelmingly served by free official resources (NNG, TPIL, MIL) and a well-funded academic/grant-backed project; little evidence undergrads will pay out-of-pocket.Learn — Lean Lang ↗Lean 4 Professional Course | Lean 4 Dev ↗
Lean momentum from convex-optimization and AI formalization news is durable; formal methods + LLM-assisted proving is a multi-year structural trend.Theorem Proving in Lean 4 (official textbook) ↗
Building a verified AI tutor that grounds guidance in Lean's kernel feedback is genuinely hard; the existing LeanTutor paper is itself only a proof-of-concept with acknowledged generalization limits.LeanTutor: Towards a Verified AI Mathematical Proof Tutor (arXiv) ↗