<?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=PTRS_Standard</id>
	<title>PTRS Standard - 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=PTRS_Standard"/>
	<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=PTRS_Standard&amp;action=history"/>
	<updated>2026-04-30T11:02:27Z</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=PTRS_Standard&amp;diff=2127&amp;oldid=prev</id>
		<title>JCKassing: Added missing reference</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=PTRS_Standard&amp;diff=2127&amp;oldid=prev"/>
		<updated>2026-03-11T10:08:02Z</updated>

		<summary type="html">&lt;p&gt;Added missing reference&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 10:08, 11 March 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-l30&quot; &gt;Line 30:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 30:&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;Possible Outputs&amp;lt;/b&amp;gt;:  &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;Possible Outputs&amp;lt;/b&amp;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;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;quot;&amp;lt;b&amp;gt;AST&amp;lt;/b&amp;gt;&amp;quot; followed by a termination proof, e.g., a ranking function proving &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;outermost &lt;/del&gt;termination of R.&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;quot;&amp;lt;b&amp;gt;AST&amp;lt;/b&amp;gt;&amp;quot; followed by a termination proof, e.g., a ranking function proving &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;almost-sure &lt;/ins&gt;termination &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(AST) &lt;/ins&gt;of R.&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;* &amp;quot;&amp;lt;b&amp;gt;SAST&amp;lt;/b&amp;gt;&amp;quot; followed by a termination proof, e.g., a ranking function proving &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;outermost &lt;/del&gt;termination of R.&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;quot;&amp;lt;b&amp;gt;SAST&amp;lt;/b&amp;gt;&amp;quot; followed by a termination proof, e.g., a ranking function proving &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;strong almost-sure &lt;/ins&gt;termination &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(SAST) &lt;/ins&gt;of R.&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;* &amp;quot;&amp;lt;b&amp;gt;MAYBE&amp;lt;/b&amp;gt;&amp;quot; (indicating that the solver &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;cannot &lt;/del&gt;prove &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;outermost &lt;/del&gt;termination).&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;quot;&amp;lt;b&amp;gt;MAYBE&amp;lt;/b&amp;gt;&amp;quot; (indicating that the solver &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;can neither &lt;/ins&gt;prove &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;AST nor SAST &lt;/ins&gt;termination).&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;== References ==&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;== References ==&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;* [1] Martin Avanzini, Ugo Dal Lago, and Akihisa Yamada. On probabilistic term rewriting. &amp;lt;i&amp;gt;Science of Computer Programming&amp;lt;/i&amp;gt;, 2020.&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;* [1] Martin Avanzini, Ugo Dal Lago, and Akihisa Yamada. On probabilistic term rewriting. &amp;lt;i&amp;gt;Science of Computer Programming&amp;lt;/i&amp;gt;, 2020.&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; &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;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;* [2] Jan-Christoph Kassing and Jürgen Giesl. From Innermost To Full Probabilistic Term Rewriting: Almost-Sure Termination, Complexity, And Modularity. Logical Methods in Computer Science, 2026.&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;[[Category:Categories]]&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;[[Category:Categories]]&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=PTRS_Standard&amp;diff=2122&amp;oldid=prev</id>
		<title>JCKassing: Added PTRS Standard category</title>
		<link rel="alternate" type="text/html" href="http://termination-portal.org/mediawiki/index.php?title=PTRS_Standard&amp;diff=2122&amp;oldid=prev"/>
		<updated>2026-03-11T09:57:07Z</updated>

		<summary type="html">&lt;p&gt;Added PTRS Standard category&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;The PTRS Standard category is concerned with the question &amp;quot;Will every rewrite sequence eventually stop with probability 1 (almost-sure termination) and does every start term t has a finite upper bound on the expected runtime of all rewrite sequences starting with t (strong almost sure-termination)?&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
The category was first used in the termination competition in 2024, after an initial in-person event for probabilistic termination provers at the [[19th_International_Workshop_on_Termination | termination workshop 2023]].&lt;br /&gt;
&lt;br /&gt;
== Category Motivation ==&lt;br /&gt;
&lt;br /&gt;
This category investigates different notions of termination of probabilistic term rewrite systems, where rewrite rules are applied according to probability distributions.&lt;br /&gt;
&lt;br /&gt;
Many algorithms can be made more robust by introducing probabilistic choices. &lt;br /&gt;
For example, in probabilistic quicksort the pivot element is chosen uniformly at random. &lt;br /&gt;
This variant is more robust than the standard quicksort algorithm because it achieves an expected runtime of O(n * log(⁡n))&lt;br /&gt;
for every input and avoids the deterministic worst-case runtime of O(n&amp;lt;sup&amp;gt;2&amp;lt;/sup&amp;gt;). &lt;br /&gt;
However, when probabilities are introduced, programmers often quickly lose intuition about expected runtime and termination. &lt;br /&gt;
Therefore, automatic techniques for proving termination and establishing upper bounds on the expected runtime are needed.&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 [[Probabilistic_Rewriting | here]] including the definitions of almost-sure termination (AST) and strong almost-sure termination (SAST).&lt;br /&gt;
Note that the third notion of termination 'positive almost-sure termination' (PAST) is currently not supported by any Tool.&lt;br /&gt;
However, in [2] it was shown that PAST and SAST are almost the same for probabilistic rewriting, hence it suffices to analyze the stronger notion SAST.&lt;br /&gt;
In fact, PAST and SAST are equivalent for finite PTRSs that contain at least a single function symbol of arity at least 2 (that has more than 2 arguments).&lt;br /&gt;
&lt;br /&gt;
Formally, a probabilistic 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 probabilistic rewrite rules, see [1].&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 probabilistic term rewrite system R.&lt;br /&gt;
&lt;br /&gt;
&amp;lt;b&amp;gt;Question&amp;lt;/b&amp;gt;: Is R AST or SAST?&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;AST&amp;lt;/b&amp;gt;&amp;quot; followed by a termination proof, e.g., a ranking function proving outermost termination of R.&lt;br /&gt;
* &amp;quot;&amp;lt;b&amp;gt;SAST&amp;lt;/b&amp;gt;&amp;quot; followed by a termination proof, e.g., a ranking function proving outermost 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 outermost termination).&lt;br /&gt;
&lt;br /&gt;
== References ==&lt;br /&gt;
&lt;br /&gt;
* [1] Martin Avanzini, Ugo Dal Lago, and Akihisa Yamada. On probabilistic term rewriting. &amp;lt;i&amp;gt;Science of Computer Programming&amp;lt;/i&amp;gt;, 2020.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Categories]]&lt;/div&gt;</summary>
		<author><name>JCKassing</name></author>
		
	</entry>
</feed>