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_liftM5_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">Monad.liftM5</FONT> :: (<FONT COLOR="#000088">d</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">f</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">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">e</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">d</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<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="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">e</FONT>) :: (<FONT COLOR="#000088">d</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">f</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">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">e</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">d</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<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="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">e</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">liftM5</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">b</FONT> =&gt; (<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">e</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>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">g</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> <FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT> <FONT COLOR="#000088">e</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT> <FONT COLOR="#000088">d</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">g</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">b</FONT> <FONT COLOR="#000088">c</FONT>
<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM5</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">m1</FONT>&nbsp;<FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m1</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;(\<FONT COLOR="#000088">x1</FONT>&nbsp;-&gt;<FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;(\<FONT COLOR="#000088">x2</FONT>&nbsp;-&gt;<FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;(\<FONT COLOR="#000088">x3</FONT>&nbsp;-&gt;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;(\<FONT COLOR="#000088">x4</FONT>&nbsp;-&gt;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;(\<FONT COLOR="#000088">x5</FONT>&nbsp;-&gt;<FONT COLOR="#000088">return</FONT> (<FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT> <FONT COLOR="#000088">x4</FONT> <FONT COLOR="#000088">x5</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>x5</font>&#8594;<font color=#000088>return</font>&#160;(<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font>&#160;<font color=#000088>x3</font>&#160;<font color=#000088>x4</font>&#160;<font color=#000088>x5</font>)</BLOCKQUOTE><BR>is transformed to<BR><BLOCKQUOTE><table cellspacing="0" cellpadding="0" border="0" frame="void" >
<tr><td valign="top"><font color=#000088>liftM50</font>&#160;</td><td valign="top"><font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font>&#160;<font color=#000088>x3</font>&#160;<font color=#000088>x4</font>&#160;<font color=#000088>x5</font></td><td valign="top">&#160;=&#160;<font color=#000088>return</font>&#160;(<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font>&#160;<font color=#000088>x3</font>&#160;<font color=#000088>x4</font>&#160;<font color=#000088>x5</font>)</td></tr>
</table></BLOCKQUOTE><BR>The following Lambda expression<BR><BLOCKQUOTE>\<font color=#000088>x4</font>&#8594;<font color=#000088>m5</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>liftM50</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font>&#160;<font color=#000088>x3</font>&#160;<font color=#000088>x4</font></BLOCKQUOTE><BR>is transformed to<BR><BLOCKQUOTE><table cellspacing="0" cellpadding="0" border="0" frame="void" >
<tr><td valign="top"><font color=#000088>liftM51</font>&#160;</td><td valign="top"><font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font>&#160;<font color=#000088>x3</font>&#160;<font color=#000088>x4</font></td><td valign="top">&#160;=&#160;<font color=#000088>m5</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>liftM50</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font>&#160;<font color=#000088>x3</font>&#160;<font color=#000088>x4</font></td></tr>
</table></BLOCKQUOTE><BR>The following Lambda expression<BR><BLOCKQUOTE>\<font color=#000088>x3</font>&#8594;<font color=#000088>m4</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>liftM51</font>&#160;<font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font>&#160;<font color=#000088>x3</font></BLOCKQUOTE><BR>is transformed to<BR><BLOCKQUOTE><table cellspacing="0" cellpadding="0" border="0" frame="void" >
<tr><td valign="top"><font color=#000088>liftM52</font>&#160;</td><td valign="top"><font color=#000088>m4</font>&#160;<font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font>&#160;<font color=#000088>x3</font></td><td valign="top">&#160;=&#160;<font color=#000088>m4</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>liftM51</font>&#160;<font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font>&#160;<font color=#000088>x3</font></td></tr>
</table></BLOCKQUOTE><BR>The following Lambda expression<BR><BLOCKQUOTE>\<font color=#000088>x2</font>&#8594;<font color=#000088>m3</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>liftM52</font>&#160;<font color=#000088>m4</font>&#160;<font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font></BLOCKQUOTE><BR>is transformed to<BR><BLOCKQUOTE><table cellspacing="0" cellpadding="0" border="0" frame="void" >
<tr><td valign="top"><font color=#000088>liftM53</font>&#160;</td><td valign="top"><font color=#000088>m3</font>&#160;<font color=#000088>m4</font>&#160;<font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font></td><td valign="top">&#160;=&#160;<font color=#000088>m3</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>liftM52</font>&#160;<font color=#000088>m4</font>&#160;<font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font>&#160;<font color=#000088>x2</font></td></tr>
</table></BLOCKQUOTE><BR>The following Lambda expression<BR><BLOCKQUOTE>\<font color=#000088>x1</font>&#8594;<font color=#000088>m2</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>liftM53</font>&#160;<font color=#000088>m3</font>&#160;<font color=#000088>m4</font>&#160;<font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font></BLOCKQUOTE><BR>is transformed to<BR><BLOCKQUOTE><table cellspacing="0" cellpadding="0" border="0" frame="void" >
<tr><td valign="top"><font color=#000088>liftM54</font>&#160;</td><td valign="top"><font color=#000088>m2</font>&#160;<font color=#000088>m3</font>&#160;<font color=#000088>m4</font>&#160;<font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</font></td><td valign="top">&#160;=&#160;<font color=#000088>m2</font>&#160;<font color=#000088>>>=</font>&#160;<font color=#000088>liftM53</font>&#160;<font color=#000088>m3</font>&#160;<font color=#000088>m4</font>&#160;<font color=#000088>m5</font>&#160;<font color=#000088>f</font>&#160;<font color=#000088>x1</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.liftM5</FONT> :: (<FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">e</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">d</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">IO</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">e</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">d</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">a</FONT>) :: (<FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">e</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">d</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">IO</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">e</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">d</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</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 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">liftM5</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">g</FONT> =&gt; (<FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">f</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">e</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="#000088">g</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">g</FONT> <FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">g</FONT> <FONT COLOR="#000088">d</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">g</FONT> <FONT COLOR="#000088">e</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">g</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">g</FONT> <FONT COLOR="#000088">a</FONT>
<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM5</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">m1</FONT>&nbsp;<FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m1</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM54</FONT> <FONT COLOR="#000088">m2</FONT> <FONT COLOR="#000088">m3</FONT> <FONT COLOR="#000088">m4</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM50</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;<FONT COLOR="#000088">x3</FONT>&nbsp;<FONT COLOR="#000088">x4</FONT>&nbsp;<FONT COLOR="#000088">x5</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">return</FONT> (<FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT> <FONT COLOR="#000088">x4</FONT> <FONT COLOR="#000088">x5</FONT>)</td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM51</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;<FONT COLOR="#000088">x3</FONT>&nbsp;<FONT COLOR="#000088">x4</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM50</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT> <FONT COLOR="#000088">x4</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM52</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;<FONT COLOR="#000088">x3</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM51</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM53</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM52</FONT> <FONT COLOR="#000088">m4</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM54</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM53</FONT> <FONT COLOR="#000088">m3</FONT> <FONT COLOR="#000088">m4</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</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.liftM5</FONT> :: (<FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">f</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">e</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="#666600">IO</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<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="#000088">e</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">d</FONT>) :: (<FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">f</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">e</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="#666600">IO</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<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="#000088">e</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">d</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">liftM5</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">e</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">g</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT> <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">a</FONT> <FONT COLOR="#000088">e</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">a</FONT> <FONT COLOR="#000088">g</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">a</FONT> <FONT COLOR="#000088">f</FONT>
<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM5</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">m1</FONT>&nbsp;<FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m1</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM54</FONT> <FONT COLOR="#000088">m2</FONT> <FONT COLOR="#000088">m3</FONT> <FONT COLOR="#000088">m4</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM50</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;<FONT COLOR="#000088">x3</FONT>&nbsp;<FONT COLOR="#000088">x4</FONT>&nbsp;<FONT COLOR="#000088">x5</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">return</FONT> (<FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT> <FONT COLOR="#000088">x4</FONT> <FONT COLOR="#000088">x5</FONT>)</td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM51</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;<FONT COLOR="#000088">x3</FONT>&nbsp;<FONT COLOR="#000088">x4</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM50</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT> <FONT COLOR="#000088">x4</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM52</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;<FONT COLOR="#000088">x3</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM51</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM53</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM52</FONT> <FONT COLOR="#000088">m4</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM54</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM53</FONT> <FONT COLOR="#000088">m3</FONT> <FONT COLOR="#000088">m4</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</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.liftM5</FONT> :: (<FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">e</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">d</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">IO</FONT> <FONT COLOR="#000088">b</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">e</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">c</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</FONT> <FONT COLOR="#000088">d</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">IO</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 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">liftM5</FONT> :: <FONT COLOR="#666600">Monad</FONT> <FONT COLOR="#000088">c</FONT> =&gt; (<FONT COLOR="#000088">d</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">g</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">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">e</FONT>)&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <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">c</FONT> <FONT COLOR="#000088">g</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">f</FONT>&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#000088">c</FONT> <FONT COLOR="#000088">e</FONT>
<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM5</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">m1</FONT>&nbsp;<FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m1</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM54</FONT> <FONT COLOR="#000088">m2</FONT> <FONT COLOR="#000088">m3</FONT> <FONT COLOR="#000088">m4</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM50</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;<FONT COLOR="#000088">x3</FONT>&nbsp;<FONT COLOR="#000088">x4</FONT>&nbsp;<FONT COLOR="#000088">x5</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">return</FONT> (<FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT> <FONT COLOR="#000088">x4</FONT> <FONT COLOR="#000088">x5</FONT>)</td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM51</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;<FONT COLOR="#000088">x3</FONT>&nbsp;<FONT COLOR="#000088">x4</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM50</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT> <FONT COLOR="#000088">x4</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM52</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;<FONT COLOR="#000088">x3</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM51</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT> <FONT COLOR="#000088">x3</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM53</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;<FONT COLOR="#000088">x2</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM52</FONT> <FONT COLOR="#000088">m4</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</FONT> <FONT COLOR="#000088">x2</FONT></td>
</tr>
</table>
<BR>
</td>
</tr>
<tr>
<td>&nbsp;&nbsp;</td><td valign="top">
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">liftM54</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">m3</FONT>&nbsp;<FONT COLOR="#000088">m4</FONT>&nbsp;<FONT COLOR="#000088">m5</FONT>&nbsp;<FONT COLOR="#000088">f</FONT>&nbsp;<FONT COLOR="#000088">x1</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">m2</FONT>&nbsp;<FONT COLOR="#000088">&gt;&gt;=</FONT>&nbsp;<FONT COLOR="#000088">liftM53</FONT> <FONT COLOR="#000088">m3</FONT> <FONT COLOR="#000088">m4</FONT> <FONT COLOR="#000088">m5</FONT> <FONT COLOR="#000088">f</FONT> <FONT COLOR="#000088">x1</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.liftM5\n",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3];
3[label="Monad.liftM5 vy3\n",fontsize=16,color="grey",shape="box"];3 -> 4[label="",style="dashed", color="grey", weight=3];
4[label="Monad.liftM5 vy3 vy4\n",fontsize=16,color="grey",shape="box"];4 -> 5[label="",style="dashed", color="grey", weight=3];
5[label="Monad.liftM5 vy3 vy4 vy5\n",fontsize=16,color="grey",shape="box"];5 -> 6[label="",style="dashed", color="grey", weight=3];
6[label="Monad.liftM5 vy3 vy4 vy5 vy6\n",fontsize=16,color="grey",shape="box"];6 -> 7[label="",style="dashed", color="grey", weight=3];
7[label="Monad.liftM5 vy3 vy4 vy5 vy6 vy7\n",fontsize=16,color="grey",shape="box"];7 -> 8[label="",style="dashed", color="grey", weight=3];
8[label="Monad.liftM5 vy3 vy4 vy5 vy6 vy7 vy8\n",fontsize=16,color="black",shape="triangle"];8 -> 9[label="",style="solid", color="black", weight=3];
9[label="vy4 >>= Monad.liftM54 vy5 vy6 vy7 vy8 vy3\n",fontsize=16,color="black",shape="box"];9 -> 10[label="",style="solid", color="black", weight=3];
10[label="primbindIO vy4 (Monad.liftM54 vy5 vy6 vy7 vy8 vy3)\n",fontsize=16,color="black",shape="box"];10 -> 11[label="",style="solid", color="black", weight=3];
11[label="terminator vy4 (Monad.liftM54 vy5 vy6 vy7 vy8 vy3)\n",fontsize=16,color="black",shape="box"];11 -> 12[label="",style="solid", color="black", weight=3];
12[label="ter0m vy4 (Monad.liftM54 vy5 vy6 vy7 vy8 vy3)\n",fontsize=16,color="green",shape="box"];12 -> 13[label="",style="dashed", color="green", weight=3];
12 -> 14[label="",style="dashed", color="green", weight=3];
13[label="vy4\n",fontsize=16,color="green",shape="box"];14[label="Monad.liftM54 vy5 vy6 vy7 vy8 vy3\n",fontsize=16,color="grey",shape="box"];14 -> 15[label="",style="dashed", color="grey", weight=3];
15[label="Monad.liftM54 vy5 vy6 vy7 vy8 vy3 vy9\n",fontsize=16,color="black",shape="triangle"];15 -> 16[label="",style="solid", color="black", weight=3];
16[label="vy5 >>= Monad.liftM53 vy6 vy7 vy8 vy3 vy9\n",fontsize=16,color="black",shape="box"];16 -> 17[label="",style="solid", color="black", weight=3];
17[label="primbindIO vy5 (Monad.liftM53 vy6 vy7 vy8 vy3 vy9)\n",fontsize=16,color="black",shape="box"];17 -> 18[label="",style="solid", color="black", weight=3];
18[label="terminator vy5 (Monad.liftM53 vy6 vy7 vy8 vy3 vy9)\n",fontsize=16,color="black",shape="box"];18 -> 19[label="",style="solid", color="black", weight=3];
19[label="ter1m vy5 (Monad.liftM53 vy6 vy7 vy8 vy3 vy9)\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="vy5\n",fontsize=16,color="green",shape="box"];21[label="Monad.liftM53 vy6 vy7 vy8 vy3 vy9\n",fontsize=16,color="grey",shape="box"];21 -> 22[label="",style="dashed", color="grey", weight=3];
22[label="Monad.liftM53 vy6 vy7 vy8 vy3 vy9 vy10\n",fontsize=16,color="black",shape="triangle"];22 -> 23[label="",style="solid", color="black", weight=3];
23[label="vy6 >>= Monad.liftM52 vy7 vy8 vy3 vy9 vy10\n",fontsize=16,color="black",shape="box"];23 -> 24[label="",style="solid", color="black", weight=3];
24[label="primbindIO vy6 (Monad.liftM52 vy7 vy8 vy3 vy9 vy10)\n",fontsize=16,color="black",shape="box"];24 -> 25[label="",style="solid", color="black", weight=3];
25[label="terminator vy6 (Monad.liftM52 vy7 vy8 vy3 vy9 vy10)\n",fontsize=16,color="black",shape="box"];25 -> 26[label="",style="solid", color="black", weight=3];
26[label="ter2m vy6 (Monad.liftM52 vy7 vy8 vy3 vy9 vy10)\n",fontsize=16,color="green",shape="box"];26 -> 27[label="",style="dashed", color="green", weight=3];
26 -> 28[label="",style="dashed", color="green", weight=3];
27[label="vy6\n",fontsize=16,color="green",shape="box"];28[label="Monad.liftM52 vy7 vy8 vy3 vy9 vy10\n",fontsize=16,color="grey",shape="box"];28 -> 29[label="",style="dashed", color="grey", weight=3];
29[label="Monad.liftM52 vy7 vy8 vy3 vy9 vy10 vy11\n",fontsize=16,color="black",shape="triangle"];29 -> 30[label="",style="solid", color="black", weight=3];
30[label="vy7 >>= Monad.liftM51 vy8 vy3 vy9 vy10 vy11\n",fontsize=16,color="black",shape="box"];30 -> 31[label="",style="solid", color="black", weight=3];
31[label="primbindIO vy7 (Monad.liftM51 vy8 vy3 vy9 vy10 vy11)\n",fontsize=16,color="black",shape="box"];31 -> 32[label="",style="solid", color="black", weight=3];
32[label="terminator vy7 (Monad.liftM51 vy8 vy3 vy9 vy10 vy11)\n",fontsize=16,color="black",shape="box"];32 -> 33[label="",style="solid", color="black", weight=3];
33[label="ter3m vy7 (Monad.liftM51 vy8 vy3 vy9 vy10 vy11)\n",fontsize=16,color="green",shape="box"];33 -> 34[label="",style="dashed", color="green", weight=3];
33 -> 35[label="",style="dashed", color="green", weight=3];
34[label="vy7\n",fontsize=16,color="green",shape="box"];35[label="Monad.liftM51 vy8 vy3 vy9 vy10 vy11\n",fontsize=16,color="grey",shape="box"];35 -> 36[label="",style="dashed", color="grey", weight=3];
36[label="Monad.liftM51 vy8 vy3 vy9 vy10 vy11 vy12\n",fontsize=16,color="black",shape="triangle"];36 -> 37[label="",style="solid", color="black", weight=3];
37[label="vy8 >>= Monad.liftM50 vy3 vy9 vy10 vy11 vy12\n",fontsize=16,color="black",shape="box"];37 -> 38[label="",style="solid", color="black", weight=3];
38[label="primbindIO vy8 (Monad.liftM50 vy3 vy9 vy10 vy11 vy12)\n",fontsize=16,color="black",shape="box"];38 -> 39[label="",style="solid", color="black", weight=3];
39[label="terminator vy8 (Monad.liftM50 vy3 vy9 vy10 vy11 vy12)\n",fontsize=16,color="black",shape="box"];39 -> 40[label="",style="solid", color="black", weight=3];
40[label="ter4m vy8 (Monad.liftM50 vy3 vy9 vy10 vy11 vy12)\n",fontsize=16,color="green",shape="box"];40 -> 41[label="",style="dashed", color="green", weight=3];
40 -> 42[label="",style="dashed", color="green", weight=3];
41[label="vy8\n",fontsize=16,color="green",shape="box"];42[label="Monad.liftM50 vy3 vy9 vy10 vy11 vy12\n",fontsize=16,color="grey",shape="box"];42 -> 43[label="",style="dashed", color="grey", weight=3];
43[label="Monad.liftM50 vy3 vy9 vy10 vy11 vy12 vy13\n",fontsize=16,color="black",shape="triangle"];43 -> 44[label="",style="solid", color="black", weight=3];
44[label="return (vy3 vy9 vy10 vy11 vy12 vy13)\n",fontsize=16,color="black",shape="box"];44 -> 45[label="",style="solid", color="black", weight=3];
45[label="primretIO (vy3 vy9 vy10 vy11 vy12 vy13)\n",fontsize=16,color="black",shape="box"];45 -> 46[label="",style="solid", color="black", weight=3];
46[label="terminator (vy3 vy9 vy10 vy11 vy12 vy13)\n",fontsize=16,color="black",shape="box"];46 -> 47[label="",style="solid", color="black", weight=3];
47[label="ter5m (vy3 vy9 vy10 vy11 vy12 vy13)\n",fontsize=16,color="green",shape="box"];47 -> 48[label="",style="dashed", color="green", weight=3];
48[label="vy3 vy9 vy10 vy11 vy12 vy13\n",fontsize=16,color="green",shape="box"];48 -> 49[label="",style="dashed", color="green", weight=3];
48 -> 50[label="",style="dashed", color="green", weight=3];
48 -> 51[label="",style="dashed", color="green", weight=3];
48 -> 52[label="",style="dashed", color="green", weight=3];
48 -> 53[label="",style="dashed", color="green", weight=3];
49[label="vy9\n",fontsize=16,color="green",shape="box"];50[label="vy10\n",fontsize=16,color="green",shape="box"];51[label="vy11\n",fontsize=16,color="green",shape="box"];52[label="vy12\n",fontsize=16,color="green",shape="box"];53[label="vy13\n",fontsize=16,color="green",shape="box"];}
</textarea><BR><BR></body>


