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

<span class="kw">let </span><font color="Maroon" title="c1">p</font> be   <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">p</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  implies  <a href="square_1.html#K3" title="SQUARE_1:func.3">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" 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">  <a href="square_1.html#K3" title="SQUARE_1:func.3">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#D4" onmouseover="rs('int_2/D4')" onmouseout="rh()">INT_2:def 4</a></span>;<br/>
<span class="kw">assume </span><a NAME="E3:3"/>
 <a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">p</font> is  <a href="rat_1.html#V1" title="RAT_1:attr.1">rational</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"> 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="ordinal1.html#NM6" title="ORDINAL1:NM.6">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#K5" title="NUMBERS:func.5">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#K3" title="SQUARE_1:func.3">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="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</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="ordinal1.html#NM6" title="ORDINAL1:NM.6">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#K5" title="NUMBERS:func.5">0</a>  &amp;  <a href="square_1.html#K3" title="SQUARE_1:func.3">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="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</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#T9" onmouseover="rs('rat_1/T9')" onmouseout="rh()">RAT_1:9</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#K3" title="SQUARE_1:func.3">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#T87" onmouseover="rs('xcmplx_1/T87')" onmouseout="rh()">XCMPLX_1:87</a></span>;<br/>
<a NAME="E9:3"/>
 <a href="square_1.html#K3" title="SQUARE_1:func.3">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#K5" title="NUMBERS:func.5">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="square_1.html#D2" onmouseover="rs('square_1/D2')" onmouseout="rh()">SQUARE_1:def 2</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#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="txt" href="#E8:3"><span class="lab"><font color="Green" title="E7">A6</font></span></a>, <a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</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#K1" title="PEPIN:func.1">^2</a>  = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">p</font></span>)</span> <a href="square_1.html#K1" title="SQUARE_1:func.1">^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#K1" title="PEPIN:func.1">^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="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#K1" title="PEPIN:func.1">^2</a></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="square_1.html#D2" onmouseover="rs('square_1/D2')" onmouseout="rh()">SQUARE_1:def 2</a></span>
;<br/>
<a NAME="E12:3"/><span class="kw">then </span>
<font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c4">m</font> <a href="pepin.html#K1" title="PEPIN:func.1">^2</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D3" onmouseover="rs('nat_d/D3')" onmouseout="rh()">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#R1" title="INT_1:pred.1">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#T80" onmouseover="rs('newton/T80')" onmouseout="rh()">NEWTON:80</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c5">m1</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">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="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">m1</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D3" onmouseover="rs('nat_d/D3')" onmouseout="rh()">NAT_D:def 3</a></span>;<br/>
<font color="Maroon" title="c3">n</font> <a href="pepin.html#K1" title="PEPIN:func.1">^2</a>  = 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c5">m1</font> <a href="pepin.html#K1" title="PEPIN:func.1">^2</a></span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</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#T89" onmouseover="rs('xcmplx_1/T89')" onmouseout="rh()">XCMPLX_1:89</a></span>
<br/>.= 
<font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">m1</font> <a href="pepin.html#K1" title="PEPIN:func.1">^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#T89" onmouseover="rs('xcmplx_1/T89')" onmouseout="rh()">XCMPLX_1:89</a></span>
;<br/>
<a NAME="E17:3"/><span class="kw">then </span>
<font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c3">n</font> <a href="pepin.html#K1" title="PEPIN:func.1">^2</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D3" onmouseover="rs('nat_d/D3')" onmouseout="rh()">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#R1" title="INT_1:pred.1">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#T80" onmouseover="rs('newton/T80')" onmouseout="rh()">NEWTON:80</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c6">n1</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">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="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n1</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D3" onmouseover="rs('nat_d/D3')" onmouseout="rh()">NAT_D:def 3</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c7">n1</font> = <font color="Maroon" title="c6">n1</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="ordinal1.html#D12" onmouseover="rs('ordinal1/D12')" onmouseout="rh()">ORDINAL1:def 12</a></span>;<br/>
<a NAME="E22:3"/><span class="lab"><font color="Green" title="E11">A10</font></span>: 
<font color="Maroon" title="c5">m1</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c7">n1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="square_1.html#K3" title="SQUARE_1:func.3">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#T91" onmouseover="rs('xcmplx_1/T91')" onmouseout="rh()">XCMPLX_1:91</a></span>;<br/>
<a NAME="E23:3"/><span class="lab"><font color="Green" title="E12">A11</font></span>: 
<font color="Maroon" title="c7">n1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">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="E24:3"/><span class="kw">then </span>
<font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">n1</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c7">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#T98" onmouseover="rs('xreal_1/T98')" onmouseout="rh()">XREAL_1:98</a></span>;<br/>
<span class="kw">hence </span><a NAME="E25: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="#E23:3"><span class="lab"><font color="Green" title="E12">A11</font></span></a>, <a class="txt" href="#E22:3"><span class="lab"><font color="Green" title="E11">A10</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>
