[Zurück]


Vorträge und Posterpräsentationen (mit Tagungsband-Eintrag):

A. Humenberger, M. Jaroschek, L. Kovacs:
"Automated Generation of Non-Linear Loop Invariants Utilizing Hypergeometric Sequences";
Vortrag: International Symposium on Symbolic and Algebraic Computation (ISSAC), Kaiserslautern; 23.07.2017 - 28.07.2017; in: "ISSAC '17 Proceedings of the 2017 ACM on International Symposium on Symbolic and Algebraic Computation", ACM, (2017), ISBN: 978-1-4503-5064-8; S. 221 - 228.



Kurzfassung englisch:
Analyzing and reasoning about safety properties of software systems becomes an especially challenging task for programs with complex flow and, in particular, with loops or recursion. For such programs one needs additional information, for example in the form of loop invariants, expressing properties to hold at intermediate program points. In this paper we study program loops with non-trivial arithmetic, implementing addition and multiplication among numeric program variables. We present a new approach for automatically generating all polynomial invariants of a class of such programs. Our approach turns programs into linear ordinary recurrence equations and computes closed form solutions of these equations. These closed forms express the most precise inductive property, and hence invariant. We apply Gröbner basis computation to obtain a basis of the polynomial invariant ideal, yielding thus a finite representation of all polynomial invariants. Our work significantly extends the class of so-called P-solvable loops by handling multiplication with the loop counter variable. We implemented our method in the Mathematica package Aligator and showcase the practical use of our approach.

Schlagworte:
program analysis, loop invariants, recurrence relations, hypergeometric sequences


"Offizielle" elektronische Version der Publikation (entsprechend ihrem Digital Object Identifier - DOI)
http://dx.doi.org/10.1145/3087604.3087623

Elektronische Version der Publikation:
http://publik.tuwien.ac.at/files/publik_266170.pdf


Erstellt aus der Publikationsdatenbank der Technischen Universität Wien.