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

<b>set </b><font color="Maroon">FC</font> =  <a href="complfld.html#K1">F_Complex</a> ;<br/>
<b>let </b><font color="Maroon">f</font> be   <a href="struct_0.html#NM7">FinSequence</a> of <a href="complfld.html#K1">F_Complex</a> ;<br/>

<b>assume </b><a NAME="E1:8"/><i><font color="Green">E31</font></i>: 
for <font color="Olive">i</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>   st <font color="Olive">i</font> <a href="hidden.html#R2">in</a>  <a href="finsop_1.html#K5">dom</a> <font color="Maroon">f</font> holds <br/><font color="Maroon">f</font> <a href="funct_1.html#K1">.</a> <font color="Olive">i</font> is <a href="int_1.html#V1">integer</a>
 ;<br/>

<b>defpred </b><font color="Maroon">S<sub>1</sub></font>[   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a> ] <b>means </b>for <font color="Olive">f</font> being  <a href="struct_0.html#NM7">FinSequence</a> of <a href="complfld.html#K1">F_Complex</a>   st  <a href="finseq_1.html#K3">len</a> <font color="Olive">f</font> <a href="hidden.html#R1">=</a> <font color="Maroon">a<sub>1</sub></font> &amp; ( for <font color="Olive">i</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>   st <font color="Olive">i</font> <a href="hidden.html#R2">in</a>  <a href="finsop_1.html#K5">dom</a> <font color="Olive">f</font> holds <br/><font color="Olive">f</font> <a href="funct_1.html#K1">.</a> <font color="Olive">i</font> is <a href="int_1.html#V1">integer</a> ) holds <br/> <a href="rlvect_1.html#K9">Sum</a> <font color="Olive">f</font> is <a href="int_1.html#V1">integer</a>;<br/>
<a NAME="E2:8"/><i><font color="Green">E38</font></i>: 
<font color="Maroon">S<sub>1</sub></font>[0]
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="8_1"><b>proof </b></a><div class="add">

<b>let </b><font color="Maroon">f</font> be   <a href="struct_0.html#NM7">FinSequence</a> of <a href="complfld.html#K1">F_Complex</a> ;<br/>

<b>assume </b><a NAME="E1:8_1"/>
 <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font> <a href="hidden.html#R1">=</a> 0
 ;<br/>

<a NAME="E2:8_1"/><b>then </b>
<font color="Maroon">f</font> <a href="hidden.html#R1">=</a>  <a href="finseq_1.html#K6">&lt;*&gt;</a> the <a href="struct_0.html#U1">carrier</a> of <a href="complfld.html#K1">F_Complex</a> 
 
<b>by </b><i><a class="ref" href="finseq_1.html#T32">FINSEQ_1:32</a></i>;<br/>
<b>hence </b><a NAME="E3:8_1"/>
(  ex <font color="Olive">i</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>  st <br/>( <font color="Olive">i</font> <a href="hidden.html#R2">in</a>  <a href="finsop_1.html#K5">dom</a> <font color="Maroon">f</font> &amp; not <font color="Maroon">f</font> <a href="funct_1.html#K1">.</a> <font color="Olive">i</font> is <a href="int_1.html#V1">integer</a> ) or  <a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">f</font> is <a href="int_1.html#V1">integer</a> )
 <b>by </b><i><a class="ref" href="complfld.html#T9">COMPLFLD:9</a>, <a class="ref" href="rlvect_1.html#T60">RLVECT_1:60</a></i>;<br/>


</div><b>end;</b></div>
<a NAME="E3:8"/><i><font color="Green">E39</font></i>: 
for <font color="Olive">n</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>   st <font color="Maroon">S<sub>1</sub></font>[<font color="Olive">n</font>] holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive">n</font> <a href="binop_2.html#K23">+</a> 1]
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="8_2"><b>proof </b></a><div class="add">

<b>let </b><font color="Maroon">n</font> be    <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a> ;<br/>

<b>assume </b><a NAME="E1:8_2"/><i><font color="Green">E40</font></i>: 
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon">n</font>]
 ;<br/>

<b>let </b><font color="Maroon">f</font> be   <a href="struct_0.html#NM7">FinSequence</a> of <a href="complfld.html#K1">F_Complex</a> ;<br/>

<b>assume </b><b>that </b><br/><a NAME="E2:8_2"/><i><font color="Green">E41</font></i>: 
 <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font> <a href="hidden.html#R1">=</a> <font color="Maroon">n</font> <a href="binop_2.html#K23">+</a> 1
 <b>and </b><br/><a NAME="E3:8_2"/><i><font color="Green">E42</font></i>: 
for <font color="Olive">i</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>   st <font color="Olive">i</font> <a href="hidden.html#R2">in</a>  <a href="finsop_1.html#K5">dom</a> <font color="Maroon">f</font> holds <br/><font color="Maroon">f</font> <a href="funct_1.html#K1">.</a> <font color="Olive">i</font> is <a href="int_1.html#V1">integer</a>
 ;<br/>

<b>consider </b><font color="Maroon">g</font> being   <a href="struct_0.html#NM7">FinSequence</a> of <a href="complfld.html#K1">F_Complex</a> , <font color="Maroon">c</font> being   <a href="struct_0.html#NM1">Element</a> of <a href="complfld.html#K1">F_Complex</a> <b> such that </b><br/><a NAME="E5:8_2"/><i><font color="Green">E53</font></i>: 
<font color="Maroon">f</font> <a href="hidden.html#R1">=</a> <font color="Maroon">g</font> <a href="finseq_1.html#K8">^</a> <span class="p1"><a href="binarith.html#K11">&lt;*</a><span class="default"><font color="Maroon">c</font></span><a href="binarith.html#K11">*&gt;</a></span>
 <b>by </b><i>, <a class="ref" href="finseq_2.html#T22">FINSEQ_2:22</a></i>;<br/>
 <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font> = 
<span class="p1">(<span class="default"><a href="finseq_1.html#K3">len</a> <font color="Maroon">g</font></span>)</span> <a href="binop_2.html#K23">+</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3">len</a> <span class="p2"><a href="binarith.html#K11">&lt;*</a><span class="default"><font color="Maroon">c</font></span><a href="binarith.html#K11">*&gt;</a></span></span>)</span>
<b>by </b><i>, <a class="ref" href="finseq_1.html#T35">FINSEQ_1:35</a></i>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_1.html#K3">len</a> <font color="Maroon">g</font></span>)</span> <a href="binop_2.html#K23">+</a> 1
<b>by </b><i><a class="ref" href="finseq_1.html#T57">FINSEQ_1:57</a></i>
;<br/>
<a NAME="E7:8_2"/><b>then </b><i><font color="Green">E54</font></i>: 
 <a href="finseq_1.html#K3">len</a> <font color="Maroon">g</font> <a href="hidden.html#R1">=</a> <font color="Maroon">n</font>
 
<b>by </b><i/>;<br/>
<div><i><font color="Green">E55</font></i>: <a class="txt" onclick="hs2(this)" href="javascript:()" title="8_2_2"><b>now </b></a><div class="add"><b>let </b><font color="Maroon">i</font> be    <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a> ;<br/><b>assume </b><a NAME="E1:8_2_2"/><i><font color="Green">E56</font></i>: 
<font color="Maroon">i</font> <a href="hidden.html#R2">in</a>  <a href="finsop_1.html#K5">dom</a> <font color="Maroon">g</font>
 ;<br/><a NAME="E2:8_2_2"/><i><font color="Green">E58</font></i>: 
 <a href="finsop_1.html#K5">dom</a> <font color="Maroon">g</font> <a href="tarski.html#R1">c=</a>  <a href="finsop_1.html#K5">dom</a> <font color="Maroon">f</font>
 <b>by </b><i>, <a class="ref" href="finseq_1.html#T39">FINSEQ_1:39</a></i>;<br/><a NAME="E3:8_2_2"/>
<font color="Maroon">f</font> <a href="funct_1.html#K1">.</a> <font color="Maroon">i</font> <a href="hidden.html#R1">=</a> <font color="Maroon">g</font> <a href="funct_1.html#K1">.</a> <font color="Maroon">i</font>
 <b>by </b><i>, , <a class="ref" href="finseq_1.html#D7">FINSEQ_1:def 7</a></i>;<br/><b>hence </b><a NAME="E4:8_2_2"/>
<font color="Maroon">g</font> <a href="funct_1.html#K1">.</a> <font color="Maroon">i</font> is <a href="int_1.html#V1">integer</a>
 <b>by </b><i>, , </i>;<br/></div><b>end;</b></div>
<b>reconsider </b><font color="Maroon">Sgc</font> =  <a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g</font>, <font color="Maroon">cc</font> = <font color="Maroon">c</font> as    <a href="subset_1.html#M1">Element</a> of  <a href="numbers.html#K2">COMPLEX</a>  <b>by </b><i><a class="ref" href="complfld.html#D1">COMPLFLD:def 1</a></i>;<br/>
<a NAME="E10:8_2"/>
0 <a href="xxreal_0.html#NR3" target="_self">&lt;</a>  <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font>
 
<b>by </b><i/>;<br/>
<a NAME="E11:8_2"/><b>then </b>
0 <a href="binop_2.html#K23">+</a> 1 <a href="xxreal_0.html#R1">&lt;=</a>  <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font>
 
<b>by </b><i><a class="ref" href="nat_1.html#T38">NAT_1:38</a></i>;<br/>
<a NAME="E12:8_2"/><b>then </b>
 <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font> <a href="hidden.html#R2">in</a>  <a href="finsop_1.html#K5">dom</a> <font color="Maroon">f</font>
 
<b>by </b><i><a class="ref" href="finseq_3.html#T27">FINSEQ_3:27</a></i>;<br/>
<a NAME="E13:8_2"/><b>then </b>
<font color="Maroon">f</font> <a href="funct_1.html#K1">.</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font></span>)</span> is <a href="int_1.html#V1">integer</a>
 
