YES
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN"
"http:/www.w3.org/TR/html4/frameset.dtd">
<html>
<head>
<title>H-Termination proof of ../tpdb/FP/full_haskell/Prelude_GTGT___1.hs</title>
</head>
<body>
<BR><B>H-Termination</B> of the given <I>Haskell-Program with start terms</I> could successfully be <font color=#00ff00>proven</font>:<BR><BR><BR><BR><pre>&#8627 <B>HASKELL</B></pre><pre>  &#8627 LR</pre><BR><html>
<body>mainModule Main<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>
                   &nbsp;
                </td><td>((<FONT COLOR="#000088">(&gt;&gt;)</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">c</FONT> =&gt; <FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">b</FONT>) :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">c</FONT> =&gt; <FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">b</FONT>)</td>
</tr>
</table>
<br>module Main where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>
</body>
</html>
<BR>Lambda Reductions:<BR>The following Lambda expression<BR><BLOCKQUOTE>\_&#8594;<font color=#000088>q</font></BLOCKQUOTE><BR>is transformed to<BR><BLOCKQUOTE><table cellspacing="0" cellpadding="0" border="0" frame="void" >
<tr><td valign="top"><font color=#000088>gtGt0</font>&#160;</td><td valign="top"><font color=#000088>q</font>&#160;_</td><td valign="top">&#160;=&#160;<font color=#000088>q</font></td></tr>
</table></BLOCKQUOTE><BR><BR><BR><pre>&#8627 HASKELL</pre><pre>  &#8627 LR</pre><pre>    &#8627 <B>HASKELL</B></pre><pre>      &#8627 BR</pre><BR><html>
<body>mainModule Main<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>
                   &nbsp;
                </td><td>((<FONT COLOR="#000088">(&gt;&gt;)</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">c</FONT> =&gt; <FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">a</FONT>) :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">c</FONT> =&gt; <FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">a</FONT>)</td>
