whatisgithub

What is autoform-bot?

facebookresearch/autoform-bot — explained in plain English

Analysis updated 2026-05-18

31PythonAudience · researcherComplexity · 5/5LicenseSetup · hard

In one sentence

A Meta research tool that uses teams of AI agents to automatically turn LaTeX math statements into verified, computer-checked Lean 4 proofs.

Mindmap

mindmap
  root((Autoform Bot))
    What it does
      LaTeX to Lean 4
      Formal proof generation
      AI agent pipeline
    Tech stack
      Python
      Lean 4
      SLURM clusters
    Key features
      Worker reviewer agents
      Orchestrator retries
      Web dashboard
    Use cases
      Formalize textbooks
      Verify math proofs

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Automatically convert LaTeX math statements from a textbook into formal Lean 4 proofs.

USE CASE 2

Run parallel AI worker and reviewer agents to draft and verify formal proofs.

USE CASE 3

Watch proof attempts and traces in real time through a web dashboard.

USE CASE 4

Scale proof generation for entire textbooks across a SLURM computing cluster.

What is it built with?

PythonLean 4SLURM

How does it compare?

facebookresearch/autoform-botcoleam00/harness-engineering-democolor4-alt/citecheck
Stars313131
LanguagePythonPythonPython
Setup difficultyhardmoderateeasy
Complexity5/53/52/5
Audienceresearcherdeveloperresearcher

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · hard Time to first run · 1day+

Requires API keys for Claude, GPT, or Gemini, plus optional SLURM cluster access for large runs.

So what is it?

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.

Copy-paste prompts

Prompt 1
Explain how Autoform Bot's worker and reviewer agents collaborate to produce a Lean 4 proof.
Prompt 2
Help me configure Autoform Bot to use Claude as the underlying model for proof generation.
Prompt 3
Show me how to extract target statements from a LaTeX book file for Autoform Bot.
Prompt 4
How do I set up Autoform Bot to run across multiple machines with SLURM?

Frequently asked questions

What is autoform-bot?

A Meta research tool that uses teams of AI agents to automatically turn LaTeX math statements into verified, computer-checked Lean 4 proofs.

What language is autoform-bot written in?

Mainly Python. The stack also includes Python, Lean 4, SLURM.

How hard is autoform-bot to set up?

Setup difficulty is rated hard, with roughly 1day+ to a first successful run.

Who is autoform-bot for?

Mainly researcher.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.