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 条
  • [11] An Automatically Verified Prototype of the Tokeneer ID Station Specification
    Cristia, Maximiliano
    Rossi, Gianfranco
    [J]. JOURNAL OF AUTOMATED REASONING, 2021, 65 (08) : 1125 - 1151
  • [12] Automated Reasoning with Restricted Intensional Sets
    Cristia, Maximiliano
    Rossi, Gianfranco
    [J]. JOURNAL OF AUTOMATED REASONING, 2021, 65 (06) : 809 - 890
  • [13] Automated Proof of Bell-LaPadula Security Properties
    Cristia, Maximiliano
    Rossi, Gianfranco
    [J]. JOURNAL OF AUTOMATED REASONING, 2021, 65 (04) : 463 - 478
  • [14] Solving Quantifier-Free First-Order Constraints Over Finite Sets and Binary Relations
    Cristia, Maximiliano
    Rossi, Gianfranco
    [J]. JOURNAL OF AUTOMATED REASONING, 2020, 64 (02) : 295 - 330
  • [15] A Set Solver for Finite Set Relation Algebra
    Cristia, Maximiliano
    Rossi, Gianfranco
    [J]. RELATIONAL AND ALGEBRAIC METHODS IN COMPUTER SCIENCE, 2018, 11194 : 333 - 349
  • [16] A Decision Procedure for Restricted Intensional Sets
    Cristia, Maximiliano
    Rossi, Gianfranco
    [J]. AUTOMATED DEDUCTION - CADE 26, 2017, 10395 : 185 - 201
  • [17] Cristiá M, 2013, LECT NOTES COMPUT SC, V8137, P229, DOI 10.1007/978-3-642-40561-7_16
  • [18] Dal Pal? A., 2003, P 5 ACM SIGPLAN INT, P219, DOI DOI 10.1145/888251.888272
  • [19] Android malware detection method based on bytecode image
    Ding, Yuxin
    Zhang, Xiao
    Hu, Jieke
    Xu, Wenting
    [J]. JOURNAL OF AMBIENT INTELLIGENCE AND HUMANIZED COMPUTING, 2020, 14 (5) : 6401 - 6410
  • [20] Sets and constraint logic programming
    Dovier, A
    Piazza, C
    Pontelli, E
    Rossi, G
    [J]. ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2000, 22 (05): : 861 - 931