From Bounded to Unbounded RTL Proofs via Agentic Construction of Helper Assertions

Zijian Ding, Yunsheng Bai, Ghaith Bany Hamad, Chenhui Deng, Cunxi Yu, Jason Cong, Brucek KhailanyarXiv 2026

TL;DR

Proving that a complex computer chip has zero bugs—for all possible inputs, forever—often stalls out, leaving human engineers to spend months manually writing mathematical hints called "helper assertions." Researchers from UCLA and NVIDIA built AFRA, an LLM agent framework that automates this grueling process by writing auxiliary tracking code and hunting down specific state-space loops. Across 13 hardware design families, AFRA more than doubles the proof completion rate of existing methods and turns 12-hour verification timeouts on massive production chips into 7-minute checks.

What Problem Does This Paper Address?

When designing modern processors and accelerators (written in Register-Transfer Level, or RTL, code), standard simulation only tests a tiny fraction of states. Bugs hiding deep in execution cycles can slip into silicon and trigger multi-million-dollar chip respins.

Formal verification (FV) solves this by mathematically proving a safety property holds from reset to eternity ("proof closure"). Formal engines typically rely on mathematical induction:

  1. Base case: Does the property hold at reset?
  2. Consecution (induction step): If the property holds in an arbitrary state, does it hold one clock cycle later?

On complex hardware, engines frequently get stuck in a bounded proof—verifying safety up to $d$ clock cycles, while leaving cycle $d+1$ a mystery. Induction fails because the engine tests unreachable "fantasy" starting states that step into a bug—known as counterexamples to induction (CTIs). To rule out these impossible states, engineers write extra invariants called helper assertions alongside the target property.

Fig. 1. Bounded versus proof closure. (a) A 3-bit design with its target P and the appended helpers h1 and h2. (b) A bounded proof of P covers d cycles from reset and can miss a later bug. (c) Assuming only P, the consecution check fails with CTIs (Sec. II), as states outside the reachable states R step out of P. With h1 and h2 assumed, these states are excluded and P is proven.

Recently, researchers tried using LLM agents to write helpers automatically. By mapping completed proofs as dependency graphs, the authors discovered why naive LLM agents hit a wall on large designs:

  • Depth: High-level helpers connect states scattered across multiple hardware modules, making them nearly impossible to express using raw circuit wires alone.
  • Buried root causes: Helpers depend heavily on one another. If one foundational helper is missing, dozens of dependent helpers fail simultaneously, drowning the LLM in noisy CTIs.
  • Sparse feedback: A proof isn't done until every helper and target passes simultaneously, giving the agent zero sense of "getting warmer" during hour-long verification loops.

Methods

To overcome these three failure modes, the authors introduce AFRA (Agentic Full Reset Abstraction), wrapping an LLM agent and a commercial model checker (Jasper) in three novel mechanisms:

AFRA augments the basic LLM-verifier loop with behavioral modeling, spurious-loop search, and a custom model trained on proof-graph progress.
  1. SVA Behavioral Modeling (for Depth): Instead of forcing the agent to express global invariants using scattered local wires, AFRA lets the agent write auxiliary SystemVerilog Assertions (SVA) "bookkeeping" code—extra registers that track packet IDs, counts, or histories across modules. Because this code never drives or constrains the actual RTL, it makes deep proofs vastly easier to state without compromising mathematical soundness.
  2. Spurious-Loop Search (for Root Causes): CTIs come in two flavors: finite chains of unreachable states (which disappear if you widen the induction window to $K$ cycles) and spurious loops—cycles of unreachable states where the engine can spin forever before stepping into a failure, defeating any window $K$. AFRA queries the model checker specifically to find short spurious loops first, feeding the agent clean, root-cause dependencies to break before widening $K$ for remaining CTIs.
  3. Graph Progress Reward (for Sparse Feedback): To train an open-weight model (Qwen3.8-27B), the authors measure how close a partial helper set is to a known "golden" proof's dependency graph. Using this dense potential-based reward alongside a curriculum of partially masked golden proofs (where top layers are deleted for the agent to rebuild), they apply supervised and rejection-sampling fine-tuning.
