Arisca: A Parameterized Symbolic Algebra Framework for Arithmetic Circuit Verification

Kezhi Li, Min Li, Qiang XuarXiv 2026

TL;DR

Arisca is an open-source, parameterized verification framework that tackles the notorious intermediate polynomial explosion problem in gate-level arithmetic circuit verification. By unifying previously isolated symbolic computer algebra (SCA) heuristics into a single parallel portfolio engine and introducing a half-adder-preserving extraction strategy, Arisca achieves state-of-the-art performance across diverse, highly optimized multiplier and general arithmetic designs.

What Problem Does This Paper Address?

Hardware bugs in arithmetic circuits can be catastrophic and incredibly costly (such as the infamous 1994 Pentium FDIV bug), making formal gate-level verification an essential step in chip design. Symbolic Computer Algebra (SCA) provides a mathematically sound way to verify these circuits by modeling logic gates as multivariate polynomials. By performing "backward rewriting," engineers can verify if a gate-level netlist matches its high-level arithmetic specification.

However, when logic synthesis tools optimize a circuit, they flatten its structure and introduce complex logic sharing. During backward rewriting, the size of the intermediate polynomials can explode exponentially. To make matters worse, existing state-of-the-art SCA tools rely on rigid, closed-source, "one-size-fits-all" heuristics and are strictly limited to standard $n \times n$ multipliers. They fail to generalize to structurally diverse or mixed arithmetic circuits like multiply-accumulators (MACs) and dot-product units.

Methods

Arisca transitions from a rigid verification toolchain to a flexible, generalized verification engine through several key innovations:

  • Specification Parsing: Arisca introduces a flexible parser that allows users to define custom word-level arithmetic expressions (e.g., [4] * [3] + [7] for a MAC unit) rather than relying on hardcoded multiplier specifications. Overview of specification parsing and polynomial construction
  • HA-Preserving Extraction: Standard reverse-engineering libraries typically prioritize extracting Full Adders (FAs) first. In dense, optimized netlists, this greedy approach duplicates logic and misses underlying Half Adders (HAs). Arisca adopts a conservative mapping strategy that preserves HAs, which are critical for identifying "vanishing monomials" (terms that mathematically evaluate to zero and drastically reduce polynomial size). HA-preserving strategy vs. greedy FA-first strategy
  • Atomic Block Extraction & Density-Based Detection: It encapsulates fanout-free logic cones into atomic blocks and uses a speculative cone extension technique to identify high-density HA regions, bypassing the need for exhaustive and computationally expensive path searches.
  • Penalty-Aware Look-Ahead & Phase Inversion: The engine dynamically estimates polynomial size expansion before committing to a variable substitution. It also integrates a greedy phase inversion technique ($u \rightarrow 1-u$) to maintain compact polynomial representations.
  • Parallel Portfolio Strategy: To handle architectural diversity, Arisca runs multiple distinct heuristic configurations concurrently. To prevent memory issues, it enforces strict resource-bounding, immediately terminating any thread that exceeds size thresholds.
Figure 1: Overview of the specification parsing and polyno- mial construction workflow in Arisca.
Figure 2: An FA candidate containing internal nodes with external fanouts. While a greedy FA-first strategy forces logic duplication and obscures the constituent HA, Arisca’s con- servative approach successfully preserves and extracts it.

Datasets

The authors evaluated Arisca using the following benchmarks:

  • Multiplier Benchmark Suite: 310 unsigned 64-bit multiplier circuits (192 from the Aoki benchmark, 28 generated by GenMul, and 90 generated by multgen).
  • Optimized Multipliers: The same 310 multipliers optimized using the ABC synthesis tool commands resyn3 and dc2 to test robustness against structural obfuscation.
  • Custom Arithmetic Benchmarks: Diverse custom circuits generated via multgen to test general arithmetic capabilities, including a 127×129-bit signed truncated multiplier, a 256-bit standard adder, a 63×65-bit MAC, and a 16-element 8-bit vector dot-product unit.

Key Insights and Ideas

  • The "FA-First" Trap: Prioritizing Full Adder extraction seems intuitive but actually destroys the structural visibility of Half Adders in heavily shared logic networks. Preserving HAs is vital because their sum-carry exclusion property is the primary mechanism for eliminating vanishing monomials early in the rewriting process.
  • Disentangling Multi-Fanout Nodes: Logic synthesis optimizations frequently introduce complex multi-fanout nodes where variables become entangled. While a conservative rewriting strategy might avoid these nodes because they look "unsafe" locally, leaving them unreduced causes exponential blowup later. Arisca's portfolio approach allows aggressive look-ahead workers to step in and concurrently eliminate these entangled variables.
  • Uncovering Hidden Bugs in Prior SOTA: Because many leading verification tools are closed-source binaries, their underlying flaws remain hidden. Through empirical evaluation, the authors discovered that previous tools like RevSCA actually contained bugs that misidentified correct multipliers as incorrect due to reverse-engineering implementations that failed to strictly preserve logical equivalence.

Key Results

  • 100% Success Rate: Arisca was the only tool capable of solving all 310 multiplier instances in the baseline benchmark suite, outperforming commercial-grade baselines like AMulet, DynPOO, and RevSCA.
  • Robustness Against Optimization: Arisca maintained state-of-the-art performance on heavily obfuscated resyn3 and dc2 optimized circuits, where other tools suffered from memory explosions or timeouts.
  • Versatile Arithmetic Verification: Arisca successfully verified complex custom arithmetic circuits in fractions of a second—verifying a 63×65-bit MAC in 2.44 seconds and a 16-element dot-product unit in just 310.37 milliseconds.

Limitations and Future Work

Currently, Arisca's specification parser is restricted to combinations of addition and multiplication operations. While the underlying SCA framework is theoretically applicable to a broader class of arithmetic components, extending Arisca to natively support operations like integer dividers, modular multipliers, and finite field multipliers—paired with dedicated algebraic reduction heuristics—remains an objective for future work.

Summary updated

BibTeX
@misc{li2026arisca,
  author = {Kezhi Li and Min Li and Qiang Xu},
  title = {{Arisca: A Parameterized Symbolic Algebra Framework for Arithmetic Circuit Verification}},
  year = {2026},
  eprint = {2607.10257},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2607.10257},
}
Figure