Autoform Bot is a research tool from Meta's AI research group that takes mathematical statements written in LaTeX (the typesetting format used in academic papers) and automatically translates them into formal computer-checkable proofs in a language called Lean 4. Lean 4 is a proof assistant: software that can verify with certainty whether a mathematical argument is logically correct, with no room for human error or ambiguity. The pipeline works by sending each mathematical statement to a team of AI agents running in parallel. Worker agents attempt to write a proof in Lean 4 using a large library of formalized math called Mathlib, then reviewer agents check the attempts. An orchestrator coordinates the whole process, retrying and revising until a valid proof is found or the attempt budget runs out. The system supports Claude, GPT, and Gemini models as the underlying AI, configured by an API key in a settings file. A typical run starts by extracting the target statements from a LaTeX book file, creating a configuration that specifies the model, the workspace, and how many agents to run in parallel, then running the main pipeline script. A web dashboard lets you watch the run in real time and inspect individual proof attempts and traces. The system can run across multiple machines using SLURM, which is job-scheduling software common in university and research computing clusters, making it practical for large textbooks with many theorems. The project accompanies an academic paper titled "Formalizing Mathematics at Scale" and is licensed under CC BY-NC 4.0, which allows non-commercial use only.
← facebookresearch on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.