YES Termination w.r.t. Q proof of /home/cern_httpd/provide/research/cycsrs/examples/collection/ab-ba.srs

(0) Obligation:

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

a(b(x)) → b(a(x))

Q is empty.

(1) QTRS Reverse (EQUIVALENT transformation)

We applied the QTRS Reverse Processor [REVERSE].

(2) Obligation:

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

b(a(x)) → a(b(x))

Q is empty.

(3) RFCMatchBoundsTRSProof (EQUIVALENT transformation)

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

b(a(x)) → a(b(x))

The certificate found is represented by the following graph.

The certificate consists of the following enumerated nodes:

1, 3, 7, 8

Node 1 is start node and node 3 is final node.

Those nodes are connected through the following edges:

  • 1 to 7 labelled a_1(0)
  • 3 to 3 labelled #_1(0)
  • 7 to 3 labelled b_1(0)
  • 7 to 8 labelled a_1(1)
  • 8 to 3 labelled b_1(1)
  • 8 to 8 labelled a_1(1)

(4) YES