YES
cond(true, x, y, z) → cond(and(gr(x, z), gr(y, z)), p(x), p(y), z)
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
↳ QTRS
↳ AAECC Innermost
cond(true, x, y, z) → cond(and(gr(x, z), gr(y, z)), p(x), p(y), z)
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
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(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
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, y, z) → cond(and(gr(x, z), gr(y, z)), p(x), p(y), z)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
cond(true, x, y, z) → cond(and(gr(x, z), gr(y, z)), p(x), p(y), z)
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
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, x1, x2)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, x, y, z) → AND(gr(x, z), gr(y, z))
COND(true, x, y, z) → COND(and(gr(x, z), gr(y, z)), p(x), p(y), z)
COND(true, x, y, z) → P(y)
GR(s(x), s(y)) → GR(x, y)
COND(true, x, y, z) → GR(y, z)
COND(true, x, y, z) → P(x)
COND(true, x, y, z) → GR(x, z)
cond(true, x, y, z) → cond(and(gr(x, z), gr(y, z)), p(x), p(y), z)
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
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, x1, x2)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
COND(true, x, y, z) → AND(gr(x, z), gr(y, z))
COND(true, x, y, z) → COND(and(gr(x, z), gr(y, z)), p(x), p(y), z)
COND(true, x, y, z) → P(y)
GR(s(x), s(y)) → GR(x, y)
COND(true, x, y, z) → GR(y, z)
COND(true, x, y, z) → P(x)
COND(true, x, y, z) → GR(x, z)
cond(true, x, y, z) → cond(and(gr(x, z), gr(y, z)), p(x), p(y), z)
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
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, x1, x2)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
cond(true, x, y, z) → cond(and(gr(x, z), gr(y, z)), p(x), p(y), z)
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
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, x1, x2)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
cond(true, x0, x1, x2)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
cond(true, x0, x1, x2)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
GR(s(x), s(y)) → GR(x, y)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
COND(true, x, y, z) → COND(and(gr(x, z), gr(y, z)), p(x), p(y), z)
cond(true, x, y, z) → cond(and(gr(x, z), gr(y, z)), p(x), p(y), z)
and(true, true) → true
and(x, false) → false
and(false, x) → false
gr(0, 0) → false
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, x1, x2)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND(true, x, y, z) → COND(and(gr(x, z), gr(y, z)), p(x), p(y), z)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
cond(true, x0, x1, x2)
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
cond(true, x0, x1, x2)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
COND(true, x, y, z) → COND(and(gr(x, z), gr(y, z)), p(x), p(y), z)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, 0, y1, 0) → COND(and(false, gr(y1, 0)), p(0), p(y1), 0)
COND(true, y0, 0, 0) → COND(and(gr(y0, 0), false), p(y0), p(0), 0)
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), p(s(x0)), p(y1), s(x1))
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)), 0)
COND(true, 0, y1, x0) → COND(and(false, gr(y1, x0)), p(0), p(y1), x0)
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
COND(true, y0, 0, 0) → COND(and(gr(y0, 0), false), p(y0), p(0), 0)
COND(true, 0, y1, 0) → COND(and(false, gr(y1, 0)), p(0), p(y1), 0)
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), p(s(x0)), p(y1), s(x1))
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)), 0)
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, 0, y1, x0) → COND(and(false, gr(y1, x0)), p(0), p(y1), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, 0, y1, 0) → COND(false, p(0), p(y1), 0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
COND(true, 0, y1, 0) → COND(false, p(0), p(y1), 0)
COND(true, y0, 0, 0) → COND(and(gr(y0, 0), false), p(y0), p(0), 0)
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), p(s(x0)), p(y1), s(x1))
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)), 0)
COND(true, 0, y1, x0) → COND(and(false, gr(y1, x0)), p(0), p(y1), x0)
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
COND(true, y0, 0, 0) → COND(and(gr(y0, 0), false), p(y0), p(0), 0)
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), p(s(x0)), p(y1), s(x1))
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)), 0)
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, 0, y1, x0) → COND(and(false, gr(y1, x0)), p(0), p(y1), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, y0, 0, 0) → COND(false, p(y0), p(0), 0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
COND(true, y0, 0, 0) → COND(false, p(y0), p(0), 0)
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), p(s(x0)), p(y1), s(x1))
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)), 0)
COND(true, 0, y1, x0) → COND(and(false, gr(y1, x0)), p(0), p(y1), x0)
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), p(s(x0)), p(y1), s(x1))
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), p(s(x0)), 0)
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, 0, y1, x0) → COND(and(false, gr(y1, x0)), p(0), p(y1), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), p(s(x0)), p(y1), s(x1))
COND(true, 0, y1, x0) → COND(and(false, gr(y1, x0)), p(0), p(y1), x0)
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, 0, y1, x0) → COND(false, p(0), p(y1), x0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), p(s(x0)), p(y1), s(x1))
COND(true, 0, y1, x0) → COND(false, p(0), p(y1), x0)
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), p(s(x0)), p(y1), s(x1))
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), x0, p(y1), s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), x0, p(y1), s(x1))
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
COND(true, y0, 0, x0) → COND(and(gr(y0, x0), false), p(y0), p(0), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, y0, 0, x0) → COND(false, p(y0), p(0), x0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), x0, p(y1), s(x1))
COND(true, y0, 0, x0) → COND(false, p(y0), p(0), x0)
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), p(s(x0)), p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
p(s(x)) → x
p(0) → 0
and(false, x) → false
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), x0, p(y1), 0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ QDPOrderProof
↳ QDP
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), x0, p(y1), 0)
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
p(s(x)) → x
p(0) → 0
and(false, x) → false
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(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.
COND(true, y0, s(x0), 0) → COND(and(gr(y0, 0), true), p(y0), x0, 0)
COND(true, s(x0), y1, 0) → COND(and(true, gr(y1, 0)), x0, p(y1), 0)
POL(0) = 0
POL(COND(x1, x2, x3, x4)) = x2 + x3
POL(and(x1, x2)) = 0
POL(false) = 0
POL(gr(x1, x2)) = 0
POL(p(x1)) = x1
POL(s(x1)) = 1 + x1
POL(true) = 0
p(s(x)) → x
p(0) → 0
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ Rewriting
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ PisEmptyProof
↳ QDP
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
and(true, true) → true
and(x, false) → false
p(s(x)) → x
p(0) → 0
and(false, x) → false
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Rewriting
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), x0, p(y1), s(x1))
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), p(s(x0)), s(x1))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), x0, s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Rewriting
↳ QDP
↳ QDPOrderProof
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), x0, p(y1), s(x1))
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), x0, s(x1))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(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.
COND(true, y0, s(x0), s(x1)) → COND(and(gr(y0, s(x1)), gr(x0, x1)), p(y0), x0, s(x1))
Used ordering: Polynomial interpretation [25]:
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), x0, p(y1), s(x1))
POL(0) = 0
POL(COND(x1, x2, x3, x4)) = x3
POL(and(x1, x2)) = 1 + x1 + x2
POL(false) = 1
POL(gr(x1, x2)) = 0
POL(p(x1)) = x1
POL(s(x1)) = 1 + x1
POL(true) = 0
p(s(x)) → x
p(0) → 0
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ Rewriting
↳ QDP
↳ QDPOrderProof
↳ QDP
↳ QDPSizeChangeProof
COND(true, s(x0), y1, s(x1)) → COND(and(gr(x0, x1), gr(y1, s(x1))), x0, p(y1), s(x1))
gr(0, 0) → false
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
and(true, true) → true
and(x, false) → false
and(false, x) → false
p(0) → 0
p(s(x)) → x
and(true, true)
and(x0, false)
and(false, x0)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
From the DPs we obtained the following set of size-change graphs: