Lazy abstraction with interpolants for arrays

  • Authors:
  • Francesco Alberti;Roberto Bruttomesso;Silvio Ghilardi;Silvio Ranise;Natasha Sharygina

  • Affiliations:
  • Università della Svizzera Italiana, Lugano, Switzerland;Università degli Studi di Milano, Milan, Italy;Università degli Studi di Milano, Milan, Italy;FBK-Irst, Trento, Italy;Università della Svizzera Italiana, Lugano, Switzerland

  • Venue:
  • LPAR'12 Proceedings of the 18th international conference on Logic for Programming, Artificial Intelligence, and Reasoning
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

Lazy abstraction with interpolants has been shown to be a powerful technique for verifying imperative programs. In presence of arrays, however, the method shows an intrinsic limitation, due to the fact that successful invariants usually contain universally quantified variables, which are not present in the program specification. In this work we present an extension of the interpolation-based lazy abstraction in which arrays of unknown length can be handled in a natural manner. In particular, we exploit the Model Checking Modulo Theories framework, to derive a backward reachability version of lazy abstraction that embeds array reasoning. The approach is generic, in that it is valid for both parameterized systems and imperative programs. We show by means of experiments that our approach can synthesize and prove universally quantified properties over arrays in a completely automatic fashion.