An Efficient Falsification Algorithm for Logical Expressions in DNF

DNF 논리식에 대한 효율적인 반증 알고리즘

  • 문교식 (대구교육대학교 전산교육과)
  • Published : 2001.09.01

Abstract

Since the problem of disproving a tautology is as hard as the problem of proving it, no polynomial time algorithm for falsification(or testing invalidity) is feasible. Previous algorithms are mostly based on either divide-and-conquer or graph representation. Most of them demonstrated satisfactory results on a variety of input under certain constraints. However, they have experienced difficulties dealing with big input. We propose a new falsification algorithm using a Merge Rule to produce a counterexample by constructing a minterm which is not satisfied by an input expression in DNF(Disjunctive Normal Form). We also show that the algorithm is consistent and sound. The algorithm is based on a greedy method which would seek to maximize the number or terms falsified by the assignment made at each step of the falsification process. Empirical results show practical performance on big input to falsify randomized nontautological problem instances, consuming O(nm$^2$) time, where n is the number of variables and m is number of terms.

항진을 반증하는 문제는 항진을 검증하는 문제와 같은 난이도를 갖기 때문에 반증(또는 부당성 검증)을 위한 다항식 시간 알고리즘은 가능하지 않다. 이제까지의 그러한 알고리즘들은 가능하지 않다. 이제까지의 그러한 알고리즘들은 분할 및 정복이나 그래프 표현에 기반 한 것이 대부분이다. 대부분의 알고리즘들은 어떤 제약조건 하에서 다양한 입력에 대한 만족할 만한 결과를 보여 주었다. 그러나, 규모가 큰 입력에 대하여 이들 알고리즘들은 어려움을 경험하고 있다. 이 논문에서는 DNF(선언표준형)로 표현된 입력식을 만족하지 못하는 최소항을 구성함으로써 반례를 산출하는 병합 규칙 기반의 새로운 반증 알고리즘을 제안한다. 또한, 제안된 알고리즘의 일관성과 건전성을 증명한다. 제안된 알고리즘은 반증 과정의 각 단계에서 이루어진 할당을 통하여 반증된 항의수를 최대화하도록 greedy 방법을 기반으로 하고 있다. 실험 결과는 큰 입력의 무작위 비항진 문제 사례들을 반증하는 실용적 성능을 보여 주며 O(n$m^2$) 시간을 소비한다. 여기수 n은 변수이고 m은 항의 개수이다.

Keywords

References

  1. M. R. Garey and D. S. Johnson, Computers and Intractability: A Guide to the Theory of NP-completeness, Freemann, San Francisco, 1979
  2. P. Lammens, L. Claesen and H. D. Man, 'Tautology checking benchmarks: results with TC,' IMEC-IFIP International Workshop on Applied Formal Methods for Correct VLSI Design, Vol. 2, pp.600-604, 1989
  3. F. Vlach, 'Simplification in a satisfiability checker for VLSI applications,' Journal of Automated Reasoning, Vol. 10, No.1, pp.115-136, 1993 https://doi.org/10.1007/BF00881867
  4. J. Jain, J. Bitner, M. S. Abadir, J. A. Abraham, and D. S. Fussell, 'Indexed BDDs: Algorithmic Advances in Techniques to Represent and Verify Boolean Functions,' IEEE Trans. on Computer, Vol. 46, No. 11, pp.1230-1245, 1997 https://doi.org/10.1109/12.644298
  5. R. E. Bryant, 'Symbolic Boolean manipulation with ordered binary-decision diagrams,' ACM Computing Surveys, Vol. 24, No.3, pp.293-318, 1992 https://doi.org/10.1145/136035.136043
  6. M. Fujita, H. Fujisawa and Y. Matsunaga, 'Variable ordering algorithms for ordered binary decision diagrams and their evaluation,' IEEE Trans. on Computer-Aided Design of Integrated Circuits and Systems, Vol. 12, No.1, pp.6-12, 1993 https://doi.org/10.1109/43.184839
  7. J. Lafferty and A. Vardy, 'Ordered Binary Decision Diagrams and Minimal Trellises,' IEEE Trans. on Computers, Vol. 48, No. 9, pp.971-986, 1999 https://doi.org/10.1109/12.795225
  8. M. Dincbas, P. V. Hentenrvck, H. Himonis, A. Aggoun, T. Graf and F. Berthier, 'The constraint logic programming language CHIP,' Proceedings in the International Conference on Fifth Generation Computer Systems FGCS-88, ToKyo, Japan, 1988
  9. H. Simonis and T. L. Provost, 'Circuit verification in CHIP: Benchmark results,' IMEC-IFIP International Workshop on Applied Formal Methods for Correct VISI Design, Vol. 2, pp.570-574, 1989
  10. G. S. Moon, 'A Boolean equivalence testing algorithm based on a derivational method,' Journal of Electrical Engineering and Information Science, Vol. 2, No. 5, pp.1-8, 1997
  11. P. Purdom, 'Random satisfiability problems,' International Workshop on Discrete Algorithms and Complexity, The Institute of Electronics, Information and Communication Engineers, Tokyo, Japan, pp.253-259, 1989
  12. E. J. Jr. McCluskey, 'Minimization of Boolean functions,' Bell System Tech J., Vol. 35, No. 6, pp.1417-1444, 1956
  13. W. V. Quine, 'The problem of simplifying truth functions,' Am. Math Monthly, Vol. 59, No. 8, pp. 521-531, 1952 https://doi.org/10.2307/2308219