← Latest papers
🤖 AI

Visored: A Controlled-Natural-Language Prover for LLM-Generated Mathematics

This paper introduces Visored, a dependent-type-based prover that bridges LLM-generated mathematics and formal verification by using a natural-language-like interface and rule-driven automation to convert proofs into checked Lean files, demonstrating effective performance on the miniF2F benchmark without specialized training.

Original authors: Xiyu Zhai, Xinyi Chen, Yiping Wang, Runlong Zhou, Liao Zhang, Simon S. Du

Published 2026-06-17
📖 4 min read☕ Coffee break read

Original authors: Xiyu Zhai, Xinyi Chen, Yiping Wang, Runlong Zhou, Liao Zhang, Simon S. Du

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 brilliant but slightly hallucination-prone student (an AI) how to write a math proof. The student is great at writing the story of the proof in plain English, but they often skip the tiny, boring details that a strict math teacher needs to see to believe it's true.

Currently, if you ask this student to write a proof in a strict, computer-readable language (like Lean), they often get stuck. They don't know which specific "library rule" to pick, or they mess up the tiny details like "you can't divide by zero."

Visored is a new tool designed to fix this. It acts as a translator and a safety net that sits between the student's natural language and the strict computer language.

Here is how it works, using a few analogies:

1. The "Controlled Natural Language" (The Script)

Instead of forcing the AI to write in the rigid, code-like language of Lean immediately, Visored lets the AI write in a controlled version of English.

  • The Analogy: Think of this like a "Mad Libs" style script. The AI isn't allowed to write just anything; it must use specific sentence templates like "Let x be...", "Assume...", or "Then...".
  • Why it helps: This keeps the AI in its comfort zone (writing English) while ensuring the structure is rigid enough for a computer to understand. It's like giving the student a fill-in-the-blank worksheet instead of a blank page.

2. The "Middleman" (The IR)

Visored doesn't just guess what the AI meant. It converts that English script into a middle-layer representation (called an IR).

  • The Analogy: Imagine the AI writes a rough draft. Visored takes that draft and fills in all the invisible "footnotes" the AI skipped. Did the AI assume xx is positive? Visored writes that down. Did the AI divide by a variable? Visored checks if that variable is non-zero.
  • The Magic: If the AI makes a mistake, Visored doesn't just say "Wrong." It points exactly to the sentence where the logic broke, like a teacher circling a specific error in red ink. This gives the AI a clear signal on how to fix its next attempt.

3. The "Rule-Driven Solver" (The Auto-Grader)

Once Visored has the proof in its middle-layer format, it uses a rule-based engine to check the "boring" steps.

  • The Analogy: Think of a math textbook. When a textbook says "it follows that...", it often skips the algebra because it's obvious to a human. Visored's solver is like a tireless robot that fills in those skipped steps. It checks the arithmetic, the algebra, and the logic of the small steps automatically.
  • The Result: If the AI provides the main ideas, Visored handles the tedious "grunt work" of proving the small steps.

4. The "Back-Translation" (The Lean Output)

If Visored is happy with the proof, it can translate it back into Lean code (the strict language) for final verification.

  • The Catch: The paper admits that the current translation is very "wordy." It's like taking a 1-page summary and expanding it into a 200-page legal contract just to make sure every single word is legally precise. It works, but it's huge.

What Did They Actually Achieve?

The researchers tested this on a set of 244 math problems (mostly from middle-school competitions).

  • The Result: An AI agent using Visored successfully solved 91% of these problems.
  • The Catch: The AI didn't solve them alone. It worked in a loop: The AI wrote a draft, Visored checked it and said "Error here," the AI fixed it, and they tried again.
  • The Limitation: It struggled with the very hardest problems (like International Math Olympiad questions) because Visored's "rulebook" didn't have the advanced math tricks needed for those yet.

The Bottom Line

Visored isn't a magic wand that solves hard math problems instantly. Instead, it's a collaborative workspace. It allows an AI to write proofs in a language it understands (English), while a computer system handles the strict logic and error-checking.

The paper claims that by using this "middleman" approach, we can get AI to produce math proofs that are actually trustworthy without needing to force the AI to learn the difficult, rigid coding language of formal proof systems from scratch. It turns the AI's "hallucinations" into a structured, checkable process.

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 →