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

(0) Obligation:

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

f(0) → s(0) 0.00/0.89
f(s(0)) → s(0) 0.00/0.89
f(s(s(x))) → f(f(s(x)))

Rewrite Strategy: INNERMOST
0.00/0.89
0.00/0.89

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

Converted CpxTRS to CDT
0.00/0.89
0.00/0.89

(2) Obligation:

Complexity Dependency Tuples Problem
Rules:

f(0) → s(0) 0.00/0.89
f(s(0)) → s(0) 0.00/0.89
f(s(s(z0))) → f(f(s(z0)))
Tuples:

F(s(s(z0))) → c2(F(f(s(z0))), F(s(z0)))
S tuples:

F(s(s(z0))) → c2(F(f(s(z0))), F(s(z0)))
K tuples:none
Defined Rule Symbols:

f

Defined Pair Symbols:

F

Compound Symbols:

c2

0.00/0.89
0.00/0.89

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

F(s(s(z0))) → c2(F(f(s(z0))), F(s(z0)))
We considered the (Usable) Rules:

f(s(0)) → s(0) 0.00/0.89
f(s(s(z0))) → f(f(s(z0))) 0.00/0.89
f(0) → s(0)
And the Tuples:

F(s(s(z0))) → c2(F(f(s(z0))), F(s(z0)))
The order we found is given by the following interpretation:
Polynomial interpretation : 0.00/0.89

POL(0) = [1]    0.00/0.89
POL(F(x1)) = [1] + [3]x12    0.00/0.89
POL(c2(x1, x2)) = x1 + x2    0.00/0.89
POL(f(x1)) = [3]    0.00/0.89
POL(s(x1)) = [2] + x1   
0.00/0.89
0.00/0.89

(4) Obligation:

Complexity Dependency Tuples Problem
Rules:

f(0) → s(0) 0.00/0.89
f(s(0)) → s(0) 0.00/0.89
f(s(s(z0))) → f(f(s(z0)))
Tuples:

F(s(s(z0))) → c2(F(f(s(z0))), F(s(z0)))
S tuples:none
K tuples:

F(s(s(z0))) → c2(F(f(s(z0))), F(s(z0)))
Defined Rule Symbols:

f

Defined Pair Symbols:

F

Compound Symbols:

c2

0.00/0.89
0.00/0.89

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

The set S is empty
0.00/0.89
0.00/0.89

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

0.00/0.89
0.00/0.89
0.00/0.96 EOF