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)
fac1 > [s1, lt2, 0, true, false, help2, if1, times]
s1: [1]
lt2: [1,2]
0: multiset
true: multiset
false: multiset
fac1: multiset
help2: [1,2]
if1: [1]
times: multiset
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)