1,930 research outputs found

    Dynamic Features of Topographical Multiset Orderings for Terms

    Get PDF
    Multiset orderings are usually used to prove the termination of production systems in comparing elements directly with respect to a given precedence ordering. Topographical multiset orderings are based on the position of elements in the graph induced by the precedence. This concept results in more flexible and stronger multiset orderings. To support. the dynamic aspect of incremental refinement of a multiset ordering the notion of Depth Graphs is introduced. This concept leads to the use of a graph of which the nodes are terms [instead of constants and function symbols]. It replaces the standard precedence graph. Moreover, it can be used to define a new recursive decomposition ordering on terms which is stronger than the original one

    Termination proofs by multiset path orderings imply primitive recursive derivation lengths

    Get PDF
    AbstractIt is shown that a termination proof for a term-rewriting system using multiset path orderings (i.e. recursive path orderings with multiset status only) yields a primitive recursive bound on the length of derivations, measured in the size of the starting term, confirming a conjecture of Plaisted (1978). This result holds for a great variety of path orderings, including path of subterms ordering, recursive decomposition ordering, and the path ordering of Kapur (1985) if lexicographic status is not incorporated. The result is essentially optimal as such derivation lengths can be found in each level of the Grzegorczyk hierarchy, even for string-rewriting systems

    On the formalization of termination techniques based on multiset orderings

    Get PDF
    Multiset orderings are a key ingredient in certain termination techniques like the recursive path ordering and a variant of size-change termination. In order to integrate these techniques in a certifier for termination proofs, we have added them to the Isabelle Formalization of Rewriting. To this end, it was required to extend the existing formalization on multiset orderings towards a generalized multiset ordering. Afterwards, the soundness proofs of both techniques have been established, although only after fixing some definitions. Concerning efficiency, it is known that the search for suitable parameters for both techniques is NP-hard. We show that checking the correct application of the techniques-where all parameters are provided-is also NP-hard, since the problem of deciding the generalized multiset ordering is NP-hard. © René Thiemann, Guillaume Allais, and JulianNagele

    Higher-Order Termination: from Kruskal to Computability

    Get PDF
    Termination is a major question in both logic and computer science. In logic, termination is at the heart of proof theory where it is usually called strong normalization (of cut elimination). In computer science, termination has always been an important issue for showing programs correct. In the early days of logic, strong normalization was usually shown by assigning ordinals to expressions in such a way that eliminating a cut would yield an expression with a smaller ordinal. In the early days of verification, computer scientists used similar ideas, interpreting the arguments of a program call by a natural number, such as their size. Showing the size of the arguments to decrease for each recursive call gives a termination proof of the program, which is however rather weak since it can only yield quite small ordinals. In the sixties, Tait invented a new method for showing cut elimination of natural deduction, based on a predicate over the set of terms, such that the membership of an expression to the predicate implied the strong normalization property for that expression. The predicate being defined by induction on types, or even as a fixpoint, this method could yield much larger ordinals. Later generalized by Girard under the name of reducibility or computability candidates, it showed very effective in proving the strong normalization property of typed lambda-calculi..

    Complexity Bounds for Ordinal-Based Termination

    Full text link
    `What more than its truth do we know if we have a proof of a theorem in a given formal system?' We examine Kreisel's question in the particular context of program termination proofs, with an eye to deriving complexity bounds on program running times. Our main tool for this are length function theorems, which provide complexity bounds on the use of well quasi orders. We illustrate how to prove such theorems in the simple yet until now untreated case of ordinals. We show how to apply this new theorem to derive complexity bounds on programs when they are proven to terminate thanks to a ranking function into some ordinal.Comment: Invited talk at the 8th International Workshop on Reachability Problems (RP 2014, 22-24 September 2014, Oxford

    The Light Lexicographic path Ordering

    Full text link
    We introduce syntactic restrictions of the lexicographic path ordering to obtain the Light Lexicographic Path Ordering. We show that the light lexicographic path ordering leads to a characterisation of the functions computable in space bounded by a polynomial in the size of the inputs
    • …
    corecore