Term Rewriting System R:
[x]
f(0) -> s(0)
f(s(0)) -> s(0)
f(s(s(x))) -> f(f(s(x)))
Termination of R to be shown.
TRS
↳RFC Match Bounds
Termination could be shown with a Match Bound of 2.
The certificate found is represented by the following graph.
The certificate consists of the following enumerated nodes:
1, 2, 3, 4, 5, 6, 7, 8, 9
Node 1 is start node and node 2 is final node.
Those nodes are connect through the following edges:
- 2 to 2 labelled #(0)
- 1 to 3 labelled f(0)
- 3 to 4 labelled f(0)
- 4 to 2 labelled s(0)
- 1 to 5 labelled s(0)
- 5 to 2 labelled 0(0)
- 3 to 6 labelled s(1)
- 6 to 2 labelled 0(1)
- 3 to 7 labelled f(1)
- 7 to 8 labelled f(1)
- 8 to 2 labelled s(1)
- 1 to 6 labelled s(1)
- 7 to 6 labelled s(1)
- 7 to 7 labelled f(1)
- 7 to 9 labelled s(2)
- 9 to 2 labelled 0(2)
- 3 to 9 labelled s(2)
Termination of R successfully shown.
Duration:
0:00 minutes