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

<span class="kw">let </span><font color="Maroon" title="c1">f</font> be   <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</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">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">k</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font> holds <br/> <a href="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Olive" title="b1">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c2">k</font> be   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</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"> ( <font color="Maroon" title="c2">k</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font> implies  <a href="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> )</span><br/>



<span class="kw">assume </span><a NAME="E1:125"/><span class="lab"><font color="Green" title="E100">A1</font></span>: 
<font color="Maroon" title="c2">k</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</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="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span><br/>

<a NAME="E2:125"/><span class="kw">then </span><span class="lab"><font color="Green" title="E101">A2</font></span>: 
 <a href="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="finseq_1.html#K16" title="FINSEQ_1:func.16">|</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_6.html#D3" target="_self" onmouseover="rs('finseq_6/D3')" onmouseout="rh()">Def3</a></span>;<br/>
<a NAME="E3:125"/>
<font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:125"><span class="lab"><font color="Green" title="E100">A1</font></span></a>, <a class="ref" href="nat_d.html#T44" onmouseover="rs('nat_d/T44')" onmouseout="rh()">NAT_D:44</a></span>;<br/>
<a NAME="E4:125"/><span class="kw">then </span><span class="lab"><font color="Green" title="E102">A3</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="rfinseq.html#D1" onmouseover="rs('rfinseq/D1')" onmouseout="rh()">RFINSEQ:def 1</a></span>;<br/>
<span class="lab"><font color="Green" title="E103">A4</font></span>: <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:125"><span class="lab"><font color="Green" title="E100">A1</font></span></a>, <a class="ref" href="xreal_1.html#T233" onmouseover="rs('xreal_1/T233')" onmouseout="rh()">XREAL_1:233</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>

;<br/>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="125_2"><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"> ( ( <font color="Maroon" title="c2">k</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="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> ) or ( <font color="Maroon" title="c2">k</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="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> ) )</span></a><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="125_2_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:125_2_1"/>
( <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or <font color="Maroon" title="c2">k</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="125_2_1_1"><span class="kw">case </span></a><a NAME="E1:125_2_1_1"/><span class="lab"><font color="Green" title="E104">A5</font></span>: 
<font color="Maroon" title="c2">k</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="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span><br/><div class="add"><a NAME="E2:125_2_1_1"/>
<a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 ;<br/><a NAME="E3:125_2_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:125_2_1_1"><span class="lab"><font color="Green" title="E104">A5</font></span></a>, <a class="ref" href="xreal_0.html#D2" onmouseover="rs('xreal_0/D2')" onmouseout="rh()">XREAL_0:def 2</a></span>;<br/><a NAME="E4:125_2_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E105">A6</font></span>: 
<font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font>
 ;<br/><a NAME="E5:125_2_1_1"/>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font></span>)</span> <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="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:125_2_1_1"><span class="lab"><font color="Green" title="E104">A5</font></span></a>, <a class="ref" href="nat_d.html#T40" onmouseover="rs('nat_d/T40')" onmouseout="rh()">NAT_D:40</a></span>;<br/><a NAME="E6:125_2_1_1"/><span class="kw">then </span>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font></span>)</span> <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#T11" onmouseover="rs('nat_1/T11')" onmouseout="rh()">NAT_1:11</a></span>;<br/><a NAME="E7:125_2_1_1"/><span class="kw">then </span>
 <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T5" onmouseover="rs('finseq_1/T5')" onmouseout="rh()">FINSEQ_1:5</a></span>;<br/><a NAME="E8:125_2_1_1"/><span class="kw">then </span>
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:125_2_1_1"><span class="lab"><font color="Green" title="E105">A6</font></span></a>, <a class="ref" href="finseq_1.html#D3" onmouseover="rs('finseq_1/D3')" onmouseout="rh()">FINSEQ_1:def 3</a></span>;<br/><a NAME="E9:125_2_1_1"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="relat_1.html#K5" title="RELAT_1:func.5">|</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><span class="p4">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="relat_1.html#T68" onmouseover="rs('relat_1/T68')" onmouseout="rh()">RELAT_1:68</a></span>;<br/><span class="kw">hence </span><a NAME="E10:125_2_1_1"/>
 <a href="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:125"><span class="lab"><font color="Green" title="E101">A2</font></span></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><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="125_2_1_2"><span class="kw">case </span></a><a NAME="E1:125_2_1_2"/>
<font color="Maroon" title="c2">k</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="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span><br/><div class="add"><a NAME="E2:125_2_1_2"/><span class="kw">then </span>
<a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c2">k</font>
 <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:125_2_1_2"/><span class="kw">then </span>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:125"><span class="lab"><font color="Green" title="E102">A3</font></span></a>, <a class="txt" href="#E5:125"><span class="lab"><font color="Green" title="E103">A4</font></span></a>, <a class="ref" href="xreal_1.html#T233" onmouseover="rs('xreal_1/T233')" onmouseout="rh()">XREAL_1:233</a></span>;<br/><span class="kw">hence </span> <a href="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) = 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="relat_1.html#K5" title="RELAT_1:func.5">|</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p4">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:125"><span class="lab"><font color="Green" title="E101">A2</font></span></a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="relat_1.html#K5" title="RELAT_1:func.5">|</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p3">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#D3" onmouseover="rs('finseq_1/D3')" onmouseout="rh()">FINSEQ_1:def 3</a></span>
<br/>.= 
<font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span>

;<br/> <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>
<span class="kw">hence </span><a NAME="E7:125"/>
 <a href="finseq_6.html#K2" title="FINSEQ_6:func.2">mid</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">k</font>,<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c1">f</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">f</font> <a href="rfinseq.html#K1" title="RFINSEQ:func.1">/^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</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>
