Invariant generation for parametrized systems using self-reflection

  • Authors:
  • Alejandro Sanchez;Sriram Sankaranarayanan;César Sánchez;Bor-Yuh Evan Chang

  • Affiliations:
  • IMDEA Software Institute, Madrid, Spain;University of Colorado, Boulder, CO;IMDEA Software Institute, Madrid, Spain,Institute for Applied Physics, CSIC, Spain;University of Colorado, Boulder, CO

  • Venue:
  • SAS'12 Proceedings of the 19th international conference on Static Analysis
  • Year:
  • 2012

Quantified Score

Hi-index 0.00

Visualization

Abstract

We examine the problem of inferring invariants for parametrized systems. Parametrized systems are concurrent systems consisting of an a priori unbounded number of process instances running the same program. Such systems are commonly encountered in many situations including device drivers, distributed systems, and robotic swarms. In this paper we describe a technique that enables leveraging off-the-shelf invariant generators designed for sequential programs to infer invariants of parametrized systems. The central challenge in invariant inference for parametrized systems is that naïvely exploding the transition system with all interleavings is not just impractical but impossible. In our approach, the key enabler is the notion of a reflective abstraction that we prove has an important correspondence with inductive invariants. This correspondence naturally gives rise to an iterative invariant generation procedure that alternates between computing candidate invariants and creating reflective abstractions.