<?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_Innermost_Runtime_Complexity</id>
	<title>TRS Innermost Runtime Complexity - 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_Innermost_Runtime_Complexity"/>
	<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=TRS_Innermost_Runtime_Complexity&amp;action=history"/>
	<updated>2026-05-08T12:52:32Z</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_Innermost_Runtime_Complexity&amp;diff=2181&amp;oldid=prev</id>
		<title>JCKassing: Added TRS Innermost Runtime Complexity</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=TRS_Innermost_Runtime_Complexity&amp;diff=2181&amp;oldid=prev"/>
		<updated>2026-03-19T10:34:45Z</updated>

		<summary type="html">&lt;p&gt;Added TRS Innermost Runtime Complexity&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The TRS Innermost Runtime Complexity category is concerned with the question &amp;quot;What is the time complexity of algorithms represented by a given TRS with relation to the size of the initial term if we only consider innermost rewriting&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
== Category Motivation ==&lt;br /&gt;
&lt;br /&gt;
Analyzing the time complexity of a rewrite system is interesting because it reveals how its performance scales as input size grows. &lt;br /&gt;
&lt;br /&gt;
While derivational complexity considers arbitrary initial terms, runtime complexity restricts the initial terms to model an algorithm that is given fixed data as arguments,&lt;br /&gt;
which relates to the intuitive definition of time complexity.&lt;br /&gt;
&lt;br /&gt;
Moreover, since innermost rewriting (call-by-value) is one of the most important evaluation strategies, &lt;br /&gt;
it is an interesting restriction to find bounds on the innermost time complexity.&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 [https://project-coco.uibk.ac.at/ARI/trs.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.&lt;br /&gt;
&lt;br /&gt;
Let |t| be the size of the term t, i.e., the number of its positions. &lt;br /&gt;
Then the &amp;lt;i&amp;gt;innermost derivation height&amp;lt;/i&amp;gt; dh(t) of a term t is the supremum over all &amp;amp;rarr;&amp;lt;sup&amp;gt;i&amp;lt;/sup&amp;gt;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;-rewrite sequences starting with t.&lt;br /&gt;
&lt;br /&gt;
We split the function symbols into defined symbols (those that occur at the root of a left-hand side of a rule, the algorithms)&lt;br /&gt;
and constructor symbols (the remaining function symbols, the data).&lt;br /&gt;
A basic term t has a defined symbol at the root and otherwise only constructors and variables, i.e., it represents an algorithm that is given fixed input data.&lt;br /&gt;
The set of all basic terms is denoted T&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;i&amp;gt;innermost runtime complexity&amp;lt;/i&amp;gt; of an ARS is a function that maps every natural number n&lt;br /&gt;
to the greatest derivation height of all basic terms of size at most n, i.e., dc&amp;lt;sub&amp;gt;&amp;amp;rarr;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt; &amp;lt;/sub&amp;gt;(n) = sup{m | t ∈ T&amp;lt;sub&amp;gt;B&amp;lt;/sub&amp;gt;, |t| &amp;lt;= n, t &amp;amp;rarr;&amp;lt;sup&amp;gt;i&amp;lt;/sup&amp;gt;&amp;lt;sub&amp;gt;R&amp;lt;/sub&amp;gt;&amp;lt;sup&amp;gt;n&amp;lt;/sup&amp;gt; s}.&lt;br /&gt;
&lt;br /&gt;
The goal is to find an asymptotic upper bound and lower bound on the innermost runtime complexity of a given TRS R.&lt;br /&gt;
Possible complexity classes are O(1), O(n), O(n&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;), ..., O(EXP), O(2-EXP).&lt;br /&gt;
The '?' indicates that no bound was found.&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.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Question&amp;lt;/b&amp;gt;: What is the asymptotic innermost runtime complexity of R?&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;WORST_CASE(f(n),g(n))&amp;lt;/b&amp;gt;&amp;quot; where f(n) and g(n) are lower and upper complexity bounds, respectively, or '?', followed by a proof of these bounds, e.g., a ranking function proving termination of R.&lt;br /&gt;
* &amp;quot;&amp;lt;b&amp;gt;MAYBE&amp;lt;/b&amp;gt;&amp;quot; (indicating that the solver cannot prove any complexity bound).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>JCKassing</name></author>
		
	</entry>
</feed>