An Efficient Decision Procedure for Imperative Tree Data Structures [chapter]

Thomas Wies, Marco Muñiz, Viktor Kuncak
2011 Lecture Notes in Computer Science  
We present a new decidable logic called TREX for expressing constraints about imperative tree data structures. In particular, TREX supports a transitive closure operator that can express reachability constraints, which often appear in data structure invariants. We show that our logic is closed under weakest precondition computation, which enables its use for automated software verification. We further show that satisfiability of formulas in TREX is decidable in NP. The low complexity makes it
more » ... attractive alternative to more expensive logics such as monadic second-order logic (MSOL) over trees, which have been traditionally used for reasoning about tree data structures.
doi:10.1007/978-3-642-22438-6_36 fatcat:55pxk2vqqrfg7omdklsn3zgxti