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

<span class="kw">let </span><font color="Maroon" title="c1">R</font> be   non  <a href="struct_0.html#V6" title="STRUCT_0:attr.6">degenerated</a>  <a href="vectsp_2.html#NM1" title="VECTSP_2:NM.1">comRing</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> being   <a href="struct_0.html#NM6" title="STRUCT_0:NM.6">Function</a> of <font color="Maroon" title="c1">R</font>,<font color="Maroon" title="c1">R</font><br/>  for <font color="Olive" title="b2">s</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>  st <font color="Olive" title="b1">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</a>  holds <br/><font color="Olive" title="b1">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Olive" title="b2">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Olive" title="b2">s</font></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c2">h</font> be   <a href="struct_0.html#NM6" title="STRUCT_0:NM.6">Function</a> of <font color="Maroon" title="c1">R</font>,<font color="Maroon" title="c1">R</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">s</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>  st <font color="Maroon" title="c2">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</a>  holds <br/><font color="Maroon" title="c2">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Olive" title="b1">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Olive" title="b1">s</font></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c3">s</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</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">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</a>  implies <font color="Maroon" title="c2">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c3">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c3">s</font></span>)</span> )</span><br/>





<span class="kw">assume </span><a NAME="E1:18"/><span class="lab"><font color="Green" title="E10">A1</font></span>: 
<font color="Maroon" title="c2">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</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">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c3">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c3">s</font></span>)</span></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> for <font color="Olive" title="b1">h</font> being   <a href="struct_0.html#NM6" title="STRUCT_0:NM.6">Function</a> of <font color="Maroon" title="c1">R</font>,<font color="Maroon" title="c1">R</font><br/>  for <font color="Olive" title="b2">s</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>  st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b2">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> $1 &amp; <font color="Olive" title="b1">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</a>  holds <br/><font color="Olive" title="b1">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Olive" title="b2">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Olive" title="b2">s</font></span>)</span>;<br/>
<a NAME="E2:18"/><span class="lab"><font color="Green" title="E11">A2</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[ <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> ]
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="18_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c4">h</font> be   <a href="struct_0.html#NM6" title="STRUCT_0:NM.6">Function</a> of <font color="Maroon" title="c1">R</font>,<font color="Maroon" title="c1">R</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">s</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>  st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c4">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</a>  holds <br/><font color="Maroon" title="c4">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Olive" title="b1">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Olive" title="b1">s</font></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c5">s</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</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="c5">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c4">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</a>  implies <font color="Maroon" title="c4">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c5">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c5">s</font></span>)</span> )</span><br/>



<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:18_1"/><span class="lab"><font color="Green" title="E12">A3</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c5">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">and </span><br/><a NAME="E2:18_1"/><span class="lab"><font color="Green" title="E13">A4</font></span>: 
<font color="Maroon" title="c4">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</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="c4">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c5">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c5">s</font></span>)</span></span><br/>

<a NAME="E3:18_1"/>
 <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c5">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="struct_0.html#K4" title="STRUCT_0:func.4">0.</a> <font color="Maroon" title="c1">R</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:18_1"><span class="lab"><font color="Green" title="E12">A3</font></span></a>, <a class="ref" href="rlvect_1.html#T75" onmouseover="rs('rlvect_1/T75')" onmouseout="rh()">RLVECT_1:75</a></span>;<br/>
<a NAME="E4:18_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E14">A6</font></span>: 
<font color="Maroon" title="c4">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c5">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="struct_0.html#K4" title="STRUCT_0:func.4">0.</a> <font color="Maroon" title="c1">R</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:18_1"><span class="lab"><font color="Green" title="E13">A4</font></span></a>, <a class="ref" href="ring_2.html#T6" onmouseover="rs('ring_2/T6')" onmouseout="rh()">RING_2:6</a></span>;<br/>
<a NAME="E5:18_1"/>
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c4">h</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_2.html#D1" onmouseover="rs('funct_2/D1')" onmouseout="rh()">FUNCT_2:def 1</a></span>;<br/>
<a NAME="E6:18_1"/><span class="kw">then </span>
 <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">s</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c4">h</font>
 
;<br/>
<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="c4">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c5">s</font></span>)</span> = 
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c5">s</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="relat_1.html#T27" onmouseover="rs('relat_1/T27')" onmouseout="rh()">RELAT_1:27</a></span>
<br/>.= 
 <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="c5">s</font></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/>
