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

<span class="kw">let </span><font color="Maroon" title="c1">i</font>, <font color="Maroon" title="c2">n</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">  for <font color="Olive" title="b1">D</font> being   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>   <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a> <br/>  for <font color="Olive" title="b2">p</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Olive" title="b1">D</font><br/>  for <font color="Olive" title="b3">f</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Olive" title="b1">D</font>  st <font color="Maroon" title="c2">n</font> <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="c1">i</font> &amp; <font color="Maroon" title="c1">i</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="Olive" title="b3">f</font> holds <br/><span class="p1">(<span class="default"><a href="finseq_5.html#K5" title="FINSEQ_5:func.5">Ins</a> (<font color="Olive" title="b3">f</font>,<font color="Maroon" title="c2">n</font>,<font color="Olive" title="b2">p</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b3">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c1">i</font></span><br/><span class="kw">let </span><font color="Maroon" title="c3">D</font> be   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>   <a href="hidden.html#M2" title="HIDDEN:mode.2">set</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">p</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c3">D</font><br/>  for <font color="Olive" title="b2">f</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Maroon" title="c3">D</font>  st <font color="Maroon" title="c2">n</font> <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="c1">i</font> &amp; <font color="Maroon" title="c1">i</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="Olive" title="b2">f</font> holds <br/><span class="p1">(<span class="default"><a href="finseq_5.html#K5" title="FINSEQ_5:func.5">Ins</a> (<font color="Olive" title="b2">f</font>,<font color="Maroon" title="c2">n</font>,<font color="Olive" title="b1">p</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c1">i</font></span><br/><span class="kw">let </span><font color="Maroon" title="c4">p</font> be    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c3">D</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">  for <font color="Olive" title="b1">f</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Maroon" title="c3">D</font>  st <font color="Maroon" title="c2">n</font> <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="c1">i</font> &amp; <font color="Maroon" title="c1">i</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="Olive" title="b1">f</font> holds <br/><span class="p1">(<span class="default"><a href="finseq_5.html#K5" title="FINSEQ_5:func.5">Ins</a> (<font color="Olive" title="b1">f</font>,<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c4">p</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c1">i</font></span><br/><span class="kw">let </span><font color="Maroon" title="c5">f</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Maroon" title="c3">D</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"> ( <font color="Maroon" title="c2">n</font> <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="c1">i</font> &amp; <font color="Maroon" title="c1">i</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="c5">f</font> implies <span class="p1">(<span class="default"><a href="finseq_5.html#K5" title="FINSEQ_5:func.5">Ins</a> (<font color="Maroon" title="c5">f</font>,<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c4">p</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c1">i</font> )</span><br/>









<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:88"/><span class="lab"><font color="Green" title="E45">A1</font></span>: 
<font color="Maroon" title="c2">n</font> <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="c1">i</font>
 <span class="kw">and </span><br/><a NAME="E2:88"/><span class="lab"><font color="Green" title="E46">A2</font></span>: 
<font color="Maroon" title="c1">i</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="c5">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"> <span class="p1">(<span class="default"><a href="finseq_5.html#K5" title="FINSEQ_5:func.5">Ins</a> (<font color="Maroon" title="c5">f</font>,<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c4">p</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c1">i</font></span><br/>

