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

<span class="kw">let </span><font color="Maroon" title="c1">p</font> be    <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">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" title="c1">p</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  implies  <a href="square_1.html#K7" title="SQUARE_1:func.7">sqrt</a> <font color="Maroon" title="c1">p</font> is  <a href="irrat_1.html#NV1" title="IRRAT_1:NV.1">irrational</a>  )</span><br/>

<span class="kw">assume </span><a NAME="E1:3"/><span class="lab"><font color="Green" title="E2">A1</font></span>: 
<font color="Maroon" title="c1">p</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a> 
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide">  <a href="square_1.html#K7" title="SQUARE_1:func.7">sqrt</a> <font color="Maroon" title="c1">p</font> is  <a href="irrat_1.html#NV1" title="IRRAT_1:NV.1">irrational</a> </span><br/>

<a NAME="E2:3"/><span class="kw">then </span><span class="lab"><font color="Green" title="E3">A2</font></span>: 
<font color="Maroon" title="c1">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="int_2.html#D5" title="INT_2:def.5">INT_2:def 5</a></span>;<br/>
<span class="kw">assume </span><a NAME="E3:3"/>
not  <a href="square_1.html#K7" title="SQUARE_1:func.7">sqrt</a> <font color="Maroon" title="c1">p</font> is  <a href="irrat_1.html#NV1" title="IRRAT_1:NV.1">irrational</a> 
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> contradiction</span><br/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c2">i</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>, <font color="Maroon" title="c3">n</font> being    <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a> <span class="kw"> such that </span><br/><a NAME="E5:3"/><span class="lab"><font color="Green" title="E4">A3</font></span>: 
<font color="Maroon" title="c3">n</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <span class="kw">and </span><br/><a NAME="E6:3"/><span class="lab"><font color="Green" title="E5">A4</font></span>: 
 <a href="square_1.html#K7" title="SQUARE_1:func.7">sqrt</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">i</font> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c3">n</font>
 <span class="kw">and </span><br/><a NAME="E7:3"/><span class="lab"><font color="Green" title="E6">A5</font></span>: 
for <font color="Olive" title="b1">i1</font> being  <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><br/> for <font color="Olive" title="b2">n1</font> being   <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a>   st <font color="Olive" title="b2">n1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp;  <a href="square_1.html#K7" title="SQUARE_1:func.7">sqrt</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">i1</font> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Olive" title="b2">n1</font> holds <br/><font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b2">n1</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="rat_1.html#T25" title="RAT_1:th.25">RAT_1:25</a></span>;<br/>
<a NAME="E8:3"/><span class="lab"><font color="Green" title="E7">A6</font></span>: 
<font color="Maroon" title="c2">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="square_1.html#K7" title="SQUARE_1:func.7">sqrt</a> <font color="Maroon" title="c1">p</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:3"><span class="lab"><font color="Green" title="E4">A3</font></span></a>, <a class="txt" href="#E6:3"><span class="lab"><font color="Green" title="E5">A4</font></span></a>, <a class="ref" href="xcmplx_1.html#T88" title="XCMPLX_1:th.88">XCMPLX_1:88</a></span>;<br/>
<a NAME="E9:3"/>
 <a href="square_1.html#K7" title="SQUARE_1:func.7">sqrt</a> <font color="Maroon" title="c1">p</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="square_1.html#D4" title="SQUARE_1:def.4">SQUARE_1:def 4</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c4">m</font> = <font color="Maroon" title="c2">i</font> as    <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:3"><span class="lab"><font color="Green" title="E7">A6</font></span></a>, <a class="ref" href="int_1.html#T16" title="INT_1:th.16">INT_1:16</a></span>;<br/>
