<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://termination-portal.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=TRS_Contextsensitive</id>
	<title>TRS Contextsensitive - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://termination-portal.org/mediawiki/index.php?action=history&amp;feed=atom&amp;title=TRS_Contextsensitive"/>
	<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=TRS_Contextsensitive&amp;action=history"/>
	<updated>2026-06-24T00:59:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.34.2</generator>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=TRS_Contextsensitive&amp;diff=2201&amp;oldid=prev</id>
		<title>JCKassing: Small fixes</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=TRS_Contextsensitive&amp;diff=2201&amp;oldid=prev"/>
		<updated>2026-06-09T12:17:24Z</updated>

		<summary type="html">&lt;p&gt;Small fixes&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revision as of 12:17, 9 June 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l10&quot; &gt;Line 10:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 10:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Formally, a term rewrite system 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;} is a finite set of rewrite rules, see [1].&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Formally, a term rewrite system 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;} is a finite set of rewrite rules, see [1].&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Additionally, every n-ary function &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;symbbol &lt;/del&gt;f has a corresponding replacement map μ(f) which indicates which arguments of f may be evaluated.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Additionally, every n-ary function &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;symbol &lt;/ins&gt;f has a corresponding replacement map μ(f) which indicates which arguments of f may be evaluated.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A term rewrite system R is terminating w.r.t. μ if there exists no infinite rewrite sequence s&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; &amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; s&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; s&amp;lt;sub&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;1&lt;/del&gt;&amp;lt;/sub&amp;gt; &amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; ... that respects the replacement map μ.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;A term rewrite system R is terminating w.r.t. μ if there exists no infinite rewrite sequence s&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; &amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; s&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; s&amp;lt;sub&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;2&lt;/ins&gt;&amp;lt;/sub&amp;gt; &amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; ... that respects the replacement map μ.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Problem ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;== Problem ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;b&amp;gt;Input&amp;lt;/b&amp;gt;: A term rewrite system R and a replacement map μ&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;b&amp;gt;Input&amp;lt;/b&amp;gt;: A term rewrite system R and a replacement map μ&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;b&amp;gt;Question&amp;lt;/b&amp;gt;: Does R terminate w.r.t. μ?&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;b&amp;gt;Question&amp;lt;/b&amp;gt;: Does R terminate w.r.t. μ?&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>JCKassing</name></author>
		
	</entry>
	<entry>
		<id>http://termination-portal.org/mediawiki/index.php?title=TRS_Contextsensitive&amp;diff=2170&amp;oldid=prev</id>
		<title>JCKassing: Added TRS Contextsensitive Page</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=TRS_Contextsensitive&amp;diff=2170&amp;oldid=prev"/>
		<updated>2026-03-18T11:25:18Z</updated>

		<summary type="html">&lt;p&gt;Added TRS Contextsensitive Page&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The TRS Contextsensitive category is concerned with the question &amp;quot;Will every possible sequence of rewrites eventually stop if we prohibit to rewrite within certain arguments of function symbols&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
== Category Motivation ==&lt;br /&gt;
&lt;br /&gt;
Context-sensitive rewriting is a restriction of first-order term rewriting which is used, e.g., to model different evaluation strategies for the analysis of functional programming languages.&lt;br /&gt;
&lt;br /&gt;
== Syntax &amp;amp; Semantic ==&lt;br /&gt;
&lt;br /&gt;
The syntax and the semantics of term rewrite systems are described [[Term Rewriting | here]] and specifically for context-sensitive rewriting [https://project-coco.uibk.ac.at/ARI/cstrs.php here].&lt;br /&gt;
&lt;br /&gt;
Formally, a term rewrite system 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;} is a finite set of rewrite rules, see [1].&lt;br /&gt;
Additionally, every n-ary function symbbol f has a corresponding replacement map μ(f) which indicates which arguments of f may be evaluated.&lt;br /&gt;
&lt;br /&gt;
A term rewrite system R is terminating w.r.t. μ if there exists no infinite rewrite sequence s&amp;lt;sub&amp;gt;0&amp;lt;/sub&amp;gt; &amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; s&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; s&amp;lt;sub&amp;gt;1&amp;lt;/sub&amp;gt; &amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; ... that respects the replacement map μ.&lt;br /&gt;
&lt;br /&gt;
== Problem ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Input&amp;lt;/b&amp;gt;: A term rewrite system R and a replacement map μ&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Question&amp;lt;/b&amp;gt;: Does R terminate w.r.t. μ?&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Possible Outputs&amp;lt;/b&amp;gt;: &lt;br /&gt;
* &amp;quot;&amp;lt;b&amp;gt;YES&amp;lt;/b&amp;gt;&amp;quot; followed by a termination proof, e.g., a ranking function proving termination of R w.r.t. μ.&lt;br /&gt;
* &amp;quot;&amp;lt;b&amp;gt;NO&amp;lt;/b&amp;gt;&amp;quot; followed by a nontermination proof, e.g., a loop that indicates an infinite rewrite sequence w.r.t. μ.&lt;br /&gt;
* &amp;quot;&amp;lt;b&amp;gt;MAYBE&amp;lt;/b&amp;gt;&amp;quot; (indicating that the solver cannot prove termination).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [1] Franz Baader and Tobias Nipkow. Term Rewriting and All That. Cambridge University Press, 1998.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>JCKassing</name></author>
		
	</entry>
</feed>