arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1804.00073cs.LO
收藏

完整测试集的生成

Generation of complete test sets

Eugene Goldberg

摘要:

我们使用测试来检查组合电路N是否总是求值为0。通常的观点是,为了证明N总是求值为0,必须检查所有2^ |X|输入赋值的N的值,其中X是N的输入变量的集合。我们使用一个稳定的测试集(SSA)的概念来表明,可以建立一个完整的测试集(即测试集证明N总是评估为0),由少于2^ |X|测试。给定一个不可满足的CNF公式H(W),H的SSA是证明H不可满足的对W的一组赋值。平凡SSA是W的所有2^ |W|赋值的集合。重要的是,现实生活中的公式可以具有比2^ |W|小得多的SSA。仅使用SSA的机器生成N的完整测试集是低效的。我们描述了一种更快的算法,该算法将SSA的计算与分辨率推导相结合,并为N在N的变量子集上的“投影”生成完整的测试集。我们给出了实验结果,并描述了该算法的潜在应用。

英文摘要:

We use testing to check if a combinational circuit N always evaluates to 0. The usual point of view is that to prove that N always evaluates to 0 one has to check the value of N for all 2^|X| input assignments where X is the set of input variables of N. We use the notion of a Stable Set of Assignments (SSA) to show that one can build a complete test set (i.e. a test set proving that N always evaluates to 0) that consists of less than 2^|X| tests. Given an unsatisfiable CNF formula H(W), an SSA of H is a set of assignments to W proving unsatisfiability of H. A trivial SSA is the set of all 2^|W| assignments to W. Importantly, real-life formulas can have SSAs that are much smaller than 2^|W|. Generating a complete test set for N using only the machinery of SSAs is inefficient. We describe a much faster algorithm that combines computation of SSAs with resolution derivation and produces a complete test set for a "projection" of N on a subset of variables of N. We give experimental results and describe potential applications of this algorithm.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