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 条
  • [41] Logic, optimization, and constraint programming
    Hooker, JN
    INFORMS JOURNAL ON COMPUTING, 2002, 14 (04) : 295 - 321
  • [42] Integrating constraint programming techniques into mathematical programming
    Heipcke, S
    ECAI 1998: 13TH EUROPEAN CONFERENCE ON ARTIFICIAL INTELLIGENCE, PROCEEDINGS, 1998, : 259 - 260
  • [43] Temporal logic and annotated constraint logic programming
    Fruhwirth, T
    EXECUTABLE MODAL AND TEMPORAL LOGICS, 1995, 897 : 58 - 68
  • [44] A New Description Logic with Set Constraints and Cardinality Constraints on Role Successors
    Baader, Franz
    FRONTIERS OF COMBINING SYSTEMS (FROCOS 2017), 2017, 10483 : 43 - 59
  • [45] Packing branchings under cardinality constraints on their root sets
    Gao, Hui
    Yang, Daqing
    EUROPEAN JOURNAL OF COMBINATORICS, 2021, 91
  • [46] Polynomial-time learning in logic programming and constraint logic programming
    Sebag, M
    Rouveirol, C
    INDUCTIVE LOGIC PROGRAMMING, 1997, 1314 : 105 - 126
  • [47] Logic programming with infinite sets
    Cenzer, D
    Remmel, JB
    Marek, VW
    ANNALS OF MATHEMATICS AND ARTIFICIAL INTELLIGENCE, 2005, 44 (04) : 309 - 339
  • [48] Integrating XQuery and Logic Programming
    Almendros-Jimenez, Jesus M.
    Becerra-Teron, Antonio
    Enciso-Banos, Francisco J.
    APPLICATIONS OF DECLARATIVE PROGRAMMING AND KNOWLEDGE MANAGEMENT: 17TH INTERNATIONAL CONFERENCE, INAP 2007/21ST WORKSHOP ON LOGIC PROGRAMMING, WLP 2007, 2009, 5437 : 117 - 135
  • [49] Logic programming with infinite sets
    Douglas Cenzer
    Jeffrey B Remmel
    Victor W. Marek
    Annals of Mathematics and Artificial Intelligence, 2005, 44 : 309 - 339
  • [50] A new algorithm for quadratic integer programming problems with cardinality constraint
    Wang, Fenlan
    Cao, Liyuan
    JAPAN JOURNAL OF INDUSTRIAL AND APPLIED MATHEMATICS, 2020, 37 (02) : 449 - 460