Walther Recursion

Primitive recursion is a well known syntactic restriction on recursive deenitions which guarantees termination. Unfortunately many natural deenitions, such as the most common deenition of Euclid's GCD algorithm, are not primitive recursive. Walther has recently given a proof system for verifying termination of a broader class of deenitions. Although Walther's system is highly automatible, the class of acceptable deenitions remains only semi-decidable. Here we simplify Walther's calculus and give a syntactic criterion on deenitions 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 deenitions \Walther recursive".

[1]  M. Rabin Decidability of second-order theories and automata on infinite trees. , 1969 .

[2]  Nachum Dershowitz,et al.  Orderings for term-rewriting systems , 1979, 20th Annual Symposium on Foundations of Computer Science (sfcs 1979).

[3]  Nachum Dershowitz Orderings for Term-Rewriting Systems , 1979, FOCS.

[4]  Wolfgang Thomas,et al.  Automata on Infinite Objects , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[5]  Jean-Pierre Jouannaud,et al.  Rewrite Systems , 1991, Handbook of Theoretical Computer Science, Volume B: Formal Models and Sematics.

[6]  William M. Farmer,et al.  IMPS: An Interactive Mathematical Proof System , 1990, CADE.

[7]  Robert S. Boyer,et al.  Computational Logic , 1990, ESPRIT Basic Research Series.

[8]  Thom W. Frühwirth,et al.  Logic programs as types for logic programs , 1991, [1991] Proceedings Sixth Annual IEEE Symposium on Logic in Computer Science.

[9]  Nevin Heintze,et al.  Set-based analysis of ML programs , 1994, LFP '94.

[10]  Alexander Aiken,et al.  Soft typing with conditional types , 1994, POPL '94.

[11]  Christoph Walther,et al.  On Proving the Termination of Algorithms by Machine , 1994, Artif. Intell..