Beyond polynomials and Peano arithmetic - automation of elementary and ordinal interpretations

Kirby and Paris (1982) proved in a celebrated paper that a theorem of Goodstein (1944) cannot be established in Peano arithmetic. We present an encoding of Goodstein's theorem as a termination problem of a finite rewrite system. Using a novel implementation of algebras based on ordinal interpretations, we are able to automatically prove termination of this system, resulting in the first automatic termination proof for a system whose derivational complexity is not multiple recursive. Our method can also cope with the encoding by Touzet (1998) of the battle of Hercules and Hydra as well as a (corrected) encoding by Beklemishev (2006) of the Worm battle, two further systems which have been out of reach for automatic tools, until now. Based on our ideas of implementing ordinal algebras we also present a new approach for the automation of elementary interpretations for termination analysis.

[1]  Nao Hirokawa,et al.  Tyrolean Termination Tool , 2005, RTA.

[2]  Aart Middeldorp,et al.  Tyrolean Termination Tool 2 , 2009, RTA.

[3]  G. Gentzen Die Widerspruchsfreiheit der reinen Zahlentheorie , 1936 .

[4]  Nao Hirokawa,et al.  Polynomial Interpretations with Negative Coefficients , 2004, AISC.

[5]  Hans Zantema,et al.  The Termination Hierarchy for Term Rewriting , 2001, Applicable Algebra in Engineering, Communication and Computing.

[6]  A. M. Turing,et al.  Checking a large routine , 1989 .

[7]  Chang Liu,et al.  Term rewriting and all that , 2000, SOEN.

[8]  Claude Marché,et al.  Mechanically Proving Termination Using Polynomial Interpretations , 2005, Journal of Automated Reasoning.

[9]  Lev D. Beklemishev Representing Worms as a term rewriting system , 2006 .

[10]  J. Paris,et al.  Accessible Independence Results for Peano Arithmetic , 1982 .

[11]  Enno Ohlebusch,et al.  Term Rewriting Systems , 2002 .

[12]  Andrei Voronkov,et al.  On Transfinite Knuth-Bendix Orders , 2011, CADE.

[13]  Nachum Dershowitz,et al.  The Hydra Battle Revisited , 2007, Rewriting, Computation and Proof.

[14]  Aart Middeldorp,et al.  Ordinals and Knuth-Bendix Orders , 2012, LPAR.

[15]  Ingo Lepper,et al.  Derivation lengths and order types of Knuth-Bendix orders , 2001, Theor. Comput. Sci..

[16]  R. L. Goodstein,et al.  On the restricted ordinal theorem , 1944, Journal of Symbolic Logic.

[17]  Aart Middeldorp,et al.  Satisfiability of Non-linear (Ir)rational Arithmetic , 2010, LPAR.

[18]  Pierre Lescanne,et al.  Termination of rewrite systems by elementary interpretations , 1992, Formal Aspects of Computing.

[19]  Hans Zantema,et al.  Matrix Interpretations for Proving Termination of Term Rewriting , 2006, Journal of Automated Reasoning.

[20]  Ingo Lepper,et al.  Simply terminating rewrite systems with long derivations , 2004, Arch. Math. Log..

[21]  Nachum Dershowitz,et al.  Trees, Ordinals and Termination , 1993, TAPSOFT.

[22]  Georg Moser,et al.  The Hydra battle and Cichon’s principle , 2009, Applicable Algebra in Engineering, Communication and Computing.

[23]  Aart Middeldorp,et al.  Beyond Peano Arithmetic - Automatically Proving Termination of the Goodstein Sequence , 2013, RTA.

[24]  Hoon Hong,et al.  Testing Positiveness of Polynomials , 1998, Journal of Automated Reasoning.

[25]  E. Cichon A short proof of two recently discovered independence results using recursion theoretic methods , 1983 .

[26]  Panagiotis Manolios,et al.  Ordinal Arithmetic: Algorithms and Mechanization , 2005, Journal of Automated Reasoning.

[27]  Andreas Weiermann,et al.  Termination Proofs for Term Rewriting Systems by Lexicographic Path Orderings Imply Multiply Recursive Derivation Lengths , 1995, Theor. Comput. Sci..

[28]  Georg Moser,et al.  The Derivational Complexity Induced by the Dependency Pair Method , 2009, RTA.

[29]  Jürgen Giesl,et al.  SAT Solving for Termination Analysis with Polynomial Interpretations , 2007, SAT.

[30]  Winfried Just,et al.  Discovering Modern Set Theory. I: The Basics , 1995 .

[31]  Mitsuhiro Okada,et al.  A Relationship Among Gentzen's Proof‐Reduction, Kirby‐Paris' Hydra Game and Buchholz's Hydra Game , 1995, Math. Log. Q..

[32]  Rudolf Fleischer,et al.  Die Another Day , 2007, Theory of Computing Systems.

[33]  D. R. Hartree,et al.  Automatic Calculating Machines , 1950 .

[34]  Hélène Touzet,et al.  Encoding the Hydra Battle as a Rewrite System , 1998, MFCS.

[35]  Antoine Miné,et al.  An Abstract Domain to Infer Ordinal-Valued Ranking Functions , 2014, ESOP.

[36]  Aart Middeldorp,et al.  Termination Tools in Ordered Completion , 2010, IJCAR.

[37]  Dieter Hofbauer,et al.  Termination Proofs and the Length of Derivations (Preliminary Version) , 1989, RTA.

[38]  Salvador Lucas,et al.  Automatic Proofs of Termination With Elementary Interpretations , 2009, PROLE.