Abstract
The following known observation is useful in establishing program termination: if a transitive relation R is covered by finitely many well-founded relations U1,…,Un then R is well-founded. A question arises how to bound the ordinal height |R| of the relation R in terms of the ordinals αi = |Ui|. We introduce the notion of the stature ∥P∥ of a well partial ordering P and show that |R| ≤ ∥α1 × … × αn∥ and that this bound is tight. The notion of stature is of considerable independent interest. We define ∥ P ∥ as the ordinal height of the forest of nonempty bad sequences of P, but it has many other natural and equivalent definitions. In particular, ∥ P ∥ is the supremum, and in fact the maximum, of the lengths of linearizations of P. And ∥α1 × … × αn∥ is equal to the natural product α1 ⊗ … ⊗ αn.
- Aschenbrenner, M. and Pong, W. Y. 2004. Orderings of monomial ideals. Fund. Math. 181, 27--74.Google ScholarCross Ref
- Berdine, J., Chawdhary, A., Cook, B., Distefano, D., and O'Hearn, P. 2007. Variance analyses from invariance analyses. In Proceedings of the 2007 ACM Symposium on Principles of Programming Languages (POPL 2007). Google ScholarDigital Library
- Bruynooghe, M., Codish, M., Gallagher, J. P., Genaim, S., and Vanhoof, W. 2006. Termination analysis of logic programs through combination of type-based norms. ACM Trans. Programm. Lang. Syst., To appear. Google ScholarDigital Library
- Carruth, P. W. 1942. Arithmetic of ordinals with applications to the theory of ordered Abelian groups. Bull. Amer. Math. Soc. 48, 262--271.Google ScholarCross Ref
- Codish, M., Genaim, S., Bruynooghe, M., Gallagher, J. P., and Vanhoof, W. 2003. One loop at a time. In Proceedings of the 2003 International Workshop on Termination (WST 2003). 1--4. Available online at http://www.dsic.upv.es/~rdp03/procs/WST03all.pdf.Google Scholar
- Cook, B. 2005. Private communication.Google Scholar
- Cook, B., Podelski, A., and Rybalchenko, A. 2006. Termination proofs for systems code. In Proceedings of the 2006 ACM Conference on Programming Language Design and Implementation (PLDI 2006). 415--426. Google ScholarDigital Library
- de Jongh, D. H. J. and Parikh, R. 1977. Well-partial orderings and hierarchies. Nederl. Akad. Wetensch. Proc. Ser. A 80-Indag. Math. 39, 195--207.Google ScholarCross Ref
- Delhommé, C. 2006. Height of a superposition. Order 23, 221--233.Google ScholarCross Ref
- Dershowitz, N., Lindenstrauss, N., Sagiv, Y., and Serebrenik, A. 2001. A general framework for automatic termination analysis of logic programs. Applic. Alg. Eng. Commun. Comput. 12, 1/2, 117--156.Google Scholar
- Doornbos, H. and von Karger, B. 1998. On the union of well-founded relations. Log. J. IGPL 6, 195-201.Google ScholarCross Ref
- Dushnik, B. and Miller, E. W. 1941. Partially ordered sets. Amer. J. Math. 63, 600--610.Google ScholarCross Ref
- Geser, A. 1990. Relative Termination. Doctoral dissertation. University of Passau, Passau, Germany.Google Scholar
- Gurevich, Y. 1969. The decision problem for logic of predicates and operations. Algebra i Logika 8, 284--308 (Russian). English translation in Alg. Logic 8, 160--174.Google Scholar
- Hausdorff, F. 1927. Mengenlehre, 2nd ed. de Gruyter, Berlin, Germany.Google Scholar
- Hessenberg, G. 1906. Grundbegriffe der Mengenlehre. Vandenhoeck & Ruprecht, Gööttingen, Germany.Google Scholar
- Higman, G. 1952. Ordering by divisibility in abstract algebras. Proc. London Math. Soc. 3, 2 326--336.Google ScholarCross Ref
- Janet, M. 1920. Sur les systèmes d'équations au dérivées partielles. J. Math. Pures et Appliq. Série 8, 3, 65--151.Google Scholar
- Kříž, I. and Thomas, R. 1990. Ordinal types in Ramsey theory and well-partial-ordering theory. In Mathematics of Ramsey Theory, J. Nešetřil and V. Rödl, Eds. Springer-Verlag, Berlin, Germany, 57--95.Google Scholar
- Kruskal, J. B. 1960. Well-quasi-ordering, the tree theorem, and Vazsonyi's conjecture. Trans. Amer. Math. Soc. 95, 210--225.Google Scholar
- Kruskal, J. B. 1972. The theory of well-quasi-ordering: A frequently discovered concept. J. Comb. Theory A 13, 297--305.Google ScholarCross Ref
- Lee, C. S., Jones, N. D., and Ben-Amram, A. M. 2001. The size-change principle for program termination. In Proceedings of the 2001 ACM Symposium on Principles of Programming Languages (POPL 2001). 81--92. Google ScholarDigital Library
- Lescanne, P. 1989. Well quasi-ordering in a paper by Maurice Janet. Bull. EATCS 39, Oct., 185--188.Google Scholar
- Lescanne, P. (moderator). 2003. Rewriting mailing list. Archive of older contributions. Available online at http://www.ens-lyon.fr/LIP/REWRITING/CONTRIBUTIONS/.Google Scholar
- Michael, E. 1960. A class of partially ordered sets. Amer. Math. Monthly 67, 448--449.Google ScholarCross Ref
- Podelski, A. and Rybalchenko, A. 2004. Transition invariants. In Proceedings of 2004 IEEE Symposium on Logic in Computer Science (LICS 2004). 32--41. Google ScholarDigital Library
- Podelski, A. and Rybalchenko, A. 2005. Transition predicate abstraction and fair termination. In Proceedings of the 2005 ACM Symposium on Principles of Programming Languages (POPL 2005) 132--144. Google ScholarDigital Library
- Ramsey, F. P. 1930. On a problem of formal logic. Proc. London Math. Soc. (2nd ser.) 30, 234--286.Google Scholar
- Schmidt, D. 1979. Well-Partial Orderings and their Maximal Order Types. Habilitationsschrift, University of Heidelberg, Heidelberg, Germany.Google Scholar
- Zuckerman, M. M. 1974. Sets and Transfinite Numbers. Macmillan, New York, NY.Google Scholar
Index Terms
- Program termination and well partial orderings
Recommendations
Proving termination with multiset orderings
A common tool for proving the termination of programs is the well-founded set, a set ordered in such a way as to admit no infinite descending sequences. The basic approach is to find a termination function that maps the values of the program variables ...
Proving mutual termination
Two programs are said to be mutually terminating if they terminate on exactly the same inputs. We suggest inference rules and a proof system for proving mutual termination of a given pair of procedures $$\langle $$ $$f$$f, $$f'$$f $$\rangle $$ and the ...
Proving termination of nonlinear command sequences
AbstractWe describe a simple and efficient algorithm for proving the termination of a class of loops with nonlinear assignments to variables. The method is based on divergence testing for each variable in the cone-of-influence of the loop’s condition. The ...
Comments