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 PisEmptyProof (⇔)
↳26 TRUE
↳27 QDP
↳28 QDPOrderProof (⇔)
↳29 QDP
↳30 PisEmptyProof (⇔)
↳31 TRUE
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
APP(app(sub, app(s, x)), app(s, y)) → APP(app(sub, x), y)
APP(app(sub, app(s, x)), app(s, y)) → APP(sub, x)
APP(app(gtr, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
APP(app(gtr, app(s, x)), app(s, y)) → APP(gtr, x)
APP(app(d, app(s, x)), app(s, y)) → APP(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
APP(app(d, app(s, x)), app(s, y)) → APP(app(if, app(app(gtr, x), y)), false)
APP(app(d, app(s, x)), app(s, y)) → APP(if, app(app(gtr, x), y))
APP(app(d, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
APP(app(d, app(s, x)), app(s, y)) → APP(gtr, x)
APP(app(d, app(s, x)), app(s, y)) → APP(app(d, app(s, x)), app(app(sub, y), x))
APP(app(d, app(s, x)), app(s, y)) → APP(app(sub, y), x)
APP(app(d, app(s, x)), app(s, y)) → APP(sub, y)
APP(len, app(app(cons, x), xs)) → APP(s, app(len, xs))
APP(len, app(app(cons, x), xs)) → APP(len, xs)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs)))
APP(app(filter, p), app(app(cons, x), xs)) → APP(if, app(p, x))
APP(app(filter, p), app(app(cons, x), xs)) → APP(p, x)
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(cons, x), app(app(filter, p), xs))
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(filter, p), xs)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
APP(len, app(app(cons, x), xs)) → APP(len, xs)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
len1(cons(x, xs)) → len1(xs)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(len, app(app(cons, x), xs)) → APP(len, xs)
trivial
cons2: [1,2]
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
APP(app(gtr, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
gtr1(s(x), s(y)) → gtr1(x, y)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(gtr, app(s, x)), app(s, y)) → APP(app(gtr, x), y)
s1 > gtr11
gtr11: [1]
s1: [1]
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
APP(app(sub, app(s, x)), app(s, y)) → APP(app(sub, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
sub1(s(x), s(y)) → sub1(x, y)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(sub, app(s, x)), app(s, y)) → APP(app(sub, x), y)
s1 > sub11
sub11: [1]
s1: [1]
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
APP(app(d, app(s, x)), app(s, y)) → APP(app(d, app(s, x)), app(app(sub, y), x))
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
d1(s(x), s(y)) → d1(s(x), sub(y, x))
sub(x, 0) → x
sub(s(x), s(y)) → sub(x, y)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(d, app(s, x)), app(s, y)) → APP(app(d, app(s, x)), app(app(sub, y), x))
d11 > s1
0 > s1
d11: [1]
s1: [1]
0: []
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(filter, p), xs)
APP(app(filter, p), app(app(cons, x), xs)) → APP(p, x)
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP(app(filter, p), app(app(cons, x), xs)) → APP(app(filter, p), xs)
APP(app(filter, p), app(app(cons, x), xs)) → APP(p, x)
[app2, filter] > [APP2, cons]
APP2: [2,1]
app2: [2,1]
filter: []
cons: []
app(app(app(if, true), xs), ys) → xs
app(app(app(if, false), xs), ys) → ys
app(app(sub, x), 0) → x
app(app(sub, app(s, x)), app(s, y)) → app(app(sub, x), y)
app(app(gtr, 0), y) → false
app(app(gtr, app(s, x)), 0) → true
app(app(gtr, app(s, x)), app(s, y)) → app(app(gtr, x), y)
app(app(d, x), 0) → true
app(app(d, app(s, x)), app(s, y)) → app(app(app(if, app(app(gtr, x), y)), false), app(app(d, app(s, x)), app(app(sub, y), x)))
app(len, nil) → 0
app(len, app(app(cons, x), xs)) → app(s, app(len, xs))
app(app(filter, p), nil) → nil
app(app(filter, p), app(app(cons, x), xs)) → app(app(app(if, app(p, x)), app(app(cons, x), app(app(filter, p), xs))), app(app(filter, p), xs))
app(app(app(if, true), x0), x1)
app(app(app(if, false), x0), x1)
app(app(sub, x0), 0)
app(app(sub, app(s, x0)), app(s, x1))
app(app(gtr, 0), x0)
app(app(gtr, app(s, x0)), 0)
app(app(gtr, app(s, x0)), app(s, x1))
app(app(d, x0), 0)
app(app(d, app(s, x0)), app(s, x1))
app(len, nil)
app(len, app(app(cons, x0), x1))
app(app(filter, x0), nil)
app(app(filter, x0), app(app(cons, x1), x2))