Faculty of Information Technology, BUT

Publication Details

Automata-Based Termination Proofs

IOSIF Radu and ROGALEWICZ Adam. Automata-Based Termination Proofs. Computing and Informatics, vol. 2013, no. 4, pp. 739-775. ISSN 1335-9150.
Czech title
Dokazování konečnosti programů založené na automatech
Type
journal article
Language
english
Authors
URL
Keywords
Formal verification, Termination, Buchi automata, Tree automata, Programs with pointers
Abstract
This paper proposes a framework for detecting termination of programs handling infinite and complex data domains, such as pointer structures. In this framework, the user has to specify a finite number of well-founded relations on the data domain manipulated by these programs. Our tool then builds an initial abstraction of the program, which is checked for existence of potential infinite runs, by testing emptiness of its intersection with a predefined Buchi automaton. If the intersection is non-empty, a lasso-shaped counterexample is found. This counterexample is checked for spuriousness by a domain-specific procedure, and in case it is found to be spurious, the abstraction is refined, again by intersection with the complement of the Buchi automaton representing the lasso. We have instantiated the framework for programs handling tree-like data structures, which allowed us to prove termination of programs such as the depth-first tree traversal, the Deutsch-Schorr-Waite tree traversal, or the linking leaves algorithm.
Published
2013
Pages
739-775
Journal
Computing and Informatics, vol. 2013, no. 4, ISSN 1335-9150
Publisher
Slovak Academic Press
BibTeX
@ARTICLE{FITPUB10332,
   author = "Radu Iosif and Adam Rogalewicz",
   title = "Automata-Based Termination Proofs",
   pages = "739--775",
   journal = "Computing and Informatics",
   volume = 2013,
   number = 4,
   year = 2013,
   ISSN = "1335-9150",
   language = "english",
   url = "https://www.fit.vut.cz/research/publication/10332"
}
Back to top