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. Building a Calculus of Data Structures
 
conference paper

Building a Calculus of Data Structures

Kuncak, Viktor  
•
Piskac, Ruzica  
•
Suter, Philippe  
Show more
Barthe, Gilles
•
Hermenegildo, Manuel V.
2010
Proceedings of the 11th International Conference on Verification, Model Checking and Abstract Interpretation
11th International Conference on Verification, Model Checking and Abstract Interpretation

Techniques such as verification condition generation, predicate abstraction, and expressive type systems reduce software verification to proving formulas in expressive logics. Programs and their specifications often make use of data structures such as sets, multisets, algebraic data types, or graphs. Consequently, formulas generated from verification also involve such data structures. To automate the proofs of such formulas we propose a logic (a “calculus”) of such data structures. We build the calculus by starting from decidable logics of individual data structures, and connecting them through functions and sets, in ways that go beyond the frameworks such as Nelson-Oppen. The result are new decidable logics that can simultaneously specify properties of different kinds of data structures and overcome the limitations of the individual logics. Several of our decidable logics include abstraction functions that map a data structure into its more abstract view (a tree into a multiset, a multiset into a set), into a numerical quantity (the size or the height), or into the truth value of a candidate data structure invariant (sortedness, or the heap property). For algebraic data types, we identify an asymptotic many-to-one condition on the abstraction function that guarantees the existence of a decision procedure. In addition to the combination based on abstraction functions, we can combine multiple data structure theories if they all reduce to the same data structure logic. As an instance of this approach, we describe a decidable logic whose formulas are propositional combinations of formulas in: weak monadic second-order logic of two successors, two-variable logic with counting, multiset algebra with Presburger arithmetic, the Bernays-Schönfinkel-Ramsey class of first-order logic, and the logic of algebraic data types with the set content function. The subformulas in this combination can share common variables that refer to sets of objects along with the common set algebra operations. Such sound and complete combination is possible because the relations on sets definable in the component logics are all expressible in Boolean Algebra with Presburger Arithmetic. Presburger arithmetic and its new extensions play an important role in our decidability results. In several cases, when we combine logics that belong to NP, we can prove the satisfiability for the combined logic is still in NP.

  • Files
  • Details
  • Metrics
Type
conference paper
DOI
10.1007/978-3-642-11319-2_6
Web of Science ID

WOS:000278758100005

Author(s)
Kuncak, Viktor  
•
Piskac, Ruzica  
•
Suter, Philippe  
•
Wies, Thomas
Editors
Barthe, Gilles
•
Hermenegildo, Manuel V.
Date Issued

2010

Publisher

Springer

Published in
Proceedings of the 11th International Conference on Verification, Model Checking and Abstract Interpretation
Series title/Series vol.

LNCS; 5944

Start page

26

End page

44

Subjects

decision procedure

•

verification

•

combination

Note

Invited Paper

Peer reviewed

REVIEWED

Written at

EPFL

EPFL units
LARA  
Event nameEvent placeEvent date
11th International Conference on Verification, Model Checking and Abstract Interpretation

Madrid, Spain

January 17-19, 2010

Available on Infoscience
December 1, 2010
Use this identifier to reference this record
https://infoscience.epfl.ch/handle/20.500.14299/61709
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