A Proof of Weak Termination Providing the Right Way to Terminate [chapter]

Olivier Fissore, Isabelle Gnaedig, Hélène Kirchner
2005 Lecture Notes in Computer Science  
We give an inductive method for proving weak innermost termination of rule-based programs, from which we automatically infer, for each successful proof, a finite strategy for data evaluation. We first present the proof principle, using an explicit induction on the termination property, to prove that any input data has at least one finite evaluation. For that, we observe proof trees built from the rewrite system, schematizing the innermost rewriting tree of any ground term, and generated with
more » ... mechanisms: abstraction, schematizing normalization of subterms, and narrowing, schematizing rewriting steps. Then, we show how, for any ground term, a normalizing rewriting strategy can be extracted from the proof trees, even if the ground term admits infinite rewriting derivations. f (g(X7), g(X7)) Abstract J / / f (h(X9, 0), s(0)) Abstract f (X11, X12) Narrow,(2) σ = (X11 = g(X14) ∧ X12 = s(X15)) ∧(X14 = s(X16) ∧ X14 = 0) f (X13, s(0)) N arrow,(1)
doi:10.1007/978-3-540-31862-0_26 fatcat:xhv2g5ilvbamjgx6idnfj6nit4