YES
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http:/www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Left Termination proof of ../tpdb/LP/SGST06/btapplast.pl</title>
</head>
<body>
<BR><B>Left Termination</B> of the query pattern
goal_in_3(g, a, a)
w.r.t. the given <I>Prolog program</I> could successfully be <font color=#00ff00>proven</font>:<BR><BR><BR><BR><pre>&#8627 <B>Prolog</B></pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Clauses:<BR><BR>goal(A, B, C)&#160;:-&#160;','(s2t(A, T), tapplast(T, B, C)).<BR>tapplast(L, X, Last)&#160;:-&#160;','(tappend(L, node(nil, X, nil), LX), tlast(Last, LX)).<BR>tlast(X, node(nil, X, nil)).<BR>tlast(X, node(L, H, R))&#160;:-&#160;tlast(X, L).<BR>tlast(X, node(L, H, R))&#160;:-&#160;tlast(X, R).<BR>tappend(nil, T, T).<BR>tappend(node(nil, X, T2), T1, node(T1, X, T2)).<BR>tappend(node(T1, X, nil), T2, node(T1, X, T2)).<BR>tappend(node(T1, X, T2), T3, node(U, X, T2))&#160;:-&#160;tappend(T1, T3, U).<BR>tappend(node(T1, X, T2), T3, node(T1, X, U))&#160;:-&#160;tappend(T2, T3, U).<BR>s2t(s(X), node(T, Y, T))&#160;:-&#160;s2t(X, T).<BR>s2t(s(X), node(nil, Y, T))&#160;:-&#160;s2t(X, T).<BR>s2t(s(X), node(T, Y, nil))&#160;:-&#160;s2t(X, T).<BR>s2t(s(X), node(nil, Y, nil)).<BR>s2t(0, nil).<BR><BR>Queries:<BR><BR>goal(g,a,a).<BR><BR>We use the technique of [30]. With regard to the inferred argument filtering the predicates were used in the following modes:
<BR><FONT COLOR=#0000cc>goal_in</font>: (b,f,f)
<BR><FONT COLOR=#0000cc>s2t_in</font>: (b,f)
<BR><FONT COLOR=#0000cc>tapplast_in</font>: (b,f,f)
<BR><FONT COLOR=#0000cc>tappend_in</font>: (b,b,f)
<BR><FONT COLOR=#0000cc>tlast_in</font>: (f,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>goal_in_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>)
<BR><FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>))
<BR><FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)) &#8594; <FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</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>U9_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>nil</font>&#160; = &#160;<FONT COLOR=#0000cc>nil</font><BR>
<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U7_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>U7_gga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U8_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>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_out_ag</font><BR>
<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_out_gaa</font><BR>
<FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_out_gaa</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>goal_in_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>)
<BR><FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>))
<BR><FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)) &#8594; <FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</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>U9_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>nil</font>&#160; = &#160;<FONT COLOR=#0000cc>nil</font><BR>
<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U7_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>U7_gga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U8_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>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_out_ag</font><BR>
<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_out_gaa</font><BR>
<FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_out_gaa</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>GOAL_IN_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>GOAL_IN_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U9_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U10_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>U11_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)
<BR><FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>)
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>)
<BR><FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>))
<BR><FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)) &#8594; <FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</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>U9_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>nil</font>&#160; = &#160;<FONT COLOR=#0000cc>nil</font><BR>
<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U7_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>U7_gga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U8_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>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_out_ag</font><BR>
<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_out_gaa</font><BR>
<FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_out_gaa</font><BR>
<FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_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>U7_GGA</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_GA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U5_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_AG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>GOAL_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>GOAL_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U9_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U10_GA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U8_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>U8_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x6</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>GOAL_IN_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>GOAL_IN_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U9_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U10_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>U11_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)
<BR><FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>)
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>)
<BR><FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>))
<BR><FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)) &#8594; <FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</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>U9_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>nil</font>&#160; = &#160;<FONT COLOR=#0000cc>nil</font><BR>
<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U7_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>U7_gga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U8_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>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_out_ag</font><BR>
<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_out_gaa</font><BR>
<FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_out_gaa</font><BR>
<FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_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>U7_GGA</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_GA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U5_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_AG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>GOAL_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>GOAL_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U9_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U10_GA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>TAPPLAST_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U8_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>U8_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 3 SCCs with 15 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>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>)
<BR><FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>))
<BR><FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)) &#8594; <FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</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>U9_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>nil</font>&#160; = &#160;<FONT COLOR=#0000cc>nil</font><BR>
<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U7_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>U7_gga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U8_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>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_out_ag</font><BR>
<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_out_gaa</font><BR>
<FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_out_gaa</font><BR>
<FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>TLAST_IN_AG</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>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)</BLOCKQUOTE><BR>R is empty.<BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>TLAST_IN_AG</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 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>TLAST_IN_AG</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>R</font>)
<BR><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>L</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>TLAST_IN_AG</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>L</font>)<BR>The graph contains the following edges 1 > 1<P></LI>
<LI><FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>TLAST_IN_AG</font>(<FONT COLOR=#cc0000>R</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 <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>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>)
<BR><FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>))
<BR><FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)) &#8594; <FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</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>U9_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>nil</font>&#160; = &#160;<FONT COLOR=#0000cc>nil</font><BR>
<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U7_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>U7_gga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U8_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>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_out_ag</font><BR>
<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_out_gaa</font><BR>
<FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_out_gaa</font><BR>
<FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>TAPPEND_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 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>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)</BLOCKQUOTE><BR>R is empty.<BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>TAPPEND_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 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>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>)
<BR><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</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>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>)<BR>The graph contains the following edges 1 > 1, 2 >= 2<P></LI>
<LI><FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>) &#8594; <FONT COLOR=#0000cc>TAPPEND_IN_GGA</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</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 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>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>nil</font>)
<BR><FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>))
<BR><FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>)) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>U</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#cc0000>U</font>)) &#8594; <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T1</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>), <FONT COLOR=#cc0000>T3</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>U</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T2</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>), <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>nil</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>Last</font>, <FONT COLOR=#cc0000>LX</font>)) &#8594; <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Last</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>, <FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)) &#8594; <FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>C</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_in_ga</font>(<FONT COLOR=#cc0000>x1</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>U9_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U10_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_ga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>s2t_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>nil</font>&#160; = &#160;<FONT COLOR=#0000cc>nil</font><BR>
<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tappend_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U7_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>U7_gga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U8_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>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>tlast_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>tlast_out_ag</font><BR>
<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>tapplast_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>tapplast_out_gaa</font><BR>
<FONT COLOR=#0000cc>goal_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>goal_out_gaa</font><BR>
<FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>S2T_IN_GA</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 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>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>nil</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)
<BR><FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>node</font>(<FONT COLOR=#0000cc>nil</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>)</BLOCKQUOTE><BR>R is empty.<BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>node</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>nil</font>&#160; = &#160;<FONT COLOR=#0000cc>nil</font><BR>
<FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>S2T_IN_GA</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 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>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>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>S2T_IN_GA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>S2T_IN_GA</font>(<FONT COLOR=#cc0000>X</font>)<BR>The graph contains the following edges 1 > 1<P></LI></UL><BR><BR></body>

