English

Complete Test Sets And Their Approximations

Logic in Computer Science 2018-08-20 v1

Abstract

We use testing to check if a combinational circuit NN always evaluates to 0 (written as N0N \equiv 0). We call a set of tests proving N0N \equiv 0 a complete test set (CTS). The conventional point of view is that to prove N0N \equiv 0 one has to generate a trivial CTS. It consists of all 2X2^{|X|} input assignments where XX is the set of input variables of NN. We use the notion of a Stable Set of Assignments (SSA) to show that one can build a non-trivial CTS consisting of less than 2X2^{|X|} tests. Given an unsatisfiable CNF formula H(W)H(W), an SSA of HH is a set of assignments to WW that proves unsatisfiability of HH. A trivial SSA is the set of all 2W2^{|W|} assignments to WW. Importantly, real-life formulas can have non-trivial SSAs that are much smaller than 2W2^{|W|}. In general, construction of even non-trivial CTSs is inefficient. We describe a much more efficient approach where tests are extracted from an SSA built for a `projection' of NN on a subset of variables of NN. These tests can be viewed as an approximation of a CTS for NN. We give experimental results and describe potential applications of this approach.

Cite

@article{arxiv.1808.05750,
  title  = {Complete Test Sets And Their Approximations},
  author = {Eugene Goldberg},
  journal= {arXiv preprint arXiv:1808.05750},
  year   = {2018}
}

Comments

arXiv admin note: text overlap with arXiv:1804.00073

R2 v1 2026-06-23T03:36:30.749Z