<?xml version="1.0"?>
<div class="add">

<span class="kw">let </span><font color="Maroon" title="c1">L</font> be   non  <a href="struct_0.html#V2" title="STRUCT_0:attr.2">empty</a>   <a href="algstr_0.html#V13" title="ALGSTR_0:attr.13">right_complementable</a>   <a href="vectsp_1.html#V5" title="VECTSP_1:attr.5">distributive</a>   <a href="rlvect_1.html#V3" title="RLVECT_1:attr.3">add-associative</a>   <a href="rlvect_1.html#V4" title="RLVECT_1:attr.4">right_zeroed</a>   <a href="vectsp_2.html#V1" title="VECTSP_2:attr.1">domRing-like</a>   <a href="algstr_0.html#L6" title="ALGSTR_0:struct.6">doubleLoopStr</a> ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  for <font color="Olive" title="b1">m1</font>, <font color="Olive" title="b2">m2</font> being   <a href="algseq_1.html#NM1" title="ALGSEQ_1:NM.1">AlgSequence</a> of <font color="Maroon" title="c1">L</font>  st  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Olive" title="b1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Olive" title="b2">m2</font> holds <br/> <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Olive" title="b2">m2</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Olive" title="b1">m1</font></span><br/><span class="kw">let </span><font color="Maroon" title="c2">m1</font>, <font color="Maroon" title="c3">m2</font> be   <a href="algseq_1.html#NM1" title="ALGSEQ_1:NM.1">AlgSequence</a> of <font color="Maroon" title="c1">L</font>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> (  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c3">m2</font> implies  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> )</span><br/>



<span class="kw">set </span><font color="Maroon" title="c4">p</font> = <font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font>;<br/>
<span class="kw">assume </span><a NAME="E1:18"/><span class="lab"><font color="Green" title="E14">A1</font></span>: 
 <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c3">m2</font>
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font></span><br/>

<div><span class="lab"><font color="Green" title="E15">A2</font></span>: <a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="18_1"><span class="kw">now </span> <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( (  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp;  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> ) or (  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp;  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> ) )</span></a><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="18_1_1"><span class="kw">per </span></a><a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="kw">cases </span></a><span class="hide"><a NAME="E1:18_1_1"/>
(  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="18_1_1_1"><span class="kw">case </span></a><a NAME="E1:18_1_1_1"/>
 <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font></span><br/><div class="add"><span class="kw">hence </span><a NAME="E2:18_1_1_1"/>
 <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font>
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/></div><span class="kw">end;</span></div><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="18_1_1_2"><span class="kw">case </span></a><a NAME="E1:18_1_1_2"/>
 <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font></span><br/><div class="add"><a NAME="E2:18_1_1_2"/><span class="kw">then </span>
 <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T13" onmouseover="rs('nat_1/T13')" onmouseout="rh()">NAT_1:13</a></span>;<br/><a NAME="E3:18_1_1_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 1 <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1
 <span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T9" onmouseover="rs('xreal_1/T9')" onmouseout="rh()">XREAL_1:9</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c5">l</font> = <span class="p1">(<span class="default"><a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a></span>;<br/><a NAME="E5:18_1_1_2"/><span class="lab"><font color="Green" title="E16">A3</font></span>: 
<font color="Maroon" title="c5">l</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>
 ;<br/><a NAME="E6:18_1_1_2"/><span class="kw">then </span>
( <font color="Maroon" title="c2">m1</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">l</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="struct_0.html#K4" title="STRUCT_0:func.4">0.</a> <font color="Maroon" title="c1">L</font> &amp; <font color="Maroon" title="c3">m2</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">l</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="struct_0.html#K4" title="STRUCT_0:func.4">0.</a> <font color="Maroon" title="c1">L</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:18"><span class="lab"><font color="Green" title="E14">A1</font></span></a>, <a class="ref" href="algseq_1.html#T10" onmouseover="rs('algseq_1/T10')" onmouseout="rh()">ALGSEQ_1:10</a></span>;<br/><a NAME="E7:18_1_1_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">l</font></span>)</span> <a href="algstr_0.html#K6" title="ALGSTR_0:func.6">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">m2</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">l</font></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="struct_0.html#K4" title="STRUCT_0:func.4">0.</a> <font color="Maroon" title="c1">L</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="vectsp_2.html#D1" onmouseover="rs('vectsp_2/D1')" onmouseout="rh()">VECTSP_2:def 1</a></span>;<br/><a NAME="E8:18_1_1_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">l</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="struct_0.html#K4" title="STRUCT_0:func.4">0.</a> <font color="Maroon" title="c1">L</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="lopban_3.html#D7" onmouseover="rs('lopban_3/D7')" onmouseout="rh()">LOPBAN_3:def 7</a></span>;<br/><span class="kw">hence </span><a NAME="E9:18_1_1_2"/>
 <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:18_1_1_2"><span class="lab"><font color="Green" title="E16">A3</font></span></a>, <a class="ref" href="polynom8.html#T7" target="_self" onmouseover="rs('polynom8/T7')" onmouseout="rh()">Th7</a></span>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/></div><span class="kw">end;</span></div></div><span class="kw">end;</span></div></div><span class="kw">end;</span></div>
<a NAME="E3:18"/>
 <a href="nat_1.html#K4" title="NAT_1:func.4">min</a> (<span class="p1">(<span class="default"><a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font></span>)</span>,<span class="p1">(<span class="default"><a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c3">m2</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:18"><span class="lab"><font color="Green" title="E14">A1</font></span></a></span>;<br/>
<a NAME="E4:18"/><span class="kw">then </span>
 <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="polynom8.html#T11" target="_self" onmouseover="rs('polynom8/T11')" onmouseout="rh()">Th11</a></span>;<br/>
<span class="kw">hence </span><a NAME="E5:18"/>
 <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m1</font> <a href="lopban_3.html#K4" title="LOPBAN_3:func.4">*</a> <font color="Maroon" title="c3">m2</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="algseq_1.html#K1" title="ALGSEQ_1:func.1">len</a> <font color="Maroon" title="c2">m1</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:18"><span class="lab"><font color="Green" title="E15">A2</font></span></a>, <a class="ref" href="xxreal_0.html#T1" onmouseover="rs('xxreal_0/T1')" onmouseout="rh()">XXREAL_0:1</a></span>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
