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/Monad_zipWithM_3.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">Monad.zipWithM</FONT> :: (<FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> <FONT COLOR="#000088">b</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">c</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> [<FONT COLOR="#000088">b</FONT>]) :: (<FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> <FONT COLOR="#000088">b</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">c</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</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 Maybe<br>import qualified Monad<br>import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>module Monad where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Main<br>import qualified Maybe<br>import qualified Prelude<br>
<br>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top"><FONT COLOR="#000088">zipWithM</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">a</FONT> =&gt; (<FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">d</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT> <FONT COLOR="#000088">c</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">b</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">d</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT> [<FONT COLOR="#000088">c</FONT>]<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">zipWithM</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">xs</FONT>&nbsp;<FONT COLOR="#000088">ys</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">sequence</FONT> (<FONT COLOR="#000088">zipWith</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">xs</FONT> <FONT COLOR="#000088">ys</FONT>)</td>
</tr>
</table>
<BR>
</td>
</tr>
</table>
<br>module Maybe where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Main<br>import qualified Monad<br>import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>
</body>
</html>
<BR>Lambda Reductions:<BR>The following Lambda expression<BR><BLOCKQUOTE>\<font color=#000088>xs</font>&#8594;<font color=#000088>return</font>&#160;(<font color=#000088>x</font>&#160;<font color=#666600>:</font>&#160;<font color=#000088>xs</font>)</BLOCKQUOTE><BR>is transformed to<BR><BLOCKQUOTE><table cellspacing="0" cellpadding="0" border="0" frame="void" >
<tr><td valign="top"><font color=#000088>sequence0</font>&#160;</td><td valign="top"><font color=#000088>x</font>&#160;<font color=#000088>xs</font></td><td valign="top">&#160;=&#160;<font color=#000088>return</font>&#160;(<font color=#000088>x</font>&#160;<font color=#666600>:</font>&#160;<font color=#000088>xs</font>)</td></tr>
</table></BLOCKQUOTE><BR>The following Lambda expression<BR><BLOCKQUOTE>\<font color=#000088>x</font>&#8594;<font color=#000088>sequence</font>&#160;<font color=#000088>cs</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>sequence0</font>&#160;<font color=#000088>x</font></BLOCKQUOTE><BR>is transformed to<BR><BLOCKQUOTE><table cellspacing="0" cellpadding="0" border="0" frame="void" >
<tr><td valign="top"><font color=#000088>sequence1</font>&#160;</td><td valign="top"><font color=#000088>cs</font>&#160;<font color=#000088>x</font></td><td valign="top">&#160;=&#160;<font color=#000088>sequence</font>&#160;<font color=#000088>cs</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>sequence0</font>&#160;<font color=#000088>x</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">Monad.zipWithM</FONT> :: (<FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> <FONT COLOR="#000088">b</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">c</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> [<FONT COLOR="#000088">b</FONT>]) :: (<FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> <FONT COLOR="#000088">b</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">c</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</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 Maybe<br>import qualified Monad<br>import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>module Maybe where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Main<br>import qualified Monad<br>import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>module Monad where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Main<br>import qualified Maybe<br>import qualified Prelude<br>
<br>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top"><FONT COLOR="#000088">zipWithM</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">a</FONT> =&gt; (<FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT> <FONT COLOR="#000088">d</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">b</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">c</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT> [<FONT COLOR="#000088">d</FONT>]<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">zipWithM</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">xs</FONT>&nbsp;<FONT COLOR="#000088">ys</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">sequence</FONT> (<FONT COLOR="#000088">zipWith</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">xs</FONT> <FONT COLOR="#000088">ys</FONT>)</td>
</tr>
</table>
<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">Monad.zipWithM</FONT> :: (<FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> <FONT COLOR="#000088">c</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">b</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> [<FONT COLOR="#000088">c</FONT>]) :: (<FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> <FONT COLOR="#000088">c</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">b</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> [<FONT COLOR="#000088">c</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 Maybe<br>import qualified Monad<br>import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>module Monad where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Main<br>import qualified Maybe<br>import qualified Prelude<br>
<br>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top"><FONT COLOR="#000088">zipWithM</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">d</FONT> =&gt; (<FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">d</FONT> <FONT COLOR="#000088">c</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">b</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">d</FONT> [<FONT COLOR="#000088">c</FONT>]<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">zipWithM</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">xs</FONT>&nbsp;<FONT COLOR="#000088">ys</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">sequence</FONT> (<FONT COLOR="#000088">zipWith</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">xs</FONT> <FONT COLOR="#000088">ys</FONT>)</td>
</tr>
</table>
<BR>
</td>
</tr>
</table>
<br>module Maybe where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Main<br>import qualified Monad<br>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">Monad.zipWithM</FONT> :: (<FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> <FONT COLOR="#000088">b</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">c</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</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 Maybe<br>import qualified Monad<br>import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>module Maybe where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Main<br>import qualified Monad<br>import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>module Monad where<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">import qualified Main<br>import qualified Maybe<br>import qualified Prelude<br>
<br>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top"><FONT COLOR="#000088">zipWithM</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">c</FONT> =&gt; (<FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">d</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">b</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#000088">d</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> [<FONT COLOR="#000088">a</FONT>]<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">zipWithM</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">xs</FONT>&nbsp;<FONT COLOR="#000088">ys</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">sequence</FONT> (<FONT COLOR="#000088">zipWith</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">xs</FONT> <FONT COLOR="#000088">ys</FONT>)</td>
</tr>
</table>
<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="Monad.zipWithM\n",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3];
3[label="Monad.zipWithM wv3\n",fontsize=16,color="grey",shape="box"];3 -> 4[label="",style="dashed", color="grey", weight=3];
4[label="Monad.zipWithM wv3 wv4\n",fontsize=16,color="grey",shape="box"];4 -> 5[label="",style="dashed", color="grey", weight=3];
5[label="Monad.zipWithM wv3 wv4 wv5\n",fontsize=16,color="black",shape="triangle"];5 -> 6[label="",style="solid", color="black", weight=3];
6[label="sequence (zipWith wv3 wv4 wv5)\n",fontsize=16,color="burlywood",shape="triangle"];38[label="wv4/wv40 : wv41",fontsize=10,color="white",style="solid",shape="box"];6 -> 38[label="",style="solid", color="burlywood", weight=9];
38 -> 7[label="",style="solid", color="burlywood", weight=3];
39[label="wv4/[]",fontsize=10,color="white",style="solid",shape="box"];6 -> 39[label="",style="solid", color="burlywood", weight=9];
39 -> 8[label="",style="solid", color="burlywood", weight=3];
7[label="sequence (zipWith wv3 (wv40 : wv41) wv5)\n",fontsize=16,color="burlywood",shape="box"];40[label="wv5/wv50 : wv51",fontsize=10,color="white",style="solid",shape="box"];7 -> 40[label="",style="solid", color="burlywood", weight=9];
40 -> 9[label="",style="solid", color="burlywood", weight=3];
41[label="wv5/[]",fontsize=10,color="white",style="solid",shape="box"];7 -> 41[label="",style="solid", color="burlywood", weight=9];
41 -> 10[label="",style="solid", color="burlywood", weight=3];
8[label="sequence (zipWith wv3 [] wv5)\n",fontsize=16,color="black",shape="box"];8 -> 11[label="",style="solid", color="black", weight=3];
9[label="sequence (zipWith wv3 (wv40 : wv41) (wv50 : wv51))\n",fontsize=16,color="black",shape="box"];9 -> 12[label="",style="solid", color="black", weight=3];
10[label="sequence (zipWith wv3 (wv40 : wv41) [])\n",fontsize=16,color="black",shape="box"];10 -> 13[label="",style="solid", color="black", weight=3];
11[label="sequence []\n",fontsize=16,color="black",shape="triangle"];11 -> 14[label="",style="solid", color="black", weight=3];
12[label="sequence (wv3 wv40 wv50 : zipWith wv3 wv41 wv51)\n",fontsize=16,color="black",shape="box"];12 -> 15[label="",style="solid", color="black", weight=3];
13 -> 11[label="",style="dashed", color="red", weight=0];
13[label="sequence []\n",fontsize=16,color="magenta"];14[label="return []\n",fontsize=16,color="black",shape="box"];14 -> 16[label="",style="solid", color="black", weight=3];
15 -> 17[label="",style="dashed", color="red", weight=0];
15[label="wv3 wv40 wv50 >>= sequence1 (zipWith wv3 wv41 wv51)\n",fontsize=16,color="magenta"];15 -> 18[label="",style="dashed", color="magenta", weight=3];
16[label="Just []\n",fontsize=16,color="green",shape="box"];18[label="wv3 wv40 wv50\n",fontsize=16,color="green",shape="box"];18 -> 23[label="",style="dashed", color="green", weight=3];
18 -> 24[label="",style="dashed", color="green", weight=3];
17[label="wv6 >>= sequence1 (zipWith wv3 wv41 wv51)\n",fontsize=16,color="burlywood",shape="triangle"];44[label="wv6/Nothing",fontsize=10,color="white",style="solid",shape="box"];17 -> 44[label="",style="solid", color="burlywood", weight=9];
44 -> 21[label="",style="solid", color="burlywood", weight=3];
45[label="wv6/Just wv60",fontsize=10,color="white",style="solid",shape="box"];17 -> 45[label="",style="solid", color="burlywood", weight=9];
45 -> 22[label="",style="solid", color="burlywood", weight=3];
23[label="wv40\n",fontsize=16,color="green",shape="box"];24[label="wv50\n",fontsize=16,color="green",shape="box"];21[label="Nothing >>= sequence1 (zipWith wv3 wv41 wv51)\n",fontsize=16,color="black",shape="box"];21 -> 25[label="",style="solid", color="black", weight=3];
22[label="Just wv60 >>= sequence1 (zipWith wv3 wv41 wv51)\n",fontsize=16,color="black",shape="box"];22 -> 26[label="",style="solid", color="black", weight=3];
25[label="Nothing\n",fontsize=16,color="green",shape="box"];26[label="sequence1 (zipWith wv3 wv41 wv51) wv60\n",fontsize=16,color="black",shape="box"];26 -> 27[label="",style="solid", color="black", weight=3];
27 -> 28[label="",style="dashed", color="red", weight=0];
27[label="sequence (zipWith wv3 wv41 wv51) >>= sequence0 wv60\n",fontsize=16,color="magenta"];27 -> 29[label="",style="dashed", color="magenta", weight=3];
29 -> 6[label="",style="dashed", color="red", weight=0];
29[label="sequence (zipWith wv3 wv41 wv51)\n",fontsize=16,color="magenta"];29 -> 30[label="",style="dashed", color="magenta", weight=3];
29 -> 31[label="",style="dashed", color="magenta", weight=3];
28[label="wv7 >>= sequence0 wv60\n",fontsize=16,color="burlywood",shape="triangle"];48[label="wv7/Nothing",fontsize=10,color="white",style="solid",shape="box"];28 -> 48[label="",style="solid", color="burlywood", weight=9];
48 -> 32[label="",style="solid", color="burlywood", weight=3];
49[label="wv7/Just wv70",fontsize=10,color="white",style="solid",shape="box"];28 -> 49[label="",style="solid", color="burlywood", weight=9];
49 -> 33[label="",style="solid", color="burlywood", weight=3];
30[label="wv51\n",fontsize=16,color="green",shape="box"];31[label="wv41\n",fontsize=16,color="green",shape="box"];32[label="Nothing >>= sequence0 wv60\n",fontsize=16,color="black",shape="box"];32 -> 34[label="",style="solid", color="black", weight=3];
33[label="Just wv70 >>= sequence0 wv60\n",fontsize=16,color="black",shape="box"];33 -> 35[label="",style="solid", color="black", weight=3];
34[label="Nothing\n",fontsize=16,color="green",shape="box"];35[label="sequence0 wv60 wv70\n",fontsize=16,color="black",shape="box"];35 -> 36[label="",style="solid", color="black", weight=3];
36[label="return (wv60 : wv70)\n",fontsize=16,color="black",shape="box"];36 -> 37[label="",style="solid", color="black", weight=3];
37[label="Just (wv60 : wv70)\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_sequence</font>(<FONT COLOR=#cc0000>wv3</font>, <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>wv40</font>, <FONT COLOR=#cc0000>wv41</font>), <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>wv50</font>, <FONT COLOR=#cc0000>wv51</font>), <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</font>) &#8594; <FONT COLOR=#0000cc>new_gtGtEs</font>(<FONT COLOR=#cc0000>wv3</font>, <FONT COLOR=#cc0000>wv41</font>, <FONT COLOR=#cc0000>wv51</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</font>)
<BR><FONT COLOR=#0000cc>new_gtGtEs</font>(<FONT COLOR=#cc0000>wv3</font>, <FONT COLOR=#cc0000>wv41</font>, <FONT COLOR=#cc0000>wv51</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</font>) &#8594; <FONT COLOR=#0000cc>new_sequence</font>(<FONT COLOR=#cc0000>wv3</font>, <FONT COLOR=#cc0000>wv41</font>, <FONT COLOR=#cc0000>wv51</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</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=#cc0000>wv3</font>, <FONT COLOR=#cc0000>wv41</font>, <FONT COLOR=#cc0000>wv51</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</font>) &#8594; <FONT COLOR=#0000cc>new_sequence</font>(<FONT COLOR=#cc0000>wv3</font>, <FONT COLOR=#cc0000>wv41</font>, <FONT COLOR=#cc0000>wv51</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</font>)<BR>The graph contains the following edges 1 >= 1, 2 >= 2, 3 >= 3, 4 >= 4, 5 >= 5, 6 >= 6<P></LI>
<LI><FONT COLOR=#0000cc>new_sequence</font>(<FONT COLOR=#cc0000>wv3</font>, <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>wv40</font>, <FONT COLOR=#cc0000>wv41</font>), <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>wv50</font>, <FONT COLOR=#cc0000>wv51</font>), <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</font>) &#8594; <FONT COLOR=#0000cc>new_gtGtEs</font>(<FONT COLOR=#cc0000>wv3</font>, <FONT COLOR=#cc0000>wv41</font>, <FONT COLOR=#cc0000>wv51</font>, <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</font>)<BR>The graph contains the following edges 1 >= 1, 2 > 2, 3 > 3, 4 >= 4, 5 >= 5, 6 >= 6<P></LI></UL><BR><BR></body>


