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
cond1(true, x, y) → cond2(gr(x, y), x, y)
cond2(true, x, y) → cond3(gr(x, 0), x, y)
cond2(false, x, y) → cond4(gr(y, 0), x, y)
cond3(true, x, y) → cond3(gr(x, 0), p(x), y)
cond3(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
cond4(true, x, y) → cond4(gr(y, 0), x, p(y))
cond4(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(false, x) → false
and(x, false) → false
p(0) → 0
p(s(x)) → x
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(false, x) → false
and(x, false) → false
p(0) → 0
p(s(x)) → x
cond1(true, x, y) → cond2(gr(x, y), x, y)
cond2(true, x, y) → cond3(gr(x, 0), x, y)
cond2(false, x, y) → cond4(gr(y, 0), x, y)
cond3(true, x, y) → cond3(gr(x, 0), p(x), y)
cond3(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
cond4(true, x, y) → cond4(gr(y, 0), x, p(y))
cond4(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
cond1(true, x, y) → cond2(gr(x, y), x, y)
cond2(true, x, y) → cond3(gr(x, 0), x, y)
cond2(false, x, y) → cond4(gr(y, 0), x, y)
cond3(true, x, y) → cond3(gr(x, 0), p(x), y)
cond3(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
cond4(true, x, y) → cond4(gr(y, 0), x, p(y))
cond4(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(false, x) → false
and(x, false) → false
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
cond4(true, x0, x1)
cond4(false, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
and(true, true)
and(false, x0)
and(x0, false)
p(0)
p(s(x0))
COND1(true, x, y) → COND2(gr(x, y), x, y)
COND1(true, x, y) → GR(x, y)
COND2(true, x, y) → COND3(gr(x, 0), x, y)
COND2(true, x, y) → GR(x, 0)
COND2(false, x, y) → COND4(gr(y, 0), x, y)
COND2(false, x, y) → GR(y, 0)
COND3(true, x, y) → COND3(gr(x, 0), p(x), y)
COND3(true, x, y) → GR(x, 0)
COND3(true, x, y) → P(x)
COND3(false, x, y) → COND1(and(gr(x, 0), gr(y, 0)), x, y)
COND3(false, x, y) → AND(gr(x, 0), gr(y, 0))
COND3(false, x, y) → GR(x, 0)
COND3(false, x, y) → GR(y, 0)
COND4(true, x, y) → COND4(gr(y, 0), x, p(y))
COND4(true, x, y) → GR(y, 0)
COND4(true, x, y) → P(y)
COND4(false, x, y) → COND1(and(gr(x, 0), gr(y, 0)), x, y)
COND4(false, x, y) → AND(gr(x, 0), gr(y, 0))
COND4(false, x, y) → GR(x, 0)
COND4(false, x, y) → GR(y, 0)
GR(s(x), s(y)) → GR(x, y)
cond1(true, x, y) → cond2(gr(x, y), x, y)
cond2(true, x, y) → cond3(gr(x, 0), x, y)
cond2(false, x, y) → cond4(gr(y, 0), x, y)
cond3(true, x, y) → cond3(gr(x, 0), p(x), y)
cond3(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
cond4(true, x, y) → cond4(gr(y, 0), x, p(y))
cond4(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(false, x) → false
and(x, false) → false
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
cond4(true, x0, x1)
cond4(false, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
and(true, true)
and(false, x0)
and(x0, false)
p(0)
p(s(x0))
GR(s(x), s(y)) → GR(x, y)
cond1(true, x, y) → cond2(gr(x, y), x, y)
cond2(true, x, y) → cond3(gr(x, 0), x, y)
cond2(false, x, y) → cond4(gr(y, 0), x, y)
cond3(true, x, y) → cond3(gr(x, 0), p(x), y)
cond3(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
cond4(true, x, y) → cond4(gr(y, 0), x, p(y))
cond4(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(false, x) → false
and(x, false) → false
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
cond4(true, x0, x1)
cond4(false, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
and(true, true)
and(false, x0)
and(x0, false)
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)
s1 > [cond1, true, cond2, 0, false]
p1 > [cond1, true, cond2, 0, false]
and2 > [cond1, true, cond2, 0, false]
cond1(true, x, y) → cond2(gr(x, y), x, y)
cond2(true, x, y) → cond3(gr(x, 0), x, y)
cond2(false, x, y) → cond4(gr(y, 0), x, y)
cond3(true, x, y) → cond3(gr(x, 0), p(x), y)
cond3(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
cond4(true, x, y) → cond4(gr(y, 0), x, p(y))
cond4(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(false, x) → false
and(x, false) → false
p(0) → 0
p(s(x)) → x
cond1(true, x, y) → cond2(gr(x, y), x, y)
cond2(true, x, y) → cond3(gr(x, 0), x, y)
cond2(false, x, y) → cond4(gr(y, 0), x, y)
cond3(true, x, y) → cond3(gr(x, 0), p(x), y)
cond3(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
cond4(true, x, y) → cond4(gr(y, 0), x, p(y))
cond4(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(false, x) → false
and(x, false) → false
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
cond4(true, x0, x1)
cond4(false, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
and(true, true)
and(false, x0)
and(x0, false)
p(0)
p(s(x0))
COND2(true, x, y) → COND3(gr(x, 0), x, y)
COND3(true, x, y) → COND3(gr(x, 0), p(x), y)
COND3(false, x, y) → COND1(and(gr(x, 0), gr(y, 0)), x, y)
COND1(true, x, y) → COND2(gr(x, y), x, y)
COND2(false, x, y) → COND4(gr(y, 0), x, y)
COND4(true, x, y) → COND4(gr(y, 0), x, p(y))
COND4(false, x, y) → COND1(and(gr(x, 0), gr(y, 0)), x, y)
cond1(true, x, y) → cond2(gr(x, y), x, y)
cond2(true, x, y) → cond3(gr(x, 0), x, y)
cond2(false, x, y) → cond4(gr(y, 0), x, y)
cond3(true, x, y) → cond3(gr(x, 0), p(x), y)
cond3(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
cond4(true, x, y) → cond4(gr(y, 0), x, p(y))
cond4(false, x, y) → cond1(and(gr(x, 0), gr(y, 0)), x, y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(false, x) → false
and(x, false) → false
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
cond4(true, x0, x1)
cond4(false, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
and(true, true)
and(false, x0)
and(x0, false)
p(0)
p(s(x0))