YES
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http:/www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Left Termination proof of ../tpdb/LP/SGST06/pplus.pl</title>
</head>
<body>
<BR><B>Left Termination</B> of the query pattern
plus_in_3(g, a, a)
w.r.t. the given <I>Prolog program</I> could successfully be <font color=#00ff00>proven</font>:<BR><BR><BR><BR><pre>&#8627 <B>Prolog</B></pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Clauses:<BR><BR>p(s(X), X).<BR>plus(0, Y, Y).<BR>plus(s(X), Y, s(Z))&#160;:-&#160;','(p(s(X), U), plus(U, Y, Z)).<BR><BR>Queries:<BR><BR>plus(g,a,a).<BR><BR>We use the technique of [30]. With regard to the inferred argument filtering the predicates were used in the following modes:
<BR><FONT COLOR=#0000cc>plus_in</font>: (b,f,f)
<BR>Transforming <I>Prolog</I> into the following <B>Term Rewriting System</B>:
<BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_out_gaa</font><BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<BR>
<P><B>Infinitary Constructor Rewriting Termination</B> of PiTRS implies <B>Termination</B> of Prolog<P>
<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 <B>PiTRS</B></pre><pre>      &#8627 DependencyPairsProof</pre><BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_out_gaa</font><BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<BR><BR>Using Dependency Pairs [1,30] we result in the following initial DP problem:<BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>P_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_out_gaa</font><BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>P_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>P_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 <B>PiDP</B></pre><pre>          &#8627 DependencyGraphProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>P_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_out_gaa</font><BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>P_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>P_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 1 SCC with 2 less nodes.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 <B>PiDP</B></pre><pre>              &#8627 UsableRulesProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)
<BR><FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>plus_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>plus_out_gaa</font><BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 PiDP</pre><pre>              &#8627 UsableRulesProof</pre><pre>                &#8627 <B>PiDP</B></pre><pre>                  &#8627 PiDPToQDPProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)
<BR><FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>U</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 PiDP</pre><pre>              &#8627 UsableRulesProof</pre><pre>                &#8627 PiDP</pre><pre>                  &#8627 PiDPToQDPProof</pre><pre>                    &#8627 <B>QDP</B></pre><pre>                      &#8627 RFCMatchBoundsDPProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>U</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>Termination of the TRS P cup R can be shown by a matchbound [6,7] of 2. This implies finiteness of the given DP problem.<BR>The following rules (P cup R) were used to construct the certificate:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>p_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>p_out_ga</font>(<FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>PLUS_IN_GAA</font>(<FONT COLOR=#cc0000>U</font>)</BLOCKQUOTE><BR>The certificate found is represented by the following graph.<BR><p>The certificate consists of the following enumerated nodes:</p><p>66, 67, 68, 69, 70, 71</p><p>Node 66 is start node and node 67 is final node.</p><p>Those nodes are connect through the following edges:</p><ul><li>66 to 68 labelled U1_GAA_1(0)</li>
<li>66 to 67 labelled p_out_ga_1(0), PLUS_IN_GAA_1(0), PLUS_IN_GAA_1(1), PLUS_IN_GAA_1(2)</li>
<li>66 to 70 labelled U1_GAA_1(1)</li>
<li>67 to 67 labelled #_1(0)</li>
<li>68 to 69 labelled p_in_ga_1(0)</li>
<li>68 to 67 labelled p_out_ga_1(1)</li>
<li>69 to 67 labelled s_1(0)</li>
<li>70 to 71 labelled p_in_ga_1(1)</li>
<li>70 to 67 labelled p_out_ga_1(2)</li>
<li>71 to 67 labelled s_1(1)</li>
</ul><BR><BR><BR></body>

