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

<span class="kw">let </span><font color="Maroon" title="c1">a</font> be   non  <a href="ordinal1.html#V8" title="ORDINAL1:attr.8">zero</a>   <a href="pythtrip.html#V1" title="PYTHTRIP:attr.1">square</a>   <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">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">  for <font color="Olive" title="b1">p</font> being   <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Olive" title="b1">p</font> is  <a href="pythtrip.html#V1" title="PYTHTRIP:attr.1">square</a>  holds <br/><font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">a</font></span>)</span></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span><br/><span class="kw">let </span><font color="Maroon" title="c2">p</font> be   <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  <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="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">p</font> is  <a href="pythtrip.html#V1" title="PYTHTRIP:attr.1">square</a>  implies <font color="Maroon" title="c2">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">a</font></span>)</span></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 )</span><br/>



<span class="kw">assume </span><a NAME="E1:112"/>
<font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">p</font> is  <a href="pythtrip.html#V1" title="PYTHTRIP:attr.1">square</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">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">a</font></span>)</span></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span><br/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c3">m</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E3:112"/><span class="lab"><font color="Green" title="E29">B2</font></span>: 
<font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">m</font> <a href="newton03.html#K1" title="NEWTON03:func.1">^2</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="pythtrip.html#D3" onmouseover="rs('pythtrip/D3')" onmouseout="rh()">PYTHTRIP:def 3</a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c4">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E5:112"/><span class="lab"><font color="Green" title="E30">B3</font></span>: 
<font color="Maroon" title="c1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">n</font> <a href="newton03.html#K1" title="NEWTON03:func.1">^2</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="pythtrip.html#D3" onmouseover="rs('pythtrip/D3')" onmouseout="rh()">PYTHTRIP:def 3</a></span>;<br/>
<span class="lab"><font color="Green" title="E31">B4</font></span>: <font color="Maroon" title="c2">p</font> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="newton03.html#K1" title="NEWTON03:func.1">^2</a></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="newton03.html#K1" title="NEWTON03:func.1">^2</a></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:112"><span class="lab"><font color="Green" title="E29">B2</font></span></a>, <a class="txt" href="#E5:112"><span class="lab"><font color="Green" title="E30">B3</font></span></a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">n</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c4">n</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="newton01.html#T1" onmouseover="rs('newton01/T1')" onmouseout="rh()">NEWTON01:1</a></span>
;<br/>
<a NAME="E7:112"/>
<font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="ordinal1.html#K5" title="ORDINAL1:func.5">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:112"><span class="lab"><font color="Green" title="E31">B4</font></span></a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c5">l</font> = <font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">n</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a></span>;<br/>
<a NAME="E9:112"/>
( <font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">n</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">p</font> &amp; <font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c4">n</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c2">p</font> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:112"><span class="lab"><font color="Green" title="E31">B4</font></span></a></span>;<br/>
<a NAME="E10:112"/><span class="kw">then </span><span class="lab"><font color="Green" title="E32">B5</font></span>: 
( ( <font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c4">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">p</font> or <font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c4">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 ) &amp; ( <font color="Maroon" title="c5">l</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">p</font> or <font color="Maroon" title="c5">l</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 ) )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#D4" onmouseover="rs('int_2/D4')" onmouseout="rh()">INT_2:def 4</a></span>;<br/>
<a NAME="E11:112"/>
( <font color="Maroon" title="c4">n</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c4">n</font> &amp;  not <font color="Maroon" title="c2">p</font> is  <a href="zfmisc_1.html#V1" title="ZFMISC_1:attr.1">trivial</a>  )
 
;<br/>
<a NAME="E12:112"/><span class="kw">then </span>
( <font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">m</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c4">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">m</font> &amp; <font color="Maroon" title="c2">p</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T6" onmouseover="rs('xreal_1/T6')" onmouseout="rh()">XREAL_1:6</a></span>;<br/>
<a NAME="E13:112"/><span class="kw">then </span>
<font color="Maroon" title="c2">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">n</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="#E6:112"><span class="lab"><font color="Green" title="E31">B4</font></span></a>, <a class="txt" href="#E10:112"><span class="lab"><font color="Green" title="E32">B5</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E14:112"/>
<font color="Maroon" title="c2">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default">2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">a</font></span>)</span></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="#E5:112"><span class="lab"><font color="Green" title="E30">B3</font></span></a>, <a class="ref" href="square_1.html#D2" onmouseover="rs('square_1/D2')" onmouseout="rh()">SQUARE_1:def 2</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>
