Computing polynomial program invariants

  • Authors:
  • Markus Müller-Olm;Helmut Seidl

  • Affiliations:
  • Fern Universität Hagen, LG Praktische Informatik 5, 58084 Hagen, Germany;TU München, Informatik, 12, 85748 München, Germany

  • Venue:
  • Information Processing Letters
  • Year:
  • 2004

Quantified Score

Hi-index 0.89

Visualization

Abstract

We present two automatic program analyses. The first analysis checks if a given polynomial relation holds among the program variables whenever control reaches a given program point. It fully interprets assignment statements with polynomial expressions on the right-hand side and polynomial disequality guards. Other assignments are treated as non-deterministically assigning any value and guards that are not polynomial disequalities are ignored. The second analysis extends this checking procedure. It computes the set of all polynomial relations of an arbitrary given form that are valid at a given target program point. It is also complete up to the abstraction described above.