<a NAME="E8:18_1"/><span class="kw">then </span>
<font color="Maroon" title="c4">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c5">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K6" title="FINSEQ_1:func.6">&lt;*&gt;</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:18_1"><span class="lab"><font color="Green" title="E12">A3</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E9:18_1"/>
<font color="Maroon" title="c4">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c5">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c5">s</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:18_1"><span class="lab"><font color="Green" title="E14">A6</font></span></a>, <a class="ref" href="rlvect_1.html#T43" onmouseover="rs('rlvect_1/T43')" onmouseout="rh()">RLVECT_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="E3:18"/><span class="lab"><font color="Green" title="E12">A9</font></span>: 
 for <font color="Olive" title="b1">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">n</font>] holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="18_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c4">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"> ( <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">n</font>] implies <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1] )</span><br/>

<span class="kw">assume </span><a NAME="E1:18_2"/><span class="lab"><font color="Green" title="E13">A10</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">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"> <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]</span><br/>

<a NAME="E2:18_2"/>
 for <font color="Olive" title="b1">h</font> being   <a href="struct_0.html#NM6" title="STRUCT_0:NM.6">Function</a> of <font color="Maroon" title="c1">R</font>,<font color="Maroon" title="c1">R</font><br/>  for <font color="Olive" title="b2">s</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>  st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b2">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; <font color="Olive" title="b1">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</a>  holds <br/><font color="Olive" title="b1">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Olive" title="b2">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Olive" title="b2">s</font></span>)</span>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="18_2_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c5">h</font> be   <a href="struct_0.html#NM6" title="STRUCT_0:NM.6">Function</a> of <font color="Maroon" title="c1">R</font>,<font color="Maroon" title="c1">R</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">s</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>  st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; <font color="Maroon" title="c5">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</a>  holds <br/><font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Olive" title="b1">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Olive" title="b1">s</font></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c6">s</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</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="c6">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; <font color="Maroon" title="c5">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</a>  implies <font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c6">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c6">s</font></span>)</span> )</span><br/>



<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:18_2_1"/><span class="lab"><font color="Green" title="E14">A11</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c6">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">and </span><br/><a NAME="E2:18_2_1"/><span class="lab"><font color="Green" title="E15">A12</font></span>: 
<font color="Maroon" title="c5">h</font> is  <a href="vectsp_1.html#V13" title="VECTSP_1:attr.13">additive</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="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c6">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c6">s</font></span>)</span></span><br/>

