YES
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http:/www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Left Termination proof of ../tpdb/LP/talp/naomil/queens.pl</title>
</head>
<body>
<BR><B>Left Termination</B> of the query pattern
queens_in_1(a)
w.r.t. the given <I>Prolog program</I> could successfully be <font color=#00ff00>proven</font>:<BR><BR><BR><BR><pre>&#8627 <B>Prolog</B></pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Clauses:<BR><BR>queens(Y)&#160;:-&#160;','(perm(.(s(0), .(s(s(0)), .(s(s(s(0))), .(s(s(s(s(0)))), .(s(s(s(s(s(0))))), .(s(s(s(s(s(s(0)))))), .(s(s(s(s(s(s(s(0))))))), .(s(s(s(s(s(s(s(s(0)))))))), [])))))))), Y), safe(Y)).<BR>perm([], []).<BR>perm(.(X, Y), .(V, Res))&#160;:-&#160;','(delete(V, .(X, Y), Rest), perm(Rest, Res)).<BR>delete(X, .(X, Y), Y).<BR>delete(X, .(F, T), .(F, R))&#160;:-&#160;delete(X, T, R).<BR>safe([]).<BR>safe(.(X, Y))&#160;:-&#160;','(noattack(X, Y, s(0)), safe(Y)).<BR>noattack(X, [], N).<BR>noattack(X, .(F, T), N)&#160;:-&#160;','(notEq(X, F), ','(add(F, N, FplusN), ','(notEq(X, FplusN), ','(add(X, N, XplusN), ','(notEq(F, XplusN), noattack(X, T, s(N))))))).<BR>add(0, X, X).<BR>add(s(X), Y, s(Z))&#160;:-&#160;add(X, Y, Z).<BR>notEq(0, s(X)).<BR>notEq(s(X), 0).<BR>notEq(s(X), s(Y))&#160;:-&#160;notEq(X, Y).<BR><BR>Queries:<BR><BR>queens(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>queens_in</font>: (f)
<BR><FONT COLOR=#0000cc>perm_in</font>: (b,f)
<BR><FONT COLOR=#0000cc>delete_in</font>: (f,b,f)
<BR><FONT COLOR=#0000cc>safe_in</font>: (b)
<BR><FONT COLOR=#0000cc>noattack_in</font>: (b,b,b)
<BR><FONT COLOR=#0000cc>notEq_in</font>: (b,b)
<BR><FONT COLOR=#0000cc>add_in</font>: (b,b,f)
<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>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>
<P><B>Infinitary Constructor Rewriting Termination</B> of PiTRS implies <B>Termination</B> of Prolog<P>
<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 <B>PiTRS</B></pre><pre>      &#8627 DependencyPairsProof</pre><BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</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>QUEENS_IN_A</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>QUEENS_IN_A</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)
<BR><FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)
<BR><FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_A</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))
<BR><FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)
<BR><FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)
<BR><FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)
<BR><FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)
<BR><FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)
<BR><FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))
<BR><FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GA</font>(<FONT 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_GA</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U12_GGG</font>(<FONT 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>U12_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U7_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_G</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U13_GGG</font>(<FONT 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>U13_GGG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U8_GGG</font>(<FONT 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>U8_GGG</font>(<FONT 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>QUEENS_IN_A</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>QUEENS_IN_A</font><BR>
<FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U14_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_GGA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGG</font>(<FONT 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>U5_AGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_AGA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U15_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_A</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_A</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 <B>PiDP</B></pre><pre>          &#8627 DependencyGraphProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>QUEENS_IN_A</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>QUEENS_IN_A</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)
<BR><FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)
<BR><FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)
<BR><FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_A</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))
<BR><FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)
<BR><FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)
<BR><FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)
<BR><FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)
<BR><FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)
<BR><FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))
<BR><FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_A</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GA</font>(<FONT 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_GA</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U12_GGG</font>(<FONT 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>U12_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U7_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_G</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U13_GGG</font>(<FONT 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>U13_GGG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U8_GGG</font>(<FONT 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>U8_GGG</font>(<FONT 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>QUEENS_IN_A</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>QUEENS_IN_A</font><BR>
<FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U14_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_GGA</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGG</font>(<FONT 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>U5_AGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_AGA</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U15_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_GG</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U2_A</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_A</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 6 SCCs with 17 less nodes.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)</BLOCKQUOTE><BR>R is empty.<BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 <B>QDP</B></pre><pre>                        &#8627 QDPSizeChangeProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</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>ADD_IN_GGA</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>ADD_IN_GGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 >= 2<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 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>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Pi is empty.<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 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>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>NOTEQ_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 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>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))
<BR><FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U12_GGG</font>(<FONT 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>U12_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U8_GGG</font>(<FONT 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>U8_GGG</font>(<FONT 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>U9_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGG</font>(<FONT 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>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))
<BR><FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U12_GGG</font>(<FONT 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>U12_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U8_GGG</font>(<FONT 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>U8_GGG</font>(<FONT 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>U9_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_GGG</font>(<FONT 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>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_GGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 <B>QDP</B></pre><pre>                        &#8627 QDPSizeChangeProof</pre><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>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))
<BR><FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>))
<BR><FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U14_gga</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>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))<BR>The graph contains the following edges 1 >= 1, 2 >= 2<P></LI>
<LI><FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>))<BR>The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3, 4 >= 4<P></LI>
<LI><FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))<BR>The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3, 4 >= 4<P></LI>
<LI><FONT COLOR=#0000cc>NOATTACK_IN_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))<BR>The graph contains the following edges 1 >= 1, 2 > 2, 2 > 3, 3 >= 4<P></LI>
<LI><FONT COLOR=#0000cc>U8_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>))<BR>The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3, 4 >= 4<P></LI>
<LI><FONT COLOR=#0000cc>U11_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_GGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))<BR>The graph contains the following edges 1 >= 1, 3 >= 2, 4 >= 3<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 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>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 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>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 <B>QDP</B></pre><pre>                        &#8627 QDPSizeChangeProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>) &#8594; <FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#0000cc>noattack_out_ggg</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font></BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)
<BR><FONT COLOR=#0000cc>U8_ggg</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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U9_ggg</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>U15_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>U10_ggg</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>U14_gga</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U11_ggg</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>U12_ggg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)
<BR><FONT COLOR=#0000cc>U13_ggg</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>SAFE_IN_G</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))<BR>The graph contains the following edges 1 > 1<P></LI>
<LI><FONT COLOR=#0000cc>U6_G</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>) &#8594; <FONT COLOR=#0000cc>SAFE_IN_G</font>(<FONT COLOR=#cc0000>Y</font>)<BR>The graph contains the following edges 1 >= 1<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 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>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</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>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 <B>QDP</B></pre><pre>                        &#8627 QDPSizeChangeProof</pre><pre>              &#8627 PiDP</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>T</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>DELETE_IN_AGA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>DELETE_IN_AGA</font>(<FONT COLOR=#cc0000>T</font>)<BR>The graph contains the following edges 1 > 1<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)
<BR><FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U3_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U4_ga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>))
<BR><FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))))))), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))))))), <FONT COLOR=#0000cc>[]</font>)))))))), <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>[]</font>) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>[]</font>)
<BR><FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>)))
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>[]</font>, <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>) &#8594; <FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>))
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>0</font>)
<BR><FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U8_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>)) &#8594; <FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>0</font>, <FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>X</font>)
<BR><FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>)) &#8594; <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>X</font>), <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>Z</font>))
<BR><FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>))
<BR><FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>FplusN</font>)) &#8594; <FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>FplusN</font>, <FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>))
<BR><FONT COLOR=#0000cc>U12_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>XplusN</font>)) &#8594; <FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>)))
<BR><FONT COLOR=#0000cc>U13_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>N</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>N</font>))) &#8594; <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#cc0000>N</font>)
<BR><FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>s</font>(<FONT COLOR=#0000cc>0</font>))) &#8594; <FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>))
<BR><FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>queens_in_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_in_a</font><BR>
<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_a</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_in_ga</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>perm_out_ga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>perm_out_ga</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>U3_ga</font>(<FONT 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>U3_ga</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U4_ga</font>(<FONT 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_ga</font>(<FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>s</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>0</font>&#160; = &#160;<FONT COLOR=#0000cc>0</font><BR>
<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_a</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_in_g</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>safe_out_g</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>safe_out_g</font><BR>
<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_g</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_in_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>noattack_out_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>noattack_out_ggg</font><BR>
<FONT COLOR=#0000cc>U8_ggg</font>(<FONT 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>U8_ggg</font>(<FONT 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>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>notEq_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>notEq_out_gg</font><BR>
<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U15_gg</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U9_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U9_ggg</font>(<FONT 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>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_in_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>add_out_gga</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U14_gga</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U10_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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>U11_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U12_ggg</font>(<FONT 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>U12_ggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U13_ggg</font>(<FONT 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>U13_ggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>U7_g</font>(<FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)&#160; = &#160;<FONT COLOR=#0000cc>queens_out_a</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>Rest</font>, <FONT COLOR=#cc0000>Res</font>)
<BR><FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Res</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Rest</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>), <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>T</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</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>delete_in_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>)&#160; = &#160;<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x3</font>)<BR>
<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 <B>QDP</B></pre><pre>                        &#8627 RuleRemovalProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)))
<BR><FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>Rest</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)
<BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By using the rule removal processor [15] with the following polynomial ordering [25], at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.
<BR><BR>Strictly oriented rules of the TRS R:
<BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)</BLOCKQUOTE><BR>Used ordering: POLO with 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> + 2&middot;x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>PERM_IN_GA</font>(x<SUB>1</SUB>)</B>) = 2&middot;x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U3_GA</font>(x<SUB>1</SUB>)</B>) = 2&middot;x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U5_aga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 1 + x<SUB>1</SUB> + 2&middot;x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>delete_in_aga</font>(x<SUB>1</SUB>)</B>) = x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>delete_out_aga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = x<SUB>1</SUB> + x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub></BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 RuleRemovalProof</pre><pre>                          &#8627 <B>QDP</B></pre><pre>                            &#8627 RuleRemovalProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)))
<BR><FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>Rest</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By using the rule removal processor [15] with the following polynomial ordering [25], at least one Dependency Pair or term rewrite system rule of this QDP problem can be strictly oriented.
<BR>Strictly oriented dependency pairs:
<BLOCKQUOTE><BR><FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>V</font>, <FONT COLOR=#cc0000>Rest</font>)) &#8594; <FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#cc0000>Rest</font>)</BLOCKQUOTE><BR><BR>Used ordering: POLO with Polynomial interpretation [25]:
<BLOCKQUOTE><BR>POL(<B><FONT COLOR=#0000cc>.</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>PERM_IN_GA</font>(x<SUB>1</SUB>)</B>) = 2&middot;x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U3_GA</font>(x<SUB>1</SUB>)</B>) = x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>U5_aga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 2&middot;x<SUB>1</SUB> + x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>delete_in_aga</font>(x<SUB>1</SUB>)</B>) = 2&middot;x<SUB>1</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub>
<BR>POL(<B><FONT COLOR=#0000cc>delete_out_aga</font>(x<SUB>1</SUB>, x<SUB>2</SUB>)</B>) = 2 + x<SUB>1</SUB> + 2&middot;x<SUB>2</SUB><sup>&nbsp;</sup> <sub>&nbsp;</sub></BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 RuleRemovalProof</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 RuleRemovalProof</pre><pre>                              &#8627 <B>QDP</B></pre><pre>                                &#8627 DependencyGraphProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>PERM_IN_GA</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)) &#8594; <FONT COLOR=#0000cc>U3_GA</font>(<FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>T</font>)) &#8594; <FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>T</font>))
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>R</font>)) &#8594; <FONT COLOR=#0000cc>delete_out_aga</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>F</font>, <FONT COLOR=#cc0000>R</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>delete_in_aga</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_aga</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>The approximation of the Dependency Graph [15,17,22] contains 0 SCCs with 1 less node.<BR><BR></body>