A proof dependency graph showing 12 layers of helpers, auxiliary behavioral registers at the bottom, and masked top layers used for training.

Datasets

  • Evaluation Benchmark: 587 expert-written/reviewed safety targets across 50 tasks spanning 13 design families:
  • 8 Open-source families (244 targets): CPUs (SERV, CVA6), GPUs/manycores (Nyuzi, OpenPiton), NICs/crossbars (Corundum, PULP), and accelerators/SoCs (NVDLA, OpenTitan).
  • 5 Production families (343 targets): Industrial GPU memory hubs, switches, and CPU coherent interconnects reaching up to 118.9K lines of RTL—29× larger than designs in prior LLM proof-closure studies.
  • Training Dataset: Agent-constructed tasks from separate designs (filtered to ensure $<0.8$ 5-gram Jaccard similarity with test designs), yielding 124 tasks for supervised fine-tuning and 109 for rejection-sampling fine-tuning.

Key Insights and Ideas

  • Proofs are tall skyscrapers, not flat lists: Helper assertions form deep dependency DAGs (often 10+ layers). In one task, 57 helpers formed a single mutually dependent block—meaning one missing helper caused all 57 to fail at once.
  • Loops are the ultimate signal-to-noise filter: Raw counterexamples rarely show repeated states (98% look like simple chains), hiding the true bottleneck. Querying directly for spurious loops shrinks feedback from ~603K tokens of noisy traces down to ~50K tokens of actionable root causes.
  • Bookkeeping unlocks depth: Golden proofs that utilize behavioral modeling code reach a median depth of 11 layers, compared to 7 layers without it, because upper-layer helpers almost always bridge multiple modules.

Key Results

  • Crushing the baselines: Using GPT-6.1-sol, AFRA proves 80.5% of targets on average across the 13 families—more than doubling the same model in a standard coding harness (36.4%), more than tripling the best prior LLM verification flow CILL (25.3%), and far surpassing top standalone model checkers like rIC3 (10.8%).
  • Production scale: AFRA is the only evaluated method to prove all 104 targets on a 68.4K-line production design, and the only method to solve any targets on three of the five industrial families.
  • Massive verification speedups: Once AFRA generates helpers for production tasks, re-verifying the proof takes a median of 7.3 minutes (up to 454× faster than running Jasper alone, which times out after 12–30 hours). This is huge for regression testing after daily RTL edits.
  • Small open model punches above its weight: Training Qwen3.8-27B with the graph progress reward boosts its solve rate in AFRA from 22.8% to 32.7%, outperforming frontier closed models like Opus 5.5 (21.1%) and GPT-5.6-sol (20.4%) with zero API token costs.

Limitations and Future Work

  • Not full automated sign-off yet: AFRA assumes a human expert has already written accurate target assertions and environment assumptions, and that the RTL is bug-free. It does not generate top-level specifications from scratch or hunt for bugs.
  • Compute-heavy runs: Agents were given 4 hours per task (24 hours for the largest interconnect), and serving the custom 27B model took ~164 minutes per task on A100 GPUs.
  • Future directions: Scaling up agent compute, further improving the custom open model, and extending AFRA to discover hardware bugs and repair RTL on the fly when a proof fails because the chip itself is broken.

Summary updated

BibTeX
@misc{ding2026from,
  author = {Zijian Ding and Yunsheng Bai and Ghaith Bany Hamad and Chenhui Deng and Cunxi Yu and Jason Cong and Brucek Khailany},
  title = {{From Bounded to Unbounded RTL Proofs via Agentic Construction of Helper Assertions}},
  year = {2026},
  eprint = {2611.35233},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.35233},
}
Figure