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 条
  • [31] Labelled Tableaux for Temporal Logic with Cardinality Constraints
    Dixon, Clare
    Konev, Boris
    Schmidt, Renate A.
    Tishkovsky, Dmitry
    14TH INTERNATIONAL SYMPOSIUM ON SYMBOLIC AND NUMERIC ALGORITHMS FOR SCIENTIFIC COMPUTING (SYNASC 2012), 2012, : 111 - 118
  • [32] Functional and constraint logic programming
    Rodríguez-Artalejo, M
    CONSTRAINTS IN COMPUTATIONAL LOGICS: THEORY AND APPLICATIONS, 2001, 2002 : 202 - 270
  • [33] CONSTRAINT SATISFACTION USING CONSTRAINT LOGIC PROGRAMMING
    VANHENTENRYCK, P
    SIMONIS, H
    DINCBAS, M
    ARTIFICIAL INTELLIGENCE, 1992, 58 (1-3) : 113 - 159
  • [34] NEGATION AND CONSTRAINT LOGIC PROGRAMMING
    STUCKEY, PJ
    INFORMATION AND COMPUTATION, 1995, 118 (01) : 12 - 33
  • [35] CONSTRAINT LOGIC PROGRAMMING - A SURVEY
    JAFFAR, J
    MAHER, MJ
    JOURNAL OF LOGIC PROGRAMMING, 1994, 20 : 503 - 581
  • [36] A CONSTRAINT LOGIC PROGRAMMING SHELL
    LIM, P
    STUCKEY, PJ
    LECTURE NOTES IN COMPUTER SCIENCE, 1990, 456 : 75 - 88
  • [37] AN INTRODUCTION TO CONSTRAINT LOGIC PROGRAMMING
    KRIWACZEK, F
    LECTURE NOTES IN ARTIFICIAL INTELLIGENCE, 1992, 617 : 82 - 94
  • [38] Coinductive Constraint Logic Programming
    Saeedloei, Neda
    Gupta, Gopal
    FUNCTIONAL AND LOGIC PROGRAMMING (FLOPS 2012), 2012, 7294 : 243 - 259
  • [39] Functional and (Constraint) Logic Programming
    Escobar, Santiago
    Falaschi, Moreno
    INFORMATION AND COMPUTATION, 2014, 235 : 1 - 2
  • [40] HIERARCHICAL CONSTRAINT LOGIC PROGRAMMING
    WILSON, M
    BORNING, A
    JOURNAL OF LOGIC PROGRAMMING, 1993, 16 (3-4): : 277 - 318