Synthesis of ranking functions using extremal counterexamples

Abstract : We present a complete method for synthesizing lexicographic linear ranking functions (and thus proving termination), supported by inductive invariants, in the case where the transition relation of the program includes disjunctions and existentials (large block encoding of control flow). Previous work would either synthesize a ranking function at every basic block head, not just loop headers, which reduces the scope of programs that may be proved to be terminating, or expand large block transitions including tests into (exponentially many) elementary transitions, prior to computing the ranking function, resulting in a very large global constraint system. In contrast, our algorithm incrementally refines a global linear constraint system according to extremal counterexamples: only constraints that exclude spurious solutions are included. Experiments with our tool Termite show marked performance and scalability improvements compared to other systems.
Type de document :
Communication dans un congrès
Programming Languages, Design and Implementation, Jun 2015, Portland, Oregon, United States. 〈10.1145/2737924.2737976〉
Liste complète des métadonnées

Littérature citée [38 références]  Voir  Masquer  Télécharger

https://hal.archives-ouvertes.fr/hal-01144622
Contributeur : Laure Gonnord <>
Soumis le : mercredi 22 avril 2015 - 11:24:31
Dernière modification le : mercredi 12 octobre 2016 - 01:27:59
Document(s) archivé(s) le : mercredi 19 avril 2017 - 02:40:16

Fichier

PLDI15_termite_authorVersion.p...
Fichiers produits par l'(les) auteur(s)

Licence


Distributed under a Creative Commons Paternité 4.0 International License

Identifiants

Collections

Citation

Laure Gonnord, David Monniaux, Gabriel Radanne. Synthesis of ranking functions using extremal counterexamples. Programming Languages, Design and Implementation, Jun 2015, Portland, Oregon, United States. 〈10.1145/2737924.2737976〉. 〈hal-01144622〉

Partager

Métriques

Consultations de
la notice

704

Téléchargements du document

344