</tr>
</table>
<br>module Main where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>
</body>
</html>
<BR>Replaced joker patterns by fresh variables and removed binding patterns.<BR><BR><pre>&#8627 HASKELL</pre><pre>  &#8627 LR</pre><pre>    &#8627 HASKELL</pre><pre>      &#8627 BR</pre><pre>        &#8627 <B>HASKELL</B></pre><pre>          &#8627 NumRed</pre><BR><html>
<body>mainModule Main<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>
                   &nbsp;
                </td><td>((<FONT COLOR="#000088">(&gt;&gt;)</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">b</FONT> =&gt; <FONT COLOR="#000088">b</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT> <FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT> <FONT COLOR="#000088">a</FONT>) :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">b</FONT> =&gt; <FONT COLOR="#000088">b</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT> <FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT> <FONT COLOR="#000088">a</FONT>)</td>
</tr>
</table>
<br>module Main where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>
</body>
</html>
<BR>Num Reduction:All numbers are transformed to thier corresponding representation with Succ, Pred and Zero.<BR><BR><pre>&#8627 HASKELL</pre><pre>  &#8627 LR</pre><pre>    &#8627 HASKELL</pre><pre>      &#8627 BR</pre><pre>        &#8627 HASKELL</pre><pre>          &#8627 NumRed</pre><pre>            &#8627 <B>HASKELL</B></pre><pre>              &#8627 Narrow</pre><BR><html>
<body>mainModule Main<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>
                   &nbsp;
                </td><td>(<FONT COLOR="#000088">(&gt;&gt;)</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">c</FONT> =&gt; <FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">a</FONT>)</td>
</tr>
</table>
<br>module Main where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>
</body>
</html>
<BR>Haskell To QDPs<BR><textarea cols="80" rows="25">digraph dp_graph {
node [outthreshold=100, inthreshold=100];1[label="(>>)\n",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3];
3[label="(>>) vy3\n",fontsize=16,color="grey",shape="box"];3 -> 4[label="",style="dashed", color="grey", weight=3];
4[label="(>>) vy3 vy4\n",fontsize=16,color="blue",shape="triangle"];37[label=">> :: ([] a) -> ([] b) -> [] b",fontsize=10,color="white",style="solid",shape="box"];4 -> 37[label="",style="solid", color="blue", weight=9];
37 -> 5[label="",style="solid", color="blue", weight=3];
38[label=">> :: (Maybe a) -> (Maybe b) -> Maybe b",fontsize=10,color="white",style="solid",shape="box"];4 -> 38[label="",style="solid", color="blue", weight=9];
38 -> 6[label="",style="solid", color="blue", weight=3];
39[label=">> :: (IO a) -> (IO b) -> IO b",fontsize=10,color="white",style="solid",shape="box"];4 -> 39[label="",style="solid", color="blue", weight=9];
39 -> 7[label="",style="solid", color="blue", weight=3];
5[label="(>>) vy3 vy4\n",fontsize=16,color="black",shape="box"];5 -> 8[label="",style="solid", color="black", weight=3];
6[label="(>>) vy3 vy4\n",fontsize=16,color="black",shape="box"];6 -> 9[label="",style="solid", color="black", weight=3];
7[label="(>>) vy3 vy4\n",fontsize=16,color="black",shape="box"];7 -> 10[label="",style="solid", color="black", weight=3];
8[label="vy3 >>= gtGt0 vy4\n",fontsize=16,color="burlywood",shape="triangle"];40[label="vy3/vy30 : vy31",fontsize=10,color="white",style="solid",shape="box"];8 -> 40[label="",style="solid", color="burlywood", weight=9];
40 -> 11[label="",style="solid", color="burlywood", weight=3];
41[label="vy3/[]",fontsize=10,color="white",style="solid",shape="box"];8 -> 41[label="",style="solid", color="burlywood", weight=9];
41 -> 12[label="",style="solid", color="burlywood", weight=3];
9[label="vy3 >>= gtGt0 vy4\n",fontsize=16,color="burlywood",shape="box"];42[label="vy3/Nothing",fontsize=10,color="white",style="solid",shape="box"];9 -> 42[label="",style="solid", color="burlywood", weight=9];
42 -> 13[label="",style="solid", color="burlywood", weight=3];
43[label="vy3/Just vy30",fontsize=10,color="white",style="solid",shape="box"];9 -> 43[label="",style="solid", color="burlywood", weight=9];
43 -> 14[label="",style="solid", color="burlywood", weight=3];
10[label="vy3 >>= gtGt0 vy4\n",fontsize=16,color="black",shape="box"];10 -> 15[label="",style="solid", color="black", weight=3];
11[label="vy30 : vy31 >>= gtGt0 vy4\n",fontsize=16,color="black",shape="box"];11 -> 16[label="",style="solid", color="black", weight=3];
12[label="[] >>= gtGt0 vy4\n",fontsize=16,color="black",shape="box"];12 -> 17[label="",style="solid", color="black", weight=3];
13[label="Nothing >>= gtGt0 vy4\n",fontsize=16,color="black",shape="box"];13 -> 18[label="",style="solid", color="black", weight=3];
14[label="Just vy30 >>= gtGt0 vy4\n",fontsize=16,color="black",shape="box"];14 -> 19[label="",style="solid", color="black", weight=3];
15[label="primbindIO vy3 (gtGt0 vy4)\n",fontsize=16,color="black",shape="box"];15 -> 20[label="",style="solid", color="black", weight=3];
16 -> 21[label="",style="dashed", color="red", weight=0];
16[label="gtGt0 vy4 vy30 ++ (vy31 >>= gtGt0 vy4)\n",fontsize=16,color="magenta"];16 -> 22[label="",style="dashed", color="magenta", weight=3];
17[label="[]\n",fontsize=16,color="green",shape="box"];18[label="Nothing\n",fontsize=16,color="green",shape="box"];19[label="gtGt0 vy4 vy30\n",fontsize=16,color="black",shape="box"];19 -> 23[label="",style="solid", color="black", weight=3];
20[label="terminator vy3 (gtGt0 vy4)\n",fontsize=16,color="black",shape="box"];20 -> 24[label="",style="solid", color="black", weight=3];
22 -> 8[label="",style="dashed", color="red", weight=0];
22[label="vy31 >>= gtGt0 vy4\n",fontsize=16,color="magenta"];22 -> 25[label="",style="dashed", color="magenta", weight=3];
21[label="gtGt0 vy4 vy30 ++ vy5\n",fontsize=16,color="black",shape="triangle"];21 -> 26[label="",style="solid", color="black", weight=3];
23[label="vy4\n",fontsize=16,color="green",shape="box"];24[label="ter0m vy3 (gtGt0 vy4)\n",fontsize=16,color="green",shape="box"];24 -> 27[label="",style="dashed", color="green", weight=3];
24 -> 28[label="",style="dashed", color="green", weight=3];
25[label="vy31\n",fontsize=16,color="green",shape="box"];26[label="vy4 ++ vy5\n",fontsize=16,color="burlywood",shape="triangle"];46[label="vy4/vy40 : vy41",fontsize=10,color="white",style="solid",shape="box"];26 -> 46[label="",style="solid", color="burlywood", weight=9];
46 -> 29[label="",style="solid", color="burlywood", weight=3];
47[label="vy4/[]",fontsize=10,color="white",style="solid",shape="box"];26 -> 47[label="",style="solid", color="burlywood", weight=9];
47 -> 30[label="",style="solid", color="burlywood", weight=3];
27[label="vy3\n",fontsize=16,color="green",shape="box"];28[label="gtGt0 vy4\n",fontsize=16,color="grey",shape="box"];28 -> 31[label="",style="dashed", color="grey", weight=3];
29[label="(vy40 : vy41) ++ vy5\n",fontsize=16,color="black",shape="box"];29 -> 32[label="",style="solid", color="black", weight=3];
30[label="[] ++ vy5\n",fontsize=16,color="black",shape="box"];30 -> 33[label="",style="solid", color="black", weight=3];
31[label="gtGt0 vy4 vy6\n",fontsize=16,color="black",shape="triangle"];31 -> 34[label="",style="solid", color="black", weight=3];
32[label="vy40 : vy41 ++ vy5\n",fontsize=16,color="green",shape="box"];32 -> 35[label="",style="dashed", color="green", weight=3];
33[label="vy5\n",fontsize=16,color="green",shape="box"];34[label="vy4\n",fontsize=16,color="green",shape="box"];35 -> 26[label="",style="dashed", color="red", weight=0];
35[label="vy41 ++ vy5\n",fontsize=16,color="magenta"];35 -> 36[label="",style="dashed", color="magenta", weight=3];
36[label="vy41\n",fontsize=16,color="green",shape="box"];}
</textarea><BR><BR><pre>&#8627 HASKELL</pre><pre>  &#8627 LR</pre><pre>    &#8627 HASKELL</pre><pre>      &#8627 BR</pre><pre>        &#8627 HASKELL</pre><pre>          &#8627 NumRed</pre><pre>            &#8627 HASKELL</pre><pre>              &#8627 Narrow</pre><pre>                &#8627 AND</pre><pre>                  &#8627 <B>QDP</B></pre><pre>                    &#8627 QDPSizeChangeProof</pre><pre>                  &#8627 QDP</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>new_gtGtEs</font>(<FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>vy30</font>, <FONT COLOR=#cc0000>vy31</font>), <FONT COLOR=#cc0000>vy4</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>) &#8594; <FONT COLOR=#0000cc>new_gtGtEs</font>(<FONT COLOR=#cc0000>vy31</font>, <FONT COLOR=#cc0000>vy4</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all minimal (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>new_gtGtEs</font>(<FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>vy30</font>, <FONT COLOR=#cc0000>vy31</font>), <FONT COLOR=#cc0000>vy4</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>) &#8594; <FONT COLOR=#0000cc>new_gtGtEs</font>(<FONT COLOR=#cc0000>vy31</font>, <FONT COLOR=#cc0000>vy4</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>)<BR>The graph contains the following edges 1 > 1, 2 >= 2, 3 >= 3, 4 >= 4<P></LI></UL><BR><BR><pre>&#8627 HASKELL</pre><pre>  &#8627 LR</pre><pre>    &#8627 HASKELL</pre><pre>      &#8627 BR</pre><pre>        &#8627 HASKELL</pre><pre>          &#8627 NumRed</pre><pre>            &#8627 HASKELL</pre><pre>              &#8627 Narrow</pre><pre>                &#8627 AND</pre><pre>                  &#8627 QDP</pre><pre>                  &#8627 <B>QDP</B></pre><pre>                    &#8627 QDPSizeChangeProof</pre><BR>Q DP problem:<BR>The TRS P consists of the following rules:<BR><BLOCKQUOTE><BR><FONT COLOR=#0000cc>new_psPs</font>(<FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>vy40</font>, <FONT COLOR=#cc0000>vy41</font>), <FONT COLOR=#cc0000>vy5</font>, <FONT COLOR=#cc0000>h</font>) &#8594; <FONT COLOR=#0000cc>new_psPs</font>(<FONT COLOR=#cc0000>vy41</font>, <FONT COLOR=#cc0000>vy5</font>, <FONT COLOR=#cc0000>h</font>)</BLOCKQUOTE><BR>R is empty.<BR>Q is empty.<BR>We have to consider all minimal (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>new_psPs</font>(<FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>vy40</font>, <FONT COLOR=#cc0000>vy41</font>), <FONT COLOR=#cc0000>vy5</font>, <FONT COLOR=#cc0000>h</font>) &#8594; <FONT COLOR=#0000cc>new_psPs</font>(<FONT COLOR=#cc0000>vy41</font>, <FONT COLOR=#cc0000>vy5</font>, <FONT COLOR=#cc0000>h</font>)<BR>The graph contains the following edges 1 > 1, 2 >= 2, 3 >= 3<P></LI></UL><BR><BR></body>


