0 QTRS
↳1 Overlay + Local Confluence (⇔)
↳2 QTRS
↳3 DependencyPairsProof (⇔)
↳4 QDP
↳5 DependencyGraphProof (⇔)
↳6 AND
↳7 QDP
↳8 QDPOrderProof (⇔)
↳9 QDP
↳10 PisEmptyProof (⇔)
↳11 TRUE
↳12 QDP
↳13 QDPOrderProof (⇔)
↳14 QDP
↳15 PisEmptyProof (⇔)
↳16 TRUE
↳17 QDP
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0)
half(s(0))
half(s(s(x0)))
inc(0)
inc(s(x0))
zero(0)
zero(s(x0))
p(0)
p(s(x0))
bits(x0)
bitIter(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
HALF(s(s(x))) → HALF(x)
INC(s(x)) → INC(x)
BITS(x) → BITITER(x, 0)
BITITER(x, y) → IF(zero(x), x, inc(y))
BITITER(x, y) → ZERO(x)
BITITER(x, y) → INC(y)
IF(true, x, y) → P(y)
IF(false, x, y) → BITITER(half(x), y)
IF(false, x, y) → HALF(x)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0)
half(s(0))
half(s(s(x0)))
inc(0)
inc(s(x0))
zero(0)
zero(s(x0))
p(0)
p(s(x0))
bits(x0)
bitIter(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
INC(s(x)) → INC(x)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0)
half(s(0))
half(s(s(x0)))
inc(0)
inc(s(x0))
zero(0)
zero(s(x0))
p(0)
p(s(x0))
bits(x0)
bitIter(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
INC(s(x)) → INC(x)
s1 > 0 > [zero1, true] > false
bits1 > 0 > [zero1, true] > false
bits1 > [bitIter2, if2] > [zero1, true] > false
bits1 > [bitIter2, if2] > p1
s1: multiset
0: multiset
zero1: multiset
true: multiset
false: multiset
p1: multiset
bits1: multiset
bitIter2: multiset
if2: multiset
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0)
half(s(0))
half(s(s(x0)))
inc(0)
inc(s(x0))
zero(0)
zero(s(x0))
p(0)
p(s(x0))
bits(x0)
bitIter(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
HALF(s(s(x))) → HALF(x)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0)
half(s(0))
half(s(s(x0)))
inc(0)
inc(s(x0))
zero(0)
zero(s(x0))
p(0)
p(s(x0))
bits(x0)
bitIter(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
HALF(s(s(x))) → HALF(x)
[HALF1, s1] > [0, bits1] > true
[HALF1, s1] > [0, bits1] > [p1, bitIter2, if2]
[HALF1, s1] > false
zero > true
zero > false
HALF1: [1]
s1: multiset
0: multiset
zero: multiset
true: multiset
false: multiset
p1: [1]
bits1: [1]
bitIter2: [2,1]
if2: [2,1]
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0)
half(s(0))
half(s(s(x0)))
inc(0)
inc(s(x0))
zero(0)
zero(s(x0))
p(0)
p(s(x0))
bits(x0)
bitIter(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
IF(false, x, y) → BITITER(half(x), y)
BITITER(x, y) → IF(zero(x), x, inc(y))
half(0) → 0
half(s(0)) → 0
half(s(s(x))) → s(half(x))
inc(0) → 0
inc(s(x)) → s(inc(x))
zero(0) → true
zero(s(x)) → false
p(0) → 0
p(s(x)) → x
bits(x) → bitIter(x, 0)
bitIter(x, y) → if(zero(x), x, inc(y))
if(true, x, y) → p(y)
if(false, x, y) → bitIter(half(x), y)
half(0)
half(s(0))
half(s(s(x0)))
inc(0)
inc(s(x0))
zero(0)
zero(s(x0))
p(0)
p(s(x0))
bits(x0)
bitIter(x0, x1)
if(true, x0, x1)
if(false, x0, x1)