[go: up one dir, main page]
More Web Proxy on the site http://driver.im/ skip to main content
10.1007/978-3-030-51074-9_1guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

Efficient Automated Reasoning About Sets and Multisets with Cardinality Constraints

Published: 01 July 2020 Publication History

Abstract

When reasoning about container data structures that can hold duplicate elements, multisets are the obvious choice for representing the data structure abstractly. However, the decidability and complexity of constraints on multisets has been much less studied and understood than for constraints on sets. In this presentation, we outline an efficient decision procedure for reasoning about multisets with cardinality constraints. We describe how to translate, in linear time, multisets constraints to constraints in an extension of quantifier-free linear integer arithmetic, which we call LIA*. LIA* extends linear integer arithmetic with unbounded sums over values satisfying a given linear arithmetic formula. We show how to reduce a LIA* formula to an equisatisfiable linear integer arithmetic formula. However, this approach requires an explicit computation of semilinear sets and in practice it scales poorly even on simple benchmarks. We then describe a recent more efficient approach for checking satisfiability of LIA*. The approach is based on the use of under- and over-approximations of LIA* formulas. This way we avoid the space overhead and explicitly computing semilinear sets. Finally, we report on our prototype tool which can efficiently reason about sets and multisets formulas with cardinality constraints.

References

[1]
Berkovits I, Lazić M, Losa G, Padon O, and Shoham S Dillig I and Tasiran S Verification of threshold-based distributed algorithms by decomposition to decidable logics Computer Aided Verification 2019 Cham Springer 245-266
[2]
de Moura LM and Bjørner N Ramakrishnan CR and Rehof J Z3: an efficient SMT solver Tools and Algorithms for the Construction and Analysis of Systems 2008 Heidelberg Springer 337-340
[3]
Ginsburg S and Spanier EH Semigroups, Presburger formulas, and languages Pacific J. Math. 1966 16 2 285-296
[4]
Kuncak V, Nguyen HH, and Rinard MC Nieuwenhuis R An algorithm for deciding BAPA: Boolean algebra with Presburger arithmetic Automated Deduction – CADE-20 2005 Heidelberg Springer 260-277
[5]
Kuncak V, Nguyen HH, and Rinard MC Deciding Boolean algebra with Presburger arithmetic J. Autom. Reason. 2006 36 3 213-239
[6]
Levatich M, Bjørner N, Piskac R, and Shoham S Beyer D and Zufferey D Solving using approximations Verification, Model Checking, and Abstract Interpretation 2020 Cham Springer 360-378
[7]
Lugiez D Multitree automata that count Theor. Comput. Sci. 2005 333 1–2 225-263
[8]
Nelson G and Oppen DC Fast decision procedures based on congruence closure J. ACM 1980 27 2 356-364
[9]
Piskac R and Kuncak V Logozzo F, Peled DA, and Zuck LD Decision procedures for multisets with cardinality constraints Verification, Model Checking, and Abstract Interpretation 2008 Heidelberg Springer 218-232
[10]
Piskac R and Kuncak V Gupta A and Malik S Linear arithmetic with stars Computer Aided Verification 2008 Heidelberg Springer 268-280
[11]
Piskac R and Kuncak V Giesl J and Hähnle R MUNCH - automated reasoner for sets and multisets Automated Reasoning 2010 Heidelberg Springer 149-155
[12]
Pottier L Book RV Minimal solutions of linear diophantine systems: bounds and algorithms Rewriting Techniques and Applications 1991 Heidelberg Springer 162-173
[13]
Zarba CG Voronkov A Combining multisets with integers Automated Deduction 2002 Heidelberg Springer 363-376

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image Guide Proceedings
Automated Reasoning: 10th International Joint Conference, IJCAR 2020, Paris, France, July 1–4, 2020, Proceedings, Part I
Jul 2020
552 pages
ISBN:978-3-030-51073-2
DOI:10.1007/978-3-030-51074-9

Publisher

Springer-Verlag

Berlin, Heidelberg

Publication History

Published: 01 July 2020

Author Tags

  1. Multisets
  2. Cardinality constraints
  3. Linear interger arithmetic

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • 0
    Total Citations
  • 0
    Total Downloads
  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 05 Jan 2025

Other Metrics

Citations

View Options

View options

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media