Repository logo

Infoscience

  • English
  • French
Log In
Logo EPFL, École polytechnique fédérale de Lausanne

Infoscience

  • English
  • French
Log In
  1. Home
  2. Academic and Research Output
  3. Conferences, Workshops, Symposiums, and Seminars
  4. Sets with Cardinality Constraints in Satisfiability Modulo Theories
 
conference paper

Sets with Cardinality Constraints in Satisfiability Modulo Theories

Suter, Philippe  
•
Steiger, Robin
•
Kuncak, Viktor  
2011
Verification, Model Checking, And Abstract Interpretation
Verification, Model Checking, and Abstract Interpretation (VMCAI)

Boolean Algebra with Presburger Arithmetic (BAPA) is a decidable logic that can express constraints on sets of elements and their cardinalities. Problems from verification of complex properties of software often contain fragments that belong to quantifier-free BAPA (QFBAPA). in contrast to many other NP-complete problems (such as quantifier-free first-order logic or linear arithmetic), the applications of QFBAPA to a broader set of problems has so far been hindered by the lack of an efficient implementation that can be used alongside other efficient decision procedures. We overcome these limitations by extending the efficient SMT solver Z3 with the ability to reason about cardinality (QFBAPA) constraints. Our implementation uses the DPLL(T) mechanism of Z3 to reason about the top-level propositional structure of a QFBAPA formula, improving the efficiency compared to previous implementations. Moreover, we present a new algorithm for automatically decomposing QFBAPA formulas. Our algorithm alleviates the exponential explosion of considering all Venn regions, significantly improving the tractability of formulas with many set variables. Because it is implemented as a theory plugin, our implementation enables Z3 to prove formulas that use QFBAPA constructs with constructs from other theories that Z3 supports, as well as with quantifiers. We have applied our implementation to the verification of functional programs; we show it can automatically prove formulas that no automated approach was reported to be able to prove before.

  • Details
  • Metrics
Type
conference paper
DOI
10.1007/978-3-642-18275-4_28
Web of Science ID

WOS:000297039800028

Author(s)
Suter, Philippe  
Steiger, Robin
Kuncak, Viktor  
Date Issued

2011

Publisher

Springer-Verlag New York, Ms Ingrid Cunningham, 175 Fifth Ave, New York, Ny 10010 Usa

Published in
Verification, Model Checking, And Abstract Interpretation
ISBN of the book

978-3-642-18274-7

Series title/Series vol.

Lecture Notes in Computer Science; 6538

Start page

403

End page

418

Subjects

Checking

Editorial or Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LARA  
Event name
Verification, Model Checking, and Abstract Interpretation (VMCAI)
Available on Infoscience
May 25, 2011
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/67864
Logo EPFL, École polytechnique fédérale de Lausanne
  • Contact
  • infoscience@epfl.ch

  • Follow us on Facebook
  • Follow us on Instagram
  • Follow us on LinkedIn
  • Follow us on X
  • Follow us on Youtube
AccessibilityLegal noticePrivacy policyCookie settingsEnd User AgreementGet helpFeedback

Infoscience is a service managed and provided by the Library and IT Services of EPFL. © EPFL, tous droits réservés