<?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-05-08T13:04:05Z</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=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>