Skip to content
Preprint

A Version Space Approach for Digital Circuit Analysis

Sep 2026 · 0 citations · 63 references
Computer Science

TL;DR

This paper develops the version-space view as one method and applies it to two circuit-analysis problems usually treated as unrelated, probabilistic combinational equivalence checking and key counting for logic-locked netlists.

Abstract

Many questions about a digital circuit take the same form. A hidden object is consistent with a set of observations, and one wants to know how many remain consistent and which observation to make next. The set of surviving candidates is the version space, and its size, on a logarithmic scale, measures how much the observations have settled. This paper develops the version-space view as one method and applies it to two circuit-analysis problems usually treated as unrelated. The first is probabilistic combinational equivalence checking, where the candidates are Boolean functions and the observations are modified-Haar spectral coefficients. A method proposed in 2002 posed this counting problem and solved only two special cases, leaving the general case an enumeration exponential in the number of observations. We close it. A reparameterization onto block sums turns the dependence among nested coefficients into locality, a sum--product recursion counts the surviving functions exactly in time polynomial in the truth-table size, closed forms follow for a single coefficient, a coefficient pair, and every ancestor-closed set, and the error of the independence approximation the 2002 work resorted to equals a computable lattice index. Every formula is checked against exhaustive enumeration and reproduces the 2002 tables. The second application is key counting for logic-locked netlists, where the candidates are keys and the observations are oracle responses. The same recursion, run over the gate-level factor graph, computes the number of keys still consistent with a set of queries; across seventy instances of the TrustHub obfuscation release the surviving entropy falls below the advertised key length every time. The two applications are one method: a witness supplies observations, each removes candidates, and the version space is counted exactly.

View source

Similar papers

Preprint Aug 2026

The resource cost of magic in a code block

We bound the magic of a post-selected logical measurement by the resource that produced it. The setting is one code block with one logical qubit and an adaptive protocol that measures, feeds forward and accepts. The witness reads the accepted effect against the free set of the resource theory of magic, outcome by outco...

Jia-Chen Shen, Hui Zhong · 0 citations
Preprint Sep 2026

Hamming Ideals and Grobner Bases for ISD-like Syndrome Decoding

An algebraic approach to the Syndrome Decoding Problem is investigated, based on a reformulation of the Hamming weight constraint and its integration with the Information Set Decoding paradigm, and insights into the practical behavior of Grobner basis techniques within an ISD-like decoding framework are provided.

R. La Scala, Marco Marchesin, S. Tiwari · 0 citations
#artificial intelligence Preprint Oct 2026

Discovering state-of-the-art quantum circuits with large language models

Significant efforts are currently being directed toward the implementation of large-scale quantum information processors, but realizing useful quantum advantage also requires the development of efficient quantum algorithms. While for many practical problems the dominant resource costs are associated with a small set of...

An-Di Gu, Alek H. Kemeny, S. Yelin et al. · 1 citation

An Elementary Description of the Oracle of Efficient Sparse Matrices

This paper proposes an elementary description of a black-box function, and proposes an heuristic optimization for this description which minimizes implementation complexity using a clique cover technique, and proves the hardness of finding such an optimal solution under the optimization framework.

Benoît Valiron, R. Vilmart, AdhamZekri · 0 citations

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.