Termination w.r.t. Q of the following Term Rewriting System could be proven:

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

f2(g1(x), g1(y)) -> f2(p1(f2(g1(x), s1(y))), g1(s1(p1(x))))
p1(0) -> g1(0)
g1(s1(p1(x))) -> p1(x)

Q is empty.


QTRS
  ↳ DependencyPairsProof

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

f2(g1(x), g1(y)) -> f2(p1(f2(g1(x), s1(y))), g1(s1(p1(x))))
p1(0) -> g1(0)
g1(s1(p1(x))) -> p1(x)

Q is empty.

Using Dependency Pairs [1,13] we result in the following initial DP problem:
Q DP problem:
The TRS P consists of the following rules:

F2(g1(x), g1(y)) -> P1(f2(g1(x), s1(y)))
F2(g1(x), g1(y)) -> F2(p1(f2(g1(x), s1(y))), g1(s1(p1(x))))
F2(g1(x), g1(y)) -> F2(g1(x), s1(y))
P1(0) -> G1(0)
F2(g1(x), g1(y)) -> G1(s1(p1(x)))
F2(g1(x), g1(y)) -> P1(x)

The TRS R consists of the following rules:

f2(g1(x), g1(y)) -> f2(p1(f2(g1(x), s1(y))), g1(s1(p1(x))))
p1(0) -> g1(0)
g1(s1(p1(x))) -> p1(x)

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

↳ QTRS
  ↳ DependencyPairsProof
QDP
      ↳ DependencyGraphProof

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

F2(g1(x), g1(y)) -> P1(f2(g1(x), s1(y)))
F2(g1(x), g1(y)) -> F2(p1(f2(g1(x), s1(y))), g1(s1(p1(x))))
F2(g1(x), g1(y)) -> F2(g1(x), s1(y))
P1(0) -> G1(0)
F2(g1(x), g1(y)) -> G1(s1(p1(x)))
F2(g1(x), g1(y)) -> P1(x)

The TRS R consists of the following rules:

f2(g1(x), g1(y)) -> f2(p1(f2(g1(x), s1(y))), g1(s1(p1(x))))
p1(0) -> g1(0)
g1(s1(p1(x))) -> p1(x)

Q is empty.
We have to consider all minimal (P,Q,R)-chains.
The approximation of the Dependency Graph [13,14,18] contains 0 SCCs with 6 less nodes.