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

<b>let </b><font color="Maroon">L</font> be  non <a href="struct_0.html#V3">empty</a> <a href="rlvect_1.html#V3">Abelian</a> <a href="rlvect_1.html#V4">add-associative</a> <a href="rlvect_1.html#V5">right_zeroed</a> <a href="rlvect_1.html#V6">right_complementable</a>  <a href="rlvect_1.html#L1">LoopStr</a> ;<br/><b>let </b><font color="Maroon">F1</font> be   <a href="struct_0.html#NM7">FinSequence</a> of <font color="Maroon">L</font>, <font color="Maroon">F2</font> be   <a href="struct_0.html#NM7">FinSequence</a> of <font color="Maroon">L</font>;<br/>



<b>assume </b><a NAME="E1:10"/><i><font color="Green">E29</font></i>: 
(  <a href="finseq_1.html#K3">len</a> <font color="Maroon">F1</font> <a href="hidden.html#R1">=</a>  <a href="finseq_1.html#K3">len</a> <font color="Maroon">F2</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="relset_1.html#K4">dom</a> <font color="Maroon">F1</font> holds <br/><font color="Maroon">F1</font> <a href="finseq_4.html#K4">/.</a> <font color="Olive">i</font> <a href="hidden.html#R1">=</a>  <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><font color="Maroon">F2</font> <a href="finseq_4.html#K4">/.</a> <font color="Olive">i</font></span>)</span> ) )
 ;<br/>

<b>defpred </b><font color="Maroon">S<sub>1</sub></font>[  <a href="nat_1.html#NM1">Nat</a>] <b>means </b>for <font color="Olive">F1</font>, <font color="Olive">F2</font> being  <a href="struct_0.html#NM7">FinSequence</a> of <font color="Maroon">L</font>  st  <a href="finseq_1.html#K3">len</a> <font color="Olive">F1</font> <a href="hidden.html#R1">=</a> <font color="Maroon">a<sub>1</sub></font> &amp;  <a href="finseq_1.html#K3">len</a> <font color="Olive">F1</font> <a href="hidden.html#R1">=</a>  <a href="finseq_1.html#K3">len</a> <font color="Olive">F2</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="relset_1.html#K4">dom</a> <font color="Olive">F1</font> holds <br/><font color="Olive">F1</font> <a href="finseq_4.html#K4">/.</a> <font color="Olive">i</font> <a href="hidden.html#R1">=</a>  <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><font color="Olive">F2</font> <a href="finseq_4.html#K4">/.</a> <font color="Olive">i</font></span>)</span> ) holds <br/> <a href="rlvect_1.html#K9">Sum</a> <font color="Olive">F1</font> <a href="hidden.html#R1">=</a>  <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Olive">F2</font></span>)</span>;<br/>
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="10_1"><b>now </b></a><div class="add"><b>let </b><font color="Maroon">f</font> be   <a href="struct_0.html#NM7">FinSequence</a> of <font color="Maroon">L</font>, <font color="Maroon">g</font> be   <a href="struct_0.html#NM7">FinSequence</a> of <font color="Maroon">L</font>;<br/><b>assume </b><a NAME="E1:10_1"/>
(  <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font> <a href="hidden.html#R1">=</a> 0 &amp;  <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font> <a href="hidden.html#R1">=</a>  <a href="finseq_1.html#K3">len</a> <font color="Maroon">g</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="relset_1.html#K4">dom</a> <font color="Maroon">f</font> holds <br/><font color="Maroon">f</font> <a href="finseq_4.html#K4">/.</a> <font color="Olive">i</font> <a href="hidden.html#R1">=</a>  <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><font color="Maroon">g</font> <a href="finseq_4.html#K4">/.</a> <font color="Olive">i</font></span>)</span> ) )
 ;<br/><a NAME="E2:10_1"/><b>then </b><i><font color="Green">E30</font></i>: 
( <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 <font color="Maroon">L</font> &amp; <font color="Maroon">g</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 <font color="Maroon">L</font> )
 <b>by </b><i><a class="ref" href="finseq_1.html#T32">FINSEQ_1:32</a></i>;<br/><b>hence </b> <a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">f</font> = 
 <a href="rlvect_1.html#K1">0.</a> <font color="Maroon">L</font>
<b>by </b><i><a class="ref" href="rlvect_1.html#T60">RLVECT_1:60</a></i>
<br/>.= 
 <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K1">0.</a> <font color="Maroon">L</font></span>)</span>
<b>by </b><i><a class="ref" href="rlvect_1.html#T25">RLVECT_1:25</a></i>
<br/>.= 
 <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g</font></span>)</span>
<b>by </b><i>, <a class="ref" href="rlvect_1.html#T60">RLVECT_1:60</a></i>
;<br/><br/></div><b>end;</b></div>
<a NAME="E3:10"/><b>then </b><i><font color="Green">E31</font></i>: 
<font color="Maroon">S<sub>1</sub></font>[0]
 
;<br/>
<div><i><font color="Green">E34</font></i>: <a class="txt" onclick="hs2(this)" href="javascript:()" title="10_2"><b>now </b></a><div class="add"><b>let </b><font color="Maroon">k</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:10_2"/><i><font color="Green">E36</font></i>: 
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon">k</font>]
 ;<br/><div><a class="txt" onclick="hs2(this)" href="javascript:()" title="10_2_1"><b>now </b></a><div class="add"><b>let </b><font color="Maroon">f</font> be   <a href="struct_0.html#NM7">FinSequence</a> of <font color="Maroon">L</font>, <font color="Maroon">g</font> be   <a href="struct_0.html#NM7">FinSequence</a> of <font color="Maroon">L</font>;<br/><b>assume </b><a NAME="E1:10_2_1"/><i><font color="Green">E37</font></i>: 
(  <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font> <a href="hidden.html#R1">=</a> <font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1 &amp;  <a href="finseq_1.html#K3">len</a> <font color="Maroon">f</font> <a href="hidden.html#R1">=</a>  <a href="finseq_1.html#K3">len</a> <font color="Maroon">g</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="relset_1.html#K4">dom</a> <font color="Maroon">f</font> holds <br/><font color="Maroon">f</font> <a href="finseq_4.html#K4">/.</a> <font color="Olive">i</font> <a href="hidden.html#R1">=</a>  <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><font color="Maroon">g</font> <a href="finseq_4.html#K4">/.</a> <font color="Olive">i</font></span>)</span> ) )
 ;<br/><b>set </b><font color="Maroon">f1</font> = <font color="Maroon">f</font> <a href="relset_1.html#K8">|</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K2">Seg</a> <font color="Maroon">k</font></span>)</span>;<br/><b>set </b><font color="Maroon">g1</font> = <font color="Maroon">g</font> <a href="relset_1.html#K8">|</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K2">Seg</a> <font color="Maroon">k</font></span>)</span>;<br/><b>reconsider </b><font color="Maroon">f1</font> = <font color="Maroon">f</font> <a href="relset_1.html#K8">|</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K2">Seg</a> <font color="Maroon">k</font></span>)</span>, <font color="Maroon">g1</font> = <font color="Maroon">g</font> <a href="relset_1.html#K8">|</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K2">Seg</a> <font color="Maroon">k</font></span>)</span> as   <a href="finseq_1.html#NM1">FinSequence</a> <b>by </b><i><a class="ref" href="finseq_1.html#T19">FINSEQ_1:19</a></i>;<br/><b>reconsider </b><font color="Maroon">f1</font> = <font color="Maroon">f1</font>, <font color="Maroon">g1</font> = <font color="Maroon">g1</font> as   <a href="struct_0.html#NM7">FinSequence</a> of <font color="Maroon">L</font> <b>by </b><i>, </i>;<br/><a NAME="E4:10_2_1"/><i><font color="Green">E38</font></i>: 
(  <a href="finseq_1.html#K3">len</a> <font color="Maroon">f1</font> <a href="hidden.html#R1">=</a> <font color="Maroon">k</font> &amp;  <a href="finseq_1.html#K3">len</a> <font color="Maroon">g1</font> <a href="hidden.html#R1">=</a> <font color="Maroon">k</font> )
 <b>by </b><i>, </i>;<br/><a NAME="E5:10_2_1"/><i><font color="Green">E39</font></i>: 
