Bridging Arrays and ADTs in Recursive Proofs
- Open Access
- 2021
- OriginalPaper
- Chapter
- Authors
-
Grigory Fedyukovich
Corresponding author Grigory Fedyukovich
- Florida State University, Tallahassee, USA
-
Gidon Ernst
Gidon Ernst
- Ludwig-Maximilians-University, Munich, Germany
- Publisher
- Springer International Publishing
Abstract
We present an approach to synthesize relational invariants to prove equivalences between object-oriented programs. The approach bridges the gap between recursive data types and arrays that serve to represent internal states. Our relational invariants are recursively-defined, and thus are valid for data structures of unbounded size. Based on introducing recursion into the proofs by observing and lifting the constraints from joint methods of the two objects, our approach is fully automatic and can be seen as an algorithm for solving Constrained Horn Clauses (CHC) of a specific sort. It has been implemented on top of the SMT-based CHC solver AdtChc and evaluated on a range of benchmarks.
- Title
- Bridging Arrays and ADTs in Recursive Proofs
- Authors
-
Grigory Fedyukovich
Gidon Ernst
- Copyright Year
- 2021
- Publisher
- Springer International Publishing
- Book
-
Tools and Algorithms for the Construction and Analysis of Systems
Print ISBN: 978-3-030-72012-4
Electronic ISBN: 978-3-030-72013-1
Copyright Year: 2021
- DOI
- https://doi.org/10.1007/978-3-030-72013-1_2