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
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, x0)
gt(s(x0), 0)
gt(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
double(0)
double(s(x0))
average(x0, x1)
aver(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
GT(s(x), s(y)) → GT(x, y)
PLUS(s(x), y) → PLUS(x, y)
DOUBLE(s(x)) → DOUBLE(x)
AVERAGE(x, y) → AVER(plus(x, y), 0)
AVERAGE(x, y) → PLUS(x, y)
AVER(sum, z) → IF(gt(sum, double(z)), sum, z)
AVER(sum, z) → GT(sum, double(z))
AVER(sum, z) → DOUBLE(z)
IF(true, sum, z) → AVER(sum, s(z))
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, x0)
gt(s(x0), 0)
gt(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
double(0)
double(s(x0))
average(x0, x1)
aver(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
DOUBLE(s(x)) → DOUBLE(x)
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, x0)
gt(s(x0), 0)
gt(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
double(0)
double(s(x0))
average(x0, x1)
aver(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.
DOUBLE(s(x)) → DOUBLE(x)
s1 > DOUBLE1
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, x0)
gt(s(x0), 0)
gt(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
double(0)
double(s(x0))
average(x0, x1)
aver(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
PLUS(s(x), y) → PLUS(x, y)
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, x0)
gt(s(x0), 0)
gt(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
double(0)
double(s(x0))
average(x0, x1)
aver(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.
PLUS(s(x), y) → PLUS(x, y)
s1 > PLUS1
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, x0)
gt(s(x0), 0)
gt(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
double(0)
double(s(x0))
average(x0, x1)
aver(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
GT(s(x), s(y)) → GT(x, y)
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, x0)
gt(s(x0), 0)
gt(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
double(0)
double(s(x0))
average(x0, x1)
aver(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.
GT(s(x), s(y)) → GT(x, y)
trivial
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, x0)
gt(s(x0), 0)
gt(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
double(0)
double(s(x0))
average(x0, x1)
aver(x0, x1)
if(true, x0, x1)
if(false, x0, x1)
AVER(sum, z) → IF(gt(sum, double(z)), sum, z)
IF(true, sum, z) → AVER(sum, s(z))
gt(0, y) → false
gt(s(x), 0) → true
gt(s(x), s(y)) → gt(x, y)
plus(0, y) → y
plus(s(x), y) → s(plus(x, y))
double(0) → 0
double(s(x)) → s(s(double(x)))
average(x, y) → aver(plus(x, y), 0)
aver(sum, z) → if(gt(sum, double(z)), sum, z)
if(true, sum, z) → aver(sum, s(z))
if(false, sum, z) → z
gt(0, x0)
gt(s(x0), 0)
gt(s(x0), s(x1))
plus(0, x0)
plus(s(x0), x1)
double(0)
double(s(x0))
average(x0, x1)
aver(x0, x1)
if(true, x0, x1)
if(false, x0, x1)