On the complexity of recursive path orderings (Q685537)

From MaRDI portal
scientific article
Language Label Description Also known as
English
On the complexity of recursive path orderings
scientific article

    Statements

    On the complexity of recursive path orderings (English)
    0 references
    0 references
    9 January 1994
    0 references
    We give a fast method for generating reduced sets of rewrite rules equivalent to a given set of ground equations. Since reduced sets of ground rewrite rules are in fact canonical, this is an efficient Knuth- Bendix procedure for the ground case. The dominant cost of the algorithm is for congruence closure, so the method runs in \(O(n \log n)\) time and quadratic space, or in \(O(n(\log n)^ \land 2)\) time and linear space, where \(n\) is the number of occurrences of symbols in the original set of ground equations \(E\). We also show how our method provides a precise characterization of the (finite) collection of all reduced sets of rewrite rules equivalent to a given ground set of equations \(E\), and prove that our algorithm is complete in the sense that it can enumerate every member of this collection. Finally, we show that a modified version of this procedure can produce a reduced ground rewriting system contained in the lexicographic path ordering generated by a given total precedence ordering on the symbols of \(E\), still in a worst-case time of \(O(n \log n)\).
    0 references
    0 references
    0 references
    0 references
    0 references
    Knuth-Bendix procedure
    0 references
    ground case
    0 references
    path ordering
    0 references