YES(O(1), O(n^2)) 0.00/0.95 YES(O(1), O(n^2)) 0.00/0.97 0.00/0.97 0.00/0.97 0.00/0.97 0.00/0.97 0.00/0.97 Runtime Complexity (innermost) proof of /export/starexec/sandbox/benchmark/theBenchmark.xml.xml 0.00/0.97 0.00/0.97 0.00/0.97
0.00/0.97 0.00/0.97 0.00/0.97
0.00/0.97
0.00/0.97

(0) Obligation:

Runtime Complexity TRS:
The TRS R consists of the following rules:

minus(x, 0) → x 0.00/0.97
minus(s(x), s(y)) → minus(x, y) 0.00/0.97
quot(0, s(y)) → 0 0.00/0.97
quot(s(x), s(y)) → s(quot(minus(x, y), s(y)))

Rewrite Strategy: INNERMOST
0.00/0.97
0.00/0.97

(1) CpxTrsToCdtProof (BOTH BOUNDS(ID, ID) transformation)

Converted CpxTRS to CDT
0.00/0.97
0.00/0.97

(2) Obligation:

Complexity Dependency Tuples Problem
Rules:

minus(z0, 0) → z0 0.00/0.97
minus(s(z0), s(z1)) → minus(z0, z1) 0.00/0.97
quot(0, s(z0)) → 0 0.00/0.97
quot(s(z0), s(z1)) → s(quot(minus(z0, z1), s(z1)))
Tuples:

MINUS(s(z0), s(z1)) → c1(MINUS(z0, z1)) 0.00/0.97
QUOT(s(z0), s(z1)) → c3(QUOT(minus(z0, z1), s(z1)), MINUS(z0, z1))
S tuples:

MINUS(s(z0), s(z1)) → c1(MINUS(z0, z1)) 0.00/0.97
QUOT(s(z0), s(z1)) → c3(QUOT(minus(z0, z1), s(z1)), MINUS(z0, z1))
K tuples:none
Defined Rule Symbols:

minus, quot

Defined Pair Symbols:

MINUS, QUOT

Compound Symbols:

c1, c3

0.00/0.97
0.00/0.97

(3) CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^1))) transformation)

Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.

QUOT(s(z0), s(z1)) → c3(QUOT(minus(z0, z1), s(z1)), MINUS(z0, z1))
We considered the (Usable) Rules:

minus(z0, 0) → z0 0.00/0.97
minus(s(z0), s(z1)) → minus(z0, z1)
And the Tuples:

MINUS(s(z0), s(z1)) → c1(MINUS(z0, z1)) 0.00/0.97
QUOT(s(z0), s(z1)) → c3(QUOT(minus(z0, z1), s(z1)), MINUS(z0, z1))
The order we found is given by the following interpretation:
Polynomial interpretation : 0.00/0.97

POL(0) = 0    0.00/0.97
POL(MINUS(x1, x2)) = 0    0.00/0.97
POL(QUOT(x1, x2)) = x1    0.00/0.97
POL(c1(x1)) = x1    0.00/0.97
POL(c3(x1, x2)) = x1 + x2    0.00/0.97
POL(minus(x1, x2)) = x1    0.00/0.97
POL(s(x1)) = [1] + x1   
0.00/0.97
0.00/0.97

(4) Obligation:

Complexity Dependency Tuples Problem
Rules:

minus(z0, 0) → z0 0.00/0.97
minus(s(z0), s(z1)) → minus(z0, z1) 0.00/0.97
quot(0, s(z0)) → 0 0.00/0.97
quot(s(z0), s(z1)) → s(quot(minus(z0, z1), s(z1)))
Tuples:

MINUS(s(z0), s(z1)) → c1(MINUS(z0, z1)) 0.00/0.97
QUOT(s(z0), s(z1)) → c3(QUOT(minus(z0, z1), s(z1)), MINUS(z0, z1))
S tuples:

MINUS(s(z0), s(z1)) → c1(MINUS(z0, z1))
K tuples:

QUOT(s(z0), s(z1)) → c3(QUOT(minus(z0, z1), s(z1)), MINUS(z0, z1))
Defined Rule Symbols:

minus, quot

Defined Pair Symbols:

MINUS, QUOT

Compound Symbols:

c1, c3

0.00/0.97
0.00/0.97

(5) CdtPolyRedPairProof (UPPER BOUND (ADD(O(n^2))) transformation)

Found a reduction pair which oriented the following tuples strictly. Hence they can be removed from S.

MINUS(s(z0), s(z1)) → c1(MINUS(z0, z1))
We considered the (Usable) Rules:

minus(z0, 0) → z0 0.00/0.97
minus(s(z0), s(z1)) → minus(z0, z1)
And the Tuples:

MINUS(s(z0), s(z1)) → c1(MINUS(z0, z1)) 0.00/0.97
QUOT(s(z0), s(z1)) → c3(QUOT(minus(z0, z1), s(z1)), MINUS(z0, z1))
The order we found is given by the following interpretation:
Polynomial interpretation : 0.00/0.97

POL(0) = [3]    0.00/0.97
POL(MINUS(x1, x2)) = [3]x1 + x2    0.00/0.97
POL(QUOT(x1, x2)) = [2]x1 + [2]x1·x2 + x12    0.00/0.97
POL(c1(x1)) = x1    0.00/0.97
POL(c3(x1, x2)) = x1 + x2    0.00/0.97
POL(minus(x1, x2)) = x1    0.00/0.97
POL(s(x1)) = [2] + x1   
0.00/0.97
0.00/0.97

(6) Obligation:

Complexity Dependency Tuples Problem
Rules:

minus(z0, 0) → z0 0.00/0.97
minus(s(z0), s(z1)) → minus(z0, z1) 0.00/0.97
quot(0, s(z0)) → 0 0.00/0.97
quot(s(z0), s(z1)) → s(quot(minus(z0, z1), s(z1)))
Tuples:

MINUS(s(z0), s(z1)) → c1(MINUS(z0, z1)) 0.00/0.97
QUOT(s(z0), s(z1)) → c3(QUOT(minus(z0, z1), s(z1)), MINUS(z0, z1))
S tuples:none
K tuples:

QUOT(s(z0), s(z1)) → c3(QUOT(minus(z0, z1), s(z1)), MINUS(z0, z1)) 0.00/0.97
MINUS(s(z0), s(z1)) → c1(MINUS(z0, z1))
Defined Rule Symbols:

minus, quot

Defined Pair Symbols:

MINUS, QUOT

Compound Symbols:

c1, c3

0.00/0.97
0.00/0.97

(7) SIsEmptyProof (BOTH BOUNDS(ID, ID) transformation)

The set S is empty
0.00/0.97
0.00/0.97

(8) BOUNDS(O(1), O(1))

0.00/0.97
0.00/0.97
0.00/1.00 EOF