← Latest papers
🤖 AI

Pythagoras-Prover: Advancing Efficient Formal Proving via Augmented Lean Formalisation

Pythagoras-Prover is a compute-efficient family of open-source Lean theorem provers that leverages curriculum-based supervised fine-tuning and Augmented Lean Formalisation to achieve state-of-the-art performance on formal proving benchmarks with significantly fewer parameters than existing models.

Original authors: Joshua Ong Jun Leang, Zheng Zhao, Mihaela Cătălina Stoian, Qiyuan Xu, Haonan Li, Wenda Li, Shay B. Cohen, Eleonora Giunchiglia

Published 2026-06-12
📖 5 min read🧠 Deep dive

Original authors: Joshua Ong Jun Leang, Zheng Zhao, Mihaela Cătălina Stoian, Qiyuan Xu, Haonan Li, Wenda Li, Shay B. Cohen, Eleonora Giunchiglia

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 teach a robot to solve extremely difficult math puzzles, but with a catch: the robot must write its solution in a strict, computer-readable language called Lean. If the robot makes even a tiny logical mistake, the computer rejects the answer. This is the world of Automated Theorem Proving.

For a long time, the only way to get a robot good at this was to feed it massive amounts of data and use a "brain" (a computer model) so huge it cost millions of dollars to run. It was like trying to win a chess tournament by hiring a team of 1,000 grandmasters to think for you.

The paper introduces Pythagoras-Prover, a new family of robot mathematicians that proves you don't need a giant brain or a million-dollar budget to win. They achieved this through three clever tricks:

1. The "Training Camp" (Curriculum Learning)

Instead of throwing the robot into the deep end with the hardest problems immediately, the researchers built a training camp with three levels: Easy, Medium, and Hard.

  • The Analogy: Imagine teaching a child to ride a bike. You don't start them on a mountain trail. You start them on a flat sidewalk (Easy), then a gentle hill (Medium), and finally the mountain trail (Hard).
  • How they did it: They created a huge library of math problems. If a problem was too hard for the robot to solve, they didn't just throw it away. They used a "rubric" (a checklist of common mistakes) to break the problem down into a simpler version that the robot could solve. This allowed the robot to learn step-by-step, building confidence and skill before tackling the giants.

2. The "Mad Libs" Machine (Augmented Lean Formalisation)

The biggest problem in this field is a lack of good practice problems. The researchers realized they could create more practice problems without needing a human to write them or a supercomputer to check them.

  • The Analogy: Imagine you have a perfect math story. Instead of writing a whole new story from scratch, you play a game of "Mad Libs." You swap out the numbers, change the names of the characters, or rearrange the order of the steps, but the logic of the story stays the same.
  • How they did it: They took their verified problems and used a tool called ALF to mutate them. They created variations (simpler versions, harder versions, or just different wording). They didn't check every single new variation with the strict computer (which is slow and expensive); they just checked that the new problem looked like a valid math problem. This exploded their library of practice problems by 2.5 times, giving the robot way more material to learn from.

3. The "Self-Reflection" Loop (Self-Distillation)

Once the robot learned the basics, they let it teach itself.

  • The Analogy: Imagine a student who has studied hard. Instead of just taking a test, they try to solve new variations of the problems they just learned. If they get it right, they write it down as a new example for themselves to study later.
  • How they did it: The robot generated proofs for those "Mad Libs" variations. Even though the computer didn't double-check every single one, the fact that the robot could generate a proof for a mutated version meant it truly understood the logic, not just memorized the answer. This "self-taught" data made the robot even smarter.

The Results: Small Brain, Big Wins

The paper compares their new robots to the current "giants" in the field:

  • The 4B Robot: This robot has 4 billion "neurons" (parameters). It is roughly 167 times smaller than the previous champion (DeepSeek-Prover-V2, which has 671 billion neurons).
    • The Result: Despite being tiny, the 4B robot solved more problems correctly than the giant robot. It's like a high school math whiz beating a team of PhDs because the whiz was trained better.
  • The 32B Robot: This slightly larger robot became the best open-source robot ever tested on these benchmarks, solving 93% of the problems.

The "Diffusion" Experiment

The researchers also tried a different way of thinking called Diffusion.

  • The Analogy:
    • Standard (Autoregressive): Writing a sentence one word at a time, from left to right. If you make a mistake early, you have to rewrite the whole thing.
    • Diffusion: Imagine a blurry sketch of a sentence. The robot looks at the whole sketch and fills in the missing words all at once, refining the picture until it's clear. It can fix a mistake in the middle without rewriting the beginning.
  • The Result: This "Diffusion" robot was 2.5 times faster at generating answers than the standard robot, though it was slightly less accurate. It shows a new way to trade speed for precision.

The "Stress Test" (MiniF2F-ALF)

To see if the robots were just memorizing answers or actually learning, the researchers created a "stress test." They took the test questions and slightly mutated them (changing numbers, swapping variables) using the same "Mad Libs" technique.

  • The Result: Most robots failed this test because they had memorized the original questions. Pythagoras-Prover, however, handled the mutations much better. This proves they learned the logic of math, not just the specific answers.

Summary

Pythagoras-Prover shows that you don't need a super-computer to solve hard math proofs. By using a smart training schedule, creating endless variations of practice problems, and letting the robot teach itself, you can build a small, efficient robot that outperforms the massive, expensive giants of the past.

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 →