(0) Obligation:

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

f(g(x), g(y)) → f(p(f(g(x), s(y))), g(s(p(x))))
p(0) → g(0)
g(s(p(x))) → p(x)

Rewrite Strategy: INNERMOST

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

Converted Cpx (relative) TRS to CDT

(2) Obligation:

Complexity Dependency Tuples Problem
Rules:

f(g(z0), g(z1)) → f(p(f(g(z0), s(z1))), g(s(p(z0))))
p(0) → g(0)
g(s(p(z0))) → p(z0)
Tuples:

F(g(z0), g(z1)) → c(F(p(f(g(z0), s(z1))), g(s(p(z0)))), P(f(g(z0), s(z1))), F(g(z0), s(z1)), G(z0), G(s(p(z0))), P(z0))
P(0) → c1(G(0))
G(s(p(z0))) → c2(P(z0))
S tuples:

F(g(z0), g(z1)) → c(F(p(f(g(z0), s(z1))), g(s(p(z0)))), P(f(g(z0), s(z1))), F(g(z0), s(z1)), G(z0), G(s(p(z0))), P(z0))
P(0) → c1(G(0))
G(s(p(z0))) → c2(P(z0))
K tuples:none
Defined Rule Symbols:

f, p, g

Defined Pair Symbols:

F, P, G

Compound Symbols:

c, c1, c2

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

Removed 3 trailing nodes:

G(s(p(z0))) → c2(P(z0))
P(0) → c1(G(0))
F(g(z0), g(z1)) → c(F(p(f(g(z0), s(z1))), g(s(p(z0)))), P(f(g(z0), s(z1))), F(g(z0), s(z1)), G(z0), G(s(p(z0))), P(z0))

(4) Obligation:

Complexity Dependency Tuples Problem
Rules:

f(g(z0), g(z1)) → f(p(f(g(z0), s(z1))), g(s(p(z0))))
p(0) → g(0)
g(s(p(z0))) → p(z0)
Tuples:none
S tuples:none
K tuples:none
Defined Rule Symbols:

f, p, g

Defined Pair Symbols:none

Compound Symbols:none

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

The set S is empty

(6) BOUNDS(1, 1)