Integrating Cardinality Constraints into Constraint Logic Programming with Sets

被引:5
作者
Cristia, Maximiliano [1 ,2 ]
Rossi, Gianfranco [3 ]
机构
[1] Univ Nacl Rosario, Rosario, Argentina
[2] CIFASIS, Rosario, Argentina
[3] Univ Parma, Parma, Italy
关键词
{log}; set theory; cardinality; formal verification; constraint logic programming; COMBINING SETS;
D O I
10.1017/S1471068421000521
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Formal reasoning about finite sets and cardinality is important for many applications. including software verification, where very often one needs to reason about the size of a given data structure. The Constraint Logic Programming tool {log} provides a decision procedure for deciding the satisfiability of formulas involving very general forms of finite sets, although it does not provide cardinality constraints. In this paper we adapt and integrate a decision procedure for a theory of finite sets with cardinality into {log}. The proposed solver is proved to be a decision procedure for its formulas. Besides, the new CLP instance is implemented as part of the {log} tool. In turn, the implementation uses Howe and King's Prolog SAT solver and Prolog's CLP(Q) library. as an integer linear programming solver. The empirical evaluation of this implementation based on +250 real verification conditions shows that it can be useful in practice.
引用
收藏
页码:468 / 502
页数:35
相关论文
共 47 条
  • [41] A decision procedure for an extensional theory of arrays
    Stump, A
    Barrett, CW
    Dill, DL
    Levitt, J
    [J]. 16TH ANNUAL IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE, PROCEEDINGS, 2001, : 29 - 37
  • [42] Suter P, 2011, LECT NOTES COMPUT SC, V6538, P403, DOI 10.1007/978-3-642-18275-4_28
  • [43] Williams HP, 2009, INT SER OPER RES MAN, V130, P1, DOI 10.1007/978-0-387-92280-5
  • [44] Yessenov K, 2010, LECT NOTES COMPUT SC, V5944, P380, DOI 10.1007/978-3-642-11319-2_27
  • [45] Combining sets with cardinals
    Zarba, C
    [J]. JOURNAL OF AUTOMATED REASONING, 2005, 34 (01) : 1 - 29
  • [46] Zarba C. G., 2002, Automated Deduction - CADE-18. 18th International Conference on Automated Deduction. Proceedings (Lecture Notes in Artificial Intelligence Vol.2392), P363
  • [47] Zarba CG, 2002, LECT NOTES ARTIF INT, V2309, P103