← Latest papers
🤖 AI

Ax-Prover: A Deep Reasoning Agentic Framework for Theorem Proving in Mathematics and Quantum Physics

Ax-Prover is a multi-agent framework that combines Large Language Models with Lean tools via the Model Context Protocol to enable both autonomous and collaborative formal theorem proving across diverse scientific domains, demonstrating superior generalization on new benchmarks and practical utility in complex mathematical tasks.

Original authors: Benjamin Breen, Marco Del Tredici, Jacob McCarran, Javier Aspuru Mijares, Weichen Winston Yin, Kfir Sulimany, Jacob M. Taylor, Frank H. L. Koppens, Dirk Englund

Published 2026-05-25
📖 4 min read☕ Coffee break read

Original authors: Benjamin Breen, Marco Del Tredici, Jacob McCarran, Javier Aspuru Mijares, Weichen Winston Yin, Kfir Sulimany, Jacob M. Taylor, Frank H. L. Koppens, Dirk Englund

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are trying to solve a incredibly difficult puzzle, like a complex math problem or a physics mystery. You have two types of helpers:

  1. The Generalist: A brilliant, well-read human who knows a little bit about everything (math, physics, history) and is great at talking and brainstorming. However, they have never learned the strict, rigid rules of a specific puzzle game called "Lean," so they often make small mistakes or get the rules wrong.
  2. The Specialist: A robot trained only on that specific puzzle game. It knows the rules perfectly but is so specialized that it gets confused if you ask it a question about a slightly different type of puzzle, or if the rulebook gets updated. It also can't talk to you or use outside tools to help.

Ax-Prover is a new system that acts like a super-smart project manager who hires the Generalist but gives them a special toolkit to become a perfect puzzle solver.

How It Works: The "Three-Headed" Team

Instead of one big brain trying to do everything, Ax-Prover uses a team of three "agents" (AI helpers) working together:

  • The Orchestrator (The Manager): This agent doesn't solve the puzzle itself. It's like a conductor in an orchestra. It takes the problem, assigns it to the solver, listens to the feedback, and decides when the job is done or when to try again.
  • The Prover (The Builder): This is the Generalist AI (like a smart chatbot). It tries to build the solution step-by-step. But here's the magic: it doesn't just guess. It has a digital toolbox (called MCP tools) that lets it:
    • Open the rulebook (the Lean library) to check definitions.
    • Ask the computer, "Is this step correct right now?"
    • Search for similar puzzles it has seen before.
    • Fix its own mistakes immediately.
    • Analogy: Imagine a carpenter who can instantly check if a cut is straight with a laser level before nailing the wood down. If it's crooked, they fix it immediately.
  • The Verifier (The Inspector): This agent is the strict quality control officer. It looks at the final work and checks it against the rules. If there is even one tiny error, it sends the work back to the Builder to fix. It ensures nothing slips through the cracks.

Why This Is a Big Deal

The paper tests this system on two types of challenges:

  1. Standard Math Competitions: Like the Putnam exam (very hard high school/college math).
  2. New, Harder Fields: The authors created new tests for Abstract Algebra (advanced, research-level math) and Quantum Physics (the physics of atoms and subatomic particles).

The Results:

  • The Specialists (Robots): They were great at the standard math they were trained on, but when the team tried to use them for Quantum Physics or new types of algebra, they failed. They were like a master chef who can only cook Italian food; if you ask them to cook sushi, they don't know what to do.
  • The Generalist (The Chatbot): Without the tools, it was creative but made too many mistakes to be useful.
  • Ax-Prover (The Team): It beat the specialists in the new fields (Quantum and Algebra) and performed very well in standard math. It proved that by giving a smart, general AI the right tools to check its own work, it can solve problems in fields it wasn't specifically trained for.

Real-World Examples from the Paper

The authors didn't just run tests; they showed how this works with real scientists:

  • The Cryptographer: A security expert wanted to prove a math formula used to protect data. The expert knew the math, but not how to write it in the strict "Lean" language. Ax-Prover acted as a partner, translating the expert's ideas into code, finding a hidden flaw in the original logic, and producing a verified certificate in just two days on a regular laptop.
  • The Quantum Physicist: Researchers wanted to prove a rule about how information is lost in quantum computers. Ax-Prover helped turn their physics-style reasoning into a strict, machine-checked proof, ensuring the math was 100% solid.

The Bottom Line

Ax-Prover shows that you don't need to build a new, expensive robot for every single scientific field. Instead, you can take a smart, general AI, give it a set of tools to check its own work and talk to experts, and it becomes a powerful, flexible assistant that can help verify complex proofs in math, physics, and cryptography. It turns the AI from a "guessing machine" into a "cautious mathematician" that double-checks every step before moving forward.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →