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

<span class="kw">let </span><font color="Maroon" title="c2">S</font> be   <a href="struct_0.html#NM2" title="STRUCT_0:NM.2">Subset</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">S</font> is  <a href="realalg1.html#V9" title="REALALG1:attr.9">with_squares</a>  &amp; <font color="Maroon" title="c2">S</font> is  <a href="ideal_1.html#V1" title="IDEAL_1:attr.1">add-closed</a>  implies <font color="Maroon" title="c2">S</font> is  <a href="realalg1.html#V10" title="REALALG1:attr.10">with_sums_of_squares</a>  )</span><br/>

<span class="kw">assume </span><a NAME="E1:47_2_1"/><span class="lab"><font color="Green" title="E27">AS</font></span>: 
( <font color="Maroon" title="c2">S</font> is  <a href="realalg1.html#V9" title="REALALG1:attr.9">with_squares</a>  &amp; <font color="Maroon" title="c2">S</font> is  <a href="ideal_1.html#V1" title="IDEAL_1:attr.1">add-closed</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">S</font> is  <a href="realalg1.html#V10" title="REALALG1:attr.10">with_sums_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> <font color="Maroon" title="c1">R</font> &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/> <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Olive" title="b1">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font>;<br/>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="47_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">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/> <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Olive" title="b1">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font></span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c3">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="c3">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="c3">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="c3">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  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c3">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font> )</span><br/><span class="kw">assume </span><a NAME="E1:47_2_1_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#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="c3">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="c3">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">  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c3">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font></span><br/><a NAME="E2:47_2_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c3">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:47_2_1_1"/><span class="kw">then </span>
 <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c3">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/><a NAME="E4:47_2_1_1"/><span class="kw">then </span>
 <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c3">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="realalg1.html#NK4" title="REALALG1:NK.4">SQ</a> <font color="Maroon" title="c1">R</font>
 ;<br/><span class="kw">hence </span><a NAME="E5:47_2_1_1"/>
 <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c3">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:47_2_1"><span class="lab"><font color="Green" title="E27">AS</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="E3:47_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E28">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="E29">B</font></span>: <a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="47_2_1_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="c3">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="c3">k</font>] implies <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">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:47_2_1_2"/><span class="lab"><font color="Green" title="E30">IV</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">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="c3">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="47_2_1_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="c3">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/> <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Olive" title="b1">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font></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> <font color="Maroon" title="c3">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="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  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c4">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font> )</span><br/><span class="kw">assume </span><a NAME="E1:47_2_1_2_1"/><span class="lab"><font color="Green" title="E31">B0</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="c3">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="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">  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c4">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font></span><br/><a NAME="E2:47_2_1_2_1"/><span class="kw">then </span>
<font color="Maroon" title="c4">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="c5">g</font> being   <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</a>, <font color="Maroon" title="c6">x</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> <span class="kw"> such that </span><br/><a NAME="E4:47_2_1_2_1"/><span class="lab"><font color="Green" title="E32">B1</font></span>: 
<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#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="c6">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="c7">g</font> = <font color="Maroon" title="c5">g</font>, <font color="Maroon" title="c8">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="c6">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:47_2_1_2_1"><span class="lab"><font color="Green" title="E32">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:47_2_1_2_1"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c8">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:47_2_1_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E33">B2</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> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">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:47_2_1_2_1"><span class="lab"><font color="Green" title="E32">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="47_2_1_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="c7">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="c7">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="c9">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="c9">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="c7">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="c7">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">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:47_2_1_2_1_1"/><span class="lab"><font color="Green" title="E34">C1</font></span>: 
<font color="Maroon" title="c9">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="c7">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="c7">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">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:47_2_1_2_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E35">C2</font></span>: 
<font color="Maroon" title="c7">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">i</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:47_2_1_2_1"><span class="lab"><font color="Green" title="E32">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:47_2_1_2_1_1"/>
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c7">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="c4">f</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:47_2_1_2_1"><span class="lab"><font color="Green" title="E32">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:47_2_1_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="c7">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">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:47_2_1_2_1"><span class="lab"><font color="Green" title="E31">B0</font></span></a>, <a class="txt" href="#E2:47_2_1_2_1_1"><span class="lab"><font color="Green" title="E35">C2</font></span></a>, <a class="txt" href="#E1:47_2_1_2_1_1"><span class="lab"><font color="Green" title="E34">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:47_2_1_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E34">B3</font></span>: 
 <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c7">g</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:47_2_1_2"><span class="lab"><font color="Green" title="E30">IV</font></span></a>, <a class="txt" href="#E7:47_2_1_2_1"><span class="lab"><font color="Green" title="E33">B2</font></span></a>, <a class="txt" href="#E1:47_2_1_2_1"><span class="lab"><font color="Green" title="E31">B0</font></span></a></span>;<br/><a NAME="E10:47_2_1_2_1"/><span class="lab"><font color="Green" title="E35">C2</font></span>: 
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c4">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="c3">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:47_2_1_2_1"><span class="lab"><font color="Green" title="E31">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:47_2_1_2_1"/><span class="lab"><font color="Green" title="E36">B4</font></span>: 
1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c3">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:47_2_1_2_1"/><span class="lab"><font color="Green" title="E37">B5</font></span>: 
<font color="Maroon" title="c6">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <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"><font color="Maroon" title="c3">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:47_2_1_2_1"><span class="lab"><font color="Green" title="E31">B0</font></span></a>, <a class="txt" href="#E7:47_2_1_2_1"><span class="lab"><font color="Green" title="E33">B2</font></span></a>, <a class="txt" href="#E4:47_2_1_2_1"><span class="lab"><font color="Green" title="E32">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="c9">x</font> = <font color="Maroon" title="c6">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:47_2_1_2_1"><span class="lab"><font color="Green" title="E36">B4</font></span></a>, <a class="txt" href="#E10:47_2_1_2_1"><span class="lab"><font color="Green" title="E35">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="c10">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:47_2_1_2_1"/><span class="lab"><font color="Green" title="E38">B6</font></span>: 
<font color="Maroon" title="c9">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c10">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:47_2_1_2_1"><span class="lab"><font color="Green" title="E31">B0</font></span></a>, <a class="txt" href="#E11:47_2_1_2_1"><span class="lab"><font color="Green" title="E36">B4</font></span></a>, <a class="txt" href="#E12:47_2_1_2_1"><span class="lab"><font color="Green" title="E37">B5</font></span></a>, <a class="txt" href="#E10:47_2_1_2_1"><span class="lab"><font color="Green" title="E35">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:47_2_1_2_1"/>
<font color="Maroon" title="c9">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:47_2_1_2_1"><span class="lab"><font color="Green" title="E38">B6</font></span></a></span>;<br/><a NAME="E17:47_2_1_2_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E39">B7</font></span>: 
<font color="Maroon" title="c9">x</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="realalg1.html#NK4" title="REALALG1:NK.4">SQ</a> <font color="Maroon" title="c1">R</font>
 ;<br/><span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c7">g</font></span>)</span> <a href="rlvect_1.html#K3" title="RLVECT_1:func.3">+</a> <font color="Maroon" title="c9">x</font> = 
<span class="p1">(<span class="default"><a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c7">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#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"><font color="Maroon" title="c9">x</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="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> <font color="Maroon" title="c4">f</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:47_2_1_2_1"><span class="lab"><font color="Green" title="E32">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:47_2_1_2_1"/>
 <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c4">f</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">S</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E17:47_2_1_2_1"><span class="lab"><font color="Green" title="E39">B7</font></span></a>, <a class="txt" href="#E9:47_2_1_2_1"><span class="lab"><font color="Green" title="E34">B3</font></span></a>, <a class="txt" href="#E1:47_2_1"><span class="lab"><font color="Green" title="E27">AS</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:47_2_1_2"/>
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">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:47_2_1"/><span class="lab"><font color="Green" title="E30">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:47_2_1"><span class="lab"><font color="Green" title="E28">A</font></span></a>, <a class="txt" href="#E4:47_2_1"><span class="lab"><font color="Green" title="E29">B</font></span></a>);<br/></span>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="47_2_1_3"><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">o</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a>   st <font color="Olive" title="b1">o</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="realalg1.html#NK5" title="REALALG1:NK.5">QS</a> <font color="Maroon" title="c1">R</font> holds <br/><font color="Olive" title="b1">o</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">S</font></span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c3">o</font> be    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</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="c3">o</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="realalg1.html#NK5" title="REALALG1:NK.5">QS</a> <font color="Maroon" title="c1">R</font> implies <font color="Maroon" title="c3">o</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">S</font> )</span><br/><span class="kw">assume </span><a NAME="E1:47_2_1_3"/>
<font color="Maroon" title="c3">o</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="realalg1.html#NK5" title="REALALG1:NK.5">QS</a> <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="c3">o</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">S</font></span><br/><span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c4">a</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="E3:47_2_1_3"/><span class="lab"><font color="Green" title="E31">A</font></span>: 
( <font color="Maroon" title="c3">o</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">a</font> &amp; <font color="Maroon" title="c4">a</font> is  <a href="realalg1.html#V8" title="REALALG1:attr.8">sum_of_squares</a>  )
 ;<br/><span class="kw">consider </span><font color="Maroon" title="c5">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="E5:47_2_1_3"/><span class="lab"><font color="Green" title="E32">B</font></span>: 
(  <a href="rlvect_1.html#K4" title="RLVECT_1:func.4">Sum</a> <font color="Maroon" title="c5">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">o</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="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>  ) )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:47_2_1_3"><span class="lab"><font color="Green" title="E31">A</font></span></a></span>;<br/><span class="kw">consider </span><font color="Maroon" title="c6">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E7:47_2_1_3"/><span class="lab"><font color="Green" title="E33">H</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="c6">n</font>
 ;<br/><span class="kw">thus </span><a NAME="E8:47_2_1_3"/>
<font color="Maroon" title="c3">o</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">S</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:47_2_1_3"><span class="lab"><font color="Green" title="E33">H</font></span></a>, <a class="txt" href="#E5:47_2_1_3"><span class="lab"><font color="Green" title="E32">B</font></span></a>, <a class="txt" href="#E5:47_2_1"><span class="lab"><font color="Green" title="E30">I</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="E7:47_2_1"/>
<font color="Maroon" title="c2">S</font> is  <a href="realalg1.html#V10" title="REALALG1:attr.10">with_sums_of_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="tarski.html#D3" onmouseover="rs('tarski/D3')" onmouseout="rh()">TARSKI:def 3</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>
