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
minus(0, y) → 0
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
plus(0, y) → y
plus(s(x), y) → plus(x, s(y))
zero(s(x)) → false
zero(0) → true
p(s(x)) → x
div(x, y) → quot(x, y, 0)
quot(x, y, z) → if(zero(x), x, y, plus(z, s(0)))
if(true, x, y, z) → p(z)
if(false, x, s(y), z) → quot(minus(x, s(y)), s(y), z)
minus(0, y) → 0
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
plus(0, y) → y
plus(s(x), y) → plus(x, s(y))
zero(s(x)) → false
zero(0) → true
p(s(x)) → x
div(x, y) → quot(x, y, 0)
quot(x, y, z) → if(zero(x), x, y, plus(z, s(0)))
if(true, x, y, z) → p(z)
if(false, x, s(y), z) → quot(minus(x, s(y)), s(y), z)
minus(0, x0)
minus(x0, 0)
minus(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
zero(s(x0))
zero(0)
p(s(x0))
div(x0, x1)
quot(x0, x1, x2)
if(true, x0, x1, x2)
if(false, x0, s(x1), x2)
MINUS(s(x), s(y)) → MINUS(x, y)
PLUS(s(x), y) → PLUS(x, s(y))
DIV(x, y) → QUOT(x, y, 0)
QUOT(x, y, z) → IF(zero(x), x, y, plus(z, s(0)))
QUOT(x, y, z) → ZERO(x)
QUOT(x, y, z) → PLUS(z, s(0))
IF(true, x, y, z) → P(z)
IF(false, x, s(y), z) → QUOT(minus(x, s(y)), s(y), z)
IF(false, x, s(y), z) → MINUS(x, s(y))
minus(0, y) → 0
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
plus(0, y) → y
plus(s(x), y) → plus(x, s(y))
zero(s(x)) → false
zero(0) → true
p(s(x)) → x
div(x, y) → quot(x, y, 0)
quot(x, y, z) → if(zero(x), x, y, plus(z, s(0)))
if(true, x, y, z) → p(z)
if(false, x, s(y), z) → quot(minus(x, s(y)), s(y), z)
minus(0, x0)
minus(x0, 0)
minus(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
zero(s(x0))
zero(0)
p(s(x0))
div(x0, x1)
quot(x0, x1, x2)
if(true, x0, x1, x2)
if(false, x0, s(x1), x2)
PLUS(s(x), y) → PLUS(x, s(y))
minus(0, y) → 0
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
plus(0, y) → y
plus(s(x), y) → plus(x, s(y))
zero(s(x)) → false
zero(0) → true
p(s(x)) → x
div(x, y) → quot(x, y, 0)
quot(x, y, z) → if(zero(x), x, y, plus(z, s(0)))
if(true, x, y, z) → p(z)
if(false, x, s(y), z) → quot(minus(x, s(y)), s(y), z)
minus(0, x0)
minus(x0, 0)
minus(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
zero(s(x0))
zero(0)
p(s(x0))
div(x0, x1)
quot(x0, x1, x2)
if(true, x0, x1, x2)
if(false, x0, s(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, s(y))
PLUS2 > s1
PLUS2: [1,2]
s1: [1]
minus(0, y) → 0
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
plus(0, y) → y
plus(s(x), y) → plus(x, s(y))
zero(s(x)) → false
zero(0) → true
p(s(x)) → x
div(x, y) → quot(x, y, 0)
quot(x, y, z) → if(zero(x), x, y, plus(z, s(0)))
if(true, x, y, z) → p(z)
if(false, x, s(y), z) → quot(minus(x, s(y)), s(y), z)
minus(0, x0)
minus(x0, 0)
minus(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
zero(s(x0))
zero(0)
p(s(x0))
div(x0, x1)
quot(x0, x1, x2)
if(true, x0, x1, x2)
if(false, x0, s(x1), x2)
MINUS(s(x), s(y)) → MINUS(x, y)
minus(0, y) → 0
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
plus(0, y) → y
plus(s(x), y) → plus(x, s(y))
zero(s(x)) → false
zero(0) → true
p(s(x)) → x
div(x, y) → quot(x, y, 0)
quot(x, y, z) → if(zero(x), x, y, plus(z, s(0)))
if(true, x, y, z) → p(z)
if(false, x, s(y), z) → quot(minus(x, s(y)), s(y), z)
minus(0, x0)
minus(x0, 0)
minus(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
zero(s(x0))
zero(0)
p(s(x0))
div(x0, x1)
quot(x0, x1, x2)
if(true, x0, x1, x2)
if(false, x0, s(x1), x2)
The following pairs can be oriented strictly and are deleted.
The remaining pairs can at least be oriented weakly.
MINUS(s(x), s(y)) → MINUS(x, y)
trivial
s1: [1]
minus(0, y) → 0
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
plus(0, y) → y
plus(s(x), y) → plus(x, s(y))
zero(s(x)) → false
zero(0) → true
p(s(x)) → x
div(x, y) → quot(x, y, 0)
quot(x, y, z) → if(zero(x), x, y, plus(z, s(0)))
if(true, x, y, z) → p(z)
if(false, x, s(y), z) → quot(minus(x, s(y)), s(y), z)
minus(0, x0)
minus(x0, 0)
minus(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
zero(s(x0))
zero(0)
p(s(x0))
div(x0, x1)
quot(x0, x1, x2)
if(true, x0, x1, x2)
if(false, x0, s(x1), x2)
IF(false, x, s(y), z) → QUOT(minus(x, s(y)), s(y), z)
QUOT(x, y, z) → IF(zero(x), x, y, plus(z, s(0)))
minus(0, y) → 0
minus(x, 0) → x
minus(s(x), s(y)) → minus(x, y)
plus(0, y) → y
plus(s(x), y) → plus(x, s(y))
zero(s(x)) → false
zero(0) → true
p(s(x)) → x
div(x, y) → quot(x, y, 0)
quot(x, y, z) → if(zero(x), x, y, plus(z, s(0)))
if(true, x, y, z) → p(z)
if(false, x, s(y), z) → quot(minus(x, s(y)), s(y), z)
minus(0, x0)
minus(x0, 0)
minus(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
zero(s(x0))
zero(0)
p(s(x0))
div(x0, x1)
quot(x0, x1, x2)
if(true, x0, x1, x2)
if(false, x0, s(x1), x2)