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
相关论文
共 50 条
  • [1] Sets and constraint logic programming
    Dovier, A
    Piazza, C
    Pontelli, E
    Rossi, G
    ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2000, 22 (05): : 861 - 931
  • [2] On integrating Constraint Logic Programming and Integer Programming
    Appa, G
    Mourtos, I
    Magos, D
    6TH WORLD MULTICONFERENCE ON SYSTEMICS, CYBERNETICS AND INFORMATICS, VOL V, PROCEEDINGS: COMPUTER SCI I, 2002, : 140 - 145
  • [3] Integrating answer set programming and constraint logic programming
    Veena S. Mellarkod
    Michael Gelfond
    Yuanlin Zhang
    Annals of Mathematics and Artificial Intelligence, 2008, 53 : 251 - 287
  • [4] Integrating answer set programming and constraint logic programming
    Mellarkod, Veena S.
    Gelfond, Michael
    Zhang, Yuanlin
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2008, 53 (1-4) : 251 - 287
  • [5] Constructive negation and constraint logic programming with sets
    Dovier, A
    Pontelli, E
    Rossi, G
    NEW GENERATION COMPUTING, 2001, 19 (03) : 209 - 255
  • [6] Constructive negation and constraint logic programming with sets
    Agostino Dovier
    Enrico Pontelli
    Gianfranco Rossi
    New Generation Computing, 2001, 19 : 209 - 255
  • [8] Meta linear constraints in constraint logic programming
    Refalo, P
    LOGIC PROGRAMMING - PROCEEDINGS OF THE 1998 JOINT INTERNATIONAL CONFERENCE AND SYMPOSIUM ON LOGIC PROGRAMMING, 1998, : 55 - 69
  • [9] Adding partial functions to Constraint Logic Programming with sets
    Cristia, Maximiliano
    Rossi, Gianfranco
    Frydman, Claudia
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2015, 15 : 651 - 665
  • [10] A new approach to integrating mixed integer programming and constraint logic programming
    Rodosek, R
    Wallace, MG
    Hajian, MT
    ANNALS OF OPERATIONS RESEARCH, 1999, 86 (0) : 63 - 87