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/List_isPrefixOf_2.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 BR</pre><BR><html>
<body>mainModule Main<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td>
                   &nbsp;
                </td><td>((<FONT COLOR="#000088">List.isPrefixOf</FONT> :: [<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Bool</FONT>) :: [<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Bool</FONT>)</td>
</tr>
</table>
<br>module List 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">isPrefixOf</FONT> :: <FONT COLOR="#666600">Eq</FONT> <FONT COLOR="#000088">a</FONT> =&gt; [<FONT COLOR="#000088">a</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">Bool</FONT>
<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">isPrefixOf</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#666600">[]</FONT>&nbsp;_&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#666600">True</FONT></td>
</tr>
<tr>
<td valign="top"><FONT COLOR="#000088">isPrefixOf</FONT>&nbsp;</td><td valign="top">_&nbsp;<FONT COLOR="#666600">[]</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#666600">False</FONT></td>
</tr>
<tr>
<td valign="top"><FONT COLOR="#000088">isPrefixOf</FONT>&nbsp;</td><td valign="top">(<FONT COLOR="#000088">x</FONT>&nbsp;<FONT COLOR="#666600">:</FONT>&nbsp;<FONT COLOR="#000088">xs</FONT>)&nbsp;(<FONT COLOR="#000088">y</FONT>&nbsp;<FONT COLOR="#666600">:</FONT>&nbsp;<FONT COLOR="#000088">ys</FONT>)&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">x</FONT>&nbsp;<FONT COLOR="#000088">==</FONT>&nbsp;<FONT COLOR="#000088">y</FONT>&nbsp;<FONT COLOR="#000088">&amp;&amp;</FONT>&nbsp;<FONT COLOR="#000088">isPrefixOf</FONT> <FONT COLOR="#000088">xs</FONT> <FONT COLOR="#000088">ys</FONT></td>
</tr>
</table>
<BR>
</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 List<br>import qualified Maybe<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 List<br>import qualified Main<br>import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>
</body>
</html>
<BR>Replaced joker patterns by fresh variables and removed binding patterns.<BR><BR><pre>&#8627 HASKELL</pre><pre>  &#8627 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">List.isPrefixOf</FONT> :: [<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Bool</FONT>) :: [<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Bool</FONT>)</td>
</tr>
</table>
<br>module List 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">isPrefixOf</FONT> :: <FONT COLOR="#666600">Eq</FONT> <FONT COLOR="#000088">a</FONT> =&gt; [<FONT COLOR="#000088">a</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">Bool</FONT>
<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">isPrefixOf</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#666600">[]</FONT>&nbsp;<FONT COLOR="#000088">vw</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#666600">True</FONT></td>
</tr>
<tr>
<td valign="top"><FONT COLOR="#000088">isPrefixOf</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">vx</FONT>&nbsp;<FONT COLOR="#666600">[]</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#666600">False</FONT></td>
</tr>
<tr>
<td valign="top"><FONT COLOR="#000088">isPrefixOf</FONT>&nbsp;</td><td valign="top">(<FONT COLOR="#000088">x</FONT>&nbsp;<FONT COLOR="#666600">:</FONT>&nbsp;<FONT COLOR="#000088">xs</FONT>)&nbsp;(<FONT COLOR="#000088">y</FONT>&nbsp;<FONT COLOR="#666600">:</FONT>&nbsp;<FONT COLOR="#000088">ys</FONT>)&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">x</FONT>&nbsp;<FONT COLOR="#000088">==</FONT>&nbsp;<FONT COLOR="#000088">y</FONT>&nbsp;<FONT COLOR="#000088">&amp;&amp;</FONT>&nbsp;<FONT COLOR="#000088">isPrefixOf</FONT> <FONT COLOR="#000088">xs</FONT> <FONT COLOR="#000088">ys</FONT></td>
</tr>
</table>
<BR>
</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 List<br>import qualified Maybe<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 List<br>import qualified Main<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 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">List.isPrefixOf</FONT> :: [<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;[<FONT COLOR="#666600">()</FONT>]&nbsp;<FONT COLOR="#666600">&nbsp;-&gt;&nbsp;</FONT>&nbsp;<FONT COLOR="#666600">Bool</FONT>)</td>
</tr>
</table>
<br>module List 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">isPrefixOf</FONT> :: <FONT COLOR="#666600">Eq</FONT> <FONT COLOR="#000088">a</FONT> =&gt; [<FONT COLOR="#000088">a</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">Bool</FONT>
<br>
<table cellspacing="0" cellpadding="0" border="0" frame="void">
<tr>
<td valign="top"><FONT COLOR="#000088">isPrefixOf</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#666600">[]</FONT>&nbsp;<FONT COLOR="#000088">vw</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#666600">True</FONT></td>
</tr>
<tr>
<td valign="top"><FONT COLOR="#000088">isPrefixOf</FONT>&nbsp;</td><td valign="top"><FONT COLOR="#000088">vx</FONT>&nbsp;<FONT COLOR="#666600">[]</FONT>&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#666600">False</FONT></td>
</tr>
<tr>
<td valign="top"><FONT COLOR="#000088">isPrefixOf</FONT>&nbsp;</td><td valign="top">(<FONT COLOR="#000088">x</FONT>&nbsp;<FONT COLOR="#666600">:</FONT>&nbsp;<FONT COLOR="#000088">xs</FONT>)&nbsp;(<FONT COLOR="#000088">y</FONT>&nbsp;<FONT COLOR="#666600">:</FONT>&nbsp;<FONT COLOR="#000088">ys</FONT>)&nbsp;</td><td valign="top">=&nbsp;</td><td valign="top"><FONT COLOR="#000088">x</FONT>&nbsp;<FONT COLOR="#000088">==</FONT>&nbsp;<FONT COLOR="#000088">y</FONT>&nbsp;<FONT COLOR="#000088">&amp;&amp;</FONT>&nbsp;<FONT COLOR="#000088">isPrefixOf</FONT> <FONT COLOR="#000088">xs</FONT> <FONT COLOR="#000088">ys</FONT></td>
</tr>
</table>
<BR>
</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 List<br>import qualified Maybe<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 List<br>import qualified Main<br>import qualified Prelude<br>
<br>
</td>
</tr>
</table>
<br>
</body>
</html>
<BR>Haskell To QDPs<BR><textarea cols="80" rows="25">digraph dp_graph {
node [outthreshold=100, inthreshold=100];1[label="List.isPrefixOf\n",fontsize=16,color="grey",shape="box"];1 -> 3[label="",style="dashed", color="grey", weight=3];
3[label="List.isPrefixOf wu3\n",fontsize=16,color="grey",shape="box"];3 -> 4[label="",style="dashed", color="grey", weight=3];
4[label="List.isPrefixOf wu3 wu4\n",fontsize=16,color="burlywood",shape="triangle"];20[label="wu3/wu30 : wu31",fontsize=10,color="white",style="solid",shape="box"];4 -> 20[label="",style="solid", color="burlywood", weight=9];
20 -> 5[label="",style="solid", color="burlywood", weight=3];
21[label="wu3/[]",fontsize=10,color="white",style="solid",shape="box"];4 -> 21[label="",style="solid", color="burlywood", weight=9];
21 -> 6[label="",style="solid", color="burlywood", weight=3];
5[label="List.isPrefixOf (wu30 : wu31) wu4\n",fontsize=16,color="burlywood",shape="box"];22[label="wu4/wu40 : wu41",fontsize=10,color="white",style="solid",shape="box"];5 -> 22[label="",style="solid", color="burlywood", weight=9];
22 -> 7[label="",style="solid", color="burlywood", weight=3];
23[label="wu4/[]",fontsize=10,color="white",style="solid",shape="box"];5 -> 23[label="",style="solid", color="burlywood", weight=9];
23 -> 8[label="",style="solid", color="burlywood", weight=3];
6[label="List.isPrefixOf [] wu4\n",fontsize=16,color="black",shape="box"];6 -> 9[label="",style="solid", color="black", weight=3];
7[label="List.isPrefixOf (wu30 : wu31) (wu40 : wu41)\n",fontsize=16,color="black",shape="box"];7 -> 10[label="",style="solid", color="black", weight=3];
8[label="List.isPrefixOf (wu30 : wu31) []\n",fontsize=16,color="black",shape="box"];8 -> 11[label="",style="solid", color="black", weight=3];
9[label="True\n",fontsize=16,color="green",shape="box"];10 -> 12[label="",style="dashed", color="red", weight=0];
10[label="wu30 == wu40 && List.isPrefixOf wu31 wu41\n",fontsize=16,color="magenta"];10 -> 13[label="",style="dashed", color="magenta", weight=3];
11[label="False\n",fontsize=16,color="green",shape="box"];13 -> 4[label="",style="dashed", color="red", weight=0];
13[label="List.isPrefixOf wu31 wu41\n",fontsize=16,color="magenta"];13 -> 14[label="",style="dashed", color="magenta", weight=3];
13 -> 15[label="",style="dashed", color="magenta", weight=3];
12[label="wu30 == wu40 && wu5\n",fontsize=16,color="burlywood",shape="triangle"];26[label="wu30/()",fontsize=10,color="white",style="solid",shape="box"];12 -> 26[label="",style="solid", color="burlywood", weight=9];
26 -> 16[label="",style="solid", color="burlywood", weight=3];
14[label="wu41\n",fontsize=16,color="green",shape="box"];15[label="wu31\n",fontsize=16,color="green",shape="box"];16[label="() == wu40 && wu5\n",fontsize=16,color="burlywood",shape="box"];27[label="wu40/()",fontsize=10,color="white",style="solid",shape="box"];16 -> 27[label="",style="solid", color="burlywood", weight=9];
27 -> 17[label="",style="solid", color="burlywood", weight=3];
17[label="() == () && wu5\n",fontsize=16,color="black",shape="box"];17 -> 18[label="",style="solid", color="black", weight=3];
18[label="True && wu5\n",fontsize=16,color="black",shape="box"];18 -> 19[label="",style="solid", color="black", weight=3];
19[label="wu5\n",fontsize=16,color="green",shape="box"];}
</textarea><BR><BR><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_isPrefixOf</font>(<FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>wu30</font>, <FONT COLOR=#cc0000>wu31</font>), <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>wu40</font>, <FONT COLOR=#cc0000>wu41</font>)) &#8594; <FONT COLOR=#0000cc>new_isPrefixOf</font>(<FONT COLOR=#cc0000>wu31</font>, <FONT COLOR=#cc0000>wu41</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_isPrefixOf</font>(<FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>wu30</font>, <FONT COLOR=#cc0000>wu31</font>), <FONT COLOR=#0000cc>:</font>(<FONT COLOR=#cc0000>wu40</font>, <FONT COLOR=#cc0000>wu41</font>)) &#8594; <FONT COLOR=#0000cc>new_isPrefixOf</font>(<FONT COLOR=#cc0000>wu31</font>, <FONT COLOR=#cc0000>wu41</font>)<BR>The graph contains the following edges 1 > 1, 2 > 2<P></LI></UL><BR><BR></body>


