0 QTRS
↳1 AAECC Innermost (⇔)
↳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
cond1(true, x, y, z) → cond2(gr(x, 0), x, y, z)
cond2(true, x, y, z) → cond1(gr(add(x, y), z), p(x), y, z)
cond2(false, x, y, z) → cond3(gr(y, 0), x, y, z)
cond3(true, x, y, z) → cond1(gr(add(x, y), z), x, p(y), z)
cond3(false, x, y, z) → cond1(gr(add(x, y), z), x, y, z)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
add(0, x) → x
add(s(x), y) → s(add(x, y))
p(0) → 0
p(s(x)) → x
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
add(0, x) → x
add(s(x), y) → s(add(x, y))
p(0) → 0
p(s(x)) → x
cond1(true, x, y, z) → cond2(gr(x, 0), x, y, z)
cond2(true, x, y, z) → cond1(gr(add(x, y), z), p(x), y, z)
cond2(false, x, y, z) → cond3(gr(y, 0), x, y, z)
cond3(true, x, y, z) → cond1(gr(add(x, y), z), x, p(y), z)
cond3(false, x, y, z) → cond1(gr(add(x, y), z), x, y, z)
cond1(true, x, y, z) → cond2(gr(x, 0), x, y, z)
cond2(true, x, y, z) → cond1(gr(add(x, y), z), p(x), y, z)
cond2(false, x, y, z) → cond3(gr(y, 0), x, y, z)
cond3(true, x, y, z) → cond1(gr(add(x, y), z), x, p(y), z)
cond3(false, x, y, z) → cond1(gr(add(x, y), z), x, y, z)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
add(0, x) → x
add(s(x), y) → s(add(x, y))
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1, x2)
cond2(true, x0, x1, x2)
cond2(false, x0, x1, x2)
cond3(true, x0, x1, x2)
cond3(false, x0, x1, x2)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND1(true, x, y, z) → COND2(gr(x, 0), x, y, z)
COND1(true, x, y, z) → GR(x, 0)
COND2(true, x, y, z) → COND1(gr(add(x, y), z), p(x), y, z)
COND2(true, x, y, z) → GR(add(x, y), z)
COND2(true, x, y, z) → ADD(x, y)
COND2(true, x, y, z) → P(x)
COND2(false, x, y, z) → COND3(gr(y, 0), x, y, z)
COND2(false, x, y, z) → GR(y, 0)
COND3(true, x, y, z) → COND1(gr(add(x, y), z), x, p(y), z)
COND3(true, x, y, z) → GR(add(x, y), z)
COND3(true, x, y, z) → ADD(x, y)
COND3(true, x, y, z) → P(y)
COND3(false, x, y, z) → COND1(gr(add(x, y), z), x, y, z)
COND3(false, x, y, z) → GR(add(x, y), z)
COND3(false, x, y, z) → ADD(x, y)
GR(s(x), s(y)) → GR(x, y)
ADD(s(x), y) → ADD(x, y)
cond1(true, x, y, z) → cond2(gr(x, 0), x, y, z)
cond2(true, x, y, z) → cond1(gr(add(x, y), z), p(x), y, z)
cond2(false, x, y, z) → cond3(gr(y, 0), x, y, z)
cond3(true, x, y, z) → cond1(gr(add(x, y), z), x, p(y), z)
cond3(false, x, y, z) → cond1(gr(add(x, y), z), x, y, z)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
add(0, x) → x
add(s(x), y) → s(add(x, y))
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1, x2)
cond2(true, x0, x1, x2)
cond2(false, x0, x1, x2)
cond3(true, x0, x1, x2)
cond3(false, x0, x1, x2)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
ADD(s(x), y) → ADD(x, y)
cond1(true, x, y, z) → cond2(gr(x, 0), x, y, z)
cond2(true, x, y, z) → cond1(gr(add(x, y), z), p(x), y, z)
cond2(false, x, y, z) → cond3(gr(y, 0), x, y, z)
cond3(true, x, y, z) → cond1(gr(add(x, y), z), x, p(y), z)
cond3(false, x, y, z) → cond1(gr(add(x, y), z), x, y, z)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
add(0, x) → x
add(s(x), y) → s(add(x, y))
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1, x2)
cond2(true, x0, x1, x2)
cond2(false, x0, x1, x2)
cond3(true, x0, x1, x2)
cond3(false, x0, x1, x2)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
ADD(s(x), y) → ADD(x, y)
[ADD1, s1]
s1: [1]
ADD1: multiset
cond1(true, x, y, z) → cond2(gr(x, 0), x, y, z)
cond2(true, x, y, z) → cond1(gr(add(x, y), z), p(x), y, z)
cond2(false, x, y, z) → cond3(gr(y, 0), x, y, z)
cond3(true, x, y, z) → cond1(gr(add(x, y), z), x, p(y), z)
cond3(false, x, y, z) → cond1(gr(add(x, y), z), x, y, z)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
add(0, x) → x
add(s(x), y) → s(add(x, y))
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1, x2)
cond2(true, x0, x1, x2)
cond2(false, x0, x1, x2)
cond3(true, x0, x1, x2)
cond3(false, x0, x1, x2)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
GR(s(x), s(y)) → GR(x, y)
cond1(true, x, y, z) → cond2(gr(x, 0), x, y, z)
cond2(true, x, y, z) → cond1(gr(add(x, y), z), p(x), y, z)
cond2(false, x, y, z) → cond3(gr(y, 0), x, y, z)
cond3(true, x, y, z) → cond1(gr(add(x, y), z), x, p(y), z)
cond3(false, x, y, z) → cond1(gr(add(x, y), z), x, y, z)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
add(0, x) → x
add(s(x), y) → s(add(x, y))
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1, x2)
cond2(true, x0, x1, x2)
cond2(false, x0, x1, x2)
cond3(true, x0, x1, x2)
cond3(false, x0, x1, x2)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
GR(s(x), s(y)) → GR(x, y)
[GR1, s1]
GR1: multiset
s1: [1]
cond1(true, x, y, z) → cond2(gr(x, 0), x, y, z)
cond2(true, x, y, z) → cond1(gr(add(x, y), z), p(x), y, z)
cond2(false, x, y, z) → cond3(gr(y, 0), x, y, z)
cond3(true, x, y, z) → cond1(gr(add(x, y), z), x, p(y), z)
cond3(false, x, y, z) → cond1(gr(add(x, y), z), x, y, z)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
add(0, x) → x
add(s(x), y) → s(add(x, y))
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1, x2)
cond2(true, x0, x1, x2)
cond2(false, x0, x1, x2)
cond3(true, x0, x1, x2)
cond3(false, x0, x1, x2)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND2(true, x, y, z) → COND1(gr(add(x, y), z), p(x), y, z)
COND1(true, x, y, z) → COND2(gr(x, 0), x, y, z)
COND2(false, x, y, z) → COND3(gr(y, 0), x, y, z)
COND3(true, x, y, z) → COND1(gr(add(x, y), z), x, p(y), z)
COND3(false, x, y, z) → COND1(gr(add(x, y), z), x, y, z)
cond1(true, x, y, z) → cond2(gr(x, 0), x, y, z)
cond2(true, x, y, z) → cond1(gr(add(x, y), z), p(x), y, z)
cond2(false, x, y, z) → cond3(gr(y, 0), x, y, z)
cond3(true, x, y, z) → cond1(gr(add(x, y), z), x, p(y), z)
cond3(false, x, y, z) → cond1(gr(add(x, y), z), x, y, z)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
add(0, x) → x
add(s(x), y) → s(add(x, y))
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1, x2)
cond2(true, x0, x1, x2)
cond2(false, x0, x1, x2)
cond3(true, x0, x1, x2)
cond3(false, x0, x1, x2)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))