cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
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
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(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)
p(0) → 0
p(s(x)) → x
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND1(true, x, y) → COND2(gr(y, 0), x, y)
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
COND2(true, x, y) → P(y)
COND2(false, x, y) → P(x)
COND1(true, x, y) → GR(y, 0)
COND2(true, x, y) → GR(y, 0)
GR(s(x), s(y)) → GR(x, y)
COND2(false, x, y) → GR(x, 0)
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
COND1(true, x, y) → COND2(gr(y, 0), x, y)
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
COND2(true, x, y) → P(y)
COND2(false, x, y) → P(x)
COND1(true, x, y) → GR(y, 0)
COND2(true, x, y) → GR(y, 0)
GR(s(x), s(y)) → GR(x, y)
COND2(false, x, y) → GR(x, 0)
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
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)
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
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)
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
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
COND1(true, x, y) → COND2(gr(y, 0), x, y)
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
cond1(true, x, y) → cond2(gr(y, 0), x, y)
cond2(true, x, y) → cond2(gr(y, 0), x, p(y))
cond2(false, x, y) → cond1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
gr(s(x), s(y)) → gr(x, y)
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
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
COND1(true, x, y) → COND2(gr(y, 0), x, y)
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
p(0) → 0
p(s(x)) → x
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
cond1(true, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
COND1(true, x, y) → COND2(gr(y, 0), x, y)
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
p(0) → 0
p(s(x)) → x
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND1(true, y0, 0) → COND2(false, y0, 0)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
COND2(true, x, y) → COND2(gr(y, 0), x, p(y))
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
p(0) → 0
p(s(x)) → x
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND2(true, y0, s(x0)) → COND2(true, y0, p(s(x0)))
COND2(true, y0, 0) → COND2(false, y0, p(0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
COND2(true, y0, 0) → COND2(false, y0, p(0))
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, p(s(x0)))
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
p(0) → 0
p(s(x)) → x
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
COND2(true, y0, 0) → COND2(false, y0, p(0))
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
p(0) → 0
p(s(x)) → x
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND2(true, y0, 0) → COND2(false, y0, 0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
COND2(true, y0, 0) → COND2(false, y0, 0)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
COND2(false, x, y) → COND1(gr(x, 0), p(x), y)
gr(0, x) → false
gr(s(x), 0) → true
p(0) → 0
p(s(x)) → x
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND2(false, s(x0), y1) → COND1(true, p(s(x0)), y1)
COND2(false, 0, y1) → COND1(false, p(0), y1)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
COND2(true, y0, 0) → COND2(false, y0, 0)
COND2(false, 0, y1) → COND1(false, p(0), y1)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND2(false, s(x0), y1) → COND1(true, p(s(x0)), y1)
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
gr(0, x) → false
gr(s(x), 0) → true
p(0) → 0
p(s(x)) → x
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
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
COND2(true, y0, 0) → COND2(false, y0, 0)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND2(false, s(x0), y1) → COND1(true, p(s(x0)), y1)
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
gr(0, x) → false
gr(s(x), 0) → true
p(0) → 0
p(s(x)) → x
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
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND2(true, y0, 0) → COND2(false, y0, 0)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND2(false, s(x0), y1) → COND1(true, p(s(x0)), y1)
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
p(s(x)) → x
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
COND2(true, y0, 0) → COND2(false, y0, 0)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND2(false, s(x0), y1) → COND1(true, p(s(x0)), y1)
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
p(s(x)) → x
p(0)
p(s(x0))
COND2(false, s(x0), y1) → COND1(true, x0, y1)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
COND2(true, y0, 0) → COND2(false, y0, 0)
COND2(false, s(x0), y1) → COND1(true, x0, y1)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
p(s(x)) → x
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
COND2(true, y0, 0) → COND2(false, y0, 0)
COND2(false, s(x0), y1) → COND1(true, x0, y1)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
p(0)
p(s(x0))
p(0)
p(s(x0))
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
COND2(true, y0, 0) → COND2(false, y0, 0)
COND2(false, s(x0), y1) → COND1(true, x0, y1)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
COND2(false, s(x0), 0) → COND1(true, x0, 0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
COND2(true, y0, 0) → COND2(false, y0, 0)
COND2(false, s(x0), 0) → COND1(true, x0, 0)
COND1(true, y0, s(x0)) → COND2(true, y0, s(x0))
COND1(true, y0, 0) → COND2(false, y0, 0)
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDPSizeChangeProof
↳ QDP
COND2(false, s(x0), 0) → COND1(true, x0, 0)
COND1(true, y0, 0) → COND2(false, y0, 0)
From the DPs we obtained the following set of size-change graphs:
↳ QTRS
↳ AAECC Innermost
↳ QTRS
↳ DependencyPairsProof
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Narrowing
↳ QDP
↳ Narrowing
↳ QDP
↳ Rewriting
↳ QDP
↳ Rewriting
↳ QDP
↳ Narrowing
↳ QDP
↳ DependencyGraphProof
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Rewriting
↳ QDP
↳ UsableRulesProof
↳ QDP
↳ QReductionProof
↳ QDP
↳ Instantiation
↳ QDP
↳ DependencyGraphProof
↳ AND
↳ QDP
↳ QDP
↳ QDPSizeChangeProof
COND2(true, y0, s(x0)) → COND2(true, y0, x0)
From the DPs we obtained the following set of size-change graphs: