← Latest papers
💻 computer science

Pseudo-Formalization for Automatic Proof Verification

This paper introduces Pseudo-Formalization, a hybrid proof format combining natural language flexibility with formal modularity, and a corresponding Block Verification algorithm that significantly outperforms existing LLM-as-judge baselines in accurately verifying mathematical proofs across olympiad and research-level benchmarks.

Original authors: Slim Barkallah, Luke Bailey, Kaiyue Wen, Mohammed Abouzaid, Tengyu Ma

Published 2026-05-21
📖 5 min read🧠 Deep dive

Original authors: Slim Barkallah, Luke Bailey, Kaiyue Wen, Mohammed Abouzaid, Tengyu Ma

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 a senior editor at a prestigious math journal. You receive a 50-page proof written by a brilliant but slightly chaotic mathematician (or an AI). The proof is written in natural language, full of "it follows that," "clearly," and "as we know." Your job is to find the one tiny logical error that ruins the whole thing.

Doing this is like trying to find a single typo in a novel while reading it at 100 miles per hour. If you miss the error, you publish nonsense. If you read too slowly, you never finish.

This paper, "Pseudo-Formalization for Automatic Proof Verification," proposes a new way to solve this problem. It suggests a middle ground between the messy, flexible way humans write math and the rigid, robotic way computers check math.

Here is the breakdown of their solution using simple analogies:

1. The Problem: The "Wall of Text"

Currently, when we ask an AI to check a math proof, we usually just feed the whole thing to the AI and say, "Is this right?"

  • The Issue: This is like asking a human to read a 100-page legal contract and find a single contradiction in one breath. The AI gets confused, forgets the beginning by the time it reaches the end, and misses the errors. This is called "context rot"—the more text you feed it, the dumber it gets at finding mistakes.

2. The Solution: "Pseudo-Formalization" (The LEGO Analogy)

The authors introduce a new format called Pseudo-Formal (PF).

  • The Analogy: Imagine the messy proof is a giant, tangled ball of yarn. Pseudo-Formalization is the process of cutting that yarn and re-knitting it into neat, individual LEGO bricks.
  • How it works: Instead of one long paragraph, the proof is broken down into small, self-contained "blocks" (like Lemmas, Propositions, and Theorems).
  • The Rules: Each block must clearly state:
    1. Premises: What assumptions are we starting with?
    2. Conclusion: What are we trying to prove in this specific block?
    3. Proof: The steps to get from 1 to 2.
  • The Benefit: Now, instead of checking the whole ball of yarn, the AI only has to check one LEGO brick at a time. It's a tiny, manageable task.

3. The Process: The "Factory Assembly Line"

The paper describes a four-step assembly line to verify a proof:

  1. Translation (The Architect): An AI takes the messy, natural-language proof and rewrites it into these neat LEGO blocks (Pseudo-Formal format). It's like a translator who takes a rambling speech and turns it into a structured outline.
  2. Block Verification (The Quality Inspectors): Now, the AI acts like a team of quality inspectors. Each inspector looks at one LEGO brick. They check: "Does the proof inside this brick actually prove the conclusion, given the premises?" They don't worry about the rest of the building; they just check their specific brick.
  3. Calibration (The Manager): Sometimes an inspector might get too picky (flagging a typo) or miss something. A "Manager" AI looks at all the inspectors' reports and decides: "Okay, we have a real error here, or was that just a false alarm?" It aggregates the findings into a final verdict.
  4. Parallel Scaling (The Crowd): To be extra sure, they run this whole process 8 times (like 8 different teams of inspectors). If any team finds an error, the proof is rejected. This ensures they catch almost everything.

4. The Results: Better than the Baseline

The authors tested this method on two types of math:

  • Olympiad Math: Hard competition problems (like the International Math Olympiad).
  • Research Math: Real, published academic papers from arXiv that the authors themselves admitted had errors in them.

The Findings:

  • The "Pseudo-Formal" method was better at finding errors than the standard method of just asking an AI to read the whole proof.
  • It found more errors (higher Recall) without making up fake errors (higher Precision).
  • In the world of math verification, this is a "Pareto improvement"—meaning they got better results without having to sacrifice one quality for another.

5. The New Benchmark: "ArxivMathGradingBench"

To prove their method works on real-world research, the authors built a new test dataset.

  • They took 35 real math papers that had been updated by their authors to fix mistakes.
  • They used these "known errors" to test if their AI could find the specific mistakes the authors had fixed.
  • This is like a "driving test" where the examiners know exactly where the potholes are, and they see if the new car (the AI) can hit them.

Summary

The paper argues that we don't need to force AI to speak "robot language" (like Lean or Isabelle) to check math. Instead, we can teach the AI to organize human math into neat, small chunks. By breaking a giant, confusing proof into small, clear LEGO blocks, the AI can check each piece with laser focus, finding errors that it would have missed if it tried to read the whole thing at once.

What they did NOT claim:

  • They did not claim this replaces human mathematicians.
  • They did not claim this works for non-mathematical fields (though they speculate it might).
  • They did not claim the AI is perfect; they just showed it is better at finding errors than previous methods.

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 →