Btor2 parser, circuit mitter, and code optimizer
-
Updated
Jan 26, 2026 - Python
Btor2 parser, circuit mitter, and code optimizer
A VIM plugin that adds support for the BTOR2 word-level model checking format
One data structure, two orders of magnitude: hash-consing back-ported into selfie's C rotor generates models ~93x faster (139 s -> 1.5 s) with byte-identical output - evidence that the speed-up is the algorithm, not the language.
Turn a RISC-V binary into a bit-precise BTOR2 model and let a model checker hunt bugs across every possible input - in ~0.1 s where the reference takes 139 s. Includes a browser-based witness visualizer and symbolic command-line arguments (working; design still being rethought). Equivalence with selfie's rotor: 36/36 paired verdicts.
To associate your repository with the btor2 topic, visit your repo's landing page and select "manage topics."