▲ 1 today51 starsLeanReader tip
AI-augmented Lean 4 workbench lets mathematicians co-prove theorems
What is TheoremOS?
TheoremOS pairs researchers with AI agents to write and verify Lean 4 proofs. The system retrieves lemmas, decomposes goals, and runs independent Lean verification without needing an API key.
Who it is for
Anyone working on formal mathematics or AI-driven proof automation can experiment with real proof trajectories and reuse verified lemmas.
How TheoremOS works
TheoremOS lets a mathematician write a problem in natural language, TeX or an incomplete Lean file, then an AI agent generates a type-checked Lean 4 statement and suggests lemma decompositions. The system automatically pulls needed definitions from Mathlib, runs parallel search over candidate lemmas, and feeds each attempt to an independent Lean 4 kernel for verification. The workbench and CLI expose five replaceable modules (M1, M5) that handle construction, feedback, search, context and collaboration, all built on Lean 4 version 4.33.0.
What you can do with it
- Browse the archive of 29 formally verified proofs in a web browser.
- Verify a proof locally with three commands and no API key.
- Start a collaborative research task in the online workbench after requesting access.
- Run the full CLI locally or swap out the M1, M5 policy modules.
Good to know
- The workbench and CLI are released under AGPL-3.0-only, which may restrict commercial use.
- Online access requires an allow-listed email and a Bring-Your-Own-Key responses API key.
- The current release is a preview (v0.1.0-preview.1) and may lack full feature parity.
Written from the project's own README.
Try it in 60 seconds
Open the demo at https://theoremos.top
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted HuggingMath/TheoremOS on December 2, 2026, when it had 51 GitHub stars. It now has 51. On its busiest day it gained 1 stars. The project is 37 days old and written mainly in Lean. Early Signal files it under Coding, RAG & Memory, Agents.
Questions about TheoremOS
- How do I try TheoremOS?
- Open the demo at https://theoremos.top