<font color="Maroon">f</font> <a href="hidden.html#R1">=</a> <font color="Maroon">f1</font> <a href="finseq_1.html#K8">^</a> <span class="p1"><a href="binarith.html#K11">&lt;*</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon">f</font> <a href="finseq_4.html#K4">/.</a> <span class="p3">(<span class="default"><font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1</span>)</span></span>)</span></span><a href="binarith.html#K11">*&gt;</a></span>
 <b>by </b><i>, </i>;<br/><a NAME="E6:10_2_1"/><i><font color="Green">E41</font></i>: 
<font color="Maroon">g</font> <a href="hidden.html#R1">=</a> <font color="Maroon">g1</font> <a href="finseq_1.html#K8">^</a> <span class="p1"><a href="binarith.html#K11">&lt;*</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon">g</font> <a href="finseq_4.html#K4">/.</a> <span class="p3">(<span class="default"><font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1</span>)</span></span>)</span></span><a href="binarith.html#K11">*&gt;</a></span>
 <b>by </b><i>, </i>;<br/><i><font color="Green">E42</font></i>:  <a href="relset_1.html#K4">dom</a> <font color="Maroon">f1</font> = 
 <a href="finseq_1.html#K2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3">len</a> <font color="Maroon">g1</font></span>)</span>
<b>by </b><i><a class="ref" href="finseq_1.html#D3">FINSEQ_1:def 3</a>, </i>
<br/>.= 
 <a href="relset_1.html#K4">dom</a> <font color="Maroon">g1</font>
<b>by </b><i><a class="ref" href="finseq_1.html#D3">FINSEQ_1:def 3</a></i>
;<br/><div><i><font color="Green">E43</font></i>: <a class="txt" onclick="hs2(this)" href="javascript:()" title="10_2_1_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:10_2_1_2"/><i><font color="Green">E44</font></i>: 
<font color="Maroon">i</font> <a href="hidden.html#R2">in</a>  <a href="relset_1.html#K4">dom</a> <font color="Maroon">f1</font>
 ;<br/><a NAME="E2:10_2_1_2"/><i><font color="Green">E45</font></i>: 
(  <a href="relset_1.html#K4">dom</a> <font color="Maroon">f1</font> <a href="tarski.html#R1">c=</a>  <a href="relset_1.html#K4">dom</a> <font color="Maroon">f</font> &amp;  <a href="relset_1.html#K4">dom</a> <font color="Maroon">g1</font> <a href="tarski.html#R1">c=</a>  <a href="relset_1.html#K4">dom</a> <font color="Maroon">g</font> )
 <b>by </b><i>, </i>;<br/><i><font color="Green">E60</font></i>: <font color="Maroon">g</font> <a href="finseq_4.html#K4">/.</a> <font color="Maroon">i</font> = 
<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_4.html#D4">FINSEQ_4:def 4</a></i>
<br/>.= 
<font color="Maroon">g1</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/>.= 
<font color="Maroon">g1</font> <a href="finseq_4.html#K4">/.</a> <font color="Maroon">i</font>
<b>by </b><i>, , <a class="ref" href="finseq_4.html#D4">FINSEQ_4:def 4</a></i>
;<br/><b>thus </b><font color="Maroon">f1</font> <a href="finseq_4.html#K4">/.</a> <font color="Maroon">i</font> = 
<font color="Maroon">f1</font> <a href="funct_1.html#K1">.</a> <font color="Maroon">i</font>
<b>by </b><i>, <a class="ref" href="finseq_4.html#D4">FINSEQ_4:def 4</a></i>
<br/>.= 
<font color="Maroon">f</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/>.= 
<font color="Maroon">f</font> <a href="finseq_4.html#K4">/.</a> <font color="Maroon">i</font>
<b>by </b><i>, , <a class="ref" href="finseq_4.html#D4">FINSEQ_4:def 4</a></i>
<br/>.= 
 <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><font color="Maroon">g1</font> <a href="finseq_4.html#K4">/.</a> <font color="Maroon">i</font></span>)</span>
