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_sequence__4.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">sequence_</FONT> :: [<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#666600">()</FONT>) :: [<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#666600">()</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">sequence_</FONT> :: [<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#666600">()</FONT>) :: [<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#666600">()</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">sequence_</FONT> :: [<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#666600">()</FONT>) :: [<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#666600">()</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">sequence_</FONT> :: [<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#666600">()</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="sequence_\n",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3];
3[label="sequence_ vy3\n",fontsize=16,color="black",shape="triangle"];3 -> 4[label="",style="solid", color="black", weight=3];
4[label="foldr (>>) (return ()) vy3\n",fontsize=16,color="burlywood",shape="triangle"];24[label="vy3/vy30 : vy31",fontsize=10,color="white",style="solid",shape="box"];4 -> 24[label="",style="solid", color="burlywood", weight=9];
24 -> 5[label="",style="solid", color="burlywood", weight=3];
25[label="vy3/[]",fontsize=10,color="white",style="solid",shape="box"];4 -> 25[label="",style="solid", color="burlywood", weight=9];
25 -> 6[label="",style="solid", color="burlywood", weight=3];
5[label="foldr (>>) (return ()) (vy30 : vy31)\n",fontsize=16,color="black",shape="box"];5 -> 7[label="",style="solid", color="black", weight=3];
6[label="foldr (>>) (return ()) []\n",fontsize=16,color="black",shape="box"];6 -> 8[label="",style="solid", color="black", weight=3];
7 -> 9[label="",style="dashed", color="red", weight=0];
7[label="(>>) vy30 foldr (>>) (return ()) vy31\n",fontsize=16,color="magenta"];7 -> 10[label="",style="dashed", color="magenta", weight=3];
8[label="return ()\n",fontsize=16,color="black",shape="box"];8 -> 11[label="",style="solid", color="black", weight=3];
10 -> 4[label="",style="dashed", color="red", weight=0];
10[label="foldr (>>) (return ()) vy31\n",fontsize=16,color="magenta"];10 -> 12[label="",style="dashed", color="magenta", weight=3];
9[label="(>>) vy30 vy4\n",fontsize=16,color="black",shape="triangle"];9 -> 13[label="",style="solid", color="black", weight=3];
11[label="primretIO ()\n",fontsize=16,color="black",shape="box"];11 -> 14[label="",style="solid", color="black", weight=3];
12[label="vy31\n",fontsize=16,color="green",shape="box"];13[label="vy30 >>= gtGt0 vy4\n",fontsize=16,color="black",shape="box"];13 -> 15[label="",style="solid", color="black", weight=3];
14[label="terminator ()\n",fontsize=16,color="black",shape="box"];14 -> 16[label="",style="solid", color="black", weight=3];
15[label="primbindIO vy30 (gtGt0 vy4)\n",fontsize=16,color="black",shape="box"];15 -> 17[label="",style="solid", color="black", weight=3];
16[label="ter0m ()\n",fontsize=16,color="green",shape="box"];16 -> 18[label="",style="dashed", color="green", weight=3];
17[label="terminator vy30 (gtGt0 vy4)\n",fontsize=16,color="black",shape="box"];17 -> 19[label="",style="solid", color="black", weight=3];
18[label="()\n",fontsize=16,color="green",shape="box"];19[label="ter1m vy30 (gtGt0 vy4)\n",fontsize=16,color="green",shape="box"];19 -> 20[label="",style="dashed", color="green", weight=3];
19 -> 21[label="",style="dashed", color="green", weight=3];
20[label="vy30\n",fontsize=16,color="green",shape="box"];21[label="gtGt0 vy4\n",fontsize=16,color="grey",shape="box"];21 -> 22[label="",style="dashed", color="grey", weight=3];
22[label="gtGt0 vy4 vy5\n",fontsize=16,color="black",shape="triangle"];22 -> 23[label="",style="solid", color="black", weight=3];
23[label="vy4\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 <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_foldr</font>(<FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>vy30</font>, <FONT COLOR=#cc0000>vy31</font>), <FONT COLOR=#cc0000>h</font>) &#8594; <FONT COLOR=#0000cc>new_foldr</font>(<FONT COLOR=#cc0000>vy31</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_foldr</font>(<FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>vy30</font>, <FONT COLOR=#cc0000>vy31</font>), <FONT COLOR=#cc0000>h</font>) &#8594; <FONT COLOR=#0000cc>new_foldr</font>(<FONT COLOR=#cc0000>vy31</font>, <FONT COLOR=#cc0000>h</font>)<BR>The graph contains the following edges 1 > 1, 2 >= 2<P></LI></UL><BR><BR></body>


