← Latest papers
💻 computer science

From Language to Logic: Bridging LLMs & Formal Representations for RTL Assertion Generation

ProofLoop is a tool-augmented ReAct agent that automates the generation of SystemVerilog Assertions (SVA) from natural language by combining retrieval-augmented design context gathering with an iterative, solver-in-the-loop refinement process using formal verification tools.

Original authors: Nowfel Mashnoor, Hadi Kamali, Kimia Azar

Published 2026-04-28
📖 3 min read☕ Coffee break read

Original authors: Nowfel Mashnoor, Hadi Kamali, Kimia Azar

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 build a massive, incredibly complex LEGO castle. To make sure the castle is sturdy, you need to write a "Rulebook" (these are the Assertions) that says things like, "If a knight enters the gate, the drawbridge must close within two seconds."

The problem? Writing these rules is incredibly hard. You have to know exactly where every tiny brick is, how the gears turn, and exactly how much time passes between movements. If you write a rule wrong, the whole castle might fall, but you won't know why until it's too late.

This paper introduces ProofLoop, which is like hiring a Super-Smart Robot Architect to write that rulebook for you.

Here is how the "Robot Architect" works, broken down into three simple steps:

1. The "Detective" Phase (Gathering Clues)

Most AI (like standard ChatGPT) tries to write the rules just by looking at a blurry photo of the castle. It guesses where the bricks are, and it often guesses wrong.

ProofLoop is different. It doesn't just guess; it acts like a detective. Before it writes a single rule, it uses special tools to "walk through" the castle. It asks:

  • "Where exactly is the drawbridge connected?"
  • "Does this gear turn clockwise or counter-clockwise?"
  • "Which lever controls which door?"

It uses a "Search Engine" (called RAG) to look up specific parts of the design so it doesn't get overwhelmed by the sheer size of the castle.

2. The "Drafting" Phase (Writing the Rules)

Once the robot has all its clues, it sits down and writes the first draft of the Rulebook (the SVA). Because it actually "saw" how the gears work, its rules are much more accurate than an AI that is just guessing based on a description.

3. The "Trial and Error" Phase (The Stress Test)

This is the most brilliant part. Instead of just handing you the rulebook and saying, "Here, good luck!", the robot sends its rules to a "Master Inspector" (a formal verification tool called JasperGold).

The Inspector tries to break the rules. It might say:

  • "Hey! This rule you wrote is gibberish; I can't even read it!" (A syntax error)
  • "This rule is wrong! I found a way to enter the gate without the bridge closing!" (A functional error)

Instead of giving up, the Robot Architect takes that feedback, goes back to its desk, fixes the mistake, and tries again. It does this up to three times until the rules are perfect.


Why does this matter? (The "So What?")

In the world of computer chips (the "brains" inside your phone and car), making a mistake is a billion-dollar disaster. Currently, humans have to spend thousands of hours writing these "Rulebooks" by hand.

The Results:
The researchers tested this robot on a massive set of digital designs. They found that:

  • It’s much smarter: It was nearly twice as good at writing working rules compared to a standard AI.
  • It handles complexity: As the "castles" got bigger and more complicated, the standard AI got confused and failed, but the ProofLoop Robot kept getting stronger.
  • It learns from its mistakes: It is incredibly good at fixing its own typos and structural errors.

In short: ProofLoop turns an AI from a "clueless guesser" into a "diligent engineer" that investigates, drafts, tests, and repairs until the job is done right.

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 →