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

<span class="kw">let </span><font color="Maroon" title="c2">n</font> be   non  <a href="ordinal1.html#V8" title="ORDINAL1:attr.8">zero</a>  <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">h</font>, <font color="Olive" title="b2">g</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="euclid.html#K1" title="EUCLID:func.1">REAL</a> <font color="Maroon" title="c2">n</font>  st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">h</font> <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="Olive" title="b2">g</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 &amp; (  for <font color="Olive" title="b3">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b3">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Olive" title="b2">g</font> holds <br/><font color="Olive" title="b2">g</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b3">i</font></span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><font color="Olive" title="b3">i</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span> ) holds <br/><span class="p1">(<span class="default"><font color="Olive" title="b1">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">h</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid_7.html#K5" title="EUCLID_7:func.5">Sum</a> <font color="Olive" title="b2">g</font></span><br/><span class="kw">let </span><font color="Maroon" title="c3">h</font>, <font color="Maroon" title="c4">g</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="euclid.html#K1" title="EUCLID:func.1">REAL</a> <font color="Maroon" title="c2">n</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_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">h</font> <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="c4">g</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 &amp; (  for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c4">g</font> holds <br/><font color="Maroon" title="c4">g</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b1">i</font></span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">i</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span> ) implies <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">h</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid_7.html#K5" title="EUCLID_7:func.5">Sum</a> <font color="Maroon" title="c4">g</font> )</span><br/>



<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:40"/><span class="lab"><font color="Green" title="E33">A1</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">h</font> <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="c4">g</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1
 <span class="kw">and </span><br/><a NAME="E2:40"/><span class="lab"><font color="Green" title="E34">A2</font></span>: 
 for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c4">g</font> holds <br/><font color="Maroon" title="c4">g</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b1">i</font></span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">i</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></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"> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">h</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid_7.html#K5" title="EUCLID_7:func.5">Sum</a> <font color="Maroon" title="c4">g</font></span><br/>

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="40_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:40_1"/>
(  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">g</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="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">g</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&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="40_1_1"><span class="kw">suppose </span></a><a NAME="E1:40_1_1"/><span class="lab"><font color="Green" title="E35">A3</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">g</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"> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">h</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid_7.html#K5" title="EUCLID_7:func.5">Sum</a> <font color="Maroon" title="c4">g</font></span><br/><div class="add"><a NAME="E2:40_1_1"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">h</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:40"><span class="lab"><font color="Green" title="E33">A1</font></span></a>, <a class="ref" href="euclidlp.html#T9" onmouseover="rs('euclidlp/T9')" onmouseout="rh()">EUCLIDLP:9</a></span>;<br/><span class="kw">hence </span><a NAME="E3:40_1_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">h</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid_7.html#K5" title="EUCLID_7:func.5">Sum</a> <font color="Maroon" title="c4">g</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:40_1_1"><span class="lab"><font color="Green" title="E35">A3</font></span></a>, <a class="ref" href="euclid_7.html#D11" onmouseover="rs('euclid_7/D11')" onmouseout="rh()">EUCLID_7:def 11</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="40_1_2"><span class="kw">suppose </span></a><a NAME="E1:40_1_2"/><span class="lab"><font color="Green" title="E35">A4</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">g</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&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"> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">h</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid_7.html#K5" title="EUCLID_7:func.5">Sum</a> <font color="Maroon" title="c4">g</font></span><br/><div class="add"><a NAME="E2:40_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E36">A5</font></span>: 
 <a href="euclid_7.html#K5" title="EUCLID_7:func.5">Sum</a> <font color="Maroon" title="c4">g</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.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="c4">g</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="euclid_7.html#D11" onmouseover="rs('euclid_7/D11')" onmouseout="rh()">EUCLID_7:def 11</a></span>;<br/><span class="kw">defpred </span><font color="Maroon">S<sub>1</sub></font>[  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>] <span class="kw">means </span>( $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="c4">g</font> implies <span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> $1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default">$1 <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span> );<br/><a NAME="E3:40_1_2"/><span class="lab"><font color="Green" title="E37">A6</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[1]
 <div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="40_1_2_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:40_1_2_1"/>
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="c4">g</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="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default">1 <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span></span><br/>

<a NAME="E2:40_1_2_1"/><span class="kw">then </span>
1 <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <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="c4">g</font></span>)</span>
 
;<br/>
<a NAME="E3:40_1_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E38">A7</font></span>: 
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> <font color="Maroon" title="c4">g</font>
 
<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/>
<a NAME="E4:40_1_2_1"/>
<span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="euclid_7.html#D10" onmouseover="rs('euclid_7/D10')" onmouseout="rh()">EUCLID_7:def 10</a></span>;<br/>
<a NAME="E5:40_1_2_1"/><span class="kw">then </span>
<span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">g</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:40_1_2_1"><span class="lab"><font color="Green" title="E38">A7</font></span></a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>;<br/>
<span class="kw">hence </span><a NAME="E6:40_1_2_1"/>
<span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default">1 <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:40_1_2_1"><span class="lab"><font color="Green" title="E38">A7</font></span></a>, <a class="txt" href="#E2:40"><span class="lab"><font color="Green" title="E34">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><a NAME="E4:40_1_2"/><span class="lab"><font color="Green" title="E38">A8</font></span>: 
 for <font color="Olive" title="b1">j</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b1">j</font> &amp; <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">j</font>] holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1]
 <div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="40_1_2_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c5">j</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"> ( 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c5">j</font> &amp; <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c5">j</font>] implies <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1] )</span><br/>