<span class="lab"><font color="Green" title="E8">A7</font></span>: <font color="Maroon" title="c4">m</font> <a href="pepin.html#K2" title="PEPIN:func.2">^2</a>  = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="square_1.html#K7" title="SQUARE_1:func.7">sqrt</a> <font color="Maroon" title="c1">p</font></span>)</span> <a href="square_1.html#K5" title="SQUARE_1:func.5">^2</a> </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">n</font> <a href="pepin.html#K2" title="PEPIN:func.2">^2</a> </span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:3"><span class="lab"><font color="Green" title="E7">A6</font></span></a></span>
<br/>.= 
<font color="Maroon" title="c1">p</font> <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">n</font> <a href="pepin.html#K2" title="PEPIN:func.2">^2</a> </span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="square_1.html#D4" title="SQUARE_1:def.4">SQUARE_1:def 4</a></span>
;<br/>
<a NAME="E12:3"/><span class="kw">then </span>
<font color="Maroon" title="c1">p</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c4">m</font> <a href="pepin.html#K2" title="PEPIN:func.2">^2</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D3" title="NAT_D:def.3">NAT_D:def 3</a></span>;<br/>
<a NAME="E13:3"/><span class="kw">then </span>
<font color="Maroon" title="c1">p</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c4">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:3"><span class="lab"><font color="Green" title="E2">A1</font></span></a>, <a class="ref" href="newton.html#T98" title="NEWTON:th.98">NEWTON:98</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c5">m1</font> being   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a><span class="kw"> such that </span><br/><a NAME="E15:3"/><span class="lab"><font color="Green" title="E9">A8</font></span>: 
<font color="Maroon" title="c4">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">p</font> <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <font color="Maroon" title="c5">m1</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D3" title="NAT_D:def.3">NAT_D:def 3</a></span>;<br/>
<font color="Maroon" title="c3">n</font> <a href="pepin.html#K2" title="PEPIN:func.2">^2</a>  = 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c5">m1</font> <a href="pepin.html#K2" title="PEPIN:func.2">^2</a> </span>)</span></span>)</span></span>)</span> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c1">p</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:3"><span class="lab"><font color="Green" title="E3">A2</font></span></a>, <a class="txt" href="#E11:3"><span class="lab"><font color="Green" title="E8">A7</font></span></a>, <a class="txt" href="#E15:3"><span class="lab"><font color="Green" title="E9">A8</font></span></a>, <a class="ref" href="xcmplx_1.html#T90" title="XCMPLX_1:th.90">XCMPLX_1:90</a></span>
<br/>.= 
<font color="Maroon" title="c1">p</font> <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">m1</font> <a href="pepin.html#K2" title="PEPIN:func.2">^2</a> </span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:3"><span class="lab"><font color="Green" title="E3">A2</font></span></a>, <a class="ref" href="xcmplx_1.html#T90" title="XCMPLX_1:th.90">XCMPLX_1:90</a></span>
;<br/>
<a NAME="E17:3"/><span class="kw">then </span>
<font color="Maroon" title="c1">p</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c3">n</font> <a href="pepin.html#K2" title="PEPIN:func.2">^2</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D3" title="NAT_D:def.3">NAT_D:def 3</a></span>;<br/>
<a NAME="E18:3"/><span class="kw">then </span>
<font color="Maroon" title="c1">p</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c3">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:3"><span class="lab"><font color="Green" title="E2">A1</font></span></a>, <a class="ref" href="newton.html#T98" title="NEWTON:th.98">NEWTON:98</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c6">n1</font> being   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a><span class="kw"> such that </span><br/><a NAME="E20:3"/><span class="lab"><font color="Green" title="E10">A9</font></span>: 
<font color="Maroon" title="c3">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">p</font> <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <font color="Maroon" title="c6">n1</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D3" title="NAT_D:def.3">NAT_D:def 3</a></span>;<br/>
<a NAME="E21:3"/><span class="lab"><font color="Green" title="E11">A10</font></span>: 
<font color="Maroon" title="c5">m1</font> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c6">n1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="square_1.html#K7" title="SQUARE_1:func.7">sqrt</a> <font color="Maroon" title="c1">p</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:3"><span class="lab"><font color="Green" title="E3">A2</font></span></a>, <a class="txt" href="#E6:3"><span class="lab"><font color="Green" title="E5">A4</font></span></a>, <a class="txt" href="#E15:3"><span class="lab"><font color="Green" title="E9">A8</font></span></a>, <a class="txt" href="#E20:3"><span class="lab"><font color="Green" title="E10">A9</font></span></a>, <a class="ref" href="xcmplx_1.html#T92" title="XCMPLX_1:th.92">XCMPLX_1:92</a></span>;<br/>
<a NAME="E22:3"/><span class="lab"><font color="Green" title="E12">A11</font></span>: 
<font color="Maroon" title="c6">n1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:3"><span class="lab"><font color="Green" title="E4">A3</font></span></a>, <a class="txt" href="#E20:3"><span class="lab"><font color="Green" title="E10">A9</font></span></a></span>;<br/>
<a NAME="E23:3"/><span class="kw">then </span>
<font color="Maroon" title="c1">p</font> <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <font color="Maroon" title="c6">n1</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <font color="Maroon" title="c6">n1</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:3"><span class="lab"><font color="Green" title="E3">A2</font></span></a>, <a class="ref" href="xreal_1.html#T100" title="XREAL_1:th.100">XREAL_1:100</a></span>;<br/>
<span class="kw">hence </span><a NAME="E24:3"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:3"><span class="lab"><font color="Green" title="E6">A5</font></span></a>, <a class="txt" href="#E20:3"><span class="lab"><font color="Green" title="E10">A9</font></span></a>, <a class="txt" href="#E22:3"><span class="lab"><font color="Green" title="E12">A11</font></span></a>, <a class="txt" href="#E21:3"><span class="lab"><font color="Green" title="E11">A10</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>
