MAYBE
<!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/talp/plumer/pl8.3.1.pl</title>
</head>
<body>
<BR><B>Left Termination</B> of the query pattern
minsort_in_2(g, a)
w.r.t. the given <I>Prolog program</I> could not be shown:<BR><BR><BR><BR><pre>&#8627 <B>Prolog</B></pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Clauses:<BR><BR>minsort([], []).<BR>minsort(L, .(X, L1))&#160;:-&#160;','(min1(X, L), ','(remove(X, L, L2), minsort(L2, L1))).<BR>min1(M, .(X, L))&#160;:-&#160;min2(X, M, L).<BR>min2(X, X, []).<BR>min2(X, A, .(M, L))&#160;:-&#160;','(min(X, M, B), min2(B, A, L)).<BR>min(X, Y, X)&#160;:-&#160;le(X, Y).<BR>min(X, Y, Y)&#160;:-&#160;gt(X, Y).<BR>remove(N, [], []).<BR>remove(N, .(N, L), L).<BR>remove(N, .(M, L), .(M, L1))&#160;:-&#160;','(notEq(N, M), remove(N, L, L1)).<BR>gt(s(X), s(Y))&#160;:-&#160;gt(X, Y).<BR>gt(s(X), 0).<BR>le(s(X), s(Y))&#160;:-&#160;le(X, Y).<BR>le(0, s(Y)).<BR>le(0, 0).<BR>notEq(s(X), s(Y))&#160;:-&#160;notEq(X, Y).<BR>notEq(s(X), 0).<BR>notEq(0, s(X)).<BR><BR>Queries:<BR><BR>minsort(g,a).<BR><BR>We use the technique of [30]. With regard to the inferred argument filtering the predicates were used in the following modes:
<BR><FONT COLOR=#0000cc>minsort_in</font>: (b,f)
<BR><FONT COLOR=#0000cc>min1_in</font>: (f,b)
<BR><FONT COLOR=#0000cc>min2_in</font>: (b,f,b)
<BR><FONT COLOR=#0000cc>min_in</font>: (b,b,f)
<BR><FONT COLOR=#0000cc>le_in</font>: (b,b)
<BR><FONT COLOR=#0000cc>gt_in</font>: (b,b)
<BR><FONT COLOR=#0000cc>remove_in</font>: (b,b,f)
<BR><FONT COLOR=#0000cc>notEq_in</font>: (b,b)
<BR>Transforming <I>Prolog</I> into the following <B>Term Rewriting System</B>:
<BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</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><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</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>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)
<BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_GA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_GA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_GGA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U4_AG</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_AG</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR><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><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)
<BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_GA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_GA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_GGA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U4_AG</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_AG</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 6 SCCs with 16 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><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Pi is empty.<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 <B>QDP</B></pre><pre>                        &#8627 QDPSizeChangeProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>REMOVE_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><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>REMOVE_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><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)<BR>The graph contains the following edges 1 >= 1, 3 >= 2<P></LI>
<LI><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))<BR>The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3<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><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</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><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Pi is empty.<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 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><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</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><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Pi is empty.<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 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><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U5_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</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 PiDP</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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U5_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</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 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><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>)<BR>The graph contains the following edges 2 > 1, 1 >= 2<P></LI>
<LI><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))<BR>The graph contains the following edges 2 > 1<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_GA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MINSORT_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 PiDP</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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font><BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font><BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_GA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MINSORT_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 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 Narrowing</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By narrowing [15] the rule <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) at position [1] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>))</BLOCKQUOTE><BR><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 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 <B>QDP</B></pre><pre>                            &#8627 Narrowing</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>)
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By narrowing [15] the rule <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>L</font>)) at position [1] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR><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 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 <B>QDP</B></pre><pre>                                &#8627 DependencyGraphProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>)
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>The approximation of the Dependency Graph [15,17,22] contains 1 SCC with 1 less node.<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 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 DependencyGraphProof</pre><pre>                                  &#8627 <B>QDP</B></pre><pre>                                    &#8627 UsableRulesProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>)
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>As all Q-normal forms are R-normal forms we are in the innermost case. Hence, by the usable rules processor [15] we can delete all non-usable rules [17] 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 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 DependencyGraphProof</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 UsableRulesProof</pre><pre>                                      &#8627 <B>QDP</B></pre><pre>                                        &#8627 QReductionProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>)
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>We deleted the following terms from Q as each root-symbol of these terms does neither occur in P nor in R.<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR><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 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 DependencyGraphProof</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 UsableRulesProof</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 QReductionProof</pre><pre>                                          &#8627 <B>QDP</B></pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>)
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By forward instantiating [14] the rule <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))</BLOCKQUOTE><BR><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 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 DependencyGraphProof</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 UsableRulesProof</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 QReductionProof</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 <B>QDP</B></pre><pre>                                                &#8627 ForwardInstantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By forward instantiating [14] the rule <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_1</font>, <FONT COLOR=#cc0000>y_2</font>)), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_1</font>, <FONT COLOR=#cc0000>y_2</font>)))</BLOCKQUOTE><BR><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 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 DependencyGraphProof</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 UsableRulesProof</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 QReductionProof</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 ForwardInstantiation</pre><pre>                                                  &#8627 <B>QDP</B></pre><pre>                                                    &#8627 QDPOrderProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_1</font>, <FONT COLOR=#cc0000>y_2</font>)), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_1</font>, <FONT COLOR=#cc0000>y_2</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>We use the reduction pair processor [15].<P><BR>The following pairs can be oriented strictly and are deleted.<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_1</font>, <FONT COLOR=#cc0000>y_2</font>)), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_1</font>, <FONT COLOR=#cc0000>y_2</font>)))</BLOCKQUOTE>The remaining pairs can at least be oriented weakly.<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE>Used ordering:  Polynomial interpretation [25]:
<BLOCKQUOTE><BR>POL(<B><FONT COLOR=#0000cc>.</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 1 + x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>0</font></B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(x<SUB>1</SUB>)</B>) = x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U10_gga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 1 + x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U11_gg</font>(x<SUB>1</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U12_gg</font>(x<SUB>1</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U13_gg</font>(x<SUB>1</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U1_GA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U2_GA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U4_ag</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U5_gag</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U6_gag</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U7_gga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U8_gga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U9_gga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>)</B>) = x<SUB>3</SUB> + x<SUB>4</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>[]</font></B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>gt_in_gg</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 1 + x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>gt_out_gg</font></B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>le_in_gg</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = x<SUB>1</SUB> + x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>le_out_gg</font></B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>min1_out_ag</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>min2_in_gag</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>min2_out_gag</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>min_in_gga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 1 + x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>min_out_gga</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>notEq_in_gg</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>notEq_out_gg</font></B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>remove_in_gga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>remove_out_gga</font>(x<SUB>1</SUB>)</B>) = x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>s</font>(x<SUB>1</SUB>)</B>) = 1 + x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub></BLOCKQUOTE><BR>The following usable rules [17] were oriented:
<BLOCKQUOTE><BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font></BLOCKQUOTE><BR><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 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 DependencyGraphProof</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 UsableRulesProof</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 QReductionProof</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 ForwardInstantiation</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QDPOrderProof</pre><pre>                                                      &#8627 <B>QDP</B></pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>A</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#0000cc>gt_out_gg</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#0000cc>le_out_gg</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<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>minsort_in</font>: (b,f)
<BR><FONT COLOR=#0000cc>min1_in</font>: (f,b)
<BR><FONT COLOR=#0000cc>min2_in</font>: (b,f,b)
<BR><FONT COLOR=#0000cc>min_in</font>: (b,b,f)
<BR><FONT COLOR=#0000cc>le_in</font>: (b,b)
<BR><FONT COLOR=#0000cc>gt_in</font>: (b,b)
<BR><FONT COLOR=#0000cc>remove_in</font>: (b,b,f)
<BR><FONT COLOR=#0000cc>notEq_in</font>: (b,b)
<BR>Transforming <I>Prolog</I> into the following <B>Term Rewriting System</B>:
<BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</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 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>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</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>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)
<BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U4_AG</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_AG</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</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>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)
<BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U4_AG</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_AG</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 6 SCCs with 16 less nodes.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</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><pre>              &#8627 PiDP</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>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 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><pre>              &#8627 PiDP</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>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Pi is empty.<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 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><pre>              &#8627 PiDP</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>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 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><pre>              &#8627 PiDP</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>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>REMOVE_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 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><pre>              &#8627 PiDP</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>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>REMOVE_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 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><pre>              &#8627 PiDP</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>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)<BR>The graph contains the following edges 1 >= 1, 4 > 1, 3 >= 2<P></LI>
<LI><FONT COLOR=#0000cc>REMOVE_IN_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGA</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))<BR>The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</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><pre>              &#8627 PiDP</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>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 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><pre>              &#8627 PiDP</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>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Pi is empty.<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 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><pre>              &#8627 PiDP</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>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>GT_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 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 <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>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 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 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>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Pi is empty.<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 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 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>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>LE_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 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 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>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U5_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</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 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 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>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_GAG</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_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</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 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 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>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>)<BR>The graph contains the following edges 4 > 1, 3 >= 2<P></LI>
<LI><FONT COLOR=#0000cc>MIN2_IN_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))<BR>The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</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 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>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U2_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>minsort_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_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>U3_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MINSORT_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 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 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>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>, <FONT COLOR=#cc0000>L1</font>)
<BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_ag</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_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_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>)&#160; = &#160;<FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</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>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_gag</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_gag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_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>)&#160; = &#160;<FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U10_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>)&#160; = &#160;<FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U2_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>U2_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U1_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>U1_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MINSORT_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 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 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><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L</font>) &#8594; <FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_GA</font>(<FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L2</font>)) &#8594; <FONT COLOR=#0000cc>MINSORT_IN_GA</font>(<FONT COLOR=#cc0000>L2</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>)) &#8594; <FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min1_out_ag</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#cc0000>L1</font>)) &#8594; <FONT COLOR=#0000cc>remove_out_gga</font>(<FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L1</font>))
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>))
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>B</font>)) &#8594; <FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>B</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>min2_out_gag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>A</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>M</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>min_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>le_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>gt_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>remove_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>min1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U9_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U4_ag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>min2_in_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U13_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U5_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>min_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U6_gag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U7_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U8_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>le_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>gt_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U12_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U11_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR><BR></body>

