app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
↳ QTRS
↳ DependencyPairsProof
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
APP'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(minus, x), y)
APP'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> APP'2(filter, f)
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(map, f), xs)
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(plus, x)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(quot, app'2(app'2(minus, x), y))
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(f, x)
APP'2(app'2(plus, app'2(s, x)), y) -> APP'2(app'2(plus, x), y)
APP'2(app'2(plus, app'2(s, x)), y) -> APP'2(s, app'2(app'2(plus, x), y))
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(app'2(filter2, app'2(f, x)), f), x)
APP'2(app'2(plus, app'2(s, x)), y) -> APP'2(plus, x)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(minus, x)
APP'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> APP'2(app'2(plus, y), z)
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(app'2(filter, f), xs)
APP'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> APP'2(plus, y)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(app'2(cons, app'2(app'2(plus, x), y)), l)
APP'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> APP'2(minus, x)
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(cons, app'2(app'2(plus, x), y))
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(app'2(cons, x), app'2(app'2(filter, f), xs))
APP'2(app'2(app, app'2(app'2(cons, x), l)), k) -> APP'2(app, l)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(minus, x), y)
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(cons, x)
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(f, x)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y))
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(app'2(plus, x), y)
APP'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> APP'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
APP'2(app'2(app, app'2(app'2(cons, x), l)), k) -> APP'2(app'2(cons, x), app'2(app'2(app, l), k))
APP'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> APP'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k))))
APP'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> APP'2(app'2(filter, f), xs)
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(filter, f)
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(cons, app'2(f, x))
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(filter2, app'2(f, x))
APP'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(filter2, app'2(f, x)), f)
APP'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> APP'2(app'2(minus, x), app'2(app'2(plus, y), z))
APP'2(app'2(app, app'2(app'2(cons, x), l)), k) -> APP'2(app'2(app, l), k)
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
APP'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(minus, x), y)
APP'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> APP'2(filter, f)
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(map, f), xs)
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(plus, x)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(quot, app'2(app'2(minus, x), y))
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(f, x)
APP'2(app'2(plus, app'2(s, x)), y) -> APP'2(app'2(plus, x), y)
APP'2(app'2(plus, app'2(s, x)), y) -> APP'2(s, app'2(app'2(plus, x), y))
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(app'2(filter2, app'2(f, x)), f), x)
APP'2(app'2(plus, app'2(s, x)), y) -> APP'2(plus, x)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(minus, x)
APP'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> APP'2(app'2(plus, y), z)
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(app'2(filter, f), xs)
APP'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> APP'2(plus, y)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(app'2(cons, app'2(app'2(plus, x), y)), l)
APP'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> APP'2(minus, x)
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(cons, app'2(app'2(plus, x), y))
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(app'2(cons, x), app'2(app'2(filter, f), xs))
APP'2(app'2(app, app'2(app'2(cons, x), l)), k) -> APP'2(app, l)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(minus, x), y)
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(cons, x)
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(f, x)
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y))
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(app'2(plus, x), y)
APP'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> APP'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
APP'2(app'2(app, app'2(app'2(cons, x), l)), k) -> APP'2(app'2(cons, x), app'2(app'2(app, l), k))
APP'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> APP'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k))))
APP'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> APP'2(app'2(filter, f), xs)
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(filter, f)
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(cons, app'2(f, x))
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(filter2, app'2(f, x))
APP'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(filter2, app'2(f, x)), f)
APP'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> APP'2(app'2(minus, x), app'2(app'2(plus, y), z))
APP'2(app'2(app, app'2(app'2(cons, x), l)), k) -> APP'2(app'2(app, l), k)
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP'2(app'2(app, app'2(app'2(cons, x), l)), k) -> APP'2(app'2(app, l), k)
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP'2(app'2(app, app'2(app'2(cons, x), l)), k) -> APP'2(app'2(app, l), k)
POL(APP'2(x1, x2)) = x1
POL(app) = 0
POL(app'2(x1, x2)) = 1 + x2
POL(cons) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP'2(app'2(plus, app'2(s, x)), y) -> APP'2(app'2(plus, x), y)
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP'2(app'2(plus, app'2(s, x)), y) -> APP'2(app'2(plus, x), y)
POL(APP'2(x1, x2)) = x1
POL(app'2(x1, x2)) = 1 + x2
POL(plus) = 0
POL(s) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> APP'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
POL(0) = 0
POL(APP'2(x1, x2)) = x2
POL(app'2(x1, x2)) = x1 + x2
POL(cons) = 1
POL(plus) = 0
POL(s) = 0
POL(sum) = 0
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
↳ QDP
↳ QDP
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> APP'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
APP'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(minus, x), y)
APP'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> APP'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> APP'2(app'2(minus, x), app'2(app'2(plus, y), z))
Used ordering: Polynomial interpretation [21]:
APP'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(minus, x), y)
POL(0) = 0
POL(APP'2(x1, x2)) = x1
POL(app'2(x1, x2)) = x1 + x2
POL(minus) = 1
POL(plus) = 0
POL(s) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDP
APP'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(minus, x), y)
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(minus, x), y)
POL(APP'2(x1, x2)) = x1
POL(app'2(x1, x2)) = x1 + x2
POL(minus) = 0
POL(s) = 1
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
↳ QDP
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
APP'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> APP'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y))
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(app'2(filter, f), xs)
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(f, x)
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(map, f), xs)
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(f, x)
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
APP'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> APP'2(app'2(filter, f), xs)
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(f, x)
APP'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(map, f), xs)
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(f, x)
APP'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> APP'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
Used ordering: Polynomial interpretation [21]:
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(app'2(filter, f), xs)
APP'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> APP'2(app'2(filter, f), xs)
POL(0) = 0
POL(APP'2(x1, x2)) = x2
POL(app) = 0
POL(app'2(x1, x2)) = x1 + x2
POL(cons) = 1
POL(false) = 0
POL(filter) = 0
POL(filter2) = 0
POL(map) = 0
POL(minus) = 0
POL(nil) = 0
POL(plus) = 0
POL(quot) = 0
POL(s) = 0
POL(sum) = 0
POL(true) = 0
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ DependencyGraphProof
APP'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> APP'2(app'2(filter, f), xs)
APP'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> APP'2(app'2(filter, f), xs)
app'2(app'2(minus, x), 0) -> x
app'2(app'2(minus, app'2(s, x)), app'2(s, y)) -> app'2(app'2(minus, x), y)
app'2(app'2(minus, app'2(app'2(minus, x), y)), z) -> app'2(app'2(minus, x), app'2(app'2(plus, y), z))
app'2(app'2(quot, 0), app'2(s, y)) -> 0
app'2(app'2(quot, app'2(s, x)), app'2(s, y)) -> app'2(s, app'2(app'2(quot, app'2(app'2(minus, x), y)), app'2(s, y)))
app'2(app'2(plus, 0), y) -> y
app'2(app'2(plus, app'2(s, x)), y) -> app'2(s, app'2(app'2(plus, x), y))
app'2(app'2(app, nil), k) -> k
app'2(app'2(app, l), nil) -> l
app'2(app'2(app, app'2(app'2(cons, x), l)), k) -> app'2(app'2(cons, x), app'2(app'2(app, l), k))
app'2(sum, app'2(app'2(cons, x), nil)) -> app'2(app'2(cons, x), nil)
app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), l))) -> app'2(sum, app'2(app'2(cons, app'2(app'2(plus, x), y)), l))
app'2(sum, app'2(app'2(app, l), app'2(app'2(cons, x), app'2(app'2(cons, y), k)))) -> app'2(sum, app'2(app'2(app, l), app'2(sum, app'2(app'2(cons, x), app'2(app'2(cons, y), k)))))
app'2(app'2(map, f), nil) -> nil
app'2(app'2(map, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(cons, app'2(f, x)), app'2(app'2(map, f), xs))
app'2(app'2(filter, f), nil) -> nil
app'2(app'2(filter, f), app'2(app'2(cons, x), xs)) -> app'2(app'2(app'2(app'2(filter2, app'2(f, x)), f), x), xs)
app'2(app'2(app'2(app'2(filter2, true), f), x), xs) -> app'2(app'2(cons, x), app'2(app'2(filter, f), xs))
app'2(app'2(app'2(app'2(filter2, false), f), x), xs) -> app'2(app'2(filter, f), xs)