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:

f(s(x)) → s(f(f(p(s(x)))))
f(0) → 0
p(s(x)) → x

Q is empty.


QTRS
  ↳ QTRS Reverse

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

f(s(x)) → s(f(f(p(s(x)))))
f(0) → 0
p(s(x)) → x

Q is empty.

We have reversed the following QTRS:
The set of rules R is

f(s(x)) → s(f(f(p(s(x)))))
f(0) → 0
p(s(x)) → x

The set Q is empty.
We have obtained the following QTRS:

s(f(x)) → s(p(f(f(s(x)))))
0'(f(x)) → 0'(x)
s(p(x)) → x

The set Q is empty.

↳ QTRS
  ↳ QTRS Reverse
QTRS
      ↳ RFCMatchBoundsTRSProof

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

s(f(x)) → s(p(f(f(s(x)))))
0'(f(x)) → 0'(x)
s(p(x)) → x

Q is empty.

Termination of the TRS R could be shown with a Match Bound [6,7] of 2. This implies Q-termination of R.
The following rules were used to construct the certificate:

s(f(x)) → s(p(f(f(s(x)))))
0'(f(x)) → 0'(x)
s(p(x)) → x

The certificate found is represented by the following graph.

The certificate consists of the following enumerated nodes:

93, 94, 95, 96, 98, 97, 99, 100, 102, 101

Node 93 is start node and node 94 is final node.

Those nodes are connect through the following edges: