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

<b>set </b><font color="Maroon" title="c1">FC</font> =  <a href="complfld.html#K1" title="COMPLFLD:func.1">F_Complex</a> ;<br/>
<b>let </b><font color="Maroon" title="c2">f</font> be   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <a href="complfld.html#K1" title="COMPLFLD:func.1">F_Complex</a> ;<br/>

<b>assume </b><a NAME="E1:8"/><i><font color="Green" title="E8">A1</font></i>: 
for <font color="Olive" title="b1">i</font> being   <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a>   st <font color="Olive" title="b1">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">f</font> holds <br/><font color="Maroon" title="c2">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a>
 ;<br/>

<b>defpred </b><font color="Maroon">S<sub>1</sub></font>[   <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a> ] <b>means </b>for <font color="Olive" title="b1">f</font> being  <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <a href="complfld.html#K1" title="COMPLFLD:func.1">F_Complex</a>   st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> $1 &amp; ( for <font color="Olive" title="b2">i</font> being   <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a>   st <font color="Olive" title="b2">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Olive" title="b1">f</font> holds <br/><font color="Olive" title="b1">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">i</font> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a> ) holds <br/> <a href="rlvect_1.html#K7" title="RLVECT_1:func.7">Sum</a> <font color="Olive" title="b1">f</font> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a>;<br/>
<a NAME="E2:8"/><i><font color="Green" title="E9">A2</font></i>: 
<font color="Maroon">S<sub>1</sub></font>[ <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> ]
 
<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" title="c3">f</font> be   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <a href="complfld.html#K1" title="COMPLFLD:func.1">F_Complex</a> ;<br/>

<b>assume </b><a NAME="E1:8_1"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ;<br/>

<a NAME="E2:8_1"/><b>then </b>
<font color="Maroon" title="c3">f</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 <a href="complfld.html#K1" title="COMPLFLD:func.1">F_Complex</a> 
 
