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
↳18 QDPOrderProof (⇔)
↳19 QDP
↳20 PisEmptyProof (⇔)
↳21 TRUE
↳22 QDP
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
times(0, x0)
times(s(x0), x1)
plus(0, x0)
plus(s(x0), x1)
fac(x0)
loop(x0, x1, x2)
if(false, x0, x1, x2)
if(true, x0, x1, x2)
LT(s(x), s(y)) → LT(x, y)
TIMES(s(x), y) → PLUS(y, times(x, y))
TIMES(s(x), y) → TIMES(x, y)
PLUS(s(x), y) → PLUS(x, y)
FAC(x) → LOOP(x, s(0), s(0))
LOOP(x, c, y) → IF(lt(x, c), x, c, y)
LOOP(x, c, y) → LT(x, c)
IF(false, x, c, y) → LOOP(x, s(c), times(y, s(c)))
IF(false, x, c, y) → TIMES(y, s(c))
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
times(0, x0)
times(s(x0), x1)
plus(0, x0)
plus(s(x0), x1)
fac(x0)
loop(x0, x1, x2)
if(false, x0, x1, x2)
if(true, x0, x1, x2)
PLUS(s(x), y) → PLUS(x, y)
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
times(0, x0)
times(s(x0), x1)
plus(0, x0)
plus(s(x0), x1)
fac(x0)
loop(x0, x1, x2)
if(false, x0, x1, x2)
if(true, x0, x1, x2)
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)
[PLUS2, s1]
PLUS2: [2,1]
s1: [1]
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
times(0, x0)
times(s(x0), x1)
plus(0, x0)
plus(s(x0), x1)
fac(x0)
loop(x0, x1, x2)
if(false, x0, x1, x2)
if(true, x0, x1, x2)
TIMES(s(x), y) → TIMES(x, y)
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
times(0, x0)
times(s(x0), x1)
plus(0, x0)
plus(s(x0), x1)
fac(x0)
loop(x0, x1, x2)
if(false, x0, x1, x2)
if(true, x0, x1, x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
TIMES(s(x), y) → TIMES(x, y)
[TIMES2, s1]
TIMES2: [2,1]
s1: [1]
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
times(0, x0)
times(s(x0), x1)
plus(0, x0)
plus(s(x0), x1)
fac(x0)
loop(x0, x1, x2)
if(false, x0, x1, x2)
if(true, x0, x1, x2)
LT(s(x), s(y)) → LT(x, y)
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
times(0, x0)
times(s(x0), x1)
plus(0, x0)
plus(s(x0), x1)
fac(x0)
loop(x0, x1, x2)
if(false, x0, x1, x2)
if(true, x0, x1, x2)
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)
trivial
s1: [1]
LT1: [1]
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
times(0, x0)
times(s(x0), x1)
plus(0, x0)
plus(s(x0), x1)
fac(x0)
loop(x0, x1, x2)
if(false, x0, x1, x2)
if(true, x0, x1, x2)
LOOP(x, c, y) → IF(lt(x, c), x, c, y)
IF(false, x, c, y) → LOOP(x, s(c), times(y, s(c)))
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
times(0, y) → 0
times(s(x), y) → plus(y, times(x, y))
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
fac(x) → loop(x, s(0), s(0))
loop(x, c, y) → if(lt(x, c), x, c, y)
if(false, x, c, y) → loop(x, s(c), times(y, s(c)))
if(true, x, c, y) → y
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
times(0, x0)
times(s(x0), x1)
plus(0, x0)
plus(s(x0), x1)
fac(x0)
loop(x0, x1, x2)
if(false, x0, x1, x2)
if(true, x0, x1, x2)