<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://termination-portal.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sabel</id>
	<title>Termination-Portal.org - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="http://termination-portal.org/mediawiki/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Sabel"/>
	<link rel="alternate" type="text/html" href="http://termination-portal.org/wiki/Special:Contributions/Sabel"/>
	<updated>2026-05-08T13:51:45Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1558</id>
		<title>Cycle Rewriting</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1558"/>
		<updated>2015-07-01T09:21:58Z</updated>

		<summary type="html">&lt;p&gt;Sabel: /* Cycle termination */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
A cycle can be seen as a string of which the left end is connected to the right end, &lt;br /&gt;
by which the string has no left end or right end any more.&lt;br /&gt;
For instance, all of the strings abcd, bcda, cdab, dabc  represent the same cycle.&lt;br /&gt;
&lt;br /&gt;
Cycle rewriting applies [http://www.termination-portal.org/wiki/String_Rewriting string rewrite rules] to cycles.&lt;br /&gt;
&lt;br /&gt;
For instance, the string rewrite rule bc &amp;amp;rarr; cac can be applied to the cycle represented&lt;br /&gt;
by the string cdab resulting in dacac.&lt;br /&gt;
&lt;br /&gt;
Termination of a cycle rewrite relation means that there does not exist a cycle which&lt;br /&gt;
has an infinite derivation using cycle rewrite steps.  Cycle termination is different from&lt;br /&gt;
termination of string rewrite systems, since e.g. the system R={ab &amp;amp;rarr; ba} is terminating&lt;br /&gt;
as a string rewrite system, but it is not cycle-terminating, since ab and ba represent the same cycle.&lt;br /&gt;
An example for a cycle-terminating system is {aa &amp;amp;rarr; aba}.&lt;br /&gt;
&lt;br /&gt;
== Formal Definition of Cycles and Cycle Rewriting ==&lt;br /&gt;
=== Cycles ===&lt;br /&gt;
Let &amp;amp;Sigma; be an alphabet. &lt;br /&gt;
Two strings u,v &amp;amp;isin; &amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; represent the same cycle (u &amp;amp;sim; v) iff there exist strings w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; such that u = w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; and v = w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
A &amp;lt;strong&amp;gt;cycle&amp;lt;/strong&amp;gt; is an equivalence class w.r.t. &amp;amp;sim;.&lt;br /&gt;
&lt;br /&gt;
We write [u] for such an equivalence class with representative u.&lt;br /&gt;
&lt;br /&gt;
=== Cycle Rewriting ===&lt;br /&gt;
Let R = {l&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,l&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;} be a string rewrite system.&lt;br /&gt;
The cycle rewrite relation of R o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;  is:&lt;br /&gt;
[u] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [v] iff &amp;amp;exist;w&amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt;: u &amp;amp;sim; lw, (l &amp;amp;rarr; r) &amp;amp;isin; R, and v &amp;amp;sim; rw&lt;br /&gt;
&lt;br /&gt;
=== Cycle Termination ===&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is non-terminating iff there exists an infinite sequence of &lt;br /&gt;
cycle rewrite steps, i.e. there exist strings u&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,u&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;,... &amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; &lt;br /&gt;
s.t. [u&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [u&amp;lt;sub&amp;gt;i+1&amp;lt;/sub&amp;gt;] for all i.&lt;br /&gt;
&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is terminating iff it is not non-terminating.&lt;br /&gt;
&lt;br /&gt;
== Input Format for Cycle Termination Provers ==&lt;br /&gt;
Every termination problem for [http://www.termination-portal.org/wiki/String_Rewriting string rewrite systems] is also a termination problem for&lt;br /&gt;
cycle rewrite systems. The input format for provers is the same as for string rewrite systems &lt;br /&gt;
(problems can be found in the [http://termination-portal.org/wiki/TPDB TPDB]).&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
An approach to prove cycle termination using trace-decreasing matrix interpretations is implemented in the tool&lt;br /&gt;
[http://www.win.tue.nl/~hzantema/torpa.html torpacyc]. Another approach is to reduce cycle termination to string termination by a sound and complete&lt;br /&gt;
transformation and then applying a termination prover for termination of string rewrite systems. Several of those transformations&lt;br /&gt;
and combinations of these techniques and [http://www.win.tue.nl/~hzantema/torpa.html torpacyc] are included in the tool [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/ cycsrs] which&lt;br /&gt;
can also be used [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/cgi/prove online].&lt;br /&gt;
&lt;br /&gt;
== Further Reading ==&lt;br /&gt;
Cycle rewriting was introduced in [[#ZBK14|[1]]] where its complexity was analyzed and termination techniques &lt;br /&gt;
using arctic and tropical matrix interpretations based on type graphs were developed.&lt;br /&gt;
&lt;br /&gt;
In [[#SZ|[2]]] further termination techniques for cycle termination were introduced: trace-decreasing matrix interpretations as well as&lt;br /&gt;
sound and complete transformations from cycle to string termination.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;ZBK14&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  H. Zantema, H.J.S. Bruggink and B. Koenig, [http://dx.doi.org/10.1007/978-3-319-08918-8_33 Termination of cycle rewriting], Proceedings of Joint International Conference, RTA-TLCA 2014, Vienna, Austria, July 14-17, 2014 Springer Lecture Notes in Computer Science 8560, pages 476-490&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;SZ15&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; David Sabel and Hans Zantema. [http://drops.dagstuhl.de/opus/volltexte/2015/5203 Transforming Cycle Rewriting into String Rewriting.] In Maribel Fernández, editor, 26th International Conference on Rewriting Techniques and Applications (RTA 2015), volume 36 of Leibniz International Proceedings in Informatics (LIPIcs), pages 285-300, Dagstuhl, Germany, June 2015. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>Sabel</name></author>
		
	</entry>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1557</id>
		<title>Cycle Rewriting</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1557"/>
		<updated>2015-07-01T09:09:17Z</updated>

		<summary type="html">&lt;p&gt;Sabel: /* Further Reading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
A cycle can be seen as a string of which the left end is connected to the right end, &lt;br /&gt;
by which the string has no left end or right end any more.&lt;br /&gt;
For instance, all of the strings abcd, bcda, cdab, dabc  represent the same cycle.&lt;br /&gt;
&lt;br /&gt;
Cycle rewriting applies [http://www.termination-portal.org/wiki/String_Rewriting string rewrite rules] to cycles.&lt;br /&gt;
&lt;br /&gt;
For instance, the string rewrite rule bc &amp;amp;rarr; cac can be applied to the cycle represented&lt;br /&gt;
by the string cdab resulting in dacac.&lt;br /&gt;
&lt;br /&gt;
Termination of a cycle rewrite relation means that there does not exist a cycle which&lt;br /&gt;
has an infinite derivation using cycle rewrite steps.  Cycle termination is different from&lt;br /&gt;
termination of string rewrite systems, since e.g. the system R={ab &amp;amp;rarr; ba} is terminating&lt;br /&gt;
as a string rewrite system, but it is not cycle-terminating, since ab and ba represent the same cycle.&lt;br /&gt;
An example for a cycle-terminating system is {aa &amp;amp;rarr; aba}.&lt;br /&gt;
&lt;br /&gt;
== Formal Definition of Cycles and Cycle Rewriting ==&lt;br /&gt;
=== Cycles ===&lt;br /&gt;
Let &amp;amp;Sigma; be an alphabet. &lt;br /&gt;
Two strings u,v &amp;amp;isin; &amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; represent the same cycle (u &amp;amp;sim; v) iff there exist strings w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; such that u = w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; and v = w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
A &amp;lt;strong&amp;gt;cycle&amp;lt;/strong&amp;gt; is an equivalence class w.r.t. &amp;amp;sim;.&lt;br /&gt;
&lt;br /&gt;
We write [u] for such an equivalence class with representative u.&lt;br /&gt;
&lt;br /&gt;
=== Cycle Rewriting ===&lt;br /&gt;
Let R = {l&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,l&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;} be a string rewrite system.&lt;br /&gt;
The cycle rewrite relation of R o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;  is:&lt;br /&gt;
[u] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [v] iff &amp;amp;exist;w&amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt;: u &amp;amp;sim; lw, (l &amp;amp;rarr; r) &amp;amp;isin; R, and v &amp;amp;sim; rw&lt;br /&gt;
&lt;br /&gt;
=== Cycle termination ===&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is non-terminating iff there exists an infinite sequence of &lt;br /&gt;
cycle rewrite steps, i.e. there exist strings u&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,u&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;,... &amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; &lt;br /&gt;
s.t. [u&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [u&amp;lt;sub&amp;gt;i+1&amp;lt;/sub&amp;gt;] for all i.&lt;br /&gt;
&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is terminating iff it is not non-terminating.&lt;br /&gt;
&lt;br /&gt;
== Input Format for Cycle Termination Provers ==&lt;br /&gt;
Every termination problem for [http://www.termination-portal.org/wiki/String_Rewriting string rewrite systems] is also a termination problem for&lt;br /&gt;
cycle rewrite systems. The input format for provers is the same as for string rewrite systems &lt;br /&gt;
(problems can be found in the [http://termination-portal.org/wiki/TPDB TPDB]).&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
An approach to prove cycle termination using trace-decreasing matrix interpretations is implemented in the tool&lt;br /&gt;
[http://www.win.tue.nl/~hzantema/torpa.html torpacyc]. Another approach is to reduce cycle termination to string termination by a sound and complete&lt;br /&gt;
transformation and then applying a termination prover for termination of string rewrite systems. Several of those transformations&lt;br /&gt;
and combinations of these techniques and [http://www.win.tue.nl/~hzantema/torpa.html torpacyc] are included in the tool [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/ cycsrs] which&lt;br /&gt;
can also be used [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/cgi/prove online].&lt;br /&gt;
&lt;br /&gt;
== Further Reading ==&lt;br /&gt;
Cycle rewriting was introduced in [[#ZBK14|[1]]] where its complexity was analyzed and termination techniques &lt;br /&gt;
using arctic and tropical matrix interpretations based on type graphs were developed.&lt;br /&gt;
&lt;br /&gt;
In [[#SZ|[2]]] further termination techniques for cycle termination were introduced: trace-decreasing matrix interpretations as well as&lt;br /&gt;
sound and complete transformations from cycle to string termination.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;ZBK14&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  H. Zantema, H.J.S. Bruggink and B. Koenig, [http://dx.doi.org/10.1007/978-3-319-08918-8_33 Termination of cycle rewriting], Proceedings of Joint International Conference, RTA-TLCA 2014, Vienna, Austria, July 14-17, 2014 Springer Lecture Notes in Computer Science 8560, pages 476-490&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;SZ15&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; David Sabel and Hans Zantema. [http://drops.dagstuhl.de/opus/volltexte/2015/5203 Transforming Cycle Rewriting into String Rewriting.] In Maribel Fernández, editor, 26th International Conference on Rewriting Techniques and Applications (RTA 2015), volume 36 of Leibniz International Proceedings in Informatics (LIPIcs), pages 285-300, Dagstuhl, Germany, June 2015. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>Sabel</name></author>
		
	</entry>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1556</id>
		<title>Cycle Rewriting</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1556"/>
		<updated>2015-07-01T09:01:10Z</updated>

		<summary type="html">&lt;p&gt;Sabel: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
A cycle can be seen as a string of which the left end is connected to the right end, &lt;br /&gt;
by which the string has no left end or right end any more.&lt;br /&gt;
For instance, all of the strings abcd, bcda, cdab, dabc  represent the same cycle.&lt;br /&gt;
&lt;br /&gt;
Cycle rewriting applies [http://www.termination-portal.org/wiki/String_Rewriting string rewrite rules] to cycles.&lt;br /&gt;
&lt;br /&gt;
For instance, the string rewrite rule bc &amp;amp;rarr; cac can be applied to the cycle represented&lt;br /&gt;
by the string cdab resulting in dacac.&lt;br /&gt;
&lt;br /&gt;
Termination of a cycle rewrite relation means that there does not exist a cycle which&lt;br /&gt;
has an infinite derivation using cycle rewrite steps.  Cycle termination is different from&lt;br /&gt;
termination of string rewrite systems, since e.g. the system R={ab &amp;amp;rarr; ba} is terminating&lt;br /&gt;
as a string rewrite system, but it is not cycle-terminating, since ab and ba represent the same cycle.&lt;br /&gt;
An example for a cycle-terminating system is {aa &amp;amp;rarr; aba}.&lt;br /&gt;
&lt;br /&gt;
== Formal Definition of Cycles and Cycle Rewriting ==&lt;br /&gt;
=== Cycles ===&lt;br /&gt;
Let &amp;amp;Sigma; be an alphabet. &lt;br /&gt;
Two strings u,v &amp;amp;isin; &amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; represent the same cycle (u &amp;amp;sim; v) iff there exist strings w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; such that u = w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; and v = w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
A &amp;lt;strong&amp;gt;cycle&amp;lt;/strong&amp;gt; is an equivalence class w.r.t. &amp;amp;sim;.&lt;br /&gt;
&lt;br /&gt;
We write [u] for such an equivalence class with representative u.&lt;br /&gt;
&lt;br /&gt;
=== Cycle Rewriting ===&lt;br /&gt;
Let R = {l&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,l&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;} be a string rewrite system.&lt;br /&gt;
The cycle rewrite relation of R o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;  is:&lt;br /&gt;
[u] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [v] iff &amp;amp;exist;w&amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt;: u &amp;amp;sim; lw, (l &amp;amp;rarr; r) &amp;amp;isin; R, and v &amp;amp;sim; rw&lt;br /&gt;
&lt;br /&gt;
=== Cycle termination ===&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is non-terminating iff there exists an infinite sequence of &lt;br /&gt;
cycle rewrite steps, i.e. there exist strings u&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,u&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;,... &amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; &lt;br /&gt;
s.t. [u&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [u&amp;lt;sub&amp;gt;i+1&amp;lt;/sub&amp;gt;] for all i.&lt;br /&gt;
&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is terminating iff it is not non-terminating.&lt;br /&gt;
&lt;br /&gt;
== Input Format for Cycle Termination Provers ==&lt;br /&gt;
Every termination problem for [http://www.termination-portal.org/wiki/String_Rewriting string rewrite systems] is also a termination problem for&lt;br /&gt;
cycle rewrite systems. The input format for provers is the same as for string rewrite systems &lt;br /&gt;
(problems can be found in the [http://termination-portal.org/wiki/TPDB TPDB]).&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
An approach to prove cycle termination using trace-decreasing matrix interpretations is implemented in the tool&lt;br /&gt;
[http://www.win.tue.nl/~hzantema/torpa.html torpacyc]. Another approach is to reduce cycle termination to string termination by a sound and complete&lt;br /&gt;
transformation and then applying a termination prover for termination of string rewrite systems. Several of those transformations&lt;br /&gt;
and combinations of these techniques and [http://www.win.tue.nl/~hzantema/torpa.html torpacyc] are included in the tool [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/ cycsrs] which&lt;br /&gt;
can also be used [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/cgi/prove online].&lt;br /&gt;
&lt;br /&gt;
== Further Reading ==&lt;br /&gt;
Cycle rewriting was introduced in [[#ZBK14|[1]]] where its complexity was analyzed and termination techniques &lt;br /&gt;
using arctic and tropical matrix interpretations based on type graphs were developed.&lt;br /&gt;
&lt;br /&gt;
In [[#SZ|[2]]] more termination techniques for cycle termination were introduced: trace-decreasing matrix interpretations as well as&lt;br /&gt;
sound and complete transformations from cycle to string termination.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;ZBK14&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  H. Zantema, H.J.S. Bruggink and B. Koenig, [http://dx.doi.org/10.1007/978-3-319-08918-8_33 Termination of cycle rewriting], Proceedings of Joint International Conference, RTA-TLCA 2014, Vienna, Austria, July 14-17, 2014 Springer Lecture Notes in Computer Science 8560, pages 476-490&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;SZ15&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; David Sabel and Hans Zantema. [http://drops.dagstuhl.de/opus/volltexte/2015/5203 Transforming Cycle Rewriting into String Rewriting.] In Maribel Fernández, editor, 26th International Conference on Rewriting Techniques and Applications (RTA 2015), volume 36 of Leibniz International Proceedings in Informatics (LIPIcs), pages 285-300, Dagstuhl, Germany, June 2015. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>Sabel</name></author>
		
	</entry>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1555</id>
		<title>Cycle Rewriting</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1555"/>
		<updated>2015-07-01T09:00:04Z</updated>

		<summary type="html">&lt;p&gt;Sabel: /* Further Reading */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
A cycle can be seen as a string of which the left end is connected to the right end, &lt;br /&gt;
by which the string has no left end or right end any more.&lt;br /&gt;
For instance, all of the strings abcd, bcda, cdab, dabc  represent the same cycle.&lt;br /&gt;
&lt;br /&gt;
Cycle rewriting applies [http://www.termination-portal.org/wiki/String_Rewriting string rewrite rules] to cycles.&lt;br /&gt;
&lt;br /&gt;
For instance, the string rewrite rule bc &amp;amp;rarr; cac can be applied to the cycle represented&lt;br /&gt;
by the string cdab resulting in dacac.&lt;br /&gt;
&lt;br /&gt;
Termination of a cycle rewrite relation means that there does not exist a cycle which&lt;br /&gt;
has an infinite derivation using cycle rewrite steps.  Cycle termination is different from&lt;br /&gt;
termination of string rewrite systems, since e.g. the system R={ab &amp;amp;rarr; ba} is terminating&lt;br /&gt;
as a string rewrite system, but it is not cycle-terminating, since ab and ba represent the same cycle.&lt;br /&gt;
An example for a cycle-terminating system is {aa &amp;amp;rarr; aba}.&lt;br /&gt;
&lt;br /&gt;
== Formal Definition of Cycles and Cycle Rewriting ==&lt;br /&gt;
=== Cycles ===&lt;br /&gt;
Let &amp;amp;Sigma; be an alphabet. &lt;br /&gt;
Two strings u,v &amp;amp;isin; &amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; represent the same cycle (u &amp;amp;sim; v) iff there exist strings w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; such that u = w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; and v = w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
A &amp;lt;strong&amp;gt;cycle&amp;lt;/strong&amp;gt; is an equivalence class w.r.t. &amp;amp;sim;.&lt;br /&gt;
&lt;br /&gt;
We write [u] for such an equivalence class with representative u.&lt;br /&gt;
&lt;br /&gt;
=== Cycle Rewriting ===&lt;br /&gt;
Let R = {l&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,l&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;} be a string rewrite system.&lt;br /&gt;
The cycle rewrite relation of R o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;  is:&lt;br /&gt;
[u] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [v] iff &amp;amp;exist;w&amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt;: u &amp;amp;sim; lw, (l &amp;amp;rarr; r) &amp;amp;isin; R, and v &amp;amp;sim; rw&lt;br /&gt;
&lt;br /&gt;
=== Cycle termination ===&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is non-terminating iff there exists an infinite sequence of &lt;br /&gt;
cycle rewrite steps, i.e. there exist strings u&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,u&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;,... &amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; &lt;br /&gt;
s.t. [u&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [u&amp;lt;sub&amp;gt;i+1&amp;lt;/sub&amp;gt;] for all i.&lt;br /&gt;
&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is terminating iff it is not non-terminating.&lt;br /&gt;
&lt;br /&gt;
== Input Format for Cycle Termination Provers ==&lt;br /&gt;
Every termination problem for [http://www.termination-portal.org/wiki/String_Rewriting string rewrite systems] is also a termination problem for&lt;br /&gt;
cycle rewrite systems. The input format for provers is the same as for string rewrite systems &lt;br /&gt;
(problems can be found in the [http://termination-portal.org/wiki/TPDB TPDB]).&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
An approach to prove cycle termination using trace-decreasing matrix interpretations is implemented in the tool&lt;br /&gt;
[http://www.win.tue.nl/~hzantema/torpa.html torpacyc]. Another approach is to reduce cycle termination to string termination by a sound and complete&lt;br /&gt;
transformation and then applying a termination prover for termination of string rewrite systems. Several of those transformations&lt;br /&gt;
and combinations of these techniques and [http://www.win.tue.nl/~hzantema/torpa.html torpacyc] are included in the tool [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/ cycsrs] which&lt;br /&gt;
can also be used [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/cgi/prove online].&lt;br /&gt;
&lt;br /&gt;
== Further Reading ==&lt;br /&gt;
Cycle rewriting was introduced in [[#ZBK14|[1]]] where its complexity was analyzed and termination techniques &lt;br /&gt;
using arctic and tropical matrix interpretations based on type graphs were developed.&lt;br /&gt;
&lt;br /&gt;
In [[#SZ|[2]]] more termination techniques for cycle termination were introduced: trace-decreasing matrix interpretations as well as&lt;br /&gt;
sound and complete transformations from cycle to string termination.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;ZBK14&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  H. Zantema, H.J.S. Bruggink and B. Koenig, Termination of cycle rewriting, Proceedings of Joint International Conference, RTA-TLCA 2014, Vienna, Austria, July 14-17, 2014 Springer Lecture Notes in Computer Science 8560, pages 476-490&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;SZ15&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; David Sabel and Hans Zantema. [http://drops.dagstuhl.de/opus/volltexte/2015/5203 Transforming Cycle Rewriting into String Rewriting.] In Maribel Fernández, editor, 26th International Conference on Rewriting Techniques and Applications (RTA 2015), volume 36 of Leibniz International Proceedings in Informatics (LIPIcs), pages 285-300, Dagstuhl, Germany, June 2015. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>Sabel</name></author>
		
	</entry>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1554</id>
		<title>Cycle Rewriting</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1554"/>
		<updated>2015-07-01T08:59:20Z</updated>

		<summary type="html">&lt;p&gt;Sabel: /* Implementations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
A cycle can be seen as a string of which the left end is connected to the right end, &lt;br /&gt;
by which the string has no left end or right end any more.&lt;br /&gt;
For instance, all of the strings abcd, bcda, cdab, dabc  represent the same cycle.&lt;br /&gt;
&lt;br /&gt;
Cycle rewriting applies [http://www.termination-portal.org/wiki/String_Rewriting string rewrite rules] to cycles.&lt;br /&gt;
&lt;br /&gt;
For instance, the string rewrite rule bc &amp;amp;rarr; cac can be applied to the cycle represented&lt;br /&gt;
by the string cdab resulting in dacac.&lt;br /&gt;
&lt;br /&gt;
Termination of a cycle rewrite relation means that there does not exist a cycle which&lt;br /&gt;
has an infinite derivation using cycle rewrite steps.  Cycle termination is different from&lt;br /&gt;
termination of string rewrite systems, since e.g. the system R={ab &amp;amp;rarr; ba} is terminating&lt;br /&gt;
as a string rewrite system, but it is not cycle-terminating, since ab and ba represent the same cycle.&lt;br /&gt;
An example for a cycle-terminating system is {aa &amp;amp;rarr; aba}.&lt;br /&gt;
&lt;br /&gt;
== Formal Definition of Cycles and Cycle Rewriting ==&lt;br /&gt;
=== Cycles ===&lt;br /&gt;
Let &amp;amp;Sigma; be an alphabet. &lt;br /&gt;
Two strings u,v &amp;amp;isin; &amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; represent the same cycle (u &amp;amp;sim; v) iff there exist strings w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; such that u = w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; and v = w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
A &amp;lt;strong&amp;gt;cycle&amp;lt;/strong&amp;gt; is an equivalence class w.r.t. &amp;amp;sim;.&lt;br /&gt;
&lt;br /&gt;
We write [u] for such an equivalence class with representative u.&lt;br /&gt;
&lt;br /&gt;
=== Cycle Rewriting ===&lt;br /&gt;
Let R = {l&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,l&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;} be a string rewrite system.&lt;br /&gt;
The cycle rewrite relation of R o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;  is:&lt;br /&gt;
[u] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [v] iff &amp;amp;exist;w&amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt;: u &amp;amp;sim; lw, (l &amp;amp;rarr; r) &amp;amp;isin; R, and v &amp;amp;sim; rw&lt;br /&gt;
&lt;br /&gt;
=== Cycle termination ===&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is non-terminating iff there exists an infinite sequence of &lt;br /&gt;
cycle rewrite steps, i.e. there exist strings u&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,u&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;,... &amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; &lt;br /&gt;
s.t. [u&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [u&amp;lt;sub&amp;gt;i+1&amp;lt;/sub&amp;gt;] for all i.&lt;br /&gt;
&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is terminating iff it is not non-terminating.&lt;br /&gt;
&lt;br /&gt;
== Input Format for Cycle Termination Provers ==&lt;br /&gt;
Every termination problem for [http://www.termination-portal.org/wiki/String_Rewriting string rewrite systems] is also a termination problem for&lt;br /&gt;
cycle rewrite systems. The input format for provers is the same as for string rewrite systems &lt;br /&gt;
(problems can be found in the [http://termination-portal.org/wiki/TPDB TPDB]).&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
An approach to prove cycle termination using trace-decreasing matrix interpretations is implemented in the tool&lt;br /&gt;
[http://www.win.tue.nl/~hzantema/torpa.html torpacyc]. Another approach is to reduce cycle termination to string termination by a sound and complete&lt;br /&gt;
transformation and then applying a termination prover for termination of string rewrite systems. Several of those transformations&lt;br /&gt;
and combinations of these techniques and [http://www.win.tue.nl/~hzantema/torpa.html torpacyc] are included in the tool [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/ cycsrs] which&lt;br /&gt;
can also be used [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/cgi/prove online].&lt;br /&gt;
&lt;br /&gt;
== Further Reading ==&lt;br /&gt;
Cycle rewriting was introduced in [[#ZBK14|[1]]] where its complexity was analyzed and termination techniques &lt;br /&gt;
using arctic and tropical matrix interpretations based on type graphs were developed.&lt;br /&gt;
In [[#SZ|[2]]] more termination techniques for cycle termination were introduced: trace-decreasing matrix interpretations as well as&lt;br /&gt;
sound and complete transformations from cycle to string termination.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;ZBK14&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  H. Zantema, H.J.S. Bruggink and B. Koenig, Termination of cycle rewriting, Proceedings of Joint International Conference, RTA-TLCA 2014, Vienna, Austria, July 14-17, 2014 Springer Lecture Notes in Computer Science 8560, pages 476-490&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;SZ15&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; David Sabel and Hans Zantema. [http://drops.dagstuhl.de/opus/volltexte/2015/5203 Transforming Cycle Rewriting into String Rewriting.] In Maribel Fernández, editor, 26th International Conference on Rewriting Techniques and Applications (RTA 2015), volume 36 of Leibniz International Proceedings in Informatics (LIPIcs), pages 285-300, Dagstuhl, Germany, June 2015. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>Sabel</name></author>
		
	</entry>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1553</id>
		<title>Cycle Rewriting</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1553"/>
		<updated>2015-07-01T08:58:42Z</updated>

		<summary type="html">&lt;p&gt;Sabel: /* Implementations */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
A cycle can be seen as a string of which the left end is connected to the right end, &lt;br /&gt;
by which the string has no left end or right end any more.&lt;br /&gt;
For instance, all of the strings abcd, bcda, cdab, dabc  represent the same cycle.&lt;br /&gt;
&lt;br /&gt;
Cycle rewriting applies [http://www.termination-portal.org/wiki/String_Rewriting string rewrite rules] to cycles.&lt;br /&gt;
&lt;br /&gt;
For instance, the string rewrite rule bc &amp;amp;rarr; cac can be applied to the cycle represented&lt;br /&gt;
by the string cdab resulting in dacac.&lt;br /&gt;
&lt;br /&gt;
Termination of a cycle rewrite relation means that there does not exist a cycle which&lt;br /&gt;
has an infinite derivation using cycle rewrite steps.  Cycle termination is different from&lt;br /&gt;
termination of string rewrite systems, since e.g. the system R={ab &amp;amp;rarr; ba} is terminating&lt;br /&gt;
as a string rewrite system, but it is not cycle-terminating, since ab and ba represent the same cycle.&lt;br /&gt;
An example for a cycle-terminating system is {aa &amp;amp;rarr; aba}.&lt;br /&gt;
&lt;br /&gt;
== Formal Definition of Cycles and Cycle Rewriting ==&lt;br /&gt;
=== Cycles ===&lt;br /&gt;
Let &amp;amp;Sigma; be an alphabet. &lt;br /&gt;
Two strings u,v &amp;amp;isin; &amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; represent the same cycle (u &amp;amp;sim; v) iff there exist strings w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; such that u = w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; and v = w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
A &amp;lt;strong&amp;gt;cycle&amp;lt;/strong&amp;gt; is an equivalence class w.r.t. &amp;amp;sim;.&lt;br /&gt;
&lt;br /&gt;
We write [u] for such an equivalence class with representative u.&lt;br /&gt;
&lt;br /&gt;
=== Cycle Rewriting ===&lt;br /&gt;
Let R = {l&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,l&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;} be a string rewrite system.&lt;br /&gt;
The cycle rewrite relation of R o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;  is:&lt;br /&gt;
[u] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [v] iff &amp;amp;exist;w&amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt;: u &amp;amp;sim; lw, (l &amp;amp;rarr; r) &amp;amp;isin; R, and v &amp;amp;sim; rw&lt;br /&gt;
&lt;br /&gt;
=== Cycle termination ===&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is non-terminating iff there exists an infinite sequence of &lt;br /&gt;
cycle rewrite steps, i.e. there exist strings u&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,u&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;,... &amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; &lt;br /&gt;
s.t. [u&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [u&amp;lt;sub&amp;gt;i+1&amp;lt;/sub&amp;gt;] for all i.&lt;br /&gt;
&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is terminating iff it is not non-terminating.&lt;br /&gt;
&lt;br /&gt;
== Input Format for Cycle Termination Provers ==&lt;br /&gt;
Every termination problem for [http://www.termination-portal.org/wiki/String_Rewriting string rewrite systems] is also a termination problem for&lt;br /&gt;
cycle rewrite systems. The input format for provers is the same as for string rewrite systems &lt;br /&gt;
(problems can be found in the [http://termination-portal.org/wiki/TPDB TPDB]).&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
An approach to prove cycle termination using trace-decreasing matrix interpretations is implemented in the tool&lt;br /&gt;
[http://www.win.tue.nl/~hzantema/torpa.html torpacyc]. Another approach is to reduce cycle termination to string termination by a sound and complete&lt;br /&gt;
transformation and then applying a termination prover for termination of string rewrite systems. Several of those transformations&lt;br /&gt;
and combinations of these techniques are included in the tool [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/ cycsrs] which&lt;br /&gt;
can also be used [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/cgi/prove online].&lt;br /&gt;
&lt;br /&gt;
== Further Reading ==&lt;br /&gt;
Cycle rewriting was introduced in [[#ZBK14|[1]]] where its complexity was analyzed and termination techniques &lt;br /&gt;
using arctic and tropical matrix interpretations based on type graphs were developed.&lt;br /&gt;
In [[#SZ|[2]]] more termination techniques for cycle termination were introduced: trace-decreasing matrix interpretations as well as&lt;br /&gt;
sound and complete transformations from cycle to string termination.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;ZBK14&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  H. Zantema, H.J.S. Bruggink and B. Koenig, Termination of cycle rewriting, Proceedings of Joint International Conference, RTA-TLCA 2014, Vienna, Austria, July 14-17, 2014 Springer Lecture Notes in Computer Science 8560, pages 476-490&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;SZ15&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; David Sabel and Hans Zantema. [http://drops.dagstuhl.de/opus/volltexte/2015/5203 Transforming Cycle Rewriting into String Rewriting.] In Maribel Fernández, editor, 26th International Conference on Rewriting Techniques and Applications (RTA 2015), volume 36 of Leibniz International Proceedings in Informatics (LIPIcs), pages 285-300, Dagstuhl, Germany, June 2015. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>Sabel</name></author>
		
	</entry>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1552</id>
		<title>Cycle Rewriting</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1552"/>
		<updated>2015-07-01T08:55:25Z</updated>

		<summary type="html">&lt;p&gt;Sabel: /* References */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
A cycle can be seen as a string of which the left end is connected to the right end, &lt;br /&gt;
by which the string has no left end or right end any more.&lt;br /&gt;
For instance, all of the strings abcd, bcda, cdab, dabc  represent the same cycle.&lt;br /&gt;
&lt;br /&gt;
Cycle rewriting applies [http://www.termination-portal.org/wiki/String_Rewriting string rewrite rules] to cycles.&lt;br /&gt;
&lt;br /&gt;
For instance, the string rewrite rule bc &amp;amp;rarr; cac can be applied to the cycle represented&lt;br /&gt;
by the string cdab resulting in dacac.&lt;br /&gt;
&lt;br /&gt;
Termination of a cycle rewrite relation means that there does not exist a cycle which&lt;br /&gt;
has an infinite derivation using cycle rewrite steps.  Cycle termination is different from&lt;br /&gt;
termination of string rewrite systems, since e.g. the system R={ab &amp;amp;rarr; ba} is terminating&lt;br /&gt;
as a string rewrite system, but it is not cycle-terminating, since ab and ba represent the same cycle.&lt;br /&gt;
An example for a cycle-terminating system is {aa &amp;amp;rarr; aba}.&lt;br /&gt;
&lt;br /&gt;
== Formal Definition of Cycles and Cycle Rewriting ==&lt;br /&gt;
=== Cycles ===&lt;br /&gt;
Let &amp;amp;Sigma; be an alphabet. &lt;br /&gt;
Two strings u,v &amp;amp;isin; &amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; represent the same cycle (u &amp;amp;sim; v) iff there exist strings w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; such that u = w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; and v = w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
A &amp;lt;strong&amp;gt;cycle&amp;lt;/strong&amp;gt; is an equivalence class w.r.t. &amp;amp;sim;.&lt;br /&gt;
&lt;br /&gt;
We write [u] for such an equivalence class with representative u.&lt;br /&gt;
&lt;br /&gt;
=== Cycle Rewriting ===&lt;br /&gt;
Let R = {l&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,l&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;} be a string rewrite system.&lt;br /&gt;
The cycle rewrite relation of R o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;  is:&lt;br /&gt;
[u] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [v] iff &amp;amp;exist;w&amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt;: u &amp;amp;sim; lw, (l &amp;amp;rarr; r) &amp;amp;isin; R, and v &amp;amp;sim; rw&lt;br /&gt;
&lt;br /&gt;
=== Cycle termination ===&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is non-terminating iff there exists an infinite sequence of &lt;br /&gt;
cycle rewrite steps, i.e. there exist strings u&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,u&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;,... &amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; &lt;br /&gt;
s.t. [u&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [u&amp;lt;sub&amp;gt;i+1&amp;lt;/sub&amp;gt;] for all i.&lt;br /&gt;
&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is terminating iff it is not non-terminating.&lt;br /&gt;
&lt;br /&gt;
== Input Format for Cycle Termination Provers ==&lt;br /&gt;
Every termination problem for [http://www.termination-portal.org/wiki/String_Rewriting string rewrite systems] is also a termination problem for&lt;br /&gt;
cycle rewrite systems. The input format for provers is the same as for string rewrite systems &lt;br /&gt;
(problems can be found in the [http://termination-portal.org/wiki/TPDB TPDB]).&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
An approach to prove cycle termination using trace-decreasing matrix interpretations is implemented in the tool&lt;br /&gt;
[http://www.win.tue.nl/~hzantema/torpa.html torpacyc]. Another approach is to reduce cycle termination to string termination by a sound and complete&lt;br /&gt;
transformation and then applying a termination prover for termination of string rewrite systems. Several of those transformations&lt;br /&gt;
and combinations of the technique are included in the tool [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/ cycsrs] which&lt;br /&gt;
can also be used [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/cgi/prove online].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Further Reading ==&lt;br /&gt;
Cycle rewriting was introduced in [[#ZBK14|[1]]] where its complexity was analyzed and termination techniques &lt;br /&gt;
using arctic and tropical matrix interpretations based on type graphs were developed.&lt;br /&gt;
In [[#SZ|[2]]] more termination techniques for cycle termination were introduced: trace-decreasing matrix interpretations as well as&lt;br /&gt;
sound and complete transformations from cycle to string termination.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;ZBK14&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  H. Zantema, H.J.S. Bruggink and B. Koenig, Termination of cycle rewriting, Proceedings of Joint International Conference, RTA-TLCA 2014, Vienna, Austria, July 14-17, 2014 Springer Lecture Notes in Computer Science 8560, pages 476-490&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;SZ15&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; David Sabel and Hans Zantema. [http://drops.dagstuhl.de/opus/volltexte/2015/5203 Transforming Cycle Rewriting into String Rewriting.] In Maribel Fernández, editor, 26th International Conference on Rewriting Techniques and Applications (RTA 2015), volume 36 of Leibniz International Proceedings in Informatics (LIPIcs), pages 285-300, Dagstuhl, Germany, June 2015. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>Sabel</name></author>
		
	</entry>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1551</id>
		<title>Cycle Rewriting</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=Cycle_Rewriting&amp;diff=1551"/>
		<updated>2015-07-01T08:55:01Z</updated>

		<summary type="html">&lt;p&gt;Sabel: Created page with &amp;quot;== Introduction == A cycle can be seen as a string of which the left end is connected to the right end,  by which the string has no left end or right end any more. For instanc...&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== Introduction ==&lt;br /&gt;
A cycle can be seen as a string of which the left end is connected to the right end, &lt;br /&gt;
by which the string has no left end or right end any more.&lt;br /&gt;
For instance, all of the strings abcd, bcda, cdab, dabc  represent the same cycle.&lt;br /&gt;
&lt;br /&gt;
Cycle rewriting applies [http://www.termination-portal.org/wiki/String_Rewriting string rewrite rules] to cycles.&lt;br /&gt;
&lt;br /&gt;
For instance, the string rewrite rule bc &amp;amp;rarr; cac can be applied to the cycle represented&lt;br /&gt;
by the string cdab resulting in dacac.&lt;br /&gt;
&lt;br /&gt;
Termination of a cycle rewrite relation means that there does not exist a cycle which&lt;br /&gt;
has an infinite derivation using cycle rewrite steps.  Cycle termination is different from&lt;br /&gt;
termination of string rewrite systems, since e.g. the system R={ab &amp;amp;rarr; ba} is terminating&lt;br /&gt;
as a string rewrite system, but it is not cycle-terminating, since ab and ba represent the same cycle.&lt;br /&gt;
An example for a cycle-terminating system is {aa &amp;amp;rarr; aba}.&lt;br /&gt;
&lt;br /&gt;
== Formal Definition of Cycles and Cycle Rewriting ==&lt;br /&gt;
=== Cycles ===&lt;br /&gt;
Let &amp;amp;Sigma; be an alphabet. &lt;br /&gt;
Two strings u,v &amp;amp;isin; &amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; represent the same cycle (u &amp;amp;sim; v) iff there exist strings w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; such that u = w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt; and v = w&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;w&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;. &lt;br /&gt;
&lt;br /&gt;
A &amp;lt;strong&amp;gt;cycle&amp;lt;/strong&amp;gt; is an equivalence class w.r.t. &amp;amp;sim;.&lt;br /&gt;
&lt;br /&gt;
We write [u] for such an equivalence class with representative u.&lt;br /&gt;
&lt;br /&gt;
=== Cycle Rewriting ===&lt;br /&gt;
Let R = {l&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,...,l&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt; &amp;amp;rarr; r&amp;lt;sub&amp;gt;n&amp;lt;/sub&amp;gt;} be a string rewrite system.&lt;br /&gt;
The cycle rewrite relation of R o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;  is:&lt;br /&gt;
[u] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [v] iff &amp;amp;exist;w&amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt;: u &amp;amp;sim; lw, (l &amp;amp;rarr; r) &amp;amp;isin; R, and v &amp;amp;sim; rw&lt;br /&gt;
&lt;br /&gt;
=== Cycle termination ===&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is non-terminating iff there exists an infinite sequence of &lt;br /&gt;
cycle rewrite steps, i.e. there exist strings u&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt;,u&amp;lt;sub&amp;gt;2&amp;lt;/sub&amp;gt;,... &amp;amp;isin;&amp;amp;Sigma;&amp;lt;sup&amp;gt;*&amp;lt;/sup&amp;gt; &lt;br /&gt;
s.t. [u&amp;lt;sub&amp;gt;i&amp;lt;/sub&amp;gt;] o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; [u&amp;lt;sub&amp;gt;i+1&amp;lt;/sub&amp;gt;] for all i.&lt;br /&gt;
&lt;br /&gt;
A cycle rewrite relation o&amp;amp;zwj;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; is terminating iff it is not non-terminating.&lt;br /&gt;
&lt;br /&gt;
== Input Format for Cycle Termination Provers ==&lt;br /&gt;
Every termination problem for [http://www.termination-portal.org/wiki/String_Rewriting string rewrite systems] is also a termination problem for&lt;br /&gt;
cycle rewrite systems. The input format for provers is the same as for string rewrite systems &lt;br /&gt;
(problems can be found in the [http://termination-portal.org/wiki/TPDB TPDB]).&lt;br /&gt;
&lt;br /&gt;
== Implementations ==&lt;br /&gt;
An approach to prove cycle termination using trace-decreasing matrix interpretations is implemented in the tool&lt;br /&gt;
[http://www.win.tue.nl/~hzantema/torpa.html torpacyc]. Another approach is to reduce cycle termination to string termination by a sound and complete&lt;br /&gt;
transformation and then applying a termination prover for termination of string rewrite systems. Several of those transformations&lt;br /&gt;
and combinations of the technique are included in the tool [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/ cycsrs] which&lt;br /&gt;
can also be used [http://www.ki.informatik.uni-frankfurt.de/research/cycsrs/cgi/prove online].&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Further Reading ==&lt;br /&gt;
Cycle rewriting was introduced in [[#ZBK14|[1]]] where its complexity was analyzed and termination techniques &lt;br /&gt;
using arctic and tropical matrix interpretations based on type graphs were developed.&lt;br /&gt;
In [[#SZ|[2]]] more termination techniques for cycle termination were introduced: trace-decreasing matrix interpretations as well as&lt;br /&gt;
sound and complete transformations from cycle to string termination.&lt;br /&gt;
&lt;br /&gt;
=== References ===&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;ZBK14&amp;quot;&amp;gt;&amp;lt;/span&amp;gt;  H. Zantema, H.J.S. Bruggink and B. Koenig, Termination of cycle rewriting, Proceedings of Joint International Conference, RTA-TLCA 2014, Vienna, Austria, July 14-17, 2014 Springer Lecture Notes in Computer Science 8560, pages 476-490&lt;br /&gt;
:#&amp;lt;span id=&amp;quot;SZ15&amp;quot;&amp;gt;&amp;lt;/span&amp;gt; David Sabel and Hans Zantema. [http://drops.dagstuhl.de/opus/volltexte/2015/5203 Transforming Cycle Rewriting into String Rewriting.] In Maribel Fernández, editor, 26th International Conference on Rewriting Techniques and Applications (RTA 2015), volume 36 of Leibniz International Proceedings in Informatics (LIPIcs), pages 285-300, Dagstuhl, Germany, June 2015. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik.&lt;/div&gt;</summary>
		<author><name>Sabel</name></author>
		
	</entry>
</feed>