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

<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> ex <font color="Olive" title="b1">p</font> being   <a href="pells_eq.html#V1" title="PELLS_EQ:attr.1">positive</a>   <a href="pells_eq.html#M1" title="PELLS_EQ:mode.1">Pell's_solution</a> of <font color="Maroon" title="c1">D</font> st <font color="Olive" title="b1">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> $1;<br/>
<span class="kw">set </span><font color="Maroon" title="c2">p</font> =  the   <a href="pells_eq.html#V1" title="PELLS_EQ:attr.1">positive</a>   <a href="pells_eq.html#M1" title="PELLS_EQ:mode.1">Pell's_solution</a> of <font color="Maroon" title="c1">D</font>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c3">p1</font> =  the   <a href="pells_eq.html#V1" title="PELLS_EQ:attr.1">positive</a>   <a href="pells_eq.html#M1" title="PELLS_EQ:mode.1">Pell's_solution</a> of <font color="Maroon" title="c1">D</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  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="E2:30_1_1"/>
<font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">p1</font>]
 
;<br/>
<a NAME="E3:30_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E25">A1</font></span>: 
 ex <font color="Olive" title="b1">n</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">n</font>]
 
;<br/>
<span class="kw">consider </span><font color="Maroon" title="c4">m</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E5:30_1_1"/><span class="lab"><font color="Green" title="E26">A2</font></span>: 
( <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c4">m</font>] &amp; (  for <font color="Olive" title="b1">n</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">n</font>] holds <br/><font color="Maroon" title="c4">m</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b1">n</font> ) )
 <span class="kw">from</span> <span class="lab"><a class="ref" href="nat_1.html#S5" onmouseover="rs('nat_1/S5')" onmouseout="rh()">NAT_1:sch 5</a>(<a class="txt" href="#E3:30_1_1"><span class="lab"><font color="Green" title="E25">A1</font></span></a>);<br/></span>
<span class="kw">consider </span><font color="Maroon" title="c5">p</font> being   <a href="pells_eq.html#V1" title="PELLS_EQ:attr.1">positive</a>   <a href="pells_eq.html#M1" title="PELLS_EQ:mode.1">Pell's_solution</a> of <font color="Maroon" title="c1">D</font><span class="kw"> such that </span><br/><a NAME="E7:30_1_1"/><span class="lab"><font color="Green" title="E27">A3</font></span>: 
<font color="Maroon" title="c5">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">m</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:30_1_1"><span class="lab"><font color="Green" title="E26">A2</font></span></a></span>;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c5">p</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">  for <font color="Olive" title="b1">p</font> being   <a href="pells_eq.html#V1" title="PELLS_EQ:attr.1">positive</a>   <a href="pells_eq.html#M1" title="PELLS_EQ:mode.1">Pell's_solution</a> of <font color="Maroon" title="c1">D</font> holds <br/> ( <font color="Maroon" title="c5">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b1">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  &amp; <font color="Maroon" title="c5">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a>  <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b1">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a>  )</span><br/>

<span class="kw">let </span><font color="Maroon" title="c6">q</font> be   <a href="pells_eq.html#V1" title="PELLS_EQ:attr.1">positive</a>   <a href="pells_eq.html#M1" title="PELLS_EQ:mode.1">Pell's_solution</a> of <font color="Maroon" title="c1">D</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="c5">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c6">q</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  &amp; <font color="Maroon" title="c5">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a>  <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c6">q</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a>  )</span><br/>

<span class="kw">set </span><font color="Maroon" title="c7">pp</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c5">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"><span class="p2">(<span class="default"><font color="Maroon" title="c5">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span>;<br/>
<span class="kw">set </span><font color="Maroon" title="c8">qq</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c6">q</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"><span class="p2">(<span class="default"><font color="Maroon" title="c6">q</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span>;<br/>
<a NAME="E8:30_1_1"/><span class="lab"><font color="Green" title="E28">A4</font></span>: 
( <span class="p1">(<span class="default"><font color="Maroon" title="c5">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"><span class="p2">(<span class="default"><font color="Maroon" title="c5">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c6">q</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"><span class="p2">(<span class="default"><font color="Maroon" title="c6">q</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 &amp; <font color="Maroon" title="c6">q</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="pells_eq.html#T18" target="_self" onmouseover="rs('pells_eq/T18')" onmouseout="rh()">Th18</a>, <a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a></span>;<br/>
<a NAME="E9:30_1_1"/>
( <span class="p1">(<span class="default"><font color="Maroon" title="c5">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"><span class="p2">(<span class="default"><font color="Maroon" title="c5">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">q</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"><span class="p2">(<span class="default"><font color="Maroon" title="c6">q</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span> or <span class="p1">(<span class="default"><font color="Maroon" title="c5">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"><span class="p2">(<span class="default"><font color="Maroon" title="c5">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">q</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"><span class="p2">(<span class="default"><font color="Maroon" title="c6">q</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span> or <span class="p1">(<span class="default"><font color="Maroon" title="c5">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"><span class="p2">(<span class="default"><font color="Maroon" title="c5">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">q</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"><span class="p2">(<span class="default"><font color="Maroon" title="c6">q</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a></span>)</span> <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">D</font></span>)</span></span>)</span> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xxreal_0.html#T1" onmouseover="rs('xxreal_0/T1')" onmouseout="rh()">XXREAL_0:1</a></span>;<br/>
<span class="kw">hence </span><a NAME="E10:30_1_1"/>
( <font color="Maroon" title="c5">p</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c6">q</font> <a href="domain_1.html#K2" title="DOMAIN_1:func.2">`1</a>  &amp; <font color="Maroon" title="c5">p</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a>  <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c6">q</font> <a href="domain_1.html#K3" title="DOMAIN_1:func.3">`2</a>  )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:30_1_1"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="txt" href="#E7:30_1_1"><span class="lab"><font color="Green" title="E27">A3</font></span></a>, <a class="txt" href="#E8:30_1_1"><span class="lab"><font color="Green" title="E28">A4</font></span></a>, <a class="ref" href="pells_eq.html#T19" target="_self" onmouseover="rs('pells_eq/T19')" onmouseout="rh()">Th19</a>, <a class="ref" href="pells_eq.html#T3" target="_self" onmouseover="rs('pells_eq/T3')" onmouseout="rh()">Th3</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>
