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

<span class="kw">let </span><font color="Maroon" title="c1">n</font> be   <a href="pythtrip.html#V1" title="PYTHTRIP:attr.1">square</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">  for <font color="Olive" title="b1">p</font> being   <a href="pells_eq.html#V1" title="PELLS_EQ:attr.1">positive</a>   <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><a href="numbers.html#K4" title="NUMBERS:func.4">INT</a>,<a href="numbers.html#K4" title="NUMBERS:func.4">INT</a></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>  st <font color="Maroon" title="c1">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  holds <br/> not <font color="Olive" title="b1">p</font> is    <a href="pells_eq.html#M1" title="PELLS_EQ:mode.1">Pell's_solution</a> of <font color="Maroon" title="c1">n</font></span><br/>

<span class="kw">consider </span><font color="Maroon" title="c2">m</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E2:23"/><span class="lab"><font color="Green" title="E21">A1</font></span>: 
<font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">m</font> <a href="square_1.html#K1" title="SQUARE_1: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">let </span><font color="Maroon" title="c3">p</font> be   <a href="pells_eq.html#V1" title="PELLS_EQ:attr.1">positive</a>   <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><a href="numbers.html#K4" title="NUMBERS:func.4">INT</a>,<a href="numbers.html#K4" title="NUMBERS:func.4">INT</a></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.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"> ( <font color="Maroon" title="c1">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies  not <font color="Maroon" title="c3">p</font> is    <a href="pells_eq.html#M1" title="PELLS_EQ:mode.1">Pell's_solution</a> of <font color="Maroon" title="c1">n</font> )</span><br/>

<span class="kw">set </span><font color="Maroon" title="c4">p1</font> = <font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a> ;<br/>
<span class="kw">set </span><font color="Maroon" title="c5">p2</font> = <font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a> ;<br/>
<span class="kw">assume </span><a NAME="E3:23"/><span class="lab"><font color="Green" title="E22">A2</font></span>: 
( <font color="Maroon" title="c1">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c3">p</font> is    <a href="pells_eq.html#M1" title="PELLS_EQ:mode.1">Pell's_solution</a> of <font color="Maroon" title="c1">n</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"> contradiction</span><br/>

<a NAME="E4:23"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a></span>)</span> <a href="square_1.html#K1" title="SQUARE_1: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="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <a href="square_1.html#K1" title="SQUARE_1:func.1">^2</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="pells_eq.html#D1" target="_self" onmouseover="rs('pells_eq/D1')" onmouseout="rh()">Def1</a></span>;<br/>
<a NAME="E5:23"/><span class="kw">then </span><span class="lab"><font color="Green" title="E23">A3</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:23"><span class="lab"><font color="Green" title="E21">A1</font></span></a></span>;<br/>
<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="23_1"><span class="kw">per </span></a><a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="kw">cases </span></a><span class="hide"><a NAME="E1:23_1"/>
( ( <span class="p1">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</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="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 ) or ( <span class="p1">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</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="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 ) )
 </span><span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:23"><span class="lab"><font color="Green" title="E23">A3</font></span></a>, <a class="ref" href="int_1.html#T9" onmouseover="rs('int_1/T9')" onmouseout="rh()">INT_1:9</a></span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="23_1_1"><span class="kw">suppose </span></a><a NAME="E1:23_1_1"/><span class="lab"><font color="Green" title="E24">A4</font></span>: 
( <span class="p1">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</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="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.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"> contradiction</span><br/><div class="add"><a NAME="E2:23_1_1"/>
<font color="Maroon" title="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 1 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">m</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T14" onmouseover="rs('nat_1/T14')" onmouseout="rh()">NAT_1:14</a>, <a class="ref" href="xreal_1.html#T64" onmouseover="rs('xreal_1/T64')" onmouseout="rh()">XREAL_1:64</a></span>;<br/><span class="kw">hence </span><a NAME="E3:23_1_1"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:23_1_1"><span class="lab"><font color="Green" title="E24">A4</font></span></a>, <a class="txt" href="#E2:23"><span class="lab"><font color="Green" title="E21">A1</font></span></a>, <a class="txt" href="#E3:23"><span class="lab"><font color="Green" title="E22">A2</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><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="23_1_2"><span class="kw">suppose </span></a><a NAME="E1:23_1_2"/>
( <span class="p1">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</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="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</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"> contradiction</span><br/><div class="add"><span class="kw">hence </span><a NAME="E2:23_1_2"/>
contradiction
 ; <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></div><span class="kw">end;</span></div>

</div>
