YES Termination w.r.t. Q proof of /home/cern_httpd/provide/research/cycsrs/tpdb/TPDB-d9b80194f163/SRS_Standard/Secret_06_SRS/3-matchbox.srs

(0) Obligation:

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

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

Q is empty.

(1) DependencyPairsProof (EQUIVALENT transformation)

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

(2) Obligation:

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

C(b(a(a(x)))) → A(a(b(c(x))))
C(b(a(a(x)))) → A(b(c(x)))
C(b(a(a(x)))) → B(c(x))
C(b(a(a(x)))) → C(x)
B(a(a(a(x)))) → A(a(a(b(x))))
B(a(a(a(x)))) → A(a(b(x)))
B(a(a(a(x)))) → A(b(x))
B(a(a(a(x)))) → B(x)
A(b(c(x))) → C(b(a(x)))
A(b(c(x))) → B(a(x))
A(b(c(x))) → A(x)
C(c(b(b(x)))) → B(b(c(c(x))))
C(c(b(b(x)))) → B(c(c(x)))
C(c(b(b(x)))) → C(c(x))
C(c(b(b(x)))) → C(x)

The TRS R consists of the following rules:

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

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

(3) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04,JAR06].


The following pairs can be oriented strictly and are deleted.


A(b(c(x))) → B(a(x))
A(b(c(x))) → A(x)
C(c(b(b(x)))) → C(x)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(A(x1)) = x1   
POL(B(x1)) = x1   
POL(C(x1)) = 1 + x1   
POL(a(x1)) = x1   
POL(b(x1)) = x1   
POL(c(x1)) = 1 + x1   

The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:

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

(4) Obligation:

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

C(b(a(a(x)))) → A(a(b(c(x))))
C(b(a(a(x)))) → A(b(c(x)))
C(b(a(a(x)))) → B(c(x))
C(b(a(a(x)))) → C(x)
B(a(a(a(x)))) → A(a(a(b(x))))
B(a(a(a(x)))) → A(a(b(x)))
B(a(a(a(x)))) → A(b(x))
B(a(a(a(x)))) → B(x)
A(b(c(x))) → C(b(a(x)))
C(c(b(b(x)))) → B(b(c(c(x))))
C(c(b(b(x)))) → B(c(c(x)))
C(c(b(b(x)))) → C(c(x))

The TRS R consists of the following rules:

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

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

(5) MRRProof (EQUIVALENT transformation)

By using the rule removal processor [LPAR04] with the following ordering, at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.
Strictly oriented dependency pairs:

C(b(a(a(x)))) → C(x)
C(c(b(b(x)))) → B(c(c(x)))
C(c(b(b(x)))) → C(c(x))


Used ordering: Polynomial interpretation [POLO]:

POL(A(x1)) = 1 + x1   
POL(B(x1)) = 2 + 2·x1   
POL(C(x1)) = 2 + 2·x1   
POL(a(x1)) = x1   
POL(b(x1)) = 1 + 2·x1   
POL(c(x1)) = 1 + 2·x1   

(6) Obligation:

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

C(b(a(a(x)))) → A(a(b(c(x))))
C(b(a(a(x)))) → A(b(c(x)))
C(b(a(a(x)))) → B(c(x))
B(a(a(a(x)))) → A(a(a(b(x))))
B(a(a(a(x)))) → A(a(b(x)))
B(a(a(a(x)))) → A(b(x))
B(a(a(a(x)))) → B(x)
A(b(c(x))) → C(b(a(x)))
C(c(b(b(x)))) → B(b(c(c(x))))

The TRS R consists of the following rules:

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

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

(7) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04,JAR06].


The following pairs can be oriented strictly and are deleted.


C(b(a(a(x)))) → A(b(c(x)))
C(b(a(a(x)))) → B(c(x))
B(a(a(a(x)))) → A(a(b(x)))
B(a(a(a(x)))) → A(b(x))
B(a(a(a(x)))) → B(x)
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial interpretation [POLO]:

POL(A(x1)) = 1 + x1   
POL(B(x1)) = x1   
POL(C(x1)) = x1   
POL(a(x1)) = 1 + x1   
POL(b(x1)) = x1   
POL(c(x1)) = x1   

The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:

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

(8) Obligation:

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

C(b(a(a(x)))) → A(a(b(c(x))))
B(a(a(a(x)))) → A(a(a(b(x))))
A(b(c(x))) → C(b(a(x)))
C(c(b(b(x)))) → B(b(c(c(x))))

The TRS R consists of the following rules:

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

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

(9) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04,JAR06].


The following pairs can be oriented strictly and are deleted.


B(a(a(a(x)))) → A(a(a(b(x))))
C(c(b(b(x)))) → B(b(c(c(x))))
The remaining pairs can at least be oriented weakly.
Used ordering: Polynomial Order [NEGPOLO,POLO] with Interpretation:
POL( A(x1) ) = 0

POL( B(x1) ) = 2

POL( C(x1) ) = max{0, 2x1 - 2}

POL( a(x1) ) = 0

POL( b(x1) ) = 2x1 + 1

POL( c(x1) ) = max{0, 2x1 - 2}


The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:

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

(10) Obligation:

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

C(b(a(a(x)))) → A(a(b(c(x))))
A(b(c(x))) → C(b(a(x)))

The TRS R consists of the following rules:

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

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

(11) QDPOrderProof (EQUIVALENT transformation)

We use the reduction pair processor [LPAR04,JAR06].


The following pairs can be oriented strictly and are deleted.


C(b(a(a(x)))) → A(a(b(c(x))))
The remaining pairs can at least be oriented weakly.
Used ordering: Matrix interpretation [MATRO] with arctic natural numbers [ARCTIC]:

POL(C(x1)) = 0A +
[0A,0A,-I]
·x1

POL(b(x1)) =
/-I\
|-I|
\-I/
+
/0A-I0A\
|-I-I0A|
\-I0A-I/
·x1

POL(a(x1)) =
/0A\
|0A|
\-I/
+
/1A1A0A\
|0A0A1A|
\0A0A0A/
·x1

POL(A(x1)) = 0A +
[-I,-I,0A]
·x1

POL(c(x1)) =
/0A\
|0A|
\-I/
+
/1A1A0A\
|1A1A0A|
\0A0A-I/
·x1

The following usable rules [FROCOS05] with respect to the argument filtering of the ordering [JAR06] were oriented:

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

(12) Obligation:

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

A(b(c(x))) → C(b(a(x)))

The TRS R consists of the following rules:

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

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

(13) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 0 SCCs with 1 less node.

(14) TRUE