Solving and Interpolating Constant Arrays Based on Weak Equivalences

Published: 01 Jan 2019, Last Modified: 04 Nov 2024VMCAI 2019EveryoneRevisionsBibTeXCC BY-SA 4.0
Abstract: We present a new solver and interpolation algorithm for the theory of arrays with constant arrays. It is based on our previous work on weakly equivalent arrays. Constant arrays store the same value at every index, which is useful for model checking of programs with initialised memory. Instead of using a store chain to explicitly initialise the memory, using a constant array can considerably simplify the queries and thus reduce the solving and interpolation time. We show that only a few new rules are required for constant arrays and prove the correctness of the decision procedure and the interpolation procedure. We implemented the algorithm in our interpolating solver SMTInterpol.
Loading