Lesson 22 of 23
Registering a Lean proof in Palomar: what it checks and what to prepare
Palomar is a public registry that checks a Lean proof by machine, with two required proof checkers (a third runs as an extra check) and an automated review, before it records the proof permanently. This page covers what it checks, what it leaves to people, the files you prepare, and the rules a proof written with an AI agent most often breaks.
Lean is a programming language for proofs. If a Lean file compiles with no unproved placeholders and no extra axioms (statements accepted without proof), a computer has checked every step, though only of the statement and definitions as written in Lean, which may not be what you meant. When an AI agent helps you write such a proof, that check usually runs on your own machine, with your own settings. Palomar is a public registry that runs the check again on its own machines, under its own rules, and then records the exact statement that was proved, the libraries it relies on, and one fixed version of your files. It was incubated by the Lean FRO, the nonprofit organization that develops Lean, and ICARM, the Institute for Computer-Aided Reasoning in Mathematics, a National Science Foundation institute at Carnegie Mellon University. As of November 15, 2026, its rules say it "has not launched in the sense of inviting submissions": It has not opened a public call for proofs, but its submission site, submit.palomar-registry.org, was running in November 2026 and checked the proofs sent to it. Read the current rules before you start, since they may change. I sent my own Lean proof on Erdős Problem #112 through it in November 2026: it passed every check, the AI review identified no problems, and it was registered on November 15, 2026 (palomar-registry.org/entry?id=PALOMAR-2026-11-15-000004&version=1).
In the terms of the lesson on five ways to check an AI answer, Palomar moves a proof from a check you ran yourself to a check that someone else's system ran on the same files. It works like this:
- A tool called Comparator confirms that the proof proves exactly the statements in your short statement file, and that nothing rests on an unproved placeholder (sorry), on compiled code in place of the proof checker, or on any axiom beyond the three standard ones that Lean's mathematics library is built on.
- Two separately written proof checkers must both accept the proof: Lean's kernel, the small core program that has the final say on whether a proof is valid, and an independent one called NanoDa. Passing one of them is not enough. A wrong proof would now need a bug in both checkers, or in the software that prepares the proof for both of them. A third separately written checker, con-ron, is also run as an extra check; my own entry passed all three.
- An AI model compares each formal statement with your plain-language description of it, and judges whether the result could plausibly interest researchers. Palomar's rules say: "No person reads an ordinary submission before the outcome, and no person signs it off."
- You read that review, and the result is registered only if you then ask for it.
Palomar's rules call it "a registry, not a journal", and say the automated review "is a filter: it can identify a blocking problem, or find no blocking problem, but it does not accept, approve, or endorse a submission." Its scientific advisory board, which includes well-known mathematicians, does not review individual submissions. So a registered proof is one that two checkers accepted, of a statement an AI review found no problem with. Whether the Lean definitions say what you meant is still a question for a person, so have someone who knows the field read the statement file before you rely on it in public.
What you prepare, in a public GitHub repository:
- Challenge.lean: the short file that states the result. Palomar's rules call it "the small statement file that a mathematical reader is expected to audit", so keep it readable.
- Solution.lean: the same declarations, with the proofs.
- comparator.json: the settings for Comparator. Its list of permitted axioms may contain only propext, Quot.sound and Classical.choice, three basic logical principles that ordinary mathematics in Lean assumes.
- formalization.yaml: the description of the submission, in the form the rules set out.
- The usual Lean project files (lean-toolchain, a lakefile and lake-manifest.json) and a LICENSE.
Four rules are the ones a proof written with an AI agent most often runs into:
- No native_decide. Agents reach for this command when a step needs a large computation, because it runs compiled code instead of having the kernel check the work. Palomar rejects any proof that uses it, so those steps have to be rewritten for the kernel to check. That can be much slower, and for a large search it may not finish at all, so plan for it early.
- Only the three standard axioms. Any other axiom fails the check, including one an agent added to get past a hard step as a temporary measure.
- The result has to matter to researchers. The rules ask whether the result "could plausibly warrant a research paper or a serious research note", with a credible research area and a kind of mathematician who would find it relevant. This is the AI review's judgment, and a proof it blocks is not registered. Trivial results, and theories made up only so that something can be proved in them, are turned away.
- Registration is permanent. Once Palomar adds a proof to its public database, the rules treat it as permanent publication history; a record leaves public view only if Palomar's moderators step in, and even then a marker stays in its place. Have the statement file read by a person before you ask to register.
If an agent is preparing the submission, have it audit the project against the rules before it changes anything, and read its report yourself. The prompt below does that. #print axioms is the Lean command that lists every axiom a theorem depends on.
Questions go to the Palomar channel on the Lean Zulip, the Lean community's chat forum.
For specialists: Comparator is at github.com/leanprover/comparator. The native_decide ban is enforced by rejecting any dependence on Lean.ofReduceBool. Palomar also audits the provenance of the Challenge file and checks that the Challenge can be rendered for the registry page. The full contract, including the exact repository layout and how moderation works, is in the PalomarPolicy repository.