(0) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

f(c(s(x), y)) → f(c(x, s(y)))
f(c(s(x), s(y))) → g(c(x, y))
g(c(x, s(y))) → g(c(s(x), y))
g(c(s(x), s(y))) → f(c(x, y))

Q is empty.

(1) AAECC Innermost (EQUIVALENT transformation)

We have applied [NOC,AAECCNOC] to switch to innermost. The TRS R 1 is none

The TRS R 2 is

f(c(s(x), y)) → f(c(x, s(y)))
f(c(s(x), s(y))) → g(c(x, y))
g(c(x, s(y))) → g(c(s(x), y))
g(c(s(x), s(y))) → f(c(x, y))

The signature Sigma is {f, g}

(2) Obligation:

Q restricted rewrite system:
The TRS R consists of the following rules:

f(c(s(x), y)) → f(c(x, s(y)))
f(c(s(x), s(y))) → g(c(x, y))
g(c(x, s(y))) → g(c(s(x), y))
g(c(s(x), s(y))) → f(c(x, y))

The set Q consists of the following terms:

f(c(s(x0), x1))
g(c(x0, s(x1)))

(3) DependencyPairsProof (EQUIVALENT transformation)

Using Dependency Pairs [AG00,LPAR04] we result in the following initial DP problem.

(4) Obligation:

Q DP problem:
The TRS P consists of the following rules:

F(c(s(x), y)) → F(c(x, s(y)))
F(c(s(x), s(y))) → G(c(x, y))
G(c(x, s(y))) → G(c(s(x), y))
G(c(s(x), s(y))) → F(c(x, y))

The TRS R consists of the following rules:

f(c(s(x), y)) → f(c(x, s(y)))
f(c(s(x), s(y))) → g(c(x, y))
g(c(x, s(y))) → g(c(s(x), y))
g(c(s(x), s(y))) → f(c(x, y))

The set Q consists of the following terms:

f(c(s(x0), x1))
g(c(x0, s(x1)))

We have to consider all minimal (P,Q,R)-chains.