Optimal CNF Encoding for Representing Adjacency in Boolean Cardinality Constraints

이진 기수 조건에서 인접성 표현을 위한 최적화된 CNF 변환

  • 박사천 (경기대학교 컴퓨터과학과) ;
  • 권기현 (경기대학교 컴퓨터과학과)
  • Published : 2008.11.15

Abstract

In some applications of software engineering such as the verification of software model or embedded program, SAT solver is used. To practical use a SAT solver, a problem is encoded to a CNF formula, but because the formula has lower expressiveness than software models or source codes, optimal CNF encoding is required. In this paper, we propose optimal encoding techniques for the problem of "Selecting adjacent $k{\leq}n$ among n objects," Through experimental results we show the proposed constraint is efficient and correct to solve Japanese puzzle. As we know, this paper is the first study about CNF encoding for adjacency in BCC.

만족가능성 처리기는 모델 검증 및 임베디드 프로그램 검증과 같이 소프트웨어 공학의 여러 분야에서 활용되고 있다. 만족가능성 처리기를 활용하기 위해서는 주어진 문제를 처리기의 입력인 CNF 형식으로 변환해야 한다. 그러나 이 형식은 소스코드나 소프트웨어 모델보다 표현력이 낮기 때문에 최적화된 변환이 요구된다. 본 논문에서는 "n개에서 인접된 $k{\leq}n$개 선택" 문제를 CNF형식으로 변환하는 최적화된 기법을 제시한다. 제안된 방법을 다양한 일본 퍼즐에 적용한 결과 우수한 성능이 입증되었다. 우리가 알고 있는 한, 인접성에 대한 최적화된 CNF 변환 연구는 거의 없다.

Keywords

References

  1. S.M. Suhaib and D. BernerM, "Extreme Modeling in PROMELA: Formal Modeling and Verification of a Smart Building Control System," FERMAT Lab Technical Report No. 2003-11. Virginia Tech, Blacksburg, VA, December 2003
  2. M. Merritt, A. Orda, and S.R. Sachs, "Formal Verification of a Distributed Computer System," In Formal Methods in System Design Journal, Kluwer Academic Publisher, vol. 10, pp. 93-125, 1997
  3. G.J. Holzmann, The SPIN Model Checker, Addsion Wesley, 2004
  4. E. M. Clarke, O. Grumberg and D. Peled, Model Checking, MIT Press, 1999
  5. M.W. Moskewicz, C. Madigan, Y. Zhao, L. Zhang and S. Malik, "Chaff: Engineering an Efficient SAT Solver," In Proceedings of Design Automation Conference, 2001.
  6. http://www.cs.chalmers.se/Cs/Research/For-malMethods/MiniSat/
  7. A. Biere, A. Cimatti, E. Clarke, Ofer Strichman, and Y. Zhu, "Bounded Model Checking," Vol. 58 of Advances in Computers, 2003
  8. http://alloy.mit.edu/
  9. O.Bailleux and Y. Boufkhad, "Efficient CNF encoding of Boolean cardinality constraints," in Proceedings of the CP 2003, vol. 2833, LNCS, 2003
  10. C. Sinz, "Towards an optimal CNF encoding of Boolean cardinality constraints," In Proceedings of the CP 2005, vol. 3709, LNCS, 2005
  11. B. J. Batenburg and W. A. Kosters, "A discrete tomography approach to Japanese puzzles," in Proceedings of the Belgian-Dutch Conf. Artificial Intelligence, 2004
  12. http://en.wikipedia.org/wiki/Nonogram
  13. B. Benhamou, L. Sais and P. Siegel, "Two proof procedures for a cardinality based language in propositional calculus," in Proceedings of the STACS94, vol. 775, LNCS, 1994
  14. G. Kwon and W. Klieber, "Efficient CNF Encoding for Selecting 1 from N Objects," In the Proceeding of CFV07, 2007