0 QTRS
↳1 Overlay + Local Confluence (⇔)
↳2 QTRS
↳3 DependencyPairsProof (⇔)
↳4 QDP
↳5 DependencyGraphProof (⇔)
↳6 AND
↳7 QDP
↳8 QDPOrderProof (⇔)
↳9 QDP
↳10 PisEmptyProof (⇔)
↳11 TRUE
↳12 QDP
↳13 QDPOrderProof (⇔)
↳14 QDP
↳15 PisEmptyProof (⇔)
↳16 TRUE
↳17 QDP
↳18 QDPOrderProof (⇔)
↳19 QDP
↳20 PisEmptyProof (⇔)
↳21 TRUE
↳22 QDP
↳23 QDPOrderProof (⇔)
↳24 QDP
↳25 QDPOrderProof (⇔)
↳26 QDP
↳27 PisEmptyProof (⇔)
↳28 TRUE
↳29 QDP
↳30 QDPOrderProof (⇔)
↳31 QDP
↳32 PisEmptyProof (⇔)
↳33 TRUE
↳34 QDP
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
APP(app(lt, app(s, x)), app(s, y)) → APP(app(lt, x), y)
APP(app(lt, app(s, x)), app(s, y)) → APP(lt, x)
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys))))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(if, app(app(lt, x), y))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(lt, x), y)
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(lt, x)
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, xs), app(app(cons, y), ys))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(merge, xs)
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys)))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys)))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(if, app(app(eq, x), y))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(eq, x), y)
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(eq, x)
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(cons, x), app(app(merge, xs), ys))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, xs), ys)
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, app(app(cons, x), xs)), ys)
APP(app(map, f), app(app(cons, x), xs)) → APP(app(cons, app(f, x)), app(app(map, f), xs))
APP(app(map, f), app(app(cons, x), xs)) → APP(cons, app(f, x))
APP(app(map, f), app(app(cons, x), xs)) → APP(f, x)
APP(app(map, f), app(app(cons, x), xs)) → APP(app(map, f), xs)
APP(app(mult, app(s, x)), y) → APP(app(plus, y), app(app(mult, x), y))
APP(app(mult, app(s, x)), y) → APP(plus, y)
APP(app(mult, app(s, x)), y) → APP(app(mult, x), y)
APP(app(mult, app(s, x)), y) → APP(mult, x)
APP(app(plus, app(s, x)), y) → APP(s, app(app(plus, x), y))
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
APP(app(plus, app(s, x)), y) → APP(plus, x)
LIST1 → APP(app(map, app(mult, app(s, app(s, 0)))), hamming)
LIST1 → APP(map, app(mult, app(s, app(s, 0))))
LIST1 → APP(mult, app(s, app(s, 0)))
LIST1 → APP(s, app(s, 0))
LIST1 → APP(s, 0)
LIST1 → HAMMING
LIST2 → APP(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
LIST2 → APP(map, app(mult, app(s, app(s, app(s, 0)))))
LIST2 → APP(mult, app(s, app(s, app(s, 0))))
LIST2 → APP(s, app(s, app(s, 0)))
LIST2 → APP(s, app(s, 0))
LIST2 → APP(s, 0)
LIST2 → HAMMING
LIST3 → APP(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
LIST3 → APP(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0)))))))
LIST3 → APP(mult, app(s, app(s, app(s, app(s, app(s, 0))))))
LIST3 → APP(s, app(s, app(s, app(s, app(s, 0)))))
LIST3 → APP(s, app(s, app(s, app(s, 0))))
LIST3 → APP(s, app(s, app(s, 0)))
LIST3 → APP(s, app(s, 0))
LIST3 → APP(s, 0)
LIST3 → HAMMING
HAMMING → APP(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
HAMMING → APP(cons, app(s, 0))
HAMMING → APP(s, 0)
HAMMING → APP(app(merge, list1), app(app(merge, list2), list3))
HAMMING → APP(merge, list1)
HAMMING → LIST1
HAMMING → APP(app(merge, list2), list3)
HAMMING → APP(merge, list2)
HAMMING → LIST2
HAMMING → LIST3
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
plus1(s(x), y) → plus1(x, y)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(plus, app(s, x)), y) → APP(app(plus, x), y)
s1 > plus11
plus11: multiset
s1: multiset
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
APP(app(mult, app(s, x)), y) → APP(app(mult, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
mult1(s(x), y) → mult1(x, y)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(mult, app(s, x)), y) → APP(app(mult, x), y)
s1 > mult11
s1: multiset
mult11: multiset
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
APP(app(lt, app(s, x)), app(s, y)) → APP(app(lt, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
lt1(s(x), s(y)) → lt1(x, y)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(lt, app(s, x)), app(s, y)) → APP(app(lt, x), y)
s1 > lt11
s1: multiset
lt11: multiset
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, xs), ys)
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, xs), app(app(cons, y), ys))
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, app(app(cons, x), xs)), ys)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
merge1(cons(x, xs), cons(y, ys)) → merge1(xs, ys)
merge1(cons(x, xs), cons(y, ys)) → merge1(xs, cons(y, ys))
merge1(cons(x, xs), cons(y, ys)) → merge1(cons(x, xs), ys)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, xs), ys)
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, xs), app(app(cons, y), ys))
trivial
cons1: multiset
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, app(app(cons, x), xs)), ys)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
merge1(cons(x, xs), cons(y, ys)) → merge1(cons(x, xs), ys)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → APP(app(merge, app(app(cons, x), xs)), ys)
cons1 > merge11
cons1: multiset
merge11: multiset
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
APP(app(map, f), app(app(cons, x), xs)) → APP(app(map, f), xs)
APP(app(map, f), app(app(cons, x), xs)) → APP(f, x)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(map, f), app(app(cons, x), xs)) → APP(app(map, f), xs)
APP(app(map, f), app(app(cons, x), xs)) → APP(f, x)
app2 > map > APP1
cons > map > APP1
APP1: multiset
cons: multiset
map: multiset
app2: multiset
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming
LIST1 → HAMMING
HAMMING → LIST1
HAMMING → LIST2
LIST2 → HAMMING
HAMMING → LIST3
LIST3 → HAMMING
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(lt, app(s, x)), app(s, y)) → app(app(lt, x), y)
app(app(lt, 0), app(s, y)) → true
app(app(lt, y), 0) → false
app(app(eq, x), x) → true
app(app(eq, app(s, x)), 0) → false
app(app(eq, 0), app(s, x)) → false
app(app(merge, xs), nil) → xs
app(app(merge, nil), ys) → ys
app(app(merge, app(app(cons, x), xs)), app(app(cons, y), ys)) → app(app(app(if, app(app(lt, x), y)), app(app(cons, x), app(app(merge, xs), app(app(cons, y), ys)))), app(app(app(if, app(app(eq, x), y)), app(app(cons, x), app(app(merge, xs), ys))), app(app(cons, y), app(app(merge, app(app(cons, x), xs)), ys))))
app(app(map, f), nil) → nil
app(app(map, f), app(app(cons, x), xs)) → app(app(cons, app(f, x)), app(app(map, f), xs))
app(app(mult, 0), x) → 0
app(app(mult, app(s, x)), y) → app(app(plus, y), app(app(mult, x), y))
app(app(plus, 0), x) → 0
app(app(plus, app(s, x)), y) → app(s, app(app(plus, x), y))
list1 → app(app(map, app(mult, app(s, app(s, 0)))), hamming)
list2 → app(app(map, app(mult, app(s, app(s, app(s, 0))))), hamming)
list3 → app(app(map, app(mult, app(s, app(s, app(s, app(s, app(s, 0))))))), hamming)
hamming → app(app(cons, app(s, 0)), app(app(merge, list1), app(app(merge, list2), list3)))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(lt, app(s, x0)), app(s, x1))
app(app(lt, 0), app(s, x0))
app(app(lt, x0), 0)
app(app(eq, x0), x0)
app(app(eq, app(s, x0)), 0)
app(app(eq, 0), app(s, x0))
app(app(merge, x0), nil)
app(app(merge, nil), x0)
app(app(merge, app(app(cons, x0), x1)), app(app(cons, x2), x3))
app(app(map, x0), nil)
app(app(map, x0), app(app(cons, x1), x2))
app(app(mult, 0), x0)
app(app(mult, app(s, x0)), x1)
app(app(plus, 0), x0)
app(app(plus, app(s, x0)), x1)
list1
list2
list3
hamming