YES Termination w.r.t. Q proof of /home/cern_httpd/provide/research/cycsrs/tpdb/TPDB-d9b80194f163/SRS_Standard/Zantema_04/z047-split.srs

(0) Obligation:

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

Begin(a(b(a(x)))) → Wait(Right1(x))
Begin(b(a(x))) → Wait(Right2(x))
Begin(a(x)) → Wait(Right3(x))
Right1(c(End(x))) → Left(a(b(a(a(c(a(b(c(a(b(End(x))))))))))))
Right2(c(a(End(x)))) → Left(a(b(a(a(c(a(b(c(a(b(End(x))))))))))))
Right3(c(a(b(End(x))))) → Left(a(b(a(a(c(a(b(c(a(b(End(x))))))))))))
Right1(c(x)) → Ac(Right1(x))
Right2(c(x)) → Ac(Right2(x))
Right3(c(x)) → Ac(Right3(x))
Right1(a(x)) → Aa(Right1(x))
Right2(a(x)) → Aa(Right2(x))
Right3(a(x)) → Aa(Right3(x))
Right1(b(x)) → Ab(Right1(x))
Right2(b(x)) → Ab(Right2(x))
Right3(b(x)) → Ab(Right3(x))
Ac(Left(x)) → Left(c(x))
Aa(Left(x)) → Left(a(x))
Ab(Left(x)) → Left(b(x))
Wait(Left(x)) → Begin(x)
c(a(b(a(x)))) → a(b(a(a(c(a(b(c(a(b(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:

a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(c(Right1(x))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(a(c(Right2(x)))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(b(a(c(Right3(x))))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))

Q is empty.

(3) DependencyPairsProof (EQUIVALENT transformation)

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

(4) Obligation:

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

END(c(Right1(x))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
END(c(Right1(x))) → B(a(c(b(a(c(a(a(b(a(Left(x)))))))))))
END(c(Right1(x))) → A(c(b(a(c(a(a(b(a(Left(x))))))))))
END(c(Right1(x))) → C(b(a(c(a(a(b(a(Left(x)))))))))
END(c(Right1(x))) → B(a(c(a(a(b(a(Left(x))))))))
END(c(Right1(x))) → A(c(a(a(b(a(Left(x)))))))
END(c(Right1(x))) → C(a(a(b(a(Left(x))))))
END(c(Right1(x))) → A(a(b(a(Left(x)))))
END(c(Right1(x))) → A(b(a(Left(x))))
END(c(Right1(x))) → B(a(Left(x)))
END(c(Right1(x))) → A(Left(x))
END(c(Right1(x))) → LEFT(x)
END(a(c(Right2(x)))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
END(a(c(Right2(x)))) → B(a(c(b(a(c(a(a(b(a(Left(x)))))))))))
END(a(c(Right2(x)))) → A(c(b(a(c(a(a(b(a(Left(x))))))))))
END(a(c(Right2(x)))) → C(b(a(c(a(a(b(a(Left(x)))))))))
END(a(c(Right2(x)))) → B(a(c(a(a(b(a(Left(x))))))))
END(a(c(Right2(x)))) → A(c(a(a(b(a(Left(x)))))))
END(a(c(Right2(x)))) → C(a(a(b(a(Left(x))))))
END(a(c(Right2(x)))) → A(a(b(a(Left(x)))))
END(a(c(Right2(x)))) → A(b(a(Left(x))))
END(a(c(Right2(x)))) → B(a(Left(x)))
END(a(c(Right2(x)))) → A(Left(x))
END(a(c(Right2(x)))) → LEFT(x)
END(b(a(c(Right3(x))))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
END(b(a(c(Right3(x))))) → B(a(c(b(a(c(a(a(b(a(Left(x)))))))))))
END(b(a(c(Right3(x))))) → A(c(b(a(c(a(a(b(a(Left(x))))))))))
END(b(a(c(Right3(x))))) → C(b(a(c(a(a(b(a(Left(x)))))))))
END(b(a(c(Right3(x))))) → B(a(c(a(a(b(a(Left(x))))))))
END(b(a(c(Right3(x))))) → A(c(a(a(b(a(Left(x)))))))
END(b(a(c(Right3(x))))) → C(a(a(b(a(Left(x))))))
END(b(a(c(Right3(x))))) → A(a(b(a(Left(x)))))
END(b(a(c(Right3(x))))) → A(b(a(Left(x))))
END(b(a(c(Right3(x))))) → B(a(Left(x)))
END(b(a(c(Right3(x))))) → A(Left(x))
END(b(a(c(Right3(x))))) → LEFT(x)
LEFT(Ac(x)) → C(Left(x))
LEFT(Ac(x)) → LEFT(x)
LEFT(Aa(x)) → A(Left(x))
LEFT(Aa(x)) → LEFT(x)
LEFT(Ab(x)) → B(Left(x))
LEFT(Ab(x)) → LEFT(x)
A(b(a(c(x)))) → B(a(c(b(a(c(a(a(b(a(x))))))))))
A(b(a(c(x)))) → A(c(b(a(c(a(a(b(a(x)))))))))
A(b(a(c(x)))) → C(b(a(c(a(a(b(a(x))))))))
A(b(a(c(x)))) → B(a(c(a(a(b(a(x)))))))
A(b(a(c(x)))) → A(c(a(a(b(a(x))))))
A(b(a(c(x)))) → C(a(a(b(a(x)))))
A(b(a(c(x)))) → A(a(b(a(x))))
A(b(a(c(x)))) → A(b(a(x)))
A(b(a(c(x)))) → B(a(x))
A(b(a(c(x)))) → A(x)

The TRS R consists of the following rules:

a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(c(Right1(x))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(a(c(Right2(x)))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(b(a(c(Right3(x))))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))

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

(5) DependencyGraphProof (EQUIVALENT transformation)

The approximation of the Dependency Graph [LPAR04,FROCOS05,EDGSTAR] contains 3 SCCs with 41 less nodes.

(6) Complex Obligation (AND)

(7) Obligation:

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

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

The TRS R consists of the following rules:

a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(c(Right1(x))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(a(c(Right2(x)))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(b(a(c(Right3(x))))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))

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

(8) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(9) Obligation:

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

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

The TRS R consists of the following rules:

a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(10) 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 rules of the TRS R:

a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))

Used ordering: Polynomial interpretation [POLO]:

POL(A(x1)) = 2·x1   
POL(Aa(x1)) = x1   
POL(Ab(x1)) = x1   
POL(Ac(x1)) = x1   
POL(Begin(x1)) = 3 + 2·x1   
POL(Right1(x1)) = x1   
POL(Right2(x1)) = x1   
POL(Right3(x1)) = 2·x1   
POL(Wait(x1)) = x1   
POL(a(x1)) = x1   
POL(b(x1)) = x1   
POL(c(x1)) = x1   

(11) Obligation:

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

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

The TRS R consists of the following rules:

a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(12) QDPOrderProof (EQUIVALENT transformation)

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


The following pairs can be oriented strictly and are deleted.


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

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

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

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

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

POL(Right1(x1)) =
/0A\
|-I|
\0A/
+
/-I0A0A\
|-I0A0A|
\-I0A0A/
·x1

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

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

POL(Right3(x1)) =
/0A\
|0A|
\-I/
+
/0A0A0A\
|0A1A1A|
\-I0A0A/
·x1

POL(Ab(x1)) =
/-I\
|-I|
\-I/
+
/0A0A0A\
|-I0A-I|
\-I0A0A/
·x1

POL(Ac(x1)) =
/0A\
|-I|
\-I/
+
/0A0A0A\
|-I-I-I|
\-I-I-I/
·x1

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

a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

(13) Obligation:

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

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

The TRS R consists of the following rules:

a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(14) QDPOrderProof (EQUIVALENT transformation)

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


The following pairs can be oriented strictly and are deleted.


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

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

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

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

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

POL(Right1(x1)) =
/0A\
|1A|
\0A/
+
/-I0A0A\
|0A1A1A|
\1A0A0A/
·x1

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

POL(Right2(x1)) =
/0A\
|-I|
\0A/
+
/-I0A0A\
|0A-I0A|
\0A0A1A/
·x1

POL(Right3(x1)) =
/0A\
|0A|
\-I/
+
/-I-I0A\
|0A-I1A|
\-I0A0A/
·x1

POL(Ab(x1)) =
/-I\
|-I|
\-I/
+
/0A0A0A\
|-I-I0A|
\-I-I-I/
·x1

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

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

a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

(15) Obligation:

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

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

The TRS R consists of the following rules:

a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(16) QDPOrderProof (EQUIVALENT transformation)

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


The following pairs can be oriented strictly and are deleted.


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

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

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

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

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

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

POL(Aa(x1)) =
/0A\
|-I|
\0A/
+
/0A-I-I\
|-I-I-I|
\0A0A-I/
·x1

POL(Right2(x1)) =
/0A\
|-I|
\0A/
+
/0A-I0A\
|-I1A0A|
\0A1A-I/
·x1

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

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

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

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

a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

(17) Obligation:

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

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

The TRS R consists of the following rules:

a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(18) QDPOrderProof (EQUIVALENT transformation)

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


The following pairs can be oriented strictly and are deleted.


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

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

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

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

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

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

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

POL(Right2(x1)) =
/-I\
|0A|
\-I/
+
/0A-I0A\
|0A0A0A|
\-I0A0A/
·x1

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

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

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

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

a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

(19) Obligation:

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

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

The TRS R consists of the following rules:

a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(20) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(21) Obligation:

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

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

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

(22) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • A(b(a(c(x)))) → A(x)
    The graph contains the following edges 1 > 1

(23) YES

(24) Obligation:

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

LEFT(Aa(x)) → LEFT(x)
LEFT(Ac(x)) → LEFT(x)
LEFT(Ab(x)) → LEFT(x)

The TRS R consists of the following rules:

a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(c(Right1(x))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(a(c(Right2(x)))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(b(a(c(Right3(x))))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))

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

(25) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(26) Obligation:

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

LEFT(Aa(x)) → LEFT(x)
LEFT(Ac(x)) → LEFT(x)
LEFT(Ab(x)) → LEFT(x)

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

(27) QDPSizeChangeProof (EQUIVALENT transformation)

By using the subterm criterion [SUBTERM_CRITERION] together with the size-change analysis [AAECC05] we have proven that there are no infinite chains for this DP problem.

From the DPs we obtained the following set of size-change graphs:

  • LEFT(Aa(x)) → LEFT(x)
    The graph contains the following edges 1 > 1

  • LEFT(Ac(x)) → LEFT(x)
    The graph contains the following edges 1 > 1

  • LEFT(Ab(x)) → LEFT(x)
    The graph contains the following edges 1 > 1

(28) YES

(29) Obligation:

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

END(a(c(Right2(x)))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
END(c(Right1(x))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
END(b(a(c(Right3(x))))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))

The TRS R consists of the following rules:

a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
End(c(Right1(x))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(a(c(Right2(x)))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
End(b(a(c(Right3(x))))) → End(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))

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

(30) UsableRulesProof (EQUIVALENT transformation)

We can use the usable rules and reduction pair processor [LPAR04] with the Ce-compatible extension of the polynomial order that maps every function symbol to the sum of its arguments. Then, we can delete all non-usable rules [FROCOS05] from R.

(31) Obligation:

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

END(a(c(Right2(x)))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
END(c(Right1(x))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
END(b(a(c(Right3(x))))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))

The TRS R consists of the following rules:

Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(32) QDPOrderProof (EQUIVALENT transformation)

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


The following pairs can be oriented strictly and are deleted.


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

POL(Aa(x1)) = x1   
POL(Ab(x1)) = x1   
POL(Ac(x1)) = x1   
POL(Begin(x1)) = x1   
POL(END(x1)) = x1   
POL(Left(x1)) = 0   
POL(Right1(x1)) = 0   
POL(Right2(x1)) = 0   
POL(Right3(x1)) = 0   
POL(Wait(x1)) = x1   
POL(a(x1)) = 1   
POL(b(x1)) = 0   
POL(c(x1)) = 0   

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

b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))

(33) Obligation:

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

END(c(Right1(x))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))
END(b(a(c(Right3(x))))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))

The TRS R consists of the following rules:

Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(34) QDPOrderProof (EQUIVALENT transformation)

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


The following pairs can be oriented strictly and are deleted.


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

POL(Aa(x1)) = x1   
POL(Ab(x1)) = x1   
POL(Ac(x1)) = x1   
POL(Begin(x1)) = x1   
POL(END(x1)) = x1   
POL(Left(x1)) = 0   
POL(Right1(x1)) = 1   
POL(Right2(x1)) = 0   
POL(Right3(x1)) = 0   
POL(Wait(x1)) = x1   
POL(a(x1)) = 0   
POL(b(x1)) = 1   
POL(c(x1)) = 1 + x1   

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

b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))

(35) Obligation:

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

END(b(a(c(Right3(x))))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))

The TRS R consists of the following rules:

Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(36) 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 rules of the TRS R:

a(b(a(Begin(x)))) → Right1(Wait(x))
a(b(Begin(x))) → Right2(Wait(x))

Used ordering: Polynomial interpretation [POLO]:

POL(Aa(x1)) = x1   
POL(Ab(x1)) = x1   
POL(Ac(x1)) = x1   
POL(Begin(x1)) = 2 + 2·x1   
POL(END(x1)) = 2·x1   
POL(Left(x1)) = 2·x1   
POL(Right1(x1)) = x1   
POL(Right2(x1)) = x1   
POL(Right3(x1)) = 2·x1   
POL(Wait(x1)) = 1 + x1   
POL(a(x1)) = x1   
POL(b(x1)) = x1   
POL(c(x1)) = x1   

(37) Obligation:

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

END(b(a(c(Right3(x))))) → END(b(a(c(b(a(c(a(a(b(a(Left(x))))))))))))

The TRS R consists of the following rules:

Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(38) QDPOrderProof (EQUIVALENT transformation)

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


The following pairs can be oriented strictly and are deleted.


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

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

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

POL(a(x1)) =
/-I\
|-I|
\-I/
+
/0A0A0A\
|-I1A-I|
\0A0A0A/
·x1

POL(c(x1)) =
/-I\
|-I|
\-I/
+
/0A0A0A\
|0A-I0A|
\-I0A0A/
·x1

POL(Right3(x1)) =
/-I\
|-I|
\-I/
+
/0A0A-I\
|-I-I1A|
\1A0A-I/
·x1

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

POL(Ac(x1)) =
/-I\
|-I|
\-I/
+
/0A-I0A\
|1A0A0A|
\0A-I-I/
·x1

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

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

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

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

POL(Right1(x1)) =
/-I\
|-I|
\0A/
+
/1A0A0A\
|-I0A1A|
\0A-I-I/
·x1

POL(Right2(x1)) =
/-I\
|-I|
\0A/
+
/1A0A0A\
|-I-I1A|
\0A-I0A/
·x1

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

Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

(39) Obligation:

Q DP problem:
P is empty.
The TRS R consists of the following rules:

Left(Ac(x)) → c(Left(x))
Left(Aa(x)) → a(Left(x))
Left(Ab(x)) → b(Left(x))
Left(Wait(x)) → Begin(x)
a(Begin(x)) → Right3(Wait(x))
a(Right1(x)) → Right1(Aa(x))
a(Right2(x)) → Right2(Aa(x))
a(Right3(x)) → Right3(Aa(x))
a(b(a(c(x)))) → b(a(c(b(a(c(a(a(b(a(x))))))))))
b(Right1(x)) → Right1(Ab(x))
b(Right2(x)) → Right2(Ab(x))
b(Right3(x)) → Right3(Ab(x))
c(Right1(x)) → Right1(Ac(x))
c(Right2(x)) → Right2(Ac(x))
c(Right3(x)) → Right3(Ac(x))

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

(40) PisEmptyProof (EQUIVALENT transformation)

The TRS P is empty. Hence, there is no (P,Q,R) chain.

(41) YES