Algebra-based Synthesis of Loops and their Invariants
Provably correct software is one of the key challenges in our softwaredriven society. While formal verification establishes the correctness of a given program, the result of program synthesis is a program which is correct by construction. In this paper we overview some of our results for both of these scenarios when analysing programs with loops. The class of loops we consider can be modelled by a system of linear recurrence equations with constant coefficients, called C-finite recurrences. We first describe an algorithmic approach for synthesising all polynomial equality invariants of such non-deterministic numeric single-path loops. By reverse engineering invariant synthesis, we then describe an automated method for synthesising program loops satisfying a given set of polynomial loop invariants. Our results have applications towards proving partial correctness of programs, compiler optimisation and generating number sequences from algebraic relations.
Mon 18 JanDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
16:00 - 17:00
Invited talkVMCAI at VMCAI
Chair(s): Yakir Vizel Technion—Israel Institute of Technology
|Algebra-based Synthesis of Loops and their Invariants|
I: Laura Kovacs Vienna University of Technology (TU Wien), Andreas Humenberger Vienna University of TechnologyMedia Attached