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">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="#666600">Maybe</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">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</FONT> <FONT COLOR="#666600">()</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="#666600">Maybe</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">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</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 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">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="#666600">()</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>\_&#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">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="#666600">()</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="#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 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">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">a</FONT> <FONT COLOR="#000088">d</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">b</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT> <FONT COLOR="#666600">()</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">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="#666600">()</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="#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 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">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="#666600">()</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">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="#666600">Maybe</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">a</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Maybe</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 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">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="#666600">()</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_ ww3\n",fontsize=16,color="grey",shape="box"];3 -> 4[label="",style="dashed", color="grey", weight=3];
4[label="Monad.zipWithM_ ww3 ww4\n",fontsize=16,color="grey",shape="box"];4 -> 5[label="",style="dashed", color="grey", weight=3];
5[label="Monad.zipWithM_ ww3 ww4 ww5\n",fontsize=16,color="black",shape="triangle"];5 -> 6[label="",style="solid", color="black", weight=3];
6[label="sequence_ (zipWith ww3 ww4 ww5)\n",fontsize=16,color="black",shape="box"];6 -> 7[label="",style="solid", color="black", weight=3];
7[label="foldr (>>) (return ()) (zipWith ww3 ww4 ww5)\n",fontsize=16,color="burlywood",shape="triangle"];34[label="ww4/ww40 : ww41",fontsize=10,color="white",style="solid",shape="box"];7 -> 34[label="",style="solid", color="burlywood", weight=9];
34 -> 8[label="",style="solid", color="burlywood", weight=3];
35[label="ww4/[]",fontsize=10,color="white",style="solid",shape="box"];7 -> 35[label="",style="solid", color="burlywood", weight=9];
35 -> 9[label="",style="solid", color="burlywood", weight=3];
8[label="foldr (>>) (return ()) (zipWith ww3 (ww40 : ww41) ww5)\n",fontsize=16,color="burlywood",shape="box"];36[label="ww5/ww50 : ww51",fontsize=10,color="white",style="solid",shape="box"];8 -> 36[label="",style="solid", color="burlywood", weight=9];
36 -> 10[label="",style="solid", color="burlywood", weight=3];
37[label="ww5/[]",fontsize=10,color="white",style="solid",shape="box"];8 -> 37[label="",style="solid", color="burlywood", weight=9];
37 -> 11[label="",style="solid", color="burlywood", weight=3];
9[label="foldr (>>) (return ()) (zipWith ww3 [] ww5)\n",fontsize=16,color="black",shape="box"];9 -> 12[label="",style="solid", color="black", weight=3];
10[label="foldr (>>) (return ()) (zipWith ww3 (ww40 : ww41) (ww50 : ww51))\n",fontsize=16,color="black",shape="box"];10 -> 13[label="",style="solid", color="black", weight=3];
11[label="foldr (>>) (return ()) (zipWith ww3 (ww40 : ww41) [])\n",fontsize=16,color="black",shape="box"];11 -> 14[label="",style="solid", color="black", weight=3];
12[label="foldr (>>) (return ()) []\n",fontsize=16,color="black",shape="triangle"];12 -> 15[label="",style="solid", color="black", weight=3];
13[label="foldr (>>) (return ()) (ww3 ww40 ww50 : zipWith ww3 ww41 ww51)\n",fontsize=16,color="black",shape="box"];13 -> 16[label="",style="solid", color="black", weight=3];
14 -> 12[label="",style="dashed", color="red", weight=0];
14[label="foldr (>>) (return ()) []\n",fontsize=16,color="magenta"];15[label="return ()\n",fontsize=16,color="black",shape="box"];15 -> 17[label="",style="solid", color="black", weight=3];
16 -> 18[label="",style="dashed", color="red", weight=0];
16[label="(>>) ww3 ww40 ww50 foldr (>>) (return ()) (zipWith ww3 ww41 ww51)\n",fontsize=16,color="magenta"];16 -> 19[label="",style="dashed", color="magenta", weight=3];
17[label="Just ()\n",fontsize=16,color="green",shape="box"];19 -> 7[label="",style="dashed", color="red", weight=0];
19[label="foldr (>>) (return ()) (zipWith ww3 ww41 ww51)\n",fontsize=16,color="magenta"];19 -> 20[label="",style="dashed", color="magenta", weight=3];
19 -> 21[label="",style="dashed", color="magenta", weight=3];
18[label="(>>) ww3 ww40 ww50 ww6\n",fontsize=16,color="black",shape="triangle"];18 -> 22[label="",style="solid", color="black", weight=3];
20[label="ww41\n",fontsize=16,color="green",shape="box"];21[label="ww51\n",fontsize=16,color="green",shape="box"];22 -> 23[label="",style="dashed", color="red", weight=0];
22[label="ww3 ww40 ww50 >>= gtGt0 ww6\n",fontsize=16,color="magenta"];22 -> 24[label="",style="dashed", color="magenta", weight=3];
24[label="ww3 ww40 ww50\n",fontsize=16,color="green",shape="box"];24 -> 29[label="",style="dashed", color="green", weight=3];
24 -> 30[label="",style="dashed", color="green", weight=3];
23[label="ww8 >>= gtGt0 ww6\n",fontsize=16,color="burlywood",shape="triangle"];42[label="ww8/Nothing",fontsize=10,color="white",style="solid",shape="box"];23 -> 42[label="",style="solid", color="burlywood", weight=9];
42 -> 27[label="",style="solid", color="burlywood", weight=3];
43[label="ww8/Just ww80",fontsize=10,color="white",style="solid",shape="box"];23 -> 43[label="",style="solid", color="burlywood", weight=9];
43 -> 28[label="",style="solid", color="burlywood", weight=3];
29[label="ww40\n",fontsize=16,color="green",shape="box"];30[label="ww50\n",fontsize=16,color="green",shape="box"];27[label="Nothing >>= gtGt0 ww6\n",fontsize=16,color="black",shape="box"];27 -> 31[label="",style="solid", color="black", weight=3];
28[label="Just ww80 >>= gtGt0 ww6\n",fontsize=16,color="black",shape="box"];28 -> 32[label="",style="solid", color="black", weight=3];
31[label="Nothing\n",fontsize=16,color="green",shape="box"];32[label="gtGt0 ww6 ww80\n",fontsize=16,color="black",shape="box"];32 -> 33[label="",style="solid", color="black", weight=3];
33[label="ww6\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=#cc0000>ww3</font>, <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>ww40</font>, <FONT COLOR=#cc0000>ww41</font>), <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>ww50</font>, <FONT COLOR=#cc0000>ww51</font>), <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</font>) &#8594; <FONT COLOR=#0000cc>new_foldr</font>(<FONT COLOR=#cc0000>ww3</font>, <FONT COLOR=#cc0000>ww41</font>, <FONT COLOR=#cc0000>ww51</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_foldr</font>(<FONT COLOR=#cc0000>ww3</font>, <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>ww40</font>, <FONT COLOR=#cc0000>ww41</font>), <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>ww50</font>, <FONT COLOR=#cc0000>ww51</font>), <FONT COLOR=#cc0000>h</font>, <FONT COLOR=#cc0000>ba</font>, <FONT COLOR=#cc0000>bb</font>) &#8594; <FONT COLOR=#0000cc>new_foldr</font>(<FONT COLOR=#cc0000>ww3</font>, <FONT COLOR=#cc0000>ww41</font>, <FONT COLOR=#cc0000>ww51</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>


