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
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fac(x) → help(x, 0)
help(x, c) → if(lt(c, x), x, c)
if(true, x, c) → times(s(c), help(x, s(c)))
if(false, x, c) → s(0)
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fac(x) → help(x, 0)
help(x, c) → if(lt(c, x), x, c)
if(true, x, c) → times(s(c), help(x, s(c)))
if(false, x, c) → s(0)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fac(x0)
help(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
LT(s(x), s(y)) → LT(x, y)
FAC(x) → HELP(x, 0)
HELP(x, c) → IF(lt(c, x), x, c)
HELP(x, c) → LT(c, x)
IF(true, x, c) → HELP(x, s(c))
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fac(x) → help(x, 0)
help(x, c) → if(lt(c, x), x, c)
if(true, x, c) → times(s(c), help(x, s(c)))
if(false, x, c) → s(0)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fac(x0)
help(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
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)
fac(x) → help(x, 0)
help(x, c) → if(lt(c, x), x, c)
if(true, x, c) → times(s(c), help(x, s(c)))
if(false, x, c) → s(0)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fac(x0)
help(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.
LT(s(x), s(y)) → LT(x, y)
lt1 > false > s1 > true
lt1 > false > 0 > true
fac1 > help2 > if1 > s1 > true
fac1 > help2 > if1 > 0 > true
fac1 > help2 > if1 > times > true
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fac(x) → help(x, 0)
help(x, c) → if(lt(c, x), x, c)
if(true, x, c) → times(s(c), help(x, s(c)))
if(false, x, c) → s(0)
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fac(x) → help(x, 0)
help(x, c) → if(lt(c, x), x, c)
if(true, x, c) → times(s(c), help(x, s(c)))
if(false, x, c) → s(0)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fac(x0)
help(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
HELP(x, c) → IF(lt(c, x), x, c)
IF(true, x, c) → HELP(x, s(c))
lt(0, s(x)) → true
lt(x, 0) → false
lt(s(x), s(y)) → lt(x, y)
fac(x) → help(x, 0)
help(x, c) → if(lt(c, x), x, c)
if(true, x, c) → times(s(c), help(x, s(c)))
if(false, x, c) → s(0)
lt(0, s(x0))
lt(x0, 0)
lt(s(x0), s(x1))
fac(x0)
help(x0, x1)
if(true, x0, x1)
if(false, x0, x1)