(0) Obligation:

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


The TRS R consists of the following rules:

f(f(a)) → c(n__f(g(f(a))))
f(X) → n__f(X)
activate(n__f(X)) → f(X)
activate(X) → X

Rewrite Strategy: INNERMOST

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

The TRS does not nest defined symbols.
Hence, the left-hand sides of the following rules are not basic-reachable and can be removed:
f(f(a)) → c(n__f(g(f(a))))

(2) Obligation:

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


The TRS R consists of the following rules:

activate(n__f(X)) → f(X)
f(X) → n__f(X)
activate(X) → X

Rewrite Strategy: INNERMOST

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

Converted Cpx (relative) TRS to CDT

(4) Obligation:

Complexity Dependency Tuples Problem
Rules:

activate(n__f(z0)) → f(z0)
activate(z0) → z0
f(z0) → n__f(z0)
Tuples:

ACTIVATE(n__f(z0)) → c(F(z0))
ACTIVATE(z0) → c1
F(z0) → c2
S tuples:

ACTIVATE(n__f(z0)) → c(F(z0))
ACTIVATE(z0) → c1
F(z0) → c2
K tuples:none
Defined Rule Symbols:

activate, f

Defined Pair Symbols:

ACTIVATE, F

Compound Symbols:

c, c1, c2

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

Removed 3 trailing nodes:

ACTIVATE(z0) → c1
ACTIVATE(n__f(z0)) → c(F(z0))
F(z0) → c2

(6) Obligation:

Complexity Dependency Tuples Problem
Rules:

activate(n__f(z0)) → f(z0)
activate(z0) → z0
f(z0) → n__f(z0)
Tuples:none
S tuples:none
K tuples:none
Defined Rule Symbols:

activate, f

Defined Pair Symbols:none

Compound Symbols:none

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

The set S is empty

(8) BOUNDS(1, 1)