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
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fib(x) → fibiter(x, 0, 0, s(0))
fibiter(b, c, x, y) → if(lt(c, b), b, c, x, y)
if(false, b, c, x, y) → x
if(true, b, c, x, y) → fibiter(b, s(c), y, plus(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fib(x) → fibiter(x, 0, 0, s(0))
fibiter(b, c, x, y) → if(lt(c, b), b, c, x, y)
if(false, b, c, x, y) → x
if(true, b, c, x, y) → fibiter(b, s(c), y, plus(x, y))
plus(0, x0)
plus(s(x0), x1)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fib(x0)
fibiter(x0, x1, x2, x3)
if(false, x0, x1, x2, x3)
if(true, x0, x1, x2, x3)
PLUS(s(x), y) → PLUS(x, y)
LT(s(x), s(y)) → LT(x, y)
FIB(x) → FIBITER(x, 0, 0, s(0))
FIBITER(b, c, x, y) → IF(lt(c, b), b, c, x, y)
FIBITER(b, c, x, y) → LT(c, b)
IF(true, b, c, x, y) → FIBITER(b, s(c), y, plus(x, y))
IF(true, b, c, x, y) → PLUS(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fib(x) → fibiter(x, 0, 0, s(0))
fibiter(b, c, x, y) → if(lt(c, b), b, c, x, y)
if(false, b, c, x, y) → x
if(true, b, c, x, y) → fibiter(b, s(c), y, plus(x, y))
plus(0, x0)
plus(s(x0), x1)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fib(x0)
fibiter(x0, x1, x2, x3)
if(false, x0, x1, x2, x3)
if(true, x0, x1, x2, x3)
LT(s(x), s(y)) → LT(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fib(x) → fibiter(x, 0, 0, s(0))
fibiter(b, c, x, y) → if(lt(c, b), b, c, x, y)
if(false, b, c, x, y) → x
if(true, b, c, x, y) → fibiter(b, s(c), y, plus(x, y))
plus(0, x0)
plus(s(x0), x1)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fib(x0)
fibiter(x0, x1, x2, x3)
if(false, x0, x1, x2, x3)
if(true, x0, x1, x2, x3)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
LT(s(x), s(y)) → LT(x, y)
[LT1, s1]
s1: [1]
LT1: multiset
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fib(x) → fibiter(x, 0, 0, s(0))
fibiter(b, c, x, y) → if(lt(c, b), b, c, x, y)
if(false, b, c, x, y) → x
if(true, b, c, x, y) → fibiter(b, s(c), y, plus(x, y))
plus(0, x0)
plus(s(x0), x1)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fib(x0)
fibiter(x0, x1, x2, x3)
if(false, x0, x1, x2, x3)
if(true, x0, x1, x2, x3)
PLUS(s(x), y) → PLUS(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fib(x) → fibiter(x, 0, 0, s(0))
fibiter(b, c, x, y) → if(lt(c, b), b, c, x, y)
if(false, b, c, x, y) → x
if(true, b, c, x, y) → fibiter(b, s(c), y, plus(x, y))
plus(0, x0)
plus(s(x0), x1)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fib(x0)
fibiter(x0, x1, x2, x3)
if(false, x0, x1, x2, x3)
if(true, x0, x1, x2, x3)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
PLUS(s(x), y) → PLUS(x, y)
[PLUS1, s1]
s1: [1]
PLUS1: multiset
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fib(x) → fibiter(x, 0, 0, s(0))
fibiter(b, c, x, y) → if(lt(c, b), b, c, x, y)
if(false, b, c, x, y) → x
if(true, b, c, x, y) → fibiter(b, s(c), y, plus(x, y))
plus(0, x0)
plus(s(x0), x1)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fib(x0)
fibiter(x0, x1, x2, x3)
if(false, x0, x1, x2, x3)
if(true, x0, x1, x2, x3)
IF(true, b, c, x, y) → FIBITER(b, s(c), y, plus(x, y))
FIBITER(b, c, x, y) → IF(lt(c, b), b, c, x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
lt(0, s(y)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fib(x) → fibiter(x, 0, 0, s(0))
fibiter(b, c, x, y) → if(lt(c, b), b, c, x, y)
if(false, b, c, x, y) → x
if(true, b, c, x, y) → fibiter(b, s(c), y, plus(x, y))
plus(0, x0)
plus(s(x0), x1)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fib(x0)
fibiter(x0, x1, x2, x3)
if(false, x0, x1, x2, x3)
if(true, x0, x1, x2, x3)