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

<span class="kw">let </span><font color="Maroon" title="c1">i</font> be   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> for <font color="Olive" title="b1">R</font> being non  <a href="struct_0.html#V2" title="STRUCT_0:attr.2">empty</a>   <a href="algstr_0.html#L6" title="ALGSTR_0:struct.6">doubleLoopStr</a> <br/> for <font color="Olive" title="b2">f</font> being  <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <font color="Olive" title="b1">R</font>  st <font color="Olive" title="b2">f</font> is  <a href="o_ring_1.html#V6" title="O_RING_1:attr.6">being_a_Sum_of_products_of_squares</a>  &amp;  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c1">i</font> &amp; <font color="Maroon" title="c1">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b2">f</font> holds <br/><font color="Olive" title="b2">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c1">i</font> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> </span><br/><span class="kw">let </span><font color="Maroon" title="c2">R</font> be  non  <a href="struct_0.html#V2" title="STRUCT_0:attr.2">empty</a>   <a href="algstr_0.html#L6" title="ALGSTR_0:struct.6">doubleLoopStr</a> ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  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="c2">R</font>  st <font color="Olive" title="b1">f</font> is  <a href="o_ring_1.html#V6" title="O_RING_1:attr.6">being_a_Sum_of_products_of_squares</a>  &amp;  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c1">i</font> &amp; <font color="Maroon" title="c1">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">f</font> holds <br/><font color="Olive" title="b1">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c1">i</font> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> </span><br/><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="c2">R</font>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c3">f</font> is  <a href="o_ring_1.html#V6" title="O_RING_1:attr.6">being_a_Sum_of_products_of_squares</a>  &amp;  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c1">i</font> &amp; <font color="Maroon" title="c1">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">f</font> implies <font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c1">i</font> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a>  )</span><br/>





<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:68"/><span class="lab"><font color="Green" title="E67">A1</font></span>: 
<font color="Maroon" title="c3">f</font> is  <a href="o_ring_1.html#V6" title="O_RING_1:attr.6">being_a_Sum_of_products_of_squares</a> 
 <span class="kw">and </span><br/><a NAME="E2:68"/><span class="lab"><font color="Green" title="E68">A2</font></span>: 
(  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c1">i</font> &amp; <font color="Maroon" title="c1">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">f</font> )
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> <font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c1">i</font> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> </span><br/>

<span class="kw">defpred </span><font color="Maroon">S<sub>1</sub></font>[  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>] <span class="kw">means </span>(  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> $1 &amp; $1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">f</font> implies <font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> $1 is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a>  );<br/>
<a NAME="E3:68"/><span class="lab"><font color="Green" title="E69">A3</font></span>: 
for <font color="Olive" title="b1">i</font> being  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>  st <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">i</font>] holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="68_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c4">i</font> be   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">i</font>] implies <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1] )</span><br/>

<span class="kw">assume </span><a NAME="E1:68_1"/><span class="lab"><font color="Green" title="E70">A4</font></span>: 
(  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c4">i</font> &amp; <font color="Maroon" title="c4">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">f</font> implies <font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">i</font> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a>  )
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1]</span><br/>

<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E2:68_1"/>
 <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">and </span><br/><a NAME="E3:68_1"/><span class="lab"><font color="Green" title="E71">A5</font></span>: 
<font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">f</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> <font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> </span><br/>

<a NAME="E4:68_1"/><span class="lab"><font color="Green" title="E72">A6</font></span>: 
<font color="Maroon" title="c4">i</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">f</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:68_1"><span class="lab"><font color="Green" title="E71">A5</font></span></a>, <a class="ref" href="nat_1.html#T13" title="NAT_1:th.13">NAT_1:13</a></span>;<br/>
<div><span class="lab"><font color="Green" title="E73">A7</font></span>: <a class="txt" onclick="hs2(this)" href="javascript:()" title="68_1_1"><span class="kw">now </span></a><div class="add"><span class="kw">assume </span><a NAME="E1:68_1_1"/><span class="lab"><font color="Green" title="E74">A8</font></span>: 
<font color="Maroon" title="c4">i</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> <font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> </span><br/><a NAME="E2:68_1_1"/><span class="kw">then </span>
 ex <font color="Olive" title="b1">y</font> being  <a href="vectsp_1.html#NM4" title="VECTSP_1:NM.4">Scalar</a> of <font color="Maroon" title="c2">R</font> st <br/>( <font color="Olive" title="b1">y</font> is  <a href="o_ring_1.html#V5" title="O_RING_1:attr.5">being_a_product_of_squares</a>  &amp; <font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">i</font></span>)</span> <a href="algstr_0.html#K1" title="ALGSTR_0:func.1">+</a> <font color="Olive" title="b1">y</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:68"><span class="lab"><font color="Green" title="E67">A1</font></span></a>, <a class="txt" href="#E4:68_1"><span class="lab"><font color="Green" title="E72">A6</font></span></a>, <a class="ref" href="o_ring_1.html#D8" target="_self" title="O_RING_1:def.8">Def8</a></span>;<br/><span class="kw">hence </span><a NAME="E3:68_1_1"/>
<font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:68_1"><span class="lab"><font color="Green" title="E70">A4</font></span></a>, <a class="txt" href="#E3:68_1"><span class="lab"><font color="Green" title="E71">A5</font></span></a>, <a class="txt" href="#E1:68_1_1"><span class="lab"><font color="Green" title="E74">A8</font></span></a>, <a class="txt" href="o_ring_1.html#E68"><span class="lab"><font color="Green" title="E65">Lm52</font></span></a>, <a class="ref" href="nat_1.html#T13" title="NAT_1:th.13">NAT_1:13</a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> verum</span><br/></div><span class="kw">end;</span></div>
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="68_1_2"><span class="kw">now </span></a><div class="add"><span class="kw">assume </span><a NAME="E1:68_1_2"/>
<font color="Maroon" title="c4">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> <font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> </span><br/><a NAME="E2:68_1_2"/><span class="kw">then </span>
<font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> is  <a href="o_ring_1.html#V5" title="O_RING_1:attr.5">being_a_product_of_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:68"><span class="lab"><font color="Green" title="E67">A1</font></span></a>, <a class="ref" href="o_ring_1.html#D8" target="_self" title="O_RING_1:def.8">Def8</a></span>;<br/><span class="kw">hence </span><a NAME="E3:68_1_2"/>
<font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="o_ring_1.html#E65"><span class="lab"><font color="Green" title="E62">Lm49</font></span></a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  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:68_1"/>
<font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:68_1"><span class="lab"><font color="Green" title="E73">A7</font></span></a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div><span class="kw">end;</span></div>
<a NAME="E4:68"/><span class="lab"><font color="Green" title="E70">A9</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[ <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> ]
 
;<br/>
<a NAME="E5:68"/>
for <font color="Olive" title="b1">i</font> being  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a> holds  <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">i</font>]
 
<span class="kw">from</span> <span class="lab"><a class="ref" href="nat_1.html#S2" title="NAT_1:sch.2">NAT_1:sch 2</a>(<a class="txt" href="#E4:68"><span class="lab"><font color="Green" title="E70">A9</font></span></a>, <a class="txt" href="#E3:68"><span class="lab"><font color="Green" title="E69">A3</font></span></a>);<br/></span>
<span class="kw">hence </span><a NAME="E6:68"/>
<font color="Maroon" title="c3">f</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c1">i</font> is  <a href="o_ring_1.html#V13" title="O_RING_1:attr.13">generated_from_squares</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:68"><span class="lab"><font color="Green" title="E68">A2</font></span></a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
