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

<span class="kw">let </span><font color="Maroon" title="c1">R</font> be   <a href="group_1.html#V5" title="GROUP_1:attr.5">commutative</a>  <a href="vectsp_1.html#NM3" title="VECTSP_1:NM.3">Ring</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">a</font>, <font color="Olive" title="b2">b</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font>  st <font color="Olive" title="b1">a</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a>  &amp; <font color="Olive" title="b2">b</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a>  holds <br/><font color="Olive" title="b1">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <font color="Olive" title="b2">b</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> </span><br/><span class="kw">let </span><font color="Maroon" title="c2">a</font>, <font color="Maroon" title="c3">b</font> be   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</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">a</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a>  &amp; <font color="Maroon" title="c3">b</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a>  implies <font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <font color="Maroon" title="c3">b</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a>  )</span><br/>



<span class="kw">assume </span><a NAME="E1:37"/><span class="lab"><font color="Green" title="E25">AS</font></span>: 
( <font color="Maroon" title="c2">a</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a>  &amp; <font color="Maroon" title="c3">b</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</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">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <font color="Maroon" title="c3">b</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</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> for <font color="Olive" title="b1">f</font> being   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</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">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="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">f</font> holds <br/> ex <font color="Olive" title="b3">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b3">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a>  ) holds <br/><font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</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">f</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> ;<br/>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="37_1"><span class="kw">now </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">  for <font color="Olive" title="b1">f</font> being   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</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">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; (  for <font color="Olive" title="b2">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">f</font> holds <br/> ex <font color="Olive" title="b3">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b3">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a>  ) holds <br/><font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</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">f</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> </span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c4">f</font> be   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</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="c4">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &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="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c4">f</font> holds <br/> ex <font color="Olive" title="b2">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a>  ) implies <font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c4">f</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a>  )</span><br/><span class="kw">assume </span><a NAME="E1:37_1"/>
(  <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>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &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="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c4">f</font> holds <br/> ex <font color="Olive" title="b2">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</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">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c4">f</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> </span><br/><a NAME="E2:37_1"/><span class="kw">then </span>
<font color="Maroon" title="c4">f</font> <a href="relset_1.html#R2" title="RELSET_1:pred.2">=</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>
 ;<br/><a NAME="E3:37_1"/><span class="kw">then </span>
 <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c4">f</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="ref" href="rlvect_1.html#T43" onmouseover="rs('rlvect_1/T43')" onmouseout="rh()">RLVECT_1:43</a></span>;<br/><span class="kw">hence </span><a NAME="E4:37_1"/>
<font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c4">f</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</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"> verum</span><br/></div><span class="kw">end;</span></div>
<a NAME="E3:37"/><span class="kw">then </span><span class="lab"><font color="Green" title="E26">A</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[ <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> ]
 
;<br/>
<div><span class="lab"><font color="Green" title="E27">B</font></span>: <a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="37_2"><span class="kw">now </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">  for <font color="Olive" title="b1">k</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">k</font>] holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]</span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c4">k</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">k</font>] implies <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1] )</span><br/><span class="kw">assume </span><a NAME="E1:37_2"/><span class="lab"><font color="Green" title="E28">IV</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">k</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">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]</span><br/><div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="37_2_1"><span class="kw">now </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">  for <font color="Olive" title="b1">f</font> being   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</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">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; (  for <font color="Olive" title="b2">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">f</font> holds <br/> ex <font color="Olive" title="b3">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b3">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a>  ) holds <br/><font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</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">f</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> </span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c5">f</font> be   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</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">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</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="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">f</font> holds <br/> ex <font color="Olive" title="b2">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a>  ) implies <font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</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">f</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a>  )</span><br/><span class="kw">assume </span><a NAME="E1:37_2_1"/><span class="lab"><font color="Green" title="E29">B0</font></span>: 
(  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c5">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</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="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">f</font> holds <br/> ex <font color="Olive" title="b2">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</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">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</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">f</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> </span><br/><a NAME="E2:37_2_1"/><span class="kw">then </span>
<font color="Maroon" title="c5">f</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a> 
 ;<br/><span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c6">g</font> being   <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</a>, <font color="Maroon" title="c7">x</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> <span class="kw"> such that </span><br/><a NAME="E4:37_2_1"/><span class="lab"><font color="Green" title="E30">B1</font></span>: 
<font color="Maroon" title="c5">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">g</font> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1"><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">&lt;*</a><span class="default"><font color="Maroon" title="c7">x</font></span><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">*&gt;</a></span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T46" onmouseover="rs('finseq_1/T46')" onmouseout="rh()">FINSEQ_1:46</a></span>;<br/><span class="kw">reconsider </span><font color="Maroon" title="c8">g</font> = <font color="Maroon" title="c6">g</font>, <font color="Maroon" title="c9">h</font> = <span class="p1"><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">&lt;*</a><span class="default"><font color="Maroon" title="c7">x</font></span><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">*&gt;</a></span> as   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <font color="Maroon" title="c1">R</font> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:37_2_1"><span class="lab"><font color="Green" title="E30">B1</font></span></a>, <a class="ref" href="finseq_1.html#T36" onmouseover="rs('finseq_1/T36')" onmouseout="rh()">FINSEQ_1:36</a></span>;<br/><a NAME="E6:37_2_1"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c9">h</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T39" onmouseover="rs('finseq_1/T39')" onmouseout="rh()">FINSEQ_1:39</a></span>;<br/><a NAME="E7:37_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E31">B2</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c5">f</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="c8">g</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:37_2_1"><span class="lab"><font color="Green" title="E30">B1</font></span></a>, <a class="ref" href="finseq_1.html#T22" onmouseover="rs('finseq_1/T22')" onmouseout="rh()">FINSEQ_1:22</a></span>;<br/><div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="37_2_1_1"><span class="kw">now </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">  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="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c8">g</font> holds <br/> ex <font color="Olive" title="b2">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a> </span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c10">i</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" title="c10">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c8">g</font> implies  ex <font color="Olive" title="b1">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a>  )</span><br/><span class="kw">assume </span><a NAME="E1:37_2_1_1"/><span class="lab"><font color="Green" title="E32">C1</font></span>: 
<font color="Maroon" title="c10">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c8">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">  ex <font color="Olive" title="b1">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a> </span><br/><a NAME="E2:37_2_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E33">C2</font></span>: 
<font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">i</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:37_2_1"><span class="lab"><font color="Green" title="E30">B1</font></span></a>, <a class="ref" href="finseq_1.html#D7" onmouseover="rs('finseq_1/D7')" onmouseout="rh()">FINSEQ_1:def 7</a></span>;<br/><a NAME="E3:37_2_1_1"/>
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c8">g</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="c5">f</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:37_2_1"><span class="lab"><font color="Green" title="E30">B1</font></span></a>, <a class="ref" href="finseq_1.html#T26" onmouseover="rs('finseq_1/T26')" onmouseout="rh()">FINSEQ_1:26</a></span>;<br/><span class="kw">hence </span><a NAME="E4:37_2_1_1"/>
 ex <font color="Olive" title="b1">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:37_2_1"><span class="lab"><font color="Green" title="E29">B0</font></span></a>, <a class="txt" href="#E2:37_2_1_1"><span class="lab"><font color="Green" title="E33">C2</font></span></a>, <a class="txt" href="#E1:37_2_1_1"><span class="lab"><font color="Green" title="E32">C1</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="E9:37_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E32">B3</font></span>: 
<font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c8">g</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:37_2"><span class="lab"><font color="Green" title="E28">IV</font></span></a>, <a class="txt" href="#E7:37_2_1"><span class="lab"><font color="Green" title="E31">B2</font></span></a>, <a class="txt" href="#E1:37_2_1"><span class="lab"><font color="Green" title="E29">B0</font></span></a></span>;<br/><a NAME="E10:37_2_1"/><span class="lab"><font color="Green" title="E33">C2</font></span>: 
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">f</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">k</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:37_2_1"><span class="lab"><font color="Green" title="E29">B0</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="E11:37_2_1"/><span class="lab"><font color="Green" title="E34">B4</font></span>: 
1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c4">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T11" onmouseover="rs('nat_1/T11')" onmouseout="rh()">NAT_1:11</a></span>;<br/><a NAME="E12:37_2_1"/><span class="lab"><font color="Green" title="E35">B5</font></span>: 
<font color="Maroon" title="c7">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">k</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:37_2_1"><span class="lab"><font color="Green" title="E29">B0</font></span></a>, <a class="txt" href="#E7:37_2_1"><span class="lab"><font color="Green" title="E31">B2</font></span></a>, <a class="txt" href="#E4:37_2_1"><span class="lab"><font color="Green" title="E30">B1</font></span></a>, <a class="ref" href="finseq_1.html#T42" onmouseover="rs('finseq_1/T42')" onmouseout="rh()">FINSEQ_1:42</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c10">x</font> = <font color="Maroon" title="c7">x</font> as   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E11:37_2_1"><span class="lab"><font color="Green" title="E34">B4</font></span></a>, <a class="txt" href="#E10:37_2_1"><span class="lab"><font color="Green" title="E33">C2</font></span></a>, <a class="ref" href="finseq_1.html#T1" onmouseover="rs('finseq_1/T1')" onmouseout="rh()">FINSEQ_1:1</a>, <a class="ref" href="finseq_2.html#T11" onmouseover="rs('finseq_2/T11')" onmouseout="rh()">FINSEQ_2:11</a></span>;<br/><span class="kw">consider </span><font color="Maroon" title="c11">z</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font><span class="kw"> such that </span><br/><a NAME="E15:37_2_1"/><span class="lab"><font color="Green" title="E36">B6</font></span>: 
<font color="Maroon" title="c10">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c11">z</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:37_2_1"><span class="lab"><font color="Green" title="E29">B0</font></span></a>, <a class="txt" href="#E11:37_2_1"><span class="lab"><font color="Green" title="E34">B4</font></span></a>, <a class="txt" href="#E12:37_2_1"><span class="lab"><font color="Green" title="E35">B5</font></span></a>, <a class="txt" href="#E10:37_2_1"><span class="lab"><font color="Green" title="E33">C2</font></span></a>, <a class="ref" href="finseq_1.html#T1" onmouseover="rs('finseq_1/T1')" onmouseout="rh()">FINSEQ_1:1</a></span>;<br/><a NAME="E16:37_2_1"/>
<font color="Maroon" title="c10">x</font> is  <a href="realalg1.html#NV8" title="REALALG1:NV.8">square</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E15:37_2_1"><span class="lab"><font color="Green" title="E36">B6</font></span></a></span>;<br/><a NAME="E17:37_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E37">B7</font></span>: 
<font color="Maroon" title="c10">x</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <font color="Maroon" title="c2">a</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="realalg1.html#E30"><span class="lab"><font color="Green" title="E22">S2</font></span></a>, <a class="txt" href="#E1:37"><span class="lab"><font color="Green" title="E25">AS</font></span></a></span>;<br/><span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <span class="p2">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c8">g</font></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="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <font color="Maroon" title="c10">x</font></span>)</span> = 
<font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</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> <font color="Maroon" title="c8">g</font></span>)</span> <a href="rlvect_1.html#K3" title="RLVECT_1:func.3">+</a> <font color="Maroon" title="c10">x</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="vectsp_1.html#D3" onmouseover="rs('vectsp_1/D3')" onmouseout="rh()">VECTSP_1:def 3</a></span>
<br/>.= 
<font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</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> <font color="Maroon" title="c8">g</font></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="c10">x</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="ref" href="rlvect_1.html#T44" onmouseover="rs('rlvect_1/T44')" onmouseout="rh()">RLVECT_1:44</a></span>
<br/>.= 
<font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</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">f</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:37_2_1"><span class="lab"><font color="Green" title="E30">B1</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="E19:37_2_1"/>
<font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</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">f</font></span>)</span> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E17:37_2_1"><span class="lab"><font color="Green" title="E37">B7</font></span></a>, <a class="txt" href="#E9:37_2_1"><span class="lab"><font color="Green" title="E32">B3</font></span></a>, <a class="txt" href="realalg1.html#E29"><span class="lab"><font color="Green" title="E21">S1</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><span class="kw">hence </span><a NAME="E3:37_2"/>
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">k</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="E5:37"/><span class="lab"><font color="Green" title="E28">I</font></span>: 
 for <font color="Olive" title="b1">k</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">k</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="#E3:37"><span class="lab"><font color="Green" title="E26">A</font></span></a>, <a class="txt" href="#E4:37"><span class="lab"><font color="Green" title="E27">B</font></span></a>);<br/></span>
<span class="kw">consider </span><font color="Maroon" title="c4">f</font> being   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <font color="Maroon" title="c1">R</font><span class="kw"> such that </span><br/><a NAME="E7:37"/><span class="lab"><font color="Green" title="E29">H</font></span>: 
(  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c4">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">b</font> &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="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c4">f</font> holds <br/> ex <font color="Olive" title="b2">x</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font> st <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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">x</font> <a href="o_ring_1.html#K1" title="O_RING_1:func.1">^2</a>  ) )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:37"><span class="lab"><font color="Green" title="E25">AS</font></span></a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c5">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E9:37"/><span class="lab"><font color="Green" title="E30">K</font></span>: 
 <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="c5">k</font>
 ;<br/>
<span class="kw">thus </span><a NAME="E10:37"/>
<font color="Maroon" title="c2">a</font> <a href="group_1.html#K8" title="GROUP_1:func.8">*</a> <font color="Maroon" title="c3">b</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:37"><span class="lab"><font color="Green" title="E28">I</font></span></a>, <a class="txt" href="#E7:37"><span class="lab"><font color="Green" title="E29">H</font></span></a>, <a class="txt" href="#E9:37"><span class="lab"><font color="Green" title="E30">K</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>
