MAYBE
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http:/www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>Left Termination proof of ../tpdb/LP/talp/plumer/pl7.6.2b.pl</title>
</head>
<body>
<BR><B>Left Termination</B> of the query pattern
reach_in_4(g, g, g, g)
w.r.t. the given <I>Prolog program</I> could not be shown:<BR><BR><BR><BR><pre>&#8627 <B>Prolog</B></pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Clauses:<BR><BR>reach(X, Y, Edges, Visited)&#160;:-&#160;member(.(X, .(Y, [])), Edges).<BR>reach(X, Z, Edges, Visited)&#160;:-&#160;','(member1(.(X, .(Y, [])), Edges), ','(member(Y, Visited), reach(Y, Z, Edges, .(Y, Visited)))).<BR>member(H, .(H, L)).<BR>member(X, .(H, L))&#160;:-&#160;member(X, L).<BR>member1(H, .(H, L)).<BR>member1(X, .(H, L))&#160;:-&#160;member1(X, L).<BR><BR>Queries:<BR><BR>reach(g,g,g,g).<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>reach_in</font>: (b,b,b,b)
<BR><FONT COLOR=#0000cc>member_in</font>: (b,b)
<BR><FONT COLOR=#0000cc>member1_in</font>: (f,b)
<BR>Transforming <I>Prolog</I> into the following <B>Term Rewriting System</B>:
<BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font><BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</font><BR>
<FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<BR>
<P><B>Infinitary Constructor Rewriting Termination</B> of PiTRS implies <B>Termination</B> of Prolog<P>
<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 <B>PiTRS</B></pre><pre>      &#8627 DependencyPairsProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font><BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</font><BR>
<FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT COLOR=#cc0000>x5</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>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)
<BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)
<BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font><BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</font><BR>
<FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U5_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GG</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGGG</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>U6_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>REACH_IN_GGGG</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>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_GGGG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 <B>PiDP</B></pre><pre>          &#8627 DependencyGraphProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)
<BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)
<BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font><BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</font><BR>
<FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U5_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GG</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGGG</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>U6_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>REACH_IN_GGGG</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>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_GGGG</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 3 SCCs with 7 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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font><BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</font><BR>
<FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</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>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 <B>QDP</B></pre><pre>                        &#8627 QDPSizeChangeProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>L</font>)<BR>The graph contains the following edges 1 > 1<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font><BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</font><BR>
<FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER_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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</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 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font><BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</font><BR>
<FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT COLOR=#cc0000>x5</font>)<BR>
<FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGGG</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>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>REACH_IN_GGGG</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>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</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 PrologToPiTRSProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font><BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGGG</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>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>REACH_IN_GGGG</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>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</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 Narrowing</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>Edges</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By narrowing [15] the rule <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) at position [4] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x2</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 <B>QDP</B></pre><pre>                            &#8627 Narrowing</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x2</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>Edges</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By narrowing [15] the rule <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>Edges</font>)) at position [3] we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 <B>QDP</B></pre><pre>                                &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x2</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 <B>QDP</B></pre><pre>                                    &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x2</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x2</font>))) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 <B>QDP</B></pre><pre>                                        &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>member_out_gg</font>) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 <B>QDP</B></pre><pre>                                            &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x0</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 <B>QDP</B></pre><pre>                                                &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>y0</font>, <FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>y1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>), <FONT COLOR=#cc0000>y3</font>, <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>))) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 Instantiation</pre><pre>                                                  &#8627 <B>QDP</B></pre><pre>                                                    &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 Instantiation</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 Instantiation</pre><pre>                                                      &#8627 <B>QDP</B></pre><pre>                                                        &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 Instantiation</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 Instantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 <B>QDP</B></pre><pre>                                                            &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>))) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 Instantiation</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 Instantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 <B>QDP</B></pre><pre>                                                                &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x3</font>))) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 Instantiation</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 Instantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 <B>QDP</B></pre><pre>                                                                    &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 Instantiation</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 Instantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 <B>QDP</B></pre><pre>                                                                        &#8627 Instantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By instantiating [15] the rule <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 Instantiation</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 Instantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 <B>QDP</B></pre><pre>                                                                            &#8627 ForwardInstantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By forward instantiating [14] the rule <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>))))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 Instantiation</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 Instantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 QDP</pre><pre>                                                                            &#8627 ForwardInstantiation</pre><pre>                                                                              &#8627 <B>QDP</B></pre><pre>                                                                                &#8627 ForwardInstantiation</pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>By forward instantiating [14] the rule <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x2</font>)) we obtained the following new rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x4</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>))))</BLOCKQUOTE><BR><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 QDP</pre><pre>                        &#8627 Narrowing</pre><pre>                          &#8627 QDP</pre><pre>                            &#8627 Narrowing</pre><pre>                              &#8627 QDP</pre><pre>                                &#8627 Instantiation</pre><pre>                                  &#8627 QDP</pre><pre>                                    &#8627 Instantiation</pre><pre>                                      &#8627 QDP</pre><pre>                                        &#8627 Instantiation</pre><pre>                                          &#8627 QDP</pre><pre>                                            &#8627 Instantiation</pre><pre>                                              &#8627 QDP</pre><pre>                                                &#8627 Instantiation</pre><pre>                                                  &#8627 QDP</pre><pre>                                                    &#8627 Instantiation</pre><pre>                                                      &#8627 QDP</pre><pre>                                                        &#8627 Instantiation</pre><pre>                                                          &#8627 QDP</pre><pre>                                                            &#8627 Instantiation</pre><pre>                                                              &#8627 QDP</pre><pre>                                                                &#8627 Instantiation</pre><pre>                                                                  &#8627 QDP</pre><pre>                                                                    &#8627 Instantiation</pre><pre>                                                                      &#8627 QDP</pre><pre>                                                                        &#8627 Instantiation</pre><pre>                                                                          &#8627 QDP</pre><pre>                                                                            &#8627 ForwardInstantiation</pre><pre>                                                                              &#8627 QDP</pre><pre>                                                                                &#8627 ForwardInstantiation</pre><pre>                                                                                  &#8627 <B>QDP</B></pre><pre>  &#8627 PrologToPiTRSProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z5</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>))))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>), <FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#cc0000>z2</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z3</font>, <FONT COLOR=#cc0000>z4</font>)))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>))))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#cc0000>z4</font>)), <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>member_out_gg</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>[]</font>)))) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)), <FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>))))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z3</font>)), <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x3</font>)))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x4</font>))) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>x3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x4</font>)), <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_6</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>y_7</font>, <FONT COLOR=#0000cc>[]</font>))))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>), <FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#cc0000>z0</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z1</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>z3</font>), <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z2</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>z4</font>, <FONT COLOR=#cc0000>z5</font>)))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#0000cc>member_out_gg</font>) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>)</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR>We use the technique of [30]. With regard to the inferred argument filtering the predicates were used in the following modes:
<BR><FONT COLOR=#0000cc>reach_in</font>: (b,b,b,b)
<BR><FONT COLOR=#0000cc>member_in</font>: (b,b)
<BR><FONT COLOR=#0000cc>member1_in</font>: (f,b)
<BR>Transforming <I>Prolog</I> into the following <B>Term Rewriting System</B>:
<BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT 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>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</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>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</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>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</font>(<FONT 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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT 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>
<BR>
<P><B>Infinitary Constructor Rewriting Termination</B> of PiTRS implies <B>Termination</B> of Prolog<P>
<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 <B>PiTRS</B></pre><pre>      &#8627 DependencyPairsProof</pre><BR>Pi-finite rewrite system:<BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT 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>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</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>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</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>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</font>(<FONT 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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT 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>
<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>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)
<BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)
<BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT 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>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</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>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</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>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</font>(<FONT 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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT 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_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GG</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>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGGG</font>(<FONT 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>U6_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>REACH_IN_GGGG</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>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GGGG</font>(<FONT 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>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_GGGG</font>(<FONT 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>
<BR>We have to consider all (P,R,Pi)-chains<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 <B>PiDP</B></pre><pre>          &#8627 DependencyGraphProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)
<BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)
<BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT 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>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</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>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</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>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</font>(<FONT 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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT 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_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_GG</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>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGGG</font>(<FONT 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>U6_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_AG</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>REACH_IN_GGGG</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>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U1_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_GGGG</font>(<FONT 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>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U4_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_GGGG</font>(<FONT 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>
<BR>We have to consider all (P,R,Pi)-chains<BR>The approximation of the Dependency Graph [30] contains 3 SCCs with 7 less nodes.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT 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>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</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>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</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>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</font>(<FONT 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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT 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>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</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>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 PiDP</pre><pre>                    &#8627 PiDPToQDPProof</pre><pre>                      &#8627 <B>QDP</B></pre><pre>                        &#8627 QDPSizeChangeProof</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER1_IN_AG</font>(<FONT COLOR=#cc0000>L</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 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><pre>              &#8627 PiDP</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT 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>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</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>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</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>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</font>(<FONT 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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT 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>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<BR>We have to consider all (P,R,Pi)-chains<BR>For (infinitary) constructor rewriting [30] we can delete all non-usable rules from R.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 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>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>R is empty.<BR>Pi is empty.<BR>We have to consider all (P,R,Pi)-chains<BR>Transforming (infinitary) constructor rewriting Pi-DP problem [30] into ordinary QDP problem [15] by application of Pi.<BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 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>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all (P,Q,R)-chains.<BR>By using the subterm criterion [20] together with the size-change analysis [32] we have proven that there are no infinite chains for this DP problem. <P>From the DPs we obtained the following set of size-change graphs:
<UL><LI><FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>MEMBER_IN_GG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)<BR>The graph contains the following edges 1 >= 1, 2 > 2<P></LI></UL><BR><BR><pre>&#8627 Prolog</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>  &#8627 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 <B>PiDP</B></pre><pre>                &#8627 UsableRulesProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U1_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)
<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U2_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)))
<BR><FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))) &#8594; <FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>)</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>reach_in_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_in_gggg</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>U1_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U1_gggg</font>(<FONT 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>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</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>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>reach_out_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>reach_out_gggg</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>U2_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_gggg</font>(<FONT 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>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)<BR>
<FONT COLOR=#0000cc>U4_gggg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT 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_gggg</font>(<FONT 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>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGGG</font>(<FONT 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>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>REACH_IN_GGGG</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>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</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 PrologToPiTRSProof</pre><pre>    &#8627 PiTRS</pre><pre>      &#8627 DependencyPairsProof</pre><pre>        &#8627 PiDP</pre><pre>          &#8627 DependencyGraphProof</pre><pre>            &#8627 AND</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>              &#8627 PiDP</pre><pre>                &#8627 UsableRulesProof</pre><pre>                  &#8627 <B>PiDP</B></pre><pre>                    &#8627 PiDPToQDPProof</pre><BR>Pi DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))</BLOCKQUOTE><BR>The argument filtering Pi contains the following mapping:<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U5_gg</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>[]</font>&#160; = &#160;<FONT COLOR=#0000cc>[]</font><BR>
<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)&#160; = &#160;<FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)<BR>
<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)<BR>
<FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>)&#160; = &#160;<FONT COLOR=#0000cc>U2_GGGG</font>(<FONT 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>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>)&#160; = &#160;<FONT COLOR=#0000cc>REACH_IN_GGGG</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>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</font>, <FONT COLOR=#cc0000>x6</font>)&#160; = &#160;<FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>, <FONT COLOR=#cc0000>x3</font>, <FONT COLOR=#cc0000>x4</font>, <FONT COLOR=#cc0000>x5</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 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><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>[]</font>)), <FONT COLOR=#cc0000>Edges</font>)) &#8594; <FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>U3_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>)) &#8594; <FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>Y</font>, <FONT COLOR=#cc0000>Visited</font>))
<BR><FONT COLOR=#0000cc>REACH_IN_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>) &#8594; <FONT COLOR=#0000cc>U2_GGGG</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>Z</font>, <FONT COLOR=#cc0000>Edges</font>, <FONT COLOR=#cc0000>Visited</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>Edges</font>))</BLOCKQUOTE><BR>The TRS R consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U5_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member_out_gg</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))
<BR><FONT COLOR=#0000cc>U6_ag</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>, <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#cc0000>L</font>)) &#8594; <FONT COLOR=#0000cc>member1_out_ag</font>(<FONT COLOR=#cc0000>X</font>, <FONT COLOR=#0000cc>.</font>(<FONT COLOR=#cc0000>H</font>, <FONT COLOR=#cc0000>L</font>))</BLOCKQUOTE><BR>The set Q consists of the following terms:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>member_in_gg</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>)
<BR><FONT COLOR=#0000cc>member1_in_ag</font>(<FONT COLOR=#cc0000>x0</font>)
<BR><FONT COLOR=#0000cc>U5_gg</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>U6_ag</font>(<FONT COLOR=#cc0000>x0</font>, <FONT COLOR=#cc0000>x1</font>, <FONT COLOR=#cc0000>x2</font>)</BLOCKQUOTE><BR>We have to consider all (P,Q,R)-chains.<BR><BR></body>

