0 QTRS
↳1 AAECC Innermost (⇔)
↳2 QTRS
↳3 DependencyPairsProof (⇔)
↳4 QDP
↳5 DependencyGraphProof (⇔)
↳6 AND
↳7 QDP
↳8 UsableRulesProof (⇔)
↳9 QDP
↳10 QReductionProof (⇔)
↳11 QDP
↳12 QDPSizeChangeProof (⇔)
↳13 TRUE
↳14 QDP
↳15 UsableRulesProof (⇔)
↳16 QDP
↳17 QReductionProof (⇔)
↳18 QDP
↳19 QDPSizeChangeProof (⇔)
↳20 TRUE
↳21 QDP
↳22 UsableRulesProof (⇔)
↳23 QDP
↳24 QReductionProof (⇔)
↳25 QDP
↳26 Narrowing (⇔)
↳27 QDP
↳28 Narrowing (⇔)
↳29 QDP
↳30 DependencyGraphProof (⇔)
↳31 QDP
↳32 Rewriting (⇔)
↳33 QDP
↳34 Rewriting (⇔)
↳35 QDP
↳36 Narrowing (⇔)
↳37 QDP
↳38 Instantiation (⇔)
↳39 QDP
↳40 Instantiation (⇔)
↳41 QDP
↳42 Narrowing (⇔)
↳43 QDP
↳44 DependencyGraphProof (⇔)
↳45 QDP
↳46 Instantiation (⇔)
↳47 QDP
↳48 Instantiation (⇔)
↳49 QDP
↳50 DependencyGraphProof (⇔)
↳51 AND
↳52 QDP
↳53 UsableRulesProof (⇔)
↳54 QDP
↳55 Rewriting (⇔)
↳56 QDP
↳57 UsableRulesProof (⇔)
↳58 QDP
↳59 QReductionProof (⇔)
↳60 QDP
↳61 Rewriting (⇔)
↳62 QDP
↳63 UsableRulesProof (⇔)
↳64 QDP
↳65 QReductionProof (⇔)
↳66 QDP
↳67 Rewriting (⇔)
↳68 QDP
↳69 UsableRulesProof (⇔)
↳70 QDP
↳71 QReductionProof (⇔)
↳72 QDP
↳73 QDPSizeChangeProof (⇔)
↳74 TRUE
↳75 QDP
↳76 UsableRulesProof (⇔)
↳77 QDP
↳78 QReductionProof (⇔)
↳79 QDP
↳80 QDPSizeChangeProof (⇔)
↳81 TRUE
cond1(true, x, y) → cond2(gr(x, 0), x, y)
cond2(true, x, y) → cond1(gr(add(x, y), 0), p(x), y)
cond2(false, x, y) → cond3(gr(y, 0), x, y)
cond3(true, x, y) → cond1(gr(add(x, y), 0), x, p(y))
cond3(false, x, y) → cond1(gr(add(x, y), 0), x, y)
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) → cond2(gr(x, 0), x, y)
cond2(true, x, y) → cond1(gr(add(x, y), 0), p(x), y)
cond2(false, x, y) → cond3(gr(y, 0), x, y)
cond3(true, x, y) → cond1(gr(add(x, y), 0), x, p(y))
cond3(false, x, y) → cond1(gr(add(x, y), 0), x, y)
cond1(true, x, y) → cond2(gr(x, 0), x, y)
cond2(true, x, y) → cond1(gr(add(x, y), 0), p(x), y)
cond2(false, x, y) → cond3(gr(y, 0), x, y)
cond3(true, x, y) → cond1(gr(add(x, y), 0), x, p(y))
cond3(false, x, y) → cond1(gr(add(x, y), 0), x, y)
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)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
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) → COND2(gr(x, 0), x, y)
COND1(true, x, y) → GR(x, 0)
COND2(true, x, y) → COND1(gr(add(x, y), 0), p(x), y)
COND2(true, x, y) → GR(add(x, y), 0)
COND2(true, x, y) → ADD(x, y)
COND2(true, x, y) → P(x)
COND2(false, x, y) → COND3(gr(y, 0), x, y)
COND2(false, x, y) → GR(y, 0)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND3(true, x, y) → GR(add(x, y), 0)
COND3(true, x, y) → ADD(x, y)
COND3(true, x, y) → P(y)
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
COND3(false, x, y) → GR(add(x, y), 0)
COND3(false, x, y) → ADD(x, y)
GR(s(x), s(y)) → GR(x, y)
ADD(s(x), y) → ADD(x, y)
cond1(true, x, y) → cond2(gr(x, 0), x, y)
cond2(true, x, y) → cond1(gr(add(x, y), 0), p(x), y)
cond2(false, x, y) → cond3(gr(y, 0), x, y)
cond3(true, x, y) → cond1(gr(add(x, y), 0), x, p(y))
cond3(false, x, y) → cond1(gr(add(x, y), 0), x, y)
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)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
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) → cond2(gr(x, 0), x, y)
cond2(true, x, y) → cond1(gr(add(x, y), 0), p(x), y)
cond2(false, x, y) → cond3(gr(y, 0), x, y)
cond3(true, x, y) → cond1(gr(add(x, y), 0), x, p(y))
cond3(false, x, y) → cond1(gr(add(x, y), 0), x, y)
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)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
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, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
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, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
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)
From the DPs we obtained the following set of size-change graphs:
GR(s(x), s(y)) → GR(x, y)
cond1(true, x, y) → cond2(gr(x, 0), x, y)
cond2(true, x, y) → cond1(gr(add(x, y), 0), p(x), y)
cond2(false, x, y) → cond3(gr(y, 0), x, y)
cond3(true, x, y) → cond1(gr(add(x, y), 0), x, p(y))
cond3(false, x, y) → cond1(gr(add(x, y), 0), x, y)
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)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
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, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
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, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
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)
From the DPs we obtained the following set of size-change graphs:
COND2(true, x, y) → COND1(gr(add(x, y), 0), p(x), y)
COND1(true, x, y) → COND2(gr(x, 0), x, y)
COND2(false, x, y) → COND3(gr(y, 0), x, y)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
cond1(true, x, y) → cond2(gr(x, 0), x, y)
cond2(true, x, y) → cond1(gr(add(x, y), 0), p(x), y)
cond2(false, x, y) → cond3(gr(y, 0), x, y)
cond3(true, x, y) → cond1(gr(add(x, y), 0), x, p(y))
cond3(false, x, y) → cond1(gr(add(x, y), 0), x, y)
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)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
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) → COND1(gr(add(x, y), 0), p(x), y)
COND1(true, x, y) → COND2(gr(x, 0), x, y)
COND2(false, x, y) → COND3(gr(y, 0), x, y)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
add(0, x) → x
add(s(x), y) → s(add(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)
cond3(true, x0, x1)
cond3(false, x0, x1)
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, x0, x1)
cond2(true, x0, x1)
cond2(false, x0, x1)
cond3(true, x0, x1)
cond3(false, x0, x1)
COND2(true, x, y) → COND1(gr(add(x, y), 0), p(x), y)
COND1(true, x, y) → COND2(gr(x, 0), x, y)
COND2(false, x, y) → COND3(gr(y, 0), x, y)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, x, y) → COND1(gr(add(x, y), 0), p(x), y)
COND2(false, x, y) → COND3(gr(y, 0), x, y)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
COND1(true, 0, y1) → COND2(false, 0, y1)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND2(true, 0, y1) → COND1(gr(add(0, y1), 0), 0, y1)
COND2(true, s(x0), y1) → COND1(gr(add(s(x0), y1), 0), x0, y1)
COND2(false, x, y) → COND3(gr(y, 0), x, y)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
COND1(true, 0, y1) → COND2(false, 0, y1)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, 0, y1) → COND1(gr(add(0, y1), 0), 0, y1)
COND2(true, s(x0), y1) → COND1(gr(add(s(x0), y1), 0), x0, y1)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND2(false, x, y) → COND3(gr(y, 0), x, y)
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(gr(add(s(x0), y1), 0), x0, y1)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND2(true, s(x0), y1) → COND1(gr(s(add(x0, y1)), 0), x0, y1)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND2(false, x, y) → COND3(gr(y, 0), x, y)
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(gr(s(add(x0, y1)), 0), x0, y1)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND2(true, s(x0), y1) → COND1(true, x0, y1)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND2(false, x, y) → COND3(gr(y, 0), x, y)
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND2(false, y0, 0) → COND3(false, y0, 0)
COND2(false, y0, s(x0)) → COND3(true, y0, s(x0))
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(false, x, y) → COND1(gr(add(x, y), 0), x, y)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
COND2(false, y0, 0) → COND3(false, y0, 0)
COND2(false, y0, s(x0)) → COND3(true, y0, s(x0))
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND3(false, z0, 0) → COND1(gr(add(z0, 0), 0), z0, 0)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
COND2(false, y0, 0) → COND3(false, y0, 0)
COND2(false, y0, s(x0)) → COND3(true, y0, s(x0))
COND3(false, z0, 0) → COND1(gr(add(z0, 0), 0), z0, 0)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND2(false, 0, 0) → COND3(false, 0, 0)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
COND2(false, y0, s(x0)) → COND3(true, y0, s(x0))
COND3(false, z0, 0) → COND1(gr(add(z0, 0), 0), z0, 0)
COND2(false, 0, 0) → COND3(false, 0, 0)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND3(false, 0, 0) → COND1(gr(0, 0), 0, 0)
COND3(false, s(x0), 0) → COND1(gr(s(add(x0, 0)), 0), s(x0), 0)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
COND2(false, y0, s(x0)) → COND3(true, y0, s(x0))
COND2(false, 0, 0) → COND3(false, 0, 0)
COND3(false, 0, 0) → COND1(gr(0, 0), 0, 0)
COND3(false, s(x0), 0) → COND1(gr(s(add(x0, 0)), 0), s(x0), 0)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND2(false, y0, s(x0)) → COND3(true, y0, s(x0))
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, x, y) → COND1(gr(add(x, y), 0), x, p(y))
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND3(true, 0, s(z0)) → COND1(gr(add(0, s(z0)), 0), 0, p(s(z0)))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND3(true, 0, s(z0)) → COND1(gr(add(0, s(z0)), 0), 0, p(s(z0)))
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND3(true, 0, s(z0)) → COND1(gr(add(0, s(z0)), 0), 0, p(s(z0)))
COND1(true, 0, y1) → COND2(false, 0, y1)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND3(true, 0, s(z0)) → COND1(gr(add(0, s(z0)), 0), 0, p(s(z0)))
COND1(true, 0, y1) → COND2(false, 0, y1)
add(0, x) → x
gr(0, x) → false
gr(s(x), 0) → true
p(s(x)) → x
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND3(true, 0, s(z0)) → COND1(gr(s(z0), 0), 0, p(s(z0)))
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, 0, s(z0)) → COND1(gr(s(z0), 0), 0, p(s(z0)))
add(0, x) → x
gr(0, x) → false
gr(s(x), 0) → true
p(s(x)) → x
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(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, 0, s(z0)) → COND1(gr(s(z0), 0), 0, p(s(z0)))
gr(s(x), 0) → true
p(s(x)) → x
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(0, x0)
add(s(x0), x1)
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, 0, s(z0)) → COND1(gr(s(z0), 0), 0, p(s(z0)))
gr(s(x), 0) → true
p(s(x)) → x
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND3(true, 0, s(z0)) → COND1(true, 0, p(s(z0)))
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, 0, s(z0)) → COND1(true, 0, p(s(z0)))
gr(s(x), 0) → true
p(s(x)) → x
gr(0, x0)
gr(s(x0), 0)
gr(s(x0), s(x1))
p(0)
p(s(x0))
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, 0, s(z0)) → COND1(true, 0, p(s(z0)))
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))
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, 0, s(z0)) → COND1(true, 0, p(s(z0)))
p(s(x)) → x
p(0)
p(s(x0))
COND3(true, 0, s(z0)) → COND1(true, 0, z0)
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, 0, s(z0)) → COND1(true, 0, z0)
p(s(x)) → x
p(0)
p(s(x0))
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, 0, s(z0)) → COND1(true, 0, z0)
p(0)
p(s(x0))
p(0)
p(s(x0))
COND2(false, 0, s(x1)) → COND3(true, 0, s(x1))
COND1(true, 0, y1) → COND2(false, 0, y1)
COND3(true, 0, s(z0)) → COND1(true, 0, z0)
From the DPs we obtained the following set of size-change graphs:
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
add(0, x) → x
add(s(x), y) → s(add(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))
add(0, x0)
add(s(x0), x1)
p(0)
p(s(x0))
COND1(true, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
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(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, s(x0), y1) → COND2(true, s(x0), y1)
COND2(true, s(x0), y1) → COND1(true, x0, y1)
From the DPs we obtained the following set of size-change graphs: