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/BCGGV05/delete-bbf.pl</title>
</head>
<body>
<BR><B>Left Termination</B> of the query pattern
delete_in_3(g, g, 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>delete(X, tree(X, void, Right), Right).<BR>delete(X, tree(X, Left, void), Left).<BR>delete(X, tree(X, Left, Right), tree(Y, Left, Right1))&#160;:-&#160;delmin(Right, Y, Right1).<BR>delete(X, tree(Y, Left, Right), tree(Y, Left1, Right))&#160;:-&#160;','(less(X, Y), delete(X, Left, Left1)).<BR>delete(X, tree(Y, Left, Right), tree(Y, Left, Right1))&#160;:-&#160;','(less(Y, X), delete(X, Right, Right1)).<BR>delmin(tree(Y, void, Right), Y, Right).<BR>delmin(tree(X, Left, X1), Y, tree(X, Left1, X2))&#160;:-&#160;delmin(Left, Y, Left1).<BR>less(0, s(X)).<BR>less(s(X), s(Y))&#160;:-&#160;less(X, Y).<BR><BR>Queries:<BR><BR>delete(g,g,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>delete_in</font>: (b,b,f)
<BR><FONT COLOR=#0000cc>delmin_in</font>: (b,f,f)
<BR><FONT COLOR=#0000cc>less_in</font>: (b,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>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>void</font>&#160; = &#160;<FONT COLOR=#0000cc>void</font><BR>
<FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_gga</font><BR>
<FONT COLOR=#0000cc>U1_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_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>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</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>less_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_out_gg</font><BR>
<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U5_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>x6</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>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>void</font>&#160; = &#160;<FONT COLOR=#0000cc>void</font><BR>
<FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_gga</font><BR>
<FONT COLOR=#0000cc>U1_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_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>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</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>less_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_out_gg</font><BR>
<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U5_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>x6</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>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>)
<BR><FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U6_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U5_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>void</font>&#160; = &#160;<FONT COLOR=#0000cc>void</font><BR>
<FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_gga</font><BR>
<FONT COLOR=#0000cc>U1_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_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>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</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>less_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_out_gg</font><BR>
<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U5_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GGA</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U6_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>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GAA</font>(<FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGA</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U5_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GGA</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GG</font>(<FONT COLOR=#cc0000>x3</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>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>)
<BR><FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U6_GAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U5_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>void</font>&#160; = &#160;<FONT COLOR=#0000cc>void</font><BR>
<FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_gga</font><BR>
<FONT COLOR=#0000cc>U1_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_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>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</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>less_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_out_gg</font><BR>
<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U5_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GGA</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U6_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>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GAA</font>(<FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGA</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U5_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GGA</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 3 SCCs with 8 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 AND</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>void</font>&#160; = &#160;<FONT COLOR=#0000cc>void</font><BR>
<FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_gga</font><BR>
<FONT COLOR=#0000cc>U1_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_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>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</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>less_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_out_gg</font><BR>
<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U5_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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 AND</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</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 AND</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 QDPSizeChangeProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI></UL><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 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>void</font>&#160; = &#160;<FONT COLOR=#0000cc>void</font><BR>
<FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_gga</font><BR>
<FONT COLOR=#0000cc>U1_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_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>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</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>less_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_out_gg</font><BR>
<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U5_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELMIN_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 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)</BLOCKQUOTE><BR>R is empty.<BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELMIN_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 AND</pre><pre>              &#8627 PiDP</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 QDPSizeChangeProof</pre><pre>              &#8627 PiDP</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>Left</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>DELMIN_IN_GAA</font>(<FONT COLOR=#cc0000>Left</font>)<BR>The graph contains the following edges 1 > 1<P></LI></UL><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 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</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>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>void</font>), <FONT COLOR=#cc0000>Left</font>)
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>void</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>X1</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>))
<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>))
<BR><FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>void</font>&#160; = &#160;<FONT COLOR=#0000cc>void</font><BR>
<FONT COLOR=#0000cc>delete_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_gga</font><BR>
<FONT COLOR=#0000cc>U1_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delmin_out_gaa</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_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>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_gaa</font>(<FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</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>less_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_out_gg</font><BR>
<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U5_gga</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gga</font>(<FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U2_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</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>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Left1</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right1</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Right1</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>), <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#cc0000>Left1</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</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>less_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>less_out_gg</font><BR>
<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U2_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_GGA</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>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</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 QDPSizeChangeProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>less_out_gg</font>) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>)
<BR><FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#0000cc>less_out_gg</font>) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>less_out_gg</font>
<BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#0000cc>less_out_gg</font>) &#8594; <FONT COLOR=#0000cc>less_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U7_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))<BR>The graph contains the following edges 1 >= 1, 2 > 2<P></LI>
<LI><FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>tree</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#cc0000>Right</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#0000cc>less_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>))<BR>The graph contains the following edges 1 >= 1, 2 > 2<P></LI>
<LI><FONT COLOR=#0000cc>U4_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>, <FONT COLOR=#0000cc>less_out_gg</font>) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Right</font>)<BR>The graph contains the following edges 1 >= 1, 2 >= 2<P></LI>
<LI><FONT COLOR=#0000cc>U2_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>, <FONT COLOR=#0000cc>less_out_gg</font>) &#8594; <FONT COLOR=#0000cc>DELETE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Left</font>)<BR>The graph contains the following edges 1 >= 1, 2 >= 2<P></LI></UL><BR><BR></body>

