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

(0) Obligation:

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

g(x, y) → x 0.00/0.75
g(x, y) → y 0.00/0.75
f(0, 1, x) → f(s(x), x, x) 0.00/0.75
f(x, y, s(z)) → s(f(0, 1, z))

Rewrite Strategy: INNERMOST
0.00/0.75
0.00/0.75

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

Converted CpxTRS to CDT
0.00/0.75
0.00/0.75

(2) Obligation:

Complexity Dependency Tuples Problem
Rules:

g(z0, z1) → z0 0.00/0.75
g(z0, z1) → z1 0.00/0.75
f(0, 1, z0) → f(s(z0), z0, z0) 0.00/0.75
f(z0, z1, s(z2)) → s(f(0, 1, z2))
Tuples:

F(0, 1, z0) → c2(F(s(z0), z0, z0)) 0.00/0.75
F(z0, z1, s(z2)) → c3(F(0, 1, z2))
S tuples:

F(0, 1, z0) → c2(F(s(z0), z0, z0)) 0.00/0.75
F(z0, z1, s(z2)) → c3(F(0, 1, z2))
K tuples:none
Defined Rule Symbols:

g, f

Defined Pair Symbols:

F

Compound Symbols:

c2, c3

0.00/0.75
0.00/0.75

(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.

F(z0, z1, s(z2)) → c3(F(0, 1, z2))
We considered the (Usable) Rules:none
And the Tuples:

F(0, 1, z0) → c2(F(s(z0), z0, z0)) 0.00/0.75
F(z0, z1, s(z2)) → c3(F(0, 1, z2))
The order we found is given by the following interpretation:
Polynomial interpretation : 0.00/0.75

POL(0) = [1]    0.00/0.75
POL(1) = 0    0.00/0.75
POL(F(x1, x2, x3)) = [4]x3    0.00/0.75
POL(c2(x1)) = x1    0.00/0.75
POL(c3(x1)) = x1    0.00/0.75
POL(s(x1)) = [2] + x1   
0.00/0.75
0.00/0.75

(4) Obligation:

Complexity Dependency Tuples Problem
Rules:

g(z0, z1) → z0 0.00/0.75
g(z0, z1) → z1 0.00/0.75
f(0, 1, z0) → f(s(z0), z0, z0) 0.00/0.75
f(z0, z1, s(z2)) → s(f(0, 1, z2))
Tuples:

F(0, 1, z0) → c2(F(s(z0), z0, z0)) 0.00/0.75
F(z0, z1, s(z2)) → c3(F(0, 1, z2))
S tuples:

F(0, 1, z0) → c2(F(s(z0), z0, z0))
K tuples:

F(z0, z1, s(z2)) → c3(F(0, 1, z2))
Defined Rule Symbols:

g, f

Defined Pair Symbols:

F

Compound Symbols:

c2, c3

0.00/0.75
0.00/0.75

(5) CdtKnowledgeProof (EQUIVALENT transformation)

The following tuples could be moved from S to K by knowledge propagation:

F(0, 1, z0) → c2(F(s(z0), z0, z0)) 0.00/0.75
F(z0, z1, s(z2)) → c3(F(0, 1, z2))
Now S is empty
0.00/0.75
0.00/0.75

(6) BOUNDS(O(1), O(1))

0.00/0.75
0.00/0.75
0.00/0.78 EOF