An extension of lazy abstraction with interpolation for programs with arrays

Francesco Alberti, Roberto Bruttomesso, Silvio Ghilardi, Silvio Ranise, Natasha Sharygina

Research output: Contribution to journalArticlepeer-review


Lazy abstraction with interpolation-based refinement has been shown to be a powerful technique for verifying imperative programs. In presence of arrays, however, the method suffers from an intrinsic limitation, due to the fact that invariants needed for verification usually contain universally quantified variables, which are not present in program specifications. In this work we present an extension of the interpolation-based lazy abstraction framework 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 supports reasoning about arrays. The new approach has been implemented in a tool, called safari, which has been validated on a wide range of benchmarks. We show by means of experiments that our approach can synthesize and prove universally quantified properties over arrays in a completely automatic fashion.

Original languageEnglish
Pages (from-to)63-109
Number of pages47
JournalFormal Methods in System Design
Issue number1
Publication statusPublished - 2014


  • Array programs
  • Lazy abstraction
  • Model checking
  • SMT

ASJC Scopus subject areas

  • Software
  • Hardware and Architecture
  • Theoretical Computer Science


Dive into the research topics of 'An extension of lazy abstraction with interpolation for programs with arrays'. Together they form a unique fingerprint.

Cite this