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 条
  • [21] Constraint logic programming
    Wallace, Mark
    Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics), 2002, 2407 : 512 - 532
  • [22] Constraint logic programming
    Wallace, M
    COMPUTATIONAL LOGIC: LOGIC PROGRAMMING AND BEYOND, PT I: ESSAYS IN HONOUR OF ROBERT A KOWALSKI, 2002, 2407 : 512 - 532
  • [23] Constraint Satisfaction Problems and Global Cardinality Constraints
    Bulatov, Andrei A.
    Marx, Daniel
    COMMUNICATIONS OF THE ACM, 2010, 53 (09) : 99 - 106
  • [24] SYLLOGISTIC LOGIC WITH CARDINALITY COMPARISONS, ON INFINITE SETS
    Moss, Lawrence S.
    Topal, Selcuk
    REVIEW OF SYMBOLIC LOGIC, 2020, 13 (01): : 1 - 22
  • [25] Multilinear sets with two monomials and cardinality constraints
    Chen, Rui
    Dash, Sanjeeb
    Gunluk, Oktay
    DISCRETE APPLIED MATHEMATICS, 2023, 324 : 67 - 79
  • [26] Sets with Cardinality Constraints in Satisfiability Modulo Theories
    Suter, Philippe
    Steiger, Robin
    Kuncak, Viktor
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, 2011, 6538 : 403 - 418
  • [27] LOGIC PROGRAMMING WITH SETS
    KUPER, GM
    JOURNAL OF COMPUTER AND SYSTEM SCIENCES, 1990, 41 (01) : 44 - 64
  • [28] REASONING WITH FINITE SETS AND CARDINALITY CONSTRAINTS IN SMT
    Bansal, Kshitij
    Barrett, Clark
    Reynolds, Andrew
    Tinelli, Cesare
    LOGICAL METHODS IN COMPUTER SCIENCE, 2018, 14 (04)
  • [29] Integrating Constraint Logic Programming and Operations Research techniques for the Crew Rostering Problem
    Caprara, A.
    Focacci, F.
    Lamma, E.
    Mello, P.
    Milano, M.
    Toth, P.
    Vigo, D.
    Software - Practice and Experience, 1998, 28 (01): : 49 - 76
  • [30] Integrating constraint logic programming and operations research techniques for the crew rostering problem
    Caprara, A
    Focacci, F
    Lamma, E
    Mello, P
    Milano, M
    Toth, P
    Vigo, D
    SOFTWARE-PRACTICE & EXPERIENCE, 1998, 28 (01): : 49 - 76