<span class="kw">set </span><font color="Maroon" title="c7">s0</font> = <font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">n</font>;<br/>
<a NAME="E3:18_2_1"/>
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c6">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n</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="#E1:18_2_1"><span class="lab"><font color="Green" title="E14">A11</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="E4:18_2_1"/><span class="kw">then </span>
<font color="Maroon" title="c6">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c6">s</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_1.html#T3" onmouseover="rs('funct_1/T3')" onmouseout="rh()">FUNCT_1:3</a>, <a class="ref" href="finseq_1.html#T4" onmouseover="rs('finseq_1/T4')" onmouseout="rh()">FINSEQ_1:4</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c8">v</font> = <font color="Maroon" title="c6">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> as   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> ;<br/>
<a NAME="E6:18_2_1"/><span class="lab"><font color="Green" title="E16">A13</font></span>: 
<font color="Maroon" title="c4">n</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"><font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">n</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:18_2_1"><span class="lab"><font color="Green" title="E14">A11</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="nat_1.html#T11" onmouseover="rs('nat_1/T11')" onmouseout="rh()">NAT_1:11</a></span>;<br/>
<a NAME="E7:18_2_1"/>
( 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; <font color="Maroon" title="c4">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>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c6">s</font> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:18_2_1"><span class="lab"><font color="Green" title="E14">A11</font></span></a>, <a class="ref" href="nat_1.html#T11" onmouseover="rs('nat_1/T11')" onmouseout="rh()">NAT_1:11</a></span>;<br/>
<a NAME="E8:18_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E17">A15</font></span>: 
<font color="Maroon" title="c6">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c6">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n</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="#E1:18_2_1"><span class="lab"><font color="Green" title="E14">A11</font></span></a>, <a class="ref" href="finseq_4.html#T15" onmouseover="rs('finseq_4/T15')" onmouseout="rh()">FINSEQ_4:15</a></span>;<br/>
<a NAME="E9:18_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E18">A16</font></span>: 
<font color="Maroon" title="c6">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">n</font></span>)</span> <a href="finseq_1.html#K8" title="FINSEQ_1:func.8">^</a> <span class="p1"><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">&lt;*</a><span class="default"><font color="Maroon" title="c8">v</font></span><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">*&gt;</a></span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:18_2_1"><span class="lab"><font color="Green" title="E14">A11</font></span></a>, <a class="ref" href="finseq_5.html#T21" onmouseover="rs('finseq_5/T21')" onmouseout="rh()">FINSEQ_5:21</a></span>;<br/>
<span class="lab"><font color="Green" title="E19">A17</font></span>: <font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c6">s</font> = 
<font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">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="c8">v</font></span><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">*&gt;</a></span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:18_2_1"><span class="lab"><font color="Green" title="E17">A15</font></span></a>, <a class="txt" href="#E1:18_2_1"><span class="lab"><font color="Green" title="E14">A11</font></span></a>, <a class="ref" href="finseq_5.html#T21" onmouseover="rs('finseq_5/T21')" onmouseout="rh()">FINSEQ_5:21</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">n</font></span>)</span></span>)</span> <a href="finseq_1.html#K8" title="FINSEQ_1:func.8">^</a> <span class="p1"><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">&lt;*</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c8">v</font></span>)</span></span><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">*&gt;</a></span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseqop.html#T8" onmouseover="rs('finseqop/T8')" onmouseout="rh()">FINSEQOP:8</a></span>
;<br/>
<font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c6">s</font></span>)</span> = 
<font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p3">(<span class="default"><font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">n</font></span>)</span></span>)</span> <a href="rlvect_1.html#K3" title="RLVECT_1:func.3">+</a> <span class="p2">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p3"><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">&lt;*</a><span class="default"><font color="Maroon" title="c8">v</font></span><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">*&gt;</a></span></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:18_2_1"><span class="lab"><font color="Green" title="E18">A16</font></span></a>, <a class="ref" href="rlvect_1.html#T41" onmouseover="rs('rlvect_1/T41')" onmouseout="rh()">RLVECT_1:41</a></span>
<br/>.= 
<font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p3">(<span class="default"><font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">n</font></span>)</span></span>)</span> <a href="rlvect_1.html#K3" title="RLVECT_1:func.3">+</a> <font color="Maroon" title="c8">v</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="rlvect_1.html#T44" onmouseover="rs('rlvect_1/T44')" onmouseout="rh()">RLVECT_1:44</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p2">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p3">(<span class="default"><font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">n</font></span>)</span></span>)</span></span>)</span> <a href="rlvect_1.html#K3" title="RLVECT_1:func.3">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c8">v</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:18_2_1"><span class="lab"><font color="Green" title="E15">A12</font></span></a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p2">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">n</font></span>)</span></span>)</span></span>)</span> <a href="rlvect_1.html#K3" title="RLVECT_1:func.3">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c8">v</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:18_2"><span class="lab"><font color="Green" title="E13">A10</font></span></a>, <a class="txt" href="#E2:18_2_1"><span class="lab"><font color="Green" title="E15">A12</font></span></a>, <a class="txt" href="#E6:18_2_1"><span class="lab"><font color="Green" title="E16">A13</font></span></a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p2">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c6">s</font> <a href="finseq_1.html#K17" title="FINSEQ_1:func.17">|</a> <font color="Maroon" title="c4">n</font></span>)</span></span>)</span></span>)</span> <a href="rlvect_1.html#K3" title="RLVECT_1:func.3">+</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p2"><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">&lt;*</a><span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c8">v</font></span>)</span></span><a href="finseq_1.html#K12" title="FINSEQ_1:func.12">*&gt;</a></span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="rlvect_1.html#T44" onmouseover="rs('rlvect_1/T44')" onmouseout="rh()">RLVECT_1:44</a></span>
<br/>.= 
 <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c6">s</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:18_2_1"><span class="lab"><font color="Green" title="E19">A17</font></span></a>, <a class="ref" href="rlvect_1.html#T41" onmouseover="rs('rlvect_1/T41')" onmouseout="rh()">RLVECT_1:41</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E12:18_2_1"/>
<font color="Maroon" title="c5">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c6">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c6">s</font></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><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E3:18_2"/>
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]
 ; <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:18"/><span class="lab"><font color="Green" title="E13">A18</font></span>: 
 for <font color="Olive" title="b1">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> holds  <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">n</font>]
 
<span class="kw">from</span> <span class="lab"><a class="ref" href="nat_1.html#S2" onmouseover="rs('nat_1/S2')" onmouseout="rh()">NAT_1:sch 2</a>(<a class="txt" href="#E2:18"><span class="lab"><font color="Green" title="E11">A2</font></span></a>, <a class="txt" href="#E3:18"><span class="lab"><font color="Green" title="E12">A9</font></span></a>);<br/></span>
<a NAME="E5:18"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">s</font> is   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>
 
;<br/>
<span class="kw">hence </span><a NAME="E6:18"/>
<font color="Maroon" title="c2">h</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c3">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">h</font> <a href="ringder1.html#K2" title="RINGDER1:func.2">*</a> <font color="Maroon" title="c3">s</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:18"><span class="lab"><font color="Green" title="E10">A1</font></span></a>, <a class="txt" href="#E4:18"><span class="lab"><font color="Green" title="E13">A18</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>
