Title | Lattice-based SMT for program verification |
Publication Type | Conference Paper |
Year of Publication | 2019 |
Authors | Even Mendoza, Karine, Hyvärinen Antti E. J., Chockler Hana, and Sharygina Natasha |
Conference Name | International Conference on Formal Methods and Models for System Design, (MEMOCODE) |
Publisher | ACM-IEEE |
Abstract | We present a lattice-based satisfiability modulo theory for verification of programs with library functions, for which the mathematical libraries supporting these functions contain a high number of equations and inequalities. Common strategies for dealing with library functions include treating them as uninterpreted functions or using the theories under which the functions are fully defined. The full definition could in most cases lead to instances that are too large to solve efficiently. Our lightweight theory uses lattices for efficient representation of library functions by a subset of guarded literals. These lattices are constructed from equations and inequalities of properties of the library functions. These subsets are found during the lattice traversal. We generalise the method to a number of lattices for functions whose values depend on each other in the program, and we describe a simultaneous traversal algorithm of several lattices, so that a combination of guarded literals from all lattices does not lead to contradictory values of their variables. We evaluate our approach on benchmarks taken from the robotics community, and our experimental results demonstrate that we are able to solve a number of instances that were previously unsolvable by existing SMT solvers. |
URL | https://dl.acm.org/doi/10.1145/3359986.3361214 |