<span class="kw">assume </span><a NAME="E1:40_1_2_2"/><span class="lab"><font color="Green" title="E39">A9</font></span>: 
1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c5">j</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"> (  not <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c5">j</font>] or <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1] )</span><br/>

<span class="kw">assume </span><a NAME="E2:40_1_2_2"/><span class="lab"><font color="Green" title="E40">A10</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c5">j</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">S<sub>1</sub></font>[<font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1]</span><br/>

<span class="kw">assume </span><a NAME="E3:40_1_2_2"/><span class="lab"><font color="Green" title="E41">A11</font></span>: 
<font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</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="c4">g</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="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</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="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span></span><br/>

<a NAME="E4:40_1_2_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E42">A12</font></span>: 
<font color="Maroon" title="c5">j</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">g</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="E5:40_1_2_2"/>
1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T38" onmouseover="rs('xreal_1/T38')" onmouseout="rh()">XREAL_1:38</a></span>;<br/>
<a NAME="E6:40_1_2_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E43">A13</font></span>: 
<font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</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> <font color="Maroon" title="c4">g</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:40_1_2_2"><span class="lab"><font color="Green" title="E41">A11</font></span></a>, <a class="ref" href="finseq_3.html#T25" onmouseover="rs('finseq_3/T25')" onmouseout="rh()">FINSEQ_3:25</a></span>;<br/>
<a NAME="E7:40_1_2_2"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">g</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="euclid_7.html#D10" onmouseover="rs('euclid_7/D10')" onmouseout="rh()">EUCLID_7:def 10</a></span>;<br/>
<a NAME="E8:40_1_2_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E44">A14</font></span>: 
<font color="Maroon" title="c5">j</font> <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"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:40_1_2_2"><span class="lab"><font color="Green" title="E39">A9</font></span></a>, <a class="txt" href="#E4:40_1_2_2"><span class="lab"><font color="Green" title="E42">A12</font></span></a>, <a class="ref" href="finseq_3.html#T25" onmouseover="rs('finseq_3/T25')" onmouseout="rh()">FINSEQ_3:25</a></span>;<br/>
<a NAME="E9:40_1_2_2"/>
<span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</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="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</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="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c5">j</font></span>)</span> <a href="euclid.html#K7" title="EUCLID:func.7">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">g</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:40_1_2_2"><span class="lab"><font color="Green" title="E39">A9</font></span></a>, <a class="txt" href="#E4:40_1_2_2"><span class="lab"><font color="Green" title="E42">A12</font></span></a>, <a class="ref" href="euclid_7.html#D10" onmouseover="rs('euclid_7/D10')" onmouseout="rh()">EUCLID_7:def 10</a></span>;<br/>
<a NAME="E10:40_1_2_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E45">A15</font></span>: 
<span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</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="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</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="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c5">j</font></span>)</span> <a href="euclid.html#K7" title="EUCLID:func.7">+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p3">(<span class="default"><font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:40"><span class="lab"><font color="Green" title="E34">A2</font></span></a>, <a class="txt" href="#E6:40_1_2_2"><span class="lab"><font color="Green" title="E43">A13</font></span></a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c6">hj1</font> = <font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> as   <a href="pre_topc.html#NM2" title="PRE_TOPC:NM.2">Point</a> of <span class="p1">(<span class="default"><a href="euclid.html#K15" title="EUCLID:func.15">TOP-REAL</a> <font color="Maroon" title="c2">n</font></span>)</span> <span class="kw">by</span> <span class="lab"><a class="ref" href="euclid.html#T22" onmouseover="rs('euclid/T22')" onmouseout="rh()">EUCLID:22</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c7">hj2</font> = <font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 2</span>)</span> as   <a href="pre_topc.html#NM2" title="PRE_TOPC:NM.2">Point</a> of <span class="p1">(<span class="default"><a href="euclid.html#K15" title="EUCLID:func.15">TOP-REAL</a> <font color="Maroon" title="c2">n</font></span>)</span> <span class="kw">by</span> <span class="lab"><a class="ref" href="euclid.html#T22" onmouseover="rs('euclid/T22')" onmouseout="rh()">EUCLID:22</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c8">hj3</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span> as   <a href="pre_topc.html#NM2" title="PRE_TOPC:NM.2">Point</a> of <span class="p1">(<span class="default"><a href="euclid.html#K15" title="EUCLID:func.15">TOP-REAL</a> <font color="Maroon" title="c2">n</font></span>)</span> <span class="kw">by</span> <span class="lab"><a class="ref" href="euclid.html#T22" onmouseover="rs('euclid/T22')" onmouseout="rh()">EUCLID:22</a></span>;<br/>
<a NAME="E14:40_1_2_2"/>
<span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</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="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">hj3</font> <a href="rlvect_1.html#K3" title="RLVECT_1:func.3">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">hj1</font> <a href="algstr_0.html#K5" title="ALGSTR_0:func.5">-</a> <font color="Maroon" title="c7">hj2</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:40_1_2_2"><span class="lab"><font color="Green" title="E45">A15</font></span></a>, <a class="txt" href="#E2:40_1_2_2"><span class="lab"><font color="Green" title="E40">A10</font></span></a>, <a class="txt" href="#E3:40_1_2_2"><span class="lab"><font color="Green" title="E41">A11</font></span></a>, <a class="txt" href="#E8:40_1_2_2"><span class="lab"><font color="Green" title="E44">A14</font></span></a>, <a class="ref" href="nat_1.html#T13" onmouseover="rs('nat_1/T13')" onmouseout="rh()">NAT_1:13</a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>;<br/>
<a NAME="E15:40_1_2_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</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="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c8">hj3</font> <a href="rlvect_1.html#K3" title="RLVECT_1:func.3">+</a> <font color="Maroon" title="c6">hj1</font></span>)</span> <a href="algstr_0.html#K5" title="ALGSTR_0:func.5">-</a> <font color="Maroon" title="c7">hj2</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="rlvect_1.html#D3" onmouseover="rs('rlvect_1/D3')" onmouseout="rh()">RLVECT_1:def 3</a></span>;<br/>
<span class="kw">hence </span><a NAME="E16:40_1_2_2"/>
<span class="p1">(<span class="default"><a href="euclid_7.html#K4" title="EUCLID_7:func.4">accum</a> <font color="Maroon" title="c4">g</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="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c5">j</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="rvsum_1.html#T43" onmouseover="rs('rvsum_1/T43')" onmouseout="rh()">RVSUM_1:43</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><a NAME="E5:40_1_2"/><span class="lab"><font color="Green" title="E39">A16</font></span>: 
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="c4">g</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:40_1_2"><span class="lab"><font color="Green" title="E35">A4</font></span></a>, <a class="ref" href="nat_1.html#T14" onmouseover="rs('nat_1/T14')" onmouseout="rh()">NAT_1:14</a></span>;<br/><a NAME="E6:40_1_2"/>
 for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b1">i</font> holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">i</font>]
 <span class="kw">from</span> <span class="lab"><a class="ref" href="nat_1.html#S8" onmouseover="rs('nat_1/S8')" onmouseout="rh()">NAT_1:sch 8</a>(<a class="txt" href="#E3:40_1_2"><span class="lab"><font color="Green" title="E37">A6</font></span></a>, <a class="txt" href="#E4:40_1_2"><span class="lab"><font color="Green" title="E38">A8</font></span></a>);<br/></span><span class="kw">hence </span><a NAME="E7:40_1_2"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> 1</span>)</span> <a href="euclid.html#K8" title="EUCLID:func.8">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">h</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">h</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid_7.html#K5" title="EUCLID_7:func.5">Sum</a> <font color="Maroon" title="c4">g</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:40_1_2"><span class="lab"><font color="Green" title="E36">A5</font></span></a>, <a class="txt" href="#E1:40"><span class="lab"><font color="Green" title="E33">A1</font></span></a>, <a class="txt" href="#E5:40_1_2"><span class="lab"><font color="Green" title="E39">A16</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><span class="kw">end;</span></div>

</div>