<b>by </b><i>, , , <a class="txt" href="hurwitz.html#E1"><i><font color="Green">Lemma23</font></i></a></i>
;<br/></div><b>end;</b></div><a NAME="E9:10_2_1"/>
1 <a href="xxreal_0.html#R1">&lt;=</a> <font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1
 <b>by </b><i><a class="ref" href="nat_1.html#T29">NAT_1:29</a></i>;<br/><a NAME="E10:10_2_1"/><b>then </b><i><font color="Green">E61</font></i>: 
<font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1 <a href="hidden.html#R2">in</a>  <a href="relset_1.html#K4">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/><b>thus </b> <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">f1</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"><span class="p3">(<span class="default"><font color="Maroon">f</font> <a href="finseq_4.html#K4">/.</a> <span class="p4">(<span class="default"><font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1</span>)</span></span>)</span></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#K5">-</a> <span class="p2">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g1</font></span>)</span></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"><span class="p3">(<span class="default"><font color="Maroon">f</font> <a href="finseq_4.html#K4">/.</a> <span class="p4">(<span class="default"><font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1</span>)</span></span>)</span></span><a href="binarith.html#K11">*&gt;</a></span></span>)</span>
<b>by </b><i>, , </i>
<br/>.= 
<span class="p1">(<span class="default"><a href="rlvect_1.html#K5">-</a> <span class="p2">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g1</font></span>)</span></span>)</span> <a href="rlvect_1.html#K4">+</a> <span class="p1">(<span class="default"><font color="Maroon">f</font> <a href="finseq_4.html#K4">/.</a> <span class="p2">(<span class="default"><font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1</span>)</span></span>)</span>
<b>by </b><i><a class="ref" href="rlvect_1.html#T61">RLVECT_1:61</a></i>
<br/>.= 
<span class="p1">(<span class="default"><a href="rlvect_1.html#K5">-</a> <span class="p2">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g1</font></span>)</span></span>)</span> <a href="rlvect_1.html#K4">+</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K5">-</a> <span class="p2">(<span class="default"><font color="Maroon">g</font> <a href="finseq_4.html#K4">/.</a> <span class="p3">(<span class="default"><font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1</span>)</span></span>)</span></span>)</span>
<b>by </b><i>, </i>
<br/>.= 
 <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g1</font></span>)</span> <a href="rlvect_1.html#K4">+</a> <span class="p2">(<span class="default"><font color="Maroon">g</font> <a href="finseq_4.html#K4">/.</a> <span class="p3">(<span class="default"><font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1</span>)</span></span>)</span></span>)</span>
<b>by </b><i><a class="ref" href="rlvect_1.html#T45">RLVECT_1:45</a></i>
<br/>.= 
 <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g1</font></span>)</span> <a href="rlvect_1.html#K4">+</a> <span class="p2">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <span class="p3"><a href="binarith.html#K11">&lt;*</a><span class="default"><span class="p4">(<span class="default"><font color="Maroon">g</font> <a href="finseq_4.html#K4">/.</a> <span class="p5">(<span class="default"><font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1</span>)</span></span>)</span></span><a href="binarith.html#K11">*&gt;</a></span></span>)</span></span>)</span>
<b>by </b><i><a class="ref" href="rlvect_1.html#T61">RLVECT_1:61</a></i>
<br/>.= 
 <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">g</font></span>)</span>
<b>by </b><i>, <a class="ref" href="rlvect_1.html#T58">RLVECT_1:58</a></i>
;<br/></div><b>end;</b></div><b>hence </b><a NAME="E3:10_2"/>
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon">k</font> <a href="nat_1.html#K1">+</a> 1]
 ;<br/></div><b>end;</b></div>
<a NAME="E5:10"/>
for <font color="Olive">k</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">k</font>]
 
<b>from </b><i><a class="ref" href="nat_1.html#S1">NAT_1:sch 1</a>(, );<br/></i>
<b>hence </b><a NAME="E6:10"/>
 <a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">F1</font> <a href="hidden.html#R1">=</a>  <a href="rlvect_1.html#K5">-</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K9">Sum</a> <font color="Maroon">F2</font></span>)</span>
 <b>by </b><i/>;<br/>


</div>
