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/apt/mergesort_ap_variant.pl</title>
</head>
<body>
<BR><B>Left Termination</B> of the query pattern
mergesort_in_3(g, a, 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 PredefinedPredicateTransformerProof</pre><BR>Clauses:<BR><BR>mergesort([], [], Ls).<BR>mergesort(.(X, []), .(X, []), Ls).<BR>mergesort(Xs, Ys, .(H, Ls))&#160;:-&#160;','(split(Xs, X1s, X2s, .(H, Ls)), ','(mergesort(X1s, Y1s, Ls), ','(mergesort(X2s, Y2s, Ls), merge(Y1s, Y2s, Ys, .(H, Ls))))).<BR>split([], [], [], Ls).<BR>split(.(X, Xs), .(X, Ys), Zs, .(H, Ls))&#160;:-&#160;split(Xs, Zs, Ys, Ls).<BR>merge([], Xs, Xs, Ls).<BR>merge(Xs, [], Xs, Ls).<BR>merge(.(X, Xs), .(Y, Ys), .(X, Zs), .(H, Ls))&#160;:-&#160;','(=<(X, Y), merge(Xs, .(Y, Ys), Zs, Ls)).<BR>merge(.(X, Xs), .(Y, Ys), .(Y, Zs), .(H, Ls))&#160;:-&#160;','(>(X, Y), merge(.(X, Xs), Ys, Zs, Ls)).<BR><BR>Queries:<BR><BR>mergesort(g,a,a).<BR><BR>Added definitions of predefined predicates.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 <B>Prolog</B></pre><pre>      &#8627 OrTransformerProof</pre><BR>Clauses:<BR><BR>mergesort([], [], Ls).<BR>mergesort(.(X, []), .(X, []), Ls).<BR>mergesort(Xs, Ys, .(H, Ls))&#160;:-&#160;','(split(Xs, X1s, X2s, .(H, Ls)), ','(mergesort(X1s, Y1s, Ls), ','(mergesort(X2s, Y2s, Ls), merge(Y1s, Y2s, Ys, .(H, Ls))))).<BR>split([], [], [], Ls).<BR>split(.(X, Xs), .(X, Ys), Zs, .(H, Ls))&#160;:-&#160;split(Xs, Zs, Ys, Ls).<BR>merge([], Xs, Xs, Ls).<BR>merge(Xs, [], Xs, Ls).<BR>merge(.(X, Xs), .(Y, Ys), .(X, Zs), .(H, Ls))&#160;:-&#160;','(','(=(X1, X), ','(=(X2, Y), ;(=(X1, X2), isLess(X1, X2)))), merge(Xs, .(Y, Ys), Zs, Ls)).<BR>merge(.(X, Xs), .(Y, Ys), .(Y, Zs), .(H, Ls))&#160;:-&#160;','(','(=(X1, X), ','(=(X2, Y), isGreater(X1, X2))), merge(.(X, Xs), Ys, Zs, Ls)).<BR>isPlus(zero, X, X).<BR>isPlus(succ(X), zero, succ(X)).<BR>isPlus(succ(X), succ(Y), succ(succ(Z)))&#160;:-&#160;isPlus(X, Y, Z).<BR>isPlus(succ(X), pred(Y), Z)&#160;:-&#160;isPlus(X, Y, Z).<BR>isPlus(pred(X), zero, pred(X)).<BR>isPlus(pred(X), succ(Y), Z)&#160;:-&#160;isPlus(X, Y, Z).<BR>isPlus(pred(X), pred(Y), pred(pred(Z)))&#160;:-&#160;isPlus(X, Y, Z).<BR>isMinus(X, zero, X).<BR>isMinus(zero, succ(Y), pred(Z))&#160;:-&#160;isMinus(zero, Y, Z).<BR>isMinus(zero, pred(Y), succ(Z))&#160;:-&#160;isMinus(zero, Y, Z).<BR>isMinus(succ(X), succ(Y), Z)&#160;:-&#160;isMinus(X, Y, Z).<BR>isMinus(succ(X), pred(Y), succ(succ(Z)))&#160;:-&#160;isMinus(X, Y, Z).<BR>isMinus(pred(X), succ(Y), pred(pred(Z)))&#160;:-&#160;isMinus(X, Y, Z).<BR>isMinus(pred(X), pred(Y), Z)&#160;:-&#160;isMinus(X, Y, Z).<BR>isTimes(X, zero, zero).<BR>isTimes(zero, succ(Y), zero).<BR>isTimes(zero, pred(Y), zero).<BR>isTimes(succ(X), succ(Y), Z)&#160;:-&#160;','(isTimes(succ(X), Y, A), isPlus(A, succ(X), Z)).<BR>isTimes(succ(X), pred(Y), Z)&#160;:-&#160;','(isTimes(succ(X), Y, A), isMinus(A, succ(X), Z)).<BR>isTimes(pred(X), succ(Y), Z)&#160;:-&#160;','(isTimes(pred(X), Y, A), isPlus(A, pred(X), Z)).<BR>isTimes(pred(X), pred(Y), Z)&#160;:-&#160;','(isTimes(pred(X), Y, A), isMinus(A, pred(X), Z)).<BR>isDiv(zero, succ(Y), zero).<BR>isDiv(zero, pred(Y), zero).<BR>isDiv(succ(X), succ(Y), zero)&#160;:-&#160;isMinus(succ(X), succ(Y), pred(Z)).<BR>isDiv(succ(X), succ(Y), succ(Z))&#160;:-&#160;','(isMinus(succ(X), succ(Y), A), isDiv(A, succ(Y), Z)).<BR>isDiv(succ(X), pred(Y), Z)&#160;:-&#160;','(isMinus(zero, pred(Y), A), ','(isDiv(succ(X), A, B), isMinus(zero, B, Z))).<BR>isDiv(pred(X), pred(Y), zero)&#160;:-&#160;isMinus(pred(X), pred(Y), succ(Z)).<BR>isDiv(pred(X), pred(Y), succ(Z))&#160;:-&#160;','(isMinus(pred(X), pred(Y), A), isDiv(A, pred(Y), Z)).<BR>isDiv(pred(X), succ(Y), Z)&#160;:-&#160;','(isMinus(zero, pred(X), A), ','(isDiv(A, succ(Y), B), isMinus(zero, B, Z))).<BR>isModulo(X, Y, Z)&#160;:-&#160;','(isDiv(X, Y, A), ','(isTimes(A, Y, B), isMinus(X, B, Z))).<BR>=(X, X).<BR>isGreater(succ(X), zero).<BR>isGreater(succ(X), pred(Y)).<BR>isGreater(succ(X), succ(Y))&#160;:-&#160;isGreater(X, Y).<BR>isGreater(zero, pred(Y)).<BR>isGreater(pred(X), pred(Y))&#160;:-&#160;isGreater(X, Y).<BR>isLess(pred(X), zero).<BR>isLess(pred(X), succ(Y)).<BR>isLess(pred(X), pred(Y))&#160;:-&#160;isLess(X, Y).<BR>isLess(zero, succ(Y)).<BR>isLess(succ(X), succ(Y))&#160;:-&#160;isLess(X, Y).<BR><BR>Queries:<BR><BR>mergesort(g,a,a).<BR><BR>Eliminated all or-constructs.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><pre>        &#8627 <B>Prolog</B></pre><pre>          &#8627 PrologToPiTRSProof</pre><pre>          &#8627 PrologToPiTRSProof</pre><BR>Clauses:<BR><BR>mergesort([], [], Ls).<BR>mergesort(.(X, []), .(X, []), Ls).<BR>mergesort(Xs, Ys, .(H, Ls))&#160;:-&#160;','(split(Xs, X1s, X2s, .(H, Ls)), ','(mergesort(X1s, Y1s, Ls), ','(mergesort(X2s, Y2s, Ls), merge(Y1s, Y2s, Ys, .(H, Ls))))).<BR>split([], [], [], Ls).<BR>split(.(X, Xs), .(X, Ys), Zs, .(H, Ls))&#160;:-&#160;split(Xs, Zs, Ys, Ls).<BR>merge([], Xs, Xs, Ls).<BR>merge(Xs, [], Xs, Ls).<BR>merge(.(X, Xs), .(Y, Ys), .(Y, Zs), .(H, Ls))&#160;:-&#160;','(=(X1, X), ','(=(X2, Y), ','(isGreater(X1, X2), merge(.(X, Xs), Ys, Zs, Ls)))).<BR>isPlus(zero, X, X).<BR>isPlus(succ(X), zero, succ(X)).<BR>isPlus(succ(X), succ(Y), succ(succ(Z)))&#160;:-&#160;isPlus(X, Y, Z).<BR>isPlus(succ(X), pred(Y), Z)&#160;:-&#160;isPlus(X, Y, Z).<BR>isPlus(pred(X), zero, pred(X)).<BR>isPlus(pred(X), succ(Y), Z)&#160;:-&#160;isPlus(X, Y, Z).<BR>isPlus(pred(X), pred(Y), pred(pred(Z)))&#160;:-&#160;isPlus(X, Y, Z).<BR>isMinus(X, zero, X).<BR>isMinus(zero, succ(Y), pred(Z))&#160;:-&#160;isMinus(zero, Y, Z).<BR>isMinus(zero, pred(Y), succ(Z))&#160;:-&#160;isMinus(zero, Y, Z).<BR>isMinus(succ(X), succ(Y), Z)&#160;:-&#160;isMinus(X, Y, Z).<BR>isMinus(succ(X), pred(Y), succ(succ(Z)))&#160;:-&#160;isMinus(X, Y, Z).<BR>isMinus(pred(X), succ(Y), pred(pred(Z)))&#160;:-&#160;isMinus(X, Y, Z).<BR>isMinus(pred(X), pred(Y), Z)&#160;:-&#160;isMinus(X, Y, Z).<BR>isTimes(X, zero, zero).<BR>isTimes(zero, succ(Y), zero).<BR>isTimes(zero, pred(Y), zero).<BR>isTimes(succ(X), succ(Y), Z)&#160;:-&#160;','(isTimes(succ(X), Y, A), isPlus(A, succ(X), Z)).<BR>isTimes(succ(X), pred(Y), Z)&#160;:-&#160;','(isTimes(succ(X), Y, A), isMinus(A, succ(X), Z)).<BR>isTimes(pred(X), succ(Y), Z)&#160;:-&#160;','(isTimes(pred(X), Y, A), isPlus(A, pred(X), Z)).<BR>isTimes(pred(X), pred(Y), Z)&#160;:-&#160;','(isTimes(pred(X), Y, A), isMinus(A, pred(X), Z)).<BR>isDiv(zero, succ(Y), zero).<BR>isDiv(zero, pred(Y), zero).<BR>isDiv(succ(X), succ(Y), zero)&#160;:-&#160;isMinus(succ(X), succ(Y), pred(Z)).<BR>isDiv(succ(X), succ(Y), succ(Z))&#160;:-&#160;','(isMinus(succ(X), succ(Y), A), isDiv(A, succ(Y), Z)).<BR>isDiv(succ(X), pred(Y), Z)&#160;:-&#160;','(isMinus(zero, pred(Y), A), ','(isDiv(succ(X), A, B), isMinus(zero, B, Z))).<BR>isDiv(pred(X), pred(Y), zero)&#160;:-&#160;isMinus(pred(X), pred(Y), succ(Z)).<BR>isDiv(pred(X), pred(Y), succ(Z))&#160;:-&#160;','(isMinus(pred(X), pred(Y), A), isDiv(A, pred(Y), Z)).<BR>isDiv(pred(X), succ(Y), Z)&#160;:-&#160;','(isMinus(zero, pred(X), A), ','(isDiv(A, succ(Y), B), isMinus(zero, B, Z))).<BR>isModulo(X, Y, Z)&#160;:-&#160;','(isDiv(X, Y, A), ','(isTimes(A, Y, B), isMinus(X, B, Z))).<BR>=(X, X).<BR>isGreater(succ(X), zero).<BR>isGreater(succ(X), pred(Y)).<BR>isGreater(succ(X), succ(Y))&#160;:-&#160;isGreater(X, Y).<BR>isGreater(zero, pred(Y)).<BR>isGreater(pred(X), pred(Y))&#160;:-&#160;isGreater(X, Y).<BR>isLess(pred(X), zero).<BR>isLess(pred(X), succ(Y)).<BR>isLess(pred(X), pred(Y))&#160;:-&#160;isLess(X, Y).<BR>isLess(zero, succ(Y)).<BR>isLess(succ(X), succ(Y))&#160;:-&#160;isLess(X, Y).<BR>merge(.(X, Xs), .(Y, Ys), .(X, Zs), .(H, Ls))&#160;:-&#160;','(=(X1, X), ','(=(X2, Y), ','(=(X1, X2), merge(Xs, .(Y, Ys), Zs, Ls)))).<BR>merge(.(X, Xs), .(Y, Ys), .(X, Zs), .(H, Ls))&#160;:-&#160;','(=(X1, X), ','(=(X2, Y), ','(isLess(X1, X2), merge(Xs, .(Y, Ys), Zs, Ls)))).<BR><BR>Queries:<BR><BR>mergesort(g,a,a).<BR><BR>We use the technique of [30]. With regard to the inferred argument filtering the predicates were used in the following modes:
<BR><FONT COLOR=#0000cc>mergesort_in</font>: (b,f,f)
<BR><FONT COLOR=#0000cc>split_in</font>: (b,f,f,f)
<BR><FONT COLOR=#0000cc>merge_in</font>: (b,b,f,f)
<BR><FONT COLOR=#0000cc>isGreater_in</font>: (b,b)
<BR><FONT COLOR=#0000cc>isLess_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>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</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>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>MERGE_IN_GGAA</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>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>SPLIT_IN_GAAA</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>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>MERGE_IN_GGAA</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>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>SPLIT_IN_GAAA</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>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 5 SCCs with 19 less nodes.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_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>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISLESS_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_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>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI>
<LI><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_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>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISGREATER_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_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>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI>
<LI><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>MERGE_IN_GGAA</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>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</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>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>MERGE_IN_GGAA</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>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 Rewriting</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>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By rewriting [15] the rule <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>)) at position [4] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 <B>QDP</B></pre><pre>                                    &#8627 Rewriting</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>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By rewriting [15] the rule <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>)) at position [5] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 <B>QDP</B></pre><pre>                                        &#8627 Rewriting</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>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By rewriting [15] the rule <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>)) at position [4] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 <B>QDP</B></pre><pre>                                            &#8627 Rewriting</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>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By rewriting [15] the rule <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>)) at position [5] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 <B>QDP</B></pre><pre>                                                &#8627 UsableRulesProof</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>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 <B>QDP</B></pre><pre>                                                    &#8627 QReductionProof</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>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_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>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</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 Instantiation</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>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 <B>QDP</B></pre><pre>                                                            &#8627 Instantiation</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>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 <B>QDP</B></pre><pre>                                                                &#8627 Instantiation</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>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 <B>QDP</B></pre><pre>                                                                    &#8627 Instantiation</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>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 <B>QDP</B></pre><pre>                                                                        &#8627 Instantiation</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>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 <B>QDP</B></pre><pre>                                                                            &#8627 Instantiation</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>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 QDP</pre><pre>                                                                            &#8627 Instantiation</pre><pre>                                                                              &#8627 <B>QDP</B></pre><pre>                                                                                &#8627 QDPOrderProof</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>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_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>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE>The remaining pairs can at least be oriented weakly.<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</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>=_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>=_out_ag</font>(x<SUB>1</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>=_out_gg</font></B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>MERGE_IN_GGAA</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>U43_gg</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U44_gg</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U45_gg</font>(x<SUB>1</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U46_gg</font>(x<SUB>1</SUB>)</B>) = x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U47_GGAA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 1 + x<SUB>4</SUB> + x<SUB>5</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U48_GGAA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>, x<SUB>6</SUB>)</B>) = 1 + x<SUB>4</SUB> + x<SUB>6</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U49_GGAA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 1 + x<SUB>4</SUB> + x<SUB>5</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U51_GGAA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 1 + x<SUB>4</SUB> + x<SUB>5</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U6_GGAA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 1 + x<SUB>4</SUB> + x<SUB>5</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U7_GGAA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>, x<SUB>6</SUB>)</B>) = 1 + x<SUB>4</SUB> + x<SUB>6</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U8_GGAA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 1 + x<SUB>4</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>isGreater_in_gg</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>isGreater_out_gg</font></B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>isLess_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>isLess_out_gg</font></B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>pred</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>succ</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>zero</font></B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub></BLOCKQUOTE><BR>The following usable rules [17] were oriented:
<BLOCKQUOTE><BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 QDP</pre><pre>                                                                            &#8627 Instantiation</pre><pre>                                                                              &#8627 QDP</pre><pre>                                                                                &#8627 QDPOrderProof</pre><pre>                                                                                  &#8627 <B>QDP</B></pre><pre>                                                                                    &#8627 DependencyGraphProof</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>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_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 3 less nodes.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 QDP</pre><pre>                                                                            &#8627 Instantiation</pre><pre>                                                                              &#8627 QDP</pre><pre>                                                                                &#8627 QDPOrderProof</pre><pre>                                                                                  &#8627 QDP</pre><pre>                                                                                    &#8627 DependencyGraphProof</pre><pre>                                                                                      &#8627 <B>QDP</B></pre><pre>                                                                                        &#8627 UsableRulesProof</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>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 QDP</pre><pre>                                                                            &#8627 Instantiation</pre><pre>                                                                              &#8627 QDP</pre><pre>                                                                                &#8627 QDPOrderProof</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 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>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_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>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 QDP</pre><pre>                                                                            &#8627 Instantiation</pre><pre>                                                                              &#8627 QDP</pre><pre>                                                                                &#8627 QDPOrderProof</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 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>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U46_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>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>))<BR>The graph contains the following edges 1 > 1, 1 > 2, 2 > 3, 2 > 4<P></LI>
<LI><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))<BR>The graph contains the following edges 1 >= 1, 5 >= 1, 2 >= 2, 3 >= 3, 6 > 3, 4 >= 4<P></LI>
<LI><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>))<BR>The graph contains the following edges 1 >= 1, 5 > 1, 2 >= 2, 3 >= 3, 4 >= 4, 1 >= 5, 5 > 5<P></LI>
<LI><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))<BR>The graph contains the following edges 1 >= 1, 5 >= 1, 2 >= 2, 3 >= 3, 6 > 3, 4 >= 4<P></LI>
<LI><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))<BR>The graph contains the following edges 2 >= 1<P></LI>
<LI><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))<BR>The graph contains the following edges 2 >= 1<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>SPLIT_IN_GAAA</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>SPLIT_IN_GAAA</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>R is empty.<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>SPLIT_IN_GAAA</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>SPLIT_IN_GAAA</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</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>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>)<BR>The graph contains the following edges 1 > 1<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 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>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font><BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font><BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font><BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x5</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>)
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>)
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>)) at position [0] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>)
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>)) at position [1] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 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 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>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</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>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>)
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</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 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>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</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 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>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</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_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>))) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</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_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>y1</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>))) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</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 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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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 2 SCCs with 1 less node.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 <B>QDP</B></pre><pre>                                                                  &#8627 Instantiation</pre><pre>                                                                &#8627 QDP</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_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                  &#8627 Instantiation</pre><pre>                                                                    &#8627 <B>QDP</B></pre><pre>                                                                      &#8627 Instantiation</pre><pre>                                                                &#8627 QDP</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_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>))) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                  &#8627 Instantiation</pre><pre>                                                                    &#8627 QDP</pre><pre>                                                                      &#8627 Instantiation</pre><pre>                                                                        &#8627 <B>QDP</B></pre><pre>                                                                          &#8627 Rewriting</pre><pre>                                                                &#8627 QDP</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_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By rewriting [15] the rule <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>))) at position [1,0] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                  &#8627 Instantiation</pre><pre>                                                                    &#8627 QDP</pre><pre>                                                                      &#8627 Instantiation</pre><pre>                                                                        &#8627 QDP</pre><pre>                                                                          &#8627 Rewriting</pre><pre>                                                                            &#8627 <B>QDP</B></pre><pre>                                                                              &#8627 NonTerminationProof</pre><pre>                                                                &#8627 QDP</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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>We used the non-termination processor [17] to show that the DP problem is infinite.<BR>Found a loop by narrowing to the left:<BR><BR>The TRS P consists of the following rules:<BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR><BR>s = <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) evaluates to  t =<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))<BR><BR>Thus s starts an infinite chain as s semiunifies with t with the following substitutions:<BR><UL><LI> Semiunifier: [ ]</LI>
<LI> Matcher: [ ]</LI></UL><BR><BR><hr><BR><B>Rewriting sequence</B><BR><BR><B><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))</B> &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)<BR>with rule <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) at position [] and matcher [ ]<BR><BR><B><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>)</B> &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))<BR>with rule <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>))<BR><BR>Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence<BR><BR><BR>All these steps are and every following step will be a correct step w.r.t to Q.<BR><BR><BR><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 QDP</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>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))</BLOCKQUOTE>The remaining pairs can at least be oriented weakly.<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</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>1</SUB> + x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>=_in_ag</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>=_in_gg</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>=_out_ag</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>=_out_gg</font></B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(x<SUB>1</SUB>)</B>) = 1 + x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U1_GAA</font>(x<SUB>1</SUB>)</B>) = 1 + x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U1_gaa</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U2_GAA</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>U2_gaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U3_gaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U43_gg</font>(x<SUB>1</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U44_gg</font>(x<SUB>1</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U45_gg</font>(x<SUB>1</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U46_gg</font>(x<SUB>1</SUB>)</B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U47_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U48_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>, x<SUB>6</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U49_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U4_gaa</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U50_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U51_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U52_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U5_gaaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 1 + x<SUB>1</SUB> + x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U6_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U7_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>, x<SUB>6</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U8_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>, x<SUB>3</SUB>, x<SUB>4</SUB>, x<SUB>5</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U9_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<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>isGreater_in_gg</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 1 + x<SUB>1</SUB> + x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>isGreater_out_gg</font></B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>isLess_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>isLess_out_gg</font></B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>merge_in_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>merge_out_ggaa</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>mergesort_in_gaa</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>mergesort_out_gaa</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>pred</font>(x<SUB>1</SUB>)</B>) = 1 + x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>split_in_gaaa</font>(x<SUB>1</SUB>)</B>) = x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>split_out_gaaa</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>succ</font>(x<SUB>1</SUB>)</B>) = 0<sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>zero</font></B>) = 1<sup>&nbsp;</sup> <sub>&nbsp;</sub></BLOCKQUOTE><BR>The following usable rules [17] were oriented:
<BLOCKQUOTE><BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                  &#8627 QDPOrderProof</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>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)))</BLOCKQUOTE>The remaining pairs can at least be oriented weakly.<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE>Used ordering:  Matrix interpretation [3]:
<BR>Non-tuple symbols: <BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U49_ggaa</font>(x<SUB>1</SUB>, ..., x<SUB>5</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>3</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>4</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>5</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>succ</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>merge_out_ggaa</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U5_gaaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U4_gaa</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>isLess_out_gg</font><B> )</B> = </td><td><table><tr><td>/</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>isGreater_in_gg</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>[]</font><B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U51_ggaa</font>(x<SUB>1</SUB>, ..., x<SUB>5</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>3</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>4</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>5</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>=_in_gg</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>=_in_ag</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U7_ggaa</font>(x<SUB>1</SUB>, ..., x<SUB>6</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>3</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>4</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>5</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>6</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U45_gg</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U46_gg</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>isLess_in_gg</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U52_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>=_out_ag</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U9_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U48_ggaa</font>(x<SUB>1</SUB>, ..., x<SUB>6</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>3</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>4</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>5</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>6</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U3_gaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>mergesort_out_gaa</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>merge_in_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U1_gaa</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>split_out_gaaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U50_ggaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>.</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>=_out_gg</font><B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U47_ggaa</font>(x<SUB>1</SUB>, ..., x<SUB>5</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>3</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>4</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>5</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>isGreater_out_gg</font><B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>zero</font><B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U43_gg</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U6_ggaa</font>(x<SUB>1</SUB>, ..., x<SUB>5</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>3</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>4</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>5</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>mergesort_in_gaa</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U8_ggaa</font>(x<SUB>1</SUB>, ..., x<SUB>5</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>3</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>4</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>5</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U2_gaa</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>split_in_gaaa</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>0</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>0</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>0</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>pred</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U44_gg</font>(x<SUB>1</SUB>)<B> )</B> = </td><td><table><tr><td>/</td><td>0</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>/</td></tr>
</table></td><td>+</td><td><table><tr><td>/</td><td>1</td><td>1</td><td>\</td></tr>
<tr><td>\</td><td>1</td><td>1</td><td>/</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR>Tuple symbols: <BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U1_GAA</font>(x<SUB>1</SUB>)<B> )</B> = </td><td>0</td><td>+</td><td><table><tr><td>[</td><td>0,</td><td>1</td><td>]</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(x<SUB>1</SUB>)<B> )</B> = </td><td>0</td><td>+</td><td><table><tr><td>[</td><td>1,</td><td>0</td><td>]</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td></tr>
</table><BR><table><tr><td><B>M( </B><FONT COLOR=#0000cc>U2_GAA</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)<B> )</B> = </td><td>0</td><td>+</td><td><table><tr><td>[</td><td>1,</td><td>0</td><td>]</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>1</SUB></B></td><td>+</td><td><table><tr><td>[</td><td>0,</td><td>0</td><td>]</td></tr>
</table></td><td>&middot;</td><td><B>x<SUB>2</SUB></B></td></tr>
</table><BR><BR>Matrix type: <BR>We used a basic matrix type which is not further parametrizeable.<BR><BR><BR>As matrix orders are CE-compatible, we used usable rules w.r.t. argument filtering in the order.<BR>The following usable rules [17] were oriented:
<BLOCKQUOTE><BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                  &#8627 QDPOrderProof</pre><pre>                                                                    &#8627 QDP</pre><pre>                                                                      &#8627 QDPOrderProof</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>U2_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                  &#8627 QDPOrderProof</pre><pre>                                                                    &#8627 QDP</pre><pre>                                                                      &#8627 QDPOrderProof</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>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>)) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Y2s</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Zs</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Ys</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                  &#8627 QDPOrderProof</pre><pre>                                                                    &#8627 QDP</pre><pre>                                                                      &#8627 QDPOrderProof</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>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</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>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x0</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>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDPToQDPProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Narrowing</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 ForwardInstantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 ForwardInstantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 ForwardInstantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 DependencyGraphProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 ForwardInstantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 ForwardInstantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 DependencyGraphProof</pre><pre>                                                              &#8627 AND</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                &#8627 QDP</pre><pre>                                                                  &#8627 QDPOrderProof</pre><pre>                                                                    &#8627 QDP</pre><pre>                                                                      &#8627 QDPOrderProof</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 NonTerminationProof</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_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>We used the non-termination processor [17] to show that the DP problem is infinite.<BR>Found a loop by narrowing to the left:<BR><BR>The TRS P consists of the following rules:<BLOCKQUOTE><BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BLOCKQUOTE><BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>)</BLOCKQUOTE><BR><BR>s = <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>))) evaluates to  t =<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>)))<BR><BR>Thus s starts an infinite chain as s semiunifies with t with the following substitutions:<BR><UL><LI> Semiunifier: [ ]</LI>
<LI> Matcher: [ ]</LI></UL><BR><BR><hr><BR><B>Rewriting sequence</B><BR><BR><B><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>)))</B> &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)))<BR>with rule <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) at position [0,1] and matcher [ ]<BR><BR><B><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)))</B> &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>[]</font>))<BR>with rule <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X'</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X'</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>) at position [0] and matcher [<FONT COLOR=#cc0000>Ys</font> / <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Zs</font> / <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>X'</font> / <FONT COLOR=#cc0000>X</font>]<BR><BR><B><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>[]</font>))</B> &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))<BR>with rule <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>), <FONT COLOR=#cc0000>x1'</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_0</font>, <FONT COLOR=#cc0000>y_1</font>)) at position [] and matcher [<FONT COLOR=#cc0000>x1'</font> / <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>y_1</font> / <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>y_0</font> / <FONT COLOR=#cc0000>X</font>]<BR><BR><B><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>))</B> &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>)))<BR>with rule <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)))<BR><BR>Now applying the matcher to the start term leads to a term which is equal to the last term in the rewriting sequence<BR><BR><BR>All these steps are and every following step will be a correct step w.r.t to Q.<BR><BR><BR><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>mergesort_in</font>: (b,f,f)
<BR><FONT COLOR=#0000cc>split_in</font>: (b,f,f,f)
<BR><FONT COLOR=#0000cc>merge_in</font>: (b,b,f,f)
<BR><FONT COLOR=#0000cc>isGreater_in</font>: (b,b)
<BR><FONT COLOR=#0000cc>isLess_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>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</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>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>MERGE_IN_GGAA</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>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>SPLIT_IN_GAAA</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>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>MERGE_IN_GGAA</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>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>SPLIT_IN_GAAA</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>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GAAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 5 SCCs with 19 less nodes.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_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>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISLESS_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_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>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI>
<LI><FONT COLOR=#0000cc>ISLESS_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISLESS_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_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>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>ISGREATER_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_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>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI>
<LI><FONT COLOR=#0000cc>ISGREATER_IN_GG</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>ISGREATER_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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>MERGE_IN_GGAA</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>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</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>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>MERGE_IN_GGAA</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>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 Rewriting</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 rewriting [15] the rule <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>)) at position [4] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 <B>QDP</B></pre><pre>                                    &#8627 Rewriting</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 rewriting [15] the rule <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>)) at position [5] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 <B>QDP</B></pre><pre>                                        &#8627 Rewriting</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 rewriting [15] the rule <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>)) at position [4] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 <B>QDP</B></pre><pre>                                            &#8627 Rewriting</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 rewriting [15] the rule <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>Y</font>)) at position [5] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 <B>QDP</B></pre><pre>                                                &#8627 UsableRulesProof</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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>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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 <B>QDP</B></pre><pre>                                                    &#8627 QReductionProof</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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>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>=_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</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 Instantiation</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 instantiating [15] the rule <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 <B>QDP</B></pre><pre>                                                            &#8627 Instantiation</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 instantiating [15] the rule <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 <B>QDP</B></pre><pre>                                                                &#8627 Instantiation</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 instantiating [15] the rule <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 <B>QDP</B></pre><pre>                                                                    &#8627 Instantiation</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 instantiating [15] the rule <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 <B>QDP</B></pre><pre>                                                                        &#8627 Instantiation</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 instantiating [15] the rule <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Y</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 <B>QDP</B></pre><pre>                                                                            &#8627 Instantiation</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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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 instantiating [15] the rule <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 QDP</pre><pre>                                &#8627 Rewriting</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Rewriting</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Rewriting</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Rewriting</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 UsableRulesProof</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 QReductionProof</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 QDP</pre><pre>                                                                            &#8627 Instantiation</pre><pre>                                                                              &#8627 <B>QDP</B></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>U51_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>)
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>))
<BR><FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U6_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z0</font>)) &#8594; <FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U49_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>U48_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U51_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))
<BR><FONT COLOR=#0000cc>MERGE_IN_GGAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>)) &#8594; <FONT COLOR=#0000cc>U47_GGAA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U7_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z2</font>)) &#8594; <FONT COLOR=#0000cc>U8_GGAA</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z2</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U46_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><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>SPLIT_IN_GAAA</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>SPLIT_IN_GAAA</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 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>R is empty.<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>SPLIT_IN_GAAA</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>SPLIT_IN_GAAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PredefinedPredicateTransformerProof</pre><pre>    &#8627 Prolog</pre><pre>      &#8627 OrTransformerProof</pre><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><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>), <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_in_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>split_out_gaaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X1s</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>X2s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ls</font>)
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>X2</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>zero</font>)
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>zero</font>, <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>X1</font>, <FONT COLOR=#cc0000>X2</font>)) &#8594; <FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_in_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>Zs</font>, <FONT COLOR=#cc0000>Ls</font>)) &#8594; <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Xs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Ys</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Zs</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))
<BR><FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>, <FONT COLOR=#0000cc>merge_out_ggaa</font>(<FONT COLOR=#cc0000>Y1s</font>, <FONT COLOR=#cc0000>Y2s</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))) &#8594; <FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>Xs</font>, <FONT COLOR=#cc0000>Ys</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>Ls</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_in_gaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>mergesort_out_gaa</font>(<FONT COLOR=#cc0000>x1</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>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>split_in_gaaa</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>split_in_gaaa</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>split_out_gaaa</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>split_out_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gaaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x7</font>)<BR>
<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U4_gaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>merge_in_ggaa</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>merge_in_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>merge_out_ggaa</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>merge_out_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U8_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>succ</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>zero</font>&#160; = &#160;<FONT COLOR=#0000cc>zero</font><BR>
<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isGreater_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>pred</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U43_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U44_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U47_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)&#160; = &#160;<FONT COLOR=#0000cc>U48_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>, <FONT COLOR=#cc0000>x9</font>)<BR>
<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U49_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>=_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U50_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U51_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>isLess_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U45_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U46_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#cc0000>x7</font>, <FONT COLOR=#cc0000>x8</font>)&#160; = &#160;<FONT COLOR=#0000cc>U52_ggaa</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x8</font>)<BR>
<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>MERGESORT_IN_GAA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GAA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR><BR></body>