<b>by </b><i/>;<br/>
<b>then reconsider </b><font color="Maroon">Sgi</font> = <font color="Maroon">Sgc</font>, <font color="Maroon">ci</font> = <font color="Maroon">cc</font> as   <a href="int_1.html#NM1">Integer</a> <b>by </b><i>, , , , , <a class="ref" href="finseq_1.html#T59">FINSEQ_1:59</a></i>;<br/>
 <a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">f</font> = 
<span class="p1">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g</font></span>)</span> <a href="rlvect_1.html#K4">+</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <span class="p2"><a href="binarith.html#K11">&lt;*</a><span class="default"><font color="Maroon">c</font></span><a href="binarith.html#K11">*&gt;</a></span></span>)</span>
<b>by </b><i>, <a class="ref" href="rlvect_1.html#T58">RLVECT_1:58</a></i>
<br/>.= 
<span class="p1">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g</font></span>)</span> <a href="rlvect_1.html#K4">+</a> <font color="Maroon">c</font>
<b>by </b><i><a class="ref" href="rlvect_1.html#T61">RLVECT_1:61</a></i>
<br/>.= 
<font color="Maroon">Sgi</font> <a href="xcmplx_0.html#K2">+</a> <font color="Maroon">ci</font>
<b>by </b><i><a class="ref" href="complfld.html#T3">COMPLFLD:3</a></i>
;<br/>
<b>hence </b><a NAME="E16:8_2"/>
 <a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">f</font> is <a href="int_1.html#V1">integer</a>
 ;<br/>


</div><b>end;</b></div>
<a NAME="E4:8"/><i><font color="Green">E61</font></i>: 
for <font color="Olive">n</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>  holds  <font color="Maroon">S<sub>1</sub></font>[<font color="Olive">n</font>]
 
<b>from </b><i><a class="ref" href="nat_1.html#S1">NAT_1:sch 1</a>(, );<br/></i>
<a NAME="E5:8"/>
 <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font> is    <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a> 
 
;<br/>
<b>hence </b><a NAME="E6:8"/>
 <a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">f</font> is <a href="int_1.html#V1">integer</a>
 <b>by </b><i>, </i>;<br/>


</div>
