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
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
COND(true, x) → COND(and(even(x), gr(x, 0)), p(x))
COND(true, x) → AND(even(x), gr(x, 0))
COND(true, x) → EVEN(x)
COND(true, x) → GR(x, 0)
COND(true, x) → P(x)
EVEN(s(s(x))) → EVEN(x)
GR(s(x), s(y)) → GR(x, y)
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
EVEN(s(s(x))) → EVEN(x)
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
EVEN(s(s(x))) → EVEN(x)
and > false
and > true
even > false
even > true
gr > false
gr > true
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))
COND(true, x) → COND(and(even(x), gr(x, 0)), p(x))
cond(true, x) → cond(and(even(x), gr(x, 0)), p(x))
and(x, false) → false
and(false, x) → false
and(true, true) → true
even(0) → true
even(s(0)) → false
even(s(s(x))) → even(x)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond(true, x0)
and(x0, false)
and(false, x0)
and(true, true)
even(0)
even(s(0))
even(s(s(x0)))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(y))
p(0)
p(s(x0))