<span class="kw">reconsider </span><font color="Maroon" title="c6">j</font> = <font color="Maroon" title="c1">i</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> 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="txt" href="#E1:88"><span class="lab"><font color="Green" title="E45">A1</font></span></a>, <a class="ref" href="int_1.html#T5" onmouseover="rs('int_1/T5')" onmouseout="rh()">INT_1:5</a></span>;<br/>
<a NAME="E4:88"/>
<font color="Maroon" title="c2">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">j</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <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="c5">f</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:88"><span class="lab"><font color="Green" title="E46">A2</font></span></a></span>;<br/>
<a NAME="E5:88"/><span class="kw">then </span><span class="lab"><font color="Green" title="E47">A3</font></span>: 
<font color="Maroon" title="c6">j</font> <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> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c5">f</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T19" onmouseover="rs('xreal_1/T19')" onmouseout="rh()">XREAL_1:19</a></span>;<br/>
<a NAME="E6:88"/>
<font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c2">n</font> <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:88"/><span class="kw">then </span><span class="lab"><font color="Green" title="E48">A4</font></span>: 
<font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c1">i</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:88"><span class="lab"><font color="Green" title="E45">A1</font></span></a>, <a class="ref" href="xxreal_0.html#T2" onmouseover="rs('xxreal_0/T2')" onmouseout="rh()">XXREAL_0:2</a></span>;<br/>
<a NAME="E8:88"/><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="c5">f</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:88"><span class="lab"><font color="Green" title="E46">A2</font></span></a>, <a class="ref" href="finseq_1.html#T59" onmouseover="rs('finseq_1/T59')" onmouseout="rh()">FINSEQ_1:59</a>, <a class="ref" href="xxreal_0.html#T2" onmouseover="rs('xxreal_0/T2')" onmouseout="rh()">XXREAL_0:2</a></span>;<br/>
<a NAME="E9:88"/><span class="kw">then </span><span class="lab"><font color="Green" title="E49">A5</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">f</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="finseq_1.html#K8" title="FINSEQ_1:func.8">^</a> <span class="p2"><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">&lt;*</a><span class="default"><font color="Maroon" title="c4">p</font></span><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">*&gt;</a></span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> <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="finseq_2.html#T16" onmouseover="rs('finseq_2/T16')" onmouseout="rh()">FINSEQ_2:16</a></span>;<br/>
<a NAME="E10:88"/>
<font color="Maroon" title="c2">n</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="c5">f</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:88"><span class="lab"><font color="Green" title="E46">A2</font></span></a>, <a class="txt" href="#E7:88"><span class="lab"><font color="Green" title="E48">A4</font></span></a>, <a class="ref" href="xxreal_0.html#T2" onmouseover="rs('xxreal_0/T2')" onmouseout="rh()">XXREAL_0:2</a></span>;<br/>
<a NAME="E11:88"/><span class="kw">then </span>
( 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c6">j</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; <font color="Maroon" title="c6">j</font> <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>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">f</font> <a href="rfinseq.html#K2" title="RFINSEQ:func.2">/^</a> <font color="Maroon" title="c2">n</font></span>)</span> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:88"><span class="lab"><font color="Green" title="E47">A3</font></span></a>, <a class="ref" href="nat_1.html#T11" onmouseover="rs('nat_1/T11')" onmouseout="rh()">NAT_1:11</a>, <a class="ref" href="rfinseq.html#D1" onmouseover="rs('rfinseq/D1')" onmouseout="rh()">RFINSEQ:def 1</a></span>;<br/>
<a NAME="E12:88"/><span class="kw">then </span><span class="lab"><font color="Green" title="E50">A6</font></span>: 
<font color="Maroon" title="c6">j</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">f</font> <a href="rfinseq.html#K2" title="RFINSEQ:func.2">/^</a> <font color="Maroon" title="c2">n</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_3.html#T25" onmouseover="rs('finseq_3/T25')" onmouseout="rh()">FINSEQ_3:25</a></span>;<br/>
<a NAME="E13:88"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">j</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 
;<br/>
<span class="kw">hence </span><span class="p1">(<span class="default"><a href="finseq_5.html#K5" title="FINSEQ_5:func.5">Ins</a> (<font color="Maroon" title="c5">f</font>,<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c4">p</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c5">f</font> <a href="rfinseq.html#K2" title="RFINSEQ:func.2">/^</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">j</font> <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="#E9:88"><span class="lab"><font color="Green" title="E49">A5</font></span></a>, <a class="txt" href="#E12:88"><span class="lab"><font color="Green" title="E50">A6</font></span></a>, <a class="ref" href="finseq_1.html#D7" onmouseover="rs('finseq_1/D7')" onmouseout="rh()">FINSEQ_1:def 7</a></span>
<br/>.= 
<font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c6">j</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E12:88"><span class="lab"><font color="Green" title="E50">A6</font></span></a>, <a class="ref" href="finseq_5.html#T27" target="_self" onmouseover="rs('finseq_5/T27')" onmouseout="rh()">Th27</a></span>
<br/>.= 
<font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c1">i</font>

;<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>
