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/evenodd.pl</title>
</head>
<body>
<BR><B>Left Termination</B> of the query pattern
even_in_1(g)
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>even(0).<BR>even(s(s(0))).<BR>even(s(s(s(X))))&#160;:-&#160;odd(X).<BR>odd(s(0)).<BR>odd(s(X))&#160;:-&#160;even(s(s(X))).<BR><BR>Queries:<BR><BR>even(g).<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>even_in</font>: (b)
<BR><FONT COLOR=#0000cc>odd_in</font>: (b)
<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>even_in_g</font>(<FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))
<BR><FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_out_g</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_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_out_g</font><BR>
<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x2</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>even_in_g</font>(<FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))
<BR><FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_out_g</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_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_out_g</font><BR>
<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x2</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>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>U1_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U2_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))
<BR><FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))
<BR><FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_out_g</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_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_out_g</font><BR>
<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_G</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_G</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>EVEN_IN_G</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>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>U1_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U2_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))
<BR><FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))
<BR><FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_out_g</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_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_out_g</font><BR>
<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_G</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_G</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>EVEN_IN_G</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>ODD_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))
<BR><FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))
<BR><FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))
<BR><FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>even_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>even_out_g</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_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_g</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>odd_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>odd_out_g</font><BR>
<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_g</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>EVEN_IN_G</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>ODD_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))
<BR><FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>R is empty.<BR>Pi is empty.<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>ODD_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))
<BR><FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<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 1. 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>ODD_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))
<BR><FONT COLOR=#0000cc>EVEN_IN_G</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)))) &#8594; <FONT COLOR=#0000cc>ODD_IN_G</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The certificate found is represented by the following graph.<BR><p>The certificate consists of the following enumerated nodes:</p><p>50, 51, 52, 53, 54, 55</p><p>Node 50 is start node and node 51 is final node.</p><p>Those nodes are connect through the following edges:</p><ul><li>50 to 52 labelled EVEN_IN_G_1(0)</li>
<li>50 to 51 labelled ODD_IN_G_1(0), ODD_IN_G_1(1)</li>
<li>50 to 54 labelled EVEN_IN_G_1(1)</li>
<li>51 to 51 labelled #_1(0)</li>
<li>52 to 53 labelled s_1(0)</li>
<li>53 to 51 labelled s_1(0)</li>
<li>54 to 55 labelled s_1(1)</li>
<li>55 to 51 labelled s_1(1)</li>
</ul><BR><BR><BR></body>


