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

<b>let </b><font color="Maroon" title="c1">n</font>, <font color="Maroon" title="c2">p</font>, <font color="Maroon" title="c3">q</font> be   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>;<br/>





<b>assume </b><a NAME="E1:32"/><i><font color="Green" title="E25">A1</font></i>: 
( <font color="Maroon" title="c1">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <font color="Maroon" title="c2">p</font> is <a href="int_2.html#V1" title="INT_2:attr.1">prime</a> &amp; <font color="Maroon" title="c2">p</font>,<font color="Maroon" title="c3">q</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_relative_prime</a>  )
 ;<br/>

<a NAME="E2:32"/><b>then </b><i><font color="Green" title="E26">A2</font></i>: 
<font color="Maroon" title="c2">p</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1
 
<b>by </b><i><a class="ref" href="int_2.html#D5" title="INT_2:def.5">INT_2:def 5</a></i>;<br/>
<a NAME="E3:32"/><b>then </b><i><font color="Green" title="E27">A3</font></i>: 
<font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 
<b>by </b><i><a class="ref" href="newton.html#T102" title="NEWTON:th.102">NEWTON:102</a></i>;<br/>
<b>given </b><font color="Maroon" title="c4">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><b> such that </b><a NAME="E5:32"/><i><font color="Green" title="E28">A4</font></i>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">q</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ;<br/>

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="32_1"><b>per </b></a><a class="txt" onclick="hs(this)" href="javascript:()"><b>cases </b></a><span class="hide"><a NAME="E1:32_1"/>
( <font color="Maroon" title="c4">x</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>  or <font color="Maroon" title="c4">x</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="32_1_1"><b>suppose </b></a><a NAME="E1:32_1_1"/>
<font color="Maroon" title="c4">x</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> 
 ;<br/><div class="add"><a NAME="E2:32_1_1"/><b>then </b>
<font color="Maroon" title="c4">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a> 
 <b>by </b><i><a class="ref" href="int_1.html#T16" title="INT_1:th.16">INT_1:16</a></i>;<br/><b>then reconsider </b><font color="Maroon" title="c5">x</font> = <font color="Maroon" title="c4">x</font> as   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a> <b>by </b><i><a class="ref" href="ordinal1.html#D13" title="ORDINAL1:def.13">ORDINAL1:def 13</a></i>;<br/><a NAME="E4:32_1_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">x</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">q</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font></span>)</span>
 <b>by </b><i><a class="txt" href="int_4.html#E3:32"><i><font color="Green" title="E27">A3</font></i></a>, <a class="txt" href="int_4.html#E5:32"><i><font color="Green" title="E28">A4</font></i></a>, <a class="ref" href="int_4.html#T22" target="_self" title="INT_4:th.22">Th22</a></i>;<br/><a NAME="E5:32_1_1"/><b>then </b>
<font color="Maroon" title="c2">p</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">x</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binarith.html#K3" title="BINARITH:func.3">-'</a> 1</span>)</span></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">q</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font></span>)</span>
 <b>by </b><i><a class="txt" href="int_4.html#E1:32"><i><font color="Green" title="E25">A1</font></i></a>, <a class="txt" href="int_4.html#E2:32"><i><font color="Green" title="E26">A2</font></i></a>, <a class="ref" href="int_4.html#T19" target="_self" title="INT_4:th.19">Th19</a></i>;<br/><a NAME="E6:32_1_1"/><b>then </b>
<font color="Maroon" title="c2">p</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c3">q</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font></span>)</span>
 <b>by </b><i><a class="ref" href="nat_d.html#D3" title="NAT_D:def.3">NAT_D:def 3</a></i>;<br/><b>hence </b><a NAME="E7:32_1_1"/>
contradiction
 <b>by </b><i><a class="txt" href="int_4.html#E1:32"><i><font color="Green" title="E25">A1</font></i></a>, <a class="ref" href="int_4.html#T21" target="_self" title="INT_4:th.21">Th21</a></i>;<br/></div><b>end;</b></div><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="32_1_2"><b>suppose </b></a><a NAME="E1:32_1_2"/>
<font color="Maroon" title="c4">x</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ;<br/><div class="add"><a NAME="E2:32_1_2"/><b>then </b>
 <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c4">x</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <b>by </b><i><a class="ref" href="xreal_1.html#T60" title="XREAL_1:th.60">XREAL_1:60</a></i>;<br/><a NAME="E3:32_1_2"/><b>then </b>
 <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c4">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a> 
 <b>by </b><i><a class="ref" href="int_1.html#T16" title="INT_1:th.16">INT_1:16</a></i>;<br/><b>then reconsider </b><font color="Maroon" title="c5">l</font> =  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c4">x</font> as   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a> <b>by </b><i><a class="ref" href="ordinal1.html#D13" title="ORDINAL1:def.13">ORDINAL1:def 13</a></i>;<br/><a NAME="E5:32_1_2"/>
<font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">q</font>
 <b>by </b><i><a class="txt" href="int_4.html#E3:32"><i><font color="Green" title="E27">A3</font></i></a>, <a class="txt" href="int_4.html#E5:32"><i><font color="Green" title="E28">A4</font></i></a>, <a class="ref" href="int_1.html#T89" title="INT_1:th.89">INT_1:89</a></i>;<br/><a NAME="E6:32_1_2"/><b>then </b>
<font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <span class="p1">(<span class="default"><a href="real_1.html#K1" title="REAL_1:func.1">-</a> 1</span>)</span> <a href="real_1.html#K8" title="REAL_1:func.8">*</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">q</font></span>)</span>
 <b>by </b><i><a class="ref" href="int_2.html#T12" title="INT_2:th.12">INT_2:12</a></i>;<br/><b>then consider </b><font color="Maroon" title="c6">k</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><b> such that </b><br/><a NAME="E8:32_1_2"/><i><font color="Green" title="E29">A5</font></i>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">l</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">k</font>
 <b>by </b><i><a class="ref" href="int_1.html#D9" title="INT_1:def.9">INT_1:def 9</a></i>;<br/><a NAME="E9:32_1_2"/>
<font color="Maroon" title="c6">k</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> 
 <b>by </b><i><a class="txt" href="int_4.html#E2:32"><i><font color="Green" title="E26">A2</font></i></a>, <a class="txt" href="int_4.html#E8:32_1_2"><i><font color="Green" title="E29">A5</font></i></a>, <a class="ref" href="newton.html#T102" title="NEWTON:th.102">NEWTON:102</a>, <a class="ref" href="xreal_1.html#T134" title="XREAL_1:th.134">XREAL_1:134</a></i>;<br/><a NAME="E10:32_1_2"/><b>then </b>
<font color="Maroon" title="c6">k</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a> 
 <b>by </b><i><a class="ref" href="int_1.html#T16" title="INT_1:th.16">INT_1:16</a></i>;<br/><b>then reconsider </b><font color="Maroon" title="c7">k</font> = <font color="Maroon" title="c6">k</font> as   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a> <b>by </b><i><a class="ref" href="ordinal1.html#D13" title="ORDINAL1:def.13">ORDINAL1:def 13</a></i>;<br/><a NAME="E12:32_1_2"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">l</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">k</font>
 <b>by </b><i><a class="txt" href="int_4.html#E8:32_1_2"><i><font color="Green" title="E29">A5</font></i></a></i>;<br/><a NAME="E13:32_1_2"/><b>then </b><i><font color="Green" title="E30">A6</font></i>: 
<font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">l</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">q</font>
 <b>by </b><i><a class="ref" href="nat_d.html#D3" title="NAT_D:def.3">NAT_D:def 3</a></i>;<br/><a NAME="E14:32_1_2"/>
<font color="Maroon" title="c2">p</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c2">p</font> <a href="newton.html#K2" title="NEWTON:func.2">|^</a> <font color="Maroon" title="c1">n</font>
 <b>by </b><i><a class="txt" href="int_4.html#E1:32"><i><font color="Green" title="E25">A1</font></i></a>, <a class="ref" href="nat_3.html#T3" title="NAT_3:th.3">NAT_3:3</a></i>;<br/><a NAME="E15:32_1_2"/><b>then </b><i><font color="Green" title="E31">A7</font></i>: 
<font color="Maroon" title="c2">p</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">l</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">q</font>
 <b>by </b><i><a class="txt" href="int_4.html#E13:32_1_2"><i><font color="Green" title="E30">A6</font></i></a>, <a class="ref" href="nat_d.html#T4" title="NAT_D:th.4">NAT_D:4</a></i>;<br/><a NAME="E16:32_1_2"/><i><font color="Green" title="E32">A8</font></i>: 
<font color="Maroon" title="c2">p</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c2">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">l</font>
 <b>by </b><i><a class="ref" href="nat_d.html#T9" title="NAT_D:th.9">NAT_D:9</a></i>;<br/><b>reconsider </b><font color="Maroon" title="c8">p</font> = <font color="Maroon" title="c2">p</font>, <font color="Maroon" title="c9">q</font> = <font color="Maroon" title="c3">q</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>  <b>by </b><i><a class="ref" href="ordinal1.html#D13" title="ORDINAL1:def.13">ORDINAL1:def 13</a></i>;<br/><a NAME="E18:32_1_2"/>
<font color="Maroon" title="c8">p</font> <a href="nat_d.html#K6" title="NAT_D:func.6">hcf</a> <font color="Maroon" title="c9">q</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1
 <b>by </b><i><a class="txt" href="int_4.html#E2:32"><i><font color="Green" title="E26">A2</font></i></a>, <a class="txt" href="int_4.html#E15:32_1_2"><i><font color="Green" title="E31">A7</font></i></a>, <a class="txt" href="int_4.html#E16:32_1_2"><i><font color="Green" title="E32">A8</font></i></a>, <a class="ref" href="nat_d.html#T10" title="NAT_D:th.10">NAT_D:10</a>, <a class="ref" href="newton.html#T62" title="NEWTON:th.62">NEWTON:62</a></i>;<br/><b>hence </b><a NAME="E19:32_1_2"/>
contradiction
 <b>by </b><i><a class="txt" href="int_4.html#E1:32"><i><font color="Green" title="E25">A1</font></i></a>, <a class="ref" href="int_2.html#D4" title="INT_2:def.4">INT_2:def 4</a></i>;<br/></div><b>end;</b></div></div><b>end;</b></div>

</div>
