(0) Obligation:

The Runtime Complexity (innermost) of the given CpxTRS could be proven to be BOUNDS(1, n^1).


The TRS R consists of the following rules:

f(a) → f(c(a))
f(c(X)) → X
f(c(a)) → f(d(b))
f(a) → f(d(a))
f(d(X)) → X
f(c(b)) → f(d(a))
e(g(X)) → e(X)

Rewrite Strategy: INNERMOST

(1) CpxTrsMatchBoundsProof (EQUIVALENT transformation)

A linear upper bound on the runtime complexity of the TRS R could be shown with a Match Bound [MATCHBOUNDS1,MATCHBOUNDS2] of 3.
The certificate found is represented by the following graph.
Start state: 1
Accept states: [2]
Transitions:
1→2[f_1|0, e_1|0, a|1, c_1|1, d_1|1, b|1, g_1|1, e_1|1, a|2, b|2, b|3]
1→3[f_1|1]
1→5[f_1|1]
1→7[f_1|1]
1→9[f_1|2]
2→2[a|0, c_1|0, d_1|0, b|0, g_1|0]
3→4[c_1|1]
4→2[a|1]
5→6[d_1|1]
6→2[a|1]
7→8[d_1|1]
8→2[b|1]
9→10[d_1|2]
10→2[b|2]

(2) BOUNDS(1, n^1)

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

Converted Cpx (relative) TRS to CDT

(4) Obligation:

Complexity Dependency Tuples Problem
Rules:

f(a) → f(c(a))
f(c(z0)) → z0
f(c(a)) → f(d(b))
f(a) → f(d(a))
f(d(z0)) → z0
f(c(b)) → f(d(a))
e(g(z0)) → e(z0)
Tuples:

F(a) → c1(F(c(a)))
F(c(z0)) → c2
F(c(a)) → c3(F(d(b)))
F(a) → c4(F(d(a)))
F(d(z0)) → c5
F(c(b)) → c6(F(d(a)))
E(g(z0)) → c7(E(z0))
S tuples:

F(a) → c1(F(c(a)))
F(c(z0)) → c2
F(c(a)) → c3(F(d(b)))
F(a) → c4(F(d(a)))
F(d(z0)) → c5
F(c(b)) → c6(F(d(a)))
E(g(z0)) → c7(E(z0))
K tuples:none
Defined Rule Symbols:

f, e

Defined Pair Symbols:

F, E

Compound Symbols:

c1, c2, c3, c4, c5, c6, c7

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

Removed 6 trailing nodes:

F(d(z0)) → c5
F(c(b)) → c6(F(d(a)))
F(a) → c1(F(c(a)))
F(c(a)) → c3(F(d(b)))
F(c(z0)) → c2
F(a) → c4(F(d(a)))

(6) Obligation:

Complexity Dependency Tuples Problem
Rules:

f(a) → f(c(a))
f(c(z0)) → z0
f(c(a)) → f(d(b))
f(a) → f(d(a))
f(d(z0)) → z0
f(c(b)) → f(d(a))
e(g(z0)) → e(z0)
Tuples:

E(g(z0)) → c7(E(z0))
S tuples:

E(g(z0)) → c7(E(z0))
K tuples:none
Defined Rule Symbols:

f, e

Defined Pair Symbols:

E

Compound Symbols:

c7

(7) CdtUsableRulesProof (EQUIVALENT transformation)

The following rules are not usable and were removed:

f(a) → f(c(a))
f(c(z0)) → z0
f(c(a)) → f(d(b))
f(a) → f(d(a))
f(d(z0)) → z0
f(c(b)) → f(d(a))
e(g(z0)) → e(z0)

(8) Obligation:

Complexity Dependency Tuples Problem
Rules:none
Tuples:

E(g(z0)) → c7(E(z0))
S tuples:

E(g(z0)) → c7(E(z0))
K tuples:none
Defined Rule Symbols:none

Defined Pair Symbols:

E

Compound Symbols:

c7

(9) CdtRuleRemovalProof (UPPER BOUND(ADD(n^1)) transformation)

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

E(g(z0)) → c7(E(z0))
We considered the (Usable) Rules:none
And the Tuples:

E(g(z0)) → c7(E(z0))
The order we found is given by the following interpretation:
Polynomial interpretation :

POL(E(x1)) = x1   
POL(c7(x1)) = x1   
POL(g(x1)) = [1] + x1   

(10) Obligation:

Complexity Dependency Tuples Problem
Rules:none
Tuples:

E(g(z0)) → c7(E(z0))
S tuples:none
K tuples:

E(g(z0)) → c7(E(z0))
Defined Rule Symbols:none

Defined Pair Symbols:

E

Compound Symbols:

c7

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

The set S is empty

(12) BOUNDS(1, 1)