Abstract
Primitive recursion is a well known syntactic restriction on recursive definitions which guarantees termination. Unfortunately many natural definitions, such as the most common definition of Euclid's GCD algorithm, are not primitive recursive. Walther has recently given a proof system for verifying termination of a broader class of definitions. Although Walther's system is highly automatible, the class of acceptable definitions remains only semi-decidable. Here we simplify Walther's calculus and give a syntactic criterion on definitions which guarantees termination. This syntactic criteria generalizes primitive recursion and handles most of the examples given by Walther. We call the corresponding class of acceptable definitions “Walther recursive”.
Preview
Unable to display preview. Download preview PDF.
References
A. Aiken, E. Wimmers, and T.K. Lakshman. Soft typing with conditional types. In ACM Symposium on Principles of Programming Langages, pages 163–173. Association for Computing Machinery, 1994.
Robert S. Boyer and J Struther Moore. A Computational Logic. ACM Monograph Series. Academic Press, 1979.
N. Dershowitz and J.P. Jouannaud. Rewrite systems. In J. van Leeuwen, editor, Handbook of Theoretical Computer Science, Volume B: Formal Models and Semantics, pages 243–320. MIT Press, 1990.
Nachum Dershowitz. Orderings for term-rewriting systems. Theoretical Computer Science, August 1979.
Thom Frühwirth, Ehud Shapiro, Moshe Vardi, and Eyal Yardeni. Logic programs as types for logic programs. In Proceedings, Sixth Annual IEEE Symposium on Logic in Computer Science, pages 75–83. IEEE Computer Society Press, 1991.
N. Heintze. Set based analysis of ML programs. In ACM Conference on Lisp and Functional Programming, pages 306–317, 1994.
M. O. Rabin. Decidability of second order theories and automata on infinite trees. Trans. of Amer. Math. Soc., 141:1–35, 1969.
W. Thomas. Automata on infinite objects. In Handbook of Theoretical Computer Science, Volume B, Formal Methods and Semantics, pages 133–164. MIT Press, 1990.
Cristoph Walther. On proving termination of algorithms by machine. Artificial Intelligence, 71(1):101–157, 1994.
webmaster@cli.com. Home page for computational logic incorporated. http://www.cli.com/index.html.
Javier Thayer, William Farmer, Joshua Guttman. Imps: An interactive mathematical proof system. In CADE-10, pages 653–654. Springer-Verlag, 1990.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1996 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
McAllester, D., Arkoudas, K. (1996). Walther recursion. In: McRobbie, M.A., Slaney, J.K. (eds) Automated Deduction — Cade-13. CADE 1996. Lecture Notes in Computer Science, vol 1104. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-61511-3_119
Download citation
DOI: https://doi.org/10.1007/3-540-61511-3_119
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-61511-8
Online ISBN: 978-3-540-68687-3
eBook Packages: Springer Book Archive