TheoremV uses Lean 4 proofs to verify large RTL designs against higher-level models
Researchers present an agentic framework that proves functional equivalence between large-scale RTL designs and high-level reference models, reporting results on silicon-proven floating-point, matrix and RISC-V CPU units.
In plain words
Chip designs written at the register-transfer level (RTL) are hard to check automatically against simpler reference models of what the chip should do. The described framework uses the Lean 4 proof assistant, plus an LLM agent that proposes and refines intermediate models, to build formal proofs that the two match. The authors say it succeeded on cases where commercial tools timed out.
What was announced
The paper, an arXiv abstract by TheoremV's authors, frames verification as a bottleneck as LLMs accelerate automated RTL code generation. The framework targets two gaps: an abstraction gap between cycle-accurate RTL and high-level reference models, and a representation gap between RTL and proof languages. To close the first, an LLM agent proposes candidate intermediate models, filters bad ones through differential simulation, and revises them using proof feedback, splitting an end-to-end proof into a chain of equivalence lemmas.
For the representation gap, a Yosys-based RTL-to-Lean compiler preserves word-level signals and module hierarchy, while port-level dependency analysis removes false combinational loops at module interfaces. The authors report that on tasks where commercial high-level equivalence checkers time out and existing automated provers fail, TheoremV proved equivalence for silicon-proven floating-point and matrix units (XiangShan Fudian and NVDLA CMAC) and for the PicoRV32 core against the official RISC-V Sail spec, finding a real RISC-V spec bug in the FENCE instruction.
What it does not show
- The evidence is the paper's abstract only; results, including the reported RISC-V spec bug, are author claims not yet independently confirmed.
Sources
Source-support review completed 5 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 5 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.