<b>by </b><i><a class="ref" href="finseq_1.html#T32" title="FINSEQ_1:th.32">FINSEQ_1:32</a></i>;<br/>
<b>hence </b><a NAME="E3:8_1"/>
(  ex <font color="Olive" title="b1">i</font> being   <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a>  st <br/>( <font color="Olive" title="b1">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c3">f</font> &amp; not <font color="Maroon" title="c3">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a> ) or  <a href="rlvect_1.html#K7" title="RLVECT_1:func.7">Sum</a> <font color="Maroon" title="c3">f</font> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a> )
 <b>by </b><i><a class="ref" href="complfld.html#T9" title="COMPLFLD:th.9">COMPLFLD:9</a>, <a class="ref" href="rlvect_1.html#T60" title="RLVECT_1:th.60">RLVECT_1:60</a></i>;<br/>


</div><b>end;</b></div>
<a NAME="E3:8"/><i><font color="Green" title="E10">A3</font></i>: 
for <font color="Olive" title="b1">n</font> being   <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">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="binop_2.html#K23" title="BINOP_2:func.23">+</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" title="c3">n</font> be    <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a> ;<br/>

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

<b>let </b><font color="Maroon" title="c4">f</font> be   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <a href="complfld.html#K1" title="COMPLFLD:func.1">F_Complex</a> ;<br/>

<b>assume </b><b>that </b><br/><a NAME="E2:8_2"/><i><font color="Green" title="E12">A5</font></i>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">n</font> <a href="binop_2.html#K23" title="BINOP_2:func.23">+</a> 1
 <b>and </b><br/><a NAME="E3:8_2"/><i><font color="Green" title="E13">A6</font></i>: 
for <font color="Olive" title="b1">i</font> being   <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a>   st <font color="Olive" title="b1">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c4">f</font> holds <br/><font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a>
 ;<br/>

<b>consider </b><font color="Maroon" title="c5">g</font> being   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <a href="complfld.html#K1" title="COMPLFLD:func.1">F_Complex</a> , <font color="Maroon" title="c6">c</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <a href="complfld.html#K1" title="COMPLFLD:func.1">F_Complex</a> <b> such that </b><br/><a NAME="E5:8_2"/><i><font color="Green" title="E14">A7</font></i>: 
<font color="Maroon" title="c4">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">g</font> <a href="finseq_1.html#K8" title="FINSEQ_1:func.8">^</a> <span class="p1"><a href="binarith.html#K11" title="BINARITH:func.11">&lt;*</a><span class="default"><font color="Maroon" title="c6">c</font></span><a href="binarith.html#K11" title="BINARITH:func.11">*&gt;</a></span>
 <b>by </b><i><a class="txt" href="uniroots.html#E2:8_2"><i><font color="Green" title="E12">A5</font></i></a>, <a class="ref" href="finseq_2.html#T22" title="FINSEQ_2:th.22">FINSEQ_2:22</a></i>;<br/>
<i><font color="Green" title="E15">A8</font></i>:  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">f</font> = 
<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c5">g</font></span>)</span> <a href="binop_2.html#K23" title="BINOP_2:func.23">+</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p2"><a href="binarith.html#K11" title="BINARITH:func.11">&lt;*</a><span class="default"><font color="Maroon" title="c6">c</font></span><a href="binarith.html#K11" title="BINARITH:func.11">*&gt;</a></span></span>)</span>
<b>by </b><i><a class="txt" href="uniroots.html#E5:8_2"><i><font color="Green" title="E14">A7</font></i></a>, <a class="ref" href="finseq_1.html#T35" title="FINSEQ_1:th.35">FINSEQ_1:35</a></i>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c5">g</font></span>)</span> <a href="binop_2.html#K23" title="BINOP_2:func.23">+</a> 1
<b>by </b><i><a class="ref" href="finseq_1.html#T57" title="FINSEQ_1:th.57">FINSEQ_1:57</a></i>
;<br/>
<div><i><font color="Green" title="E16">A9</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" title="c7">i</font> be    <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a> ;<br/><b>assume </b><a NAME="E1:8_2_2"/><i><font color="Green" title="E17">A10</font></i>: 
<font color="Maroon" title="c7">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c5">g</font>
 ;<br/><a NAME="E2:8_2_2"/><i><font color="Green" title="E18">A11</font></i>: 
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c5">g</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c4">f</font>
 <b>by </b><i><a class="txt" href="uniroots.html#E5:8_2"><i><font color="Green" title="E14">A7</font></i></a>, <a class="ref" href="finseq_1.html#T39" title="FINSEQ_1:th.39">FINSEQ_1:39</a></i>;<br/><a NAME="E3:8_2_2"/>
<font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font>
 <b>by </b><i><a class="txt" href="uniroots.html#E5:8_2"><i><font color="Green" title="E14">A7</font></i></a>, <a class="txt" href="uniroots.html#E1:8_2_2"><i><font color="Green" title="E17">A10</font></i></a>, <a class="ref" href="finseq_1.html#D7" title="FINSEQ_1:def.7">FINSEQ_1:def 7</a></i>;<br/><b>hence </b><a NAME="E4:8_2_2"/>
<font color="Maroon" title="c5">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a>
 <b>by </b><i><a class="txt" href="uniroots.html#E3:8_2"><i><font color="Green" title="E13">A6</font></i></a>, <a class="txt" href="uniroots.html#E1:8_2_2"><i><font color="Green" title="E17">A10</font></i></a>, <a class="txt" href="uniroots.html#E2:8_2_2"><i><font color="Green" title="E18">A11</font></i></a></i>;<br/></div><b>end;</b></div>
<b>reconsider </b><font color="Maroon" title="c7">Sgc</font> =  <a href="rlvect_1.html#K7" title="RLVECT_1:func.7">Sum</a> <font color="Maroon" title="c5">g</font>, <font color="Maroon" title="c8">cc</font> = <font color="Maroon" title="c6">c</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#K2" title="NUMBERS:func.2">COMPLEX</a>  <b>by </b><i><a class="ref" href="complfld.html#D1" title="COMPLFLD:def.1">COMPLFLD:def 1</a></i>;<br/>
<a NAME="E9:8_2"/>
<a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="binop_2.html#K23" title="BINOP_2:func.23">+</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">f</font>
 
<b>by </b><i><a class="txt" href="uniroots.html#E2:8_2"><i><font color="Green" title="E12">A5</font></i></a>, <a class="ref" href="nat_1.html#T13" title="NAT_1:th.13">NAT_1:13</a></i>;<br/>
<a NAME="E10:8_2"/><b>then </b>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">f</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c4">f</font>
 
<b>by </b><i><a class="ref" href="finseq_3.html#T27" title="FINSEQ_3:th.27">FINSEQ_3:27</a></i>;<br/>
<a NAME="E11:8_2"/><b>then </b>
<font color="Maroon" title="c4">f</font> <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">f</font></span>)</span> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a>
 
<b>by </b><i><a class="txt" href="uniroots.html#E3:8_2"><i><font color="Green" title="E13">A6</font></i></a></i>;<br/>
<b>then reconsider </b><font color="Maroon" title="c9">Sgi</font> = <font color="Maroon" title="c7">Sgc</font>, <font color="Maroon" title="c10">ci</font> = <font color="Maroon" title="c8">cc</font> as   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> <b>by </b><i><a class="txt" href="uniroots.html#E1:8_2"><i><font color="Green" title="E11">A4</font></i></a>, <a class="txt" href="uniroots.html#E2:8_2"><i><font color="Green" title="E12">A5</font></i></a>, <a class="txt" href="uniroots.html#E5:8_2"><i><font color="Green" title="E14">A7</font></i></a>, <a class="txt" href="uniroots.html#E6:8_2"><i><font color="Green" title="E15">A8</font></i></a>, <a class="txt" href="uniroots.html#E7:8_2"><i><font color="Green" title="E16">A9</font></i></a>, <a class="ref" href="finseq_1.html#T59" title="FINSEQ_1:th.59">FINSEQ_1:59</a></i>;<br/>
 <a href="rlvect_1.html#K7" title="RLVECT_1:func.7">Sum</a> <font color="Maroon" title="c4">f</font> = 
<span class="p1">(<span class="default"><a href="rlvect_1.html#K7" title="RLVECT_1:func.7">Sum</a> <font color="Maroon" title="c5">g</font></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#K7" title="RLVECT_1:func.7">Sum</a> <span class="p2"><a href="binarith.html#K11" title="BINARITH:func.11">&lt;*</a><span class="default"><font color="Maroon" title="c6">c</font></span><a href="binarith.html#K11" title="BINARITH:func.11">*&gt;</a></span></span>)</span>
<b>by </b><i><a class="txt" href="uniroots.html#E5:8_2"><i><font color="Green" title="E14">A7</font></i></a>, <a class="ref" href="rlvect_1.html#T58" title="RLVECT_1:th.58">RLVECT_1:58</a></i>
<br/>.= 
<font color="Maroon" title="c9">Sgi</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c10">ci</font>
<b>by </b><i><a class="ref" href="rlvect_1.html#T61" title="RLVECT_1:th.61">RLVECT_1:61</a></i>
;<br/>
<b>hence </b><a NAME="E14:8_2"/>
 <a href="rlvect_1.html#K7" title="RLVECT_1:func.7">Sum</a> <font color="Maroon" title="c4">f</font> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a>
 ;<br/>


</div><b>end;</b></div>
<a NAME="E4:8"/><i><font color="Green" title="E11">A12</font></i>: 
for <font color="Olive" title="b1">n</font> being   <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a>  holds  <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">n</font>]
 
<b>from </b><i><a class="ref" href="nat_1.html#S1" title="NAT_1:sch.1">NAT_1:sch 1</a>(<a class="txt" href="uniroots.html#E2:8"><i><font color="Green" title="E9">A2</font></i></a>, <a class="txt" href="uniroots.html#E3:8"><i><font color="Green" title="E10">A3</font></i></a>);<br/></i>
<a NAME="E5:8"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">f</font> is    <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a> 
 
;<br/>
<b>hence </b><a NAME="E6:8"/>
 <a href="rlvect_1.html#K7" title="RLVECT_1:func.7">Sum</a> <font color="Maroon" title="c2">f</font> is <a href="int_1.html#V1" title="INT_1:attr.1">integer</a>
 <b>by </b><i><a class="txt" href="uniroots.html#E1:8"><i><font color="Green" title="E8">A1</font></i></a>, <a class="txt" href="uniroots.html#E4:8"><i><font color="Green" title="E11">A12</font></i></a></i>;<br/>


</div>
