Automatically inferring quantified loop invariants by algorithmic learning from simple templates

  • Authors:
  • Soonho Kong;Yungbum Jung;Cristina David;Bow-Yaw Wang;Kwangkeun Yi

  • Affiliations:
  • Seoul National University;Seoul National University;National University of Singapore;INRIA, Tsinghua University, and Academia Sinica;Seoul National University

  • Venue:
  • APLAS'10 Proceedings of the 8th Asian conference on Programming languages and systems
  • Year:
  • 2010

Quantified Score

Hi-index 0.00

Visualization

Abstract

By combining algorithmic learning, decision procedures, predicate abstraction, and simple templates, we present an automated technique for finding quantified loop invariants. Our technique can find arbitrary first-order invariants (modulo a fixed set of atomic propositions and an underlying SMT solver) in the form of the given template and exploits the flexibility in invariants by a simple randomized mechanism. The proposed technique is able to find quantified invariants for loops from the Linux source, as well as for the benchmark code used in the previous works. Our contribution is a simpler technique than the previous works yet with a reasonable derivation power.