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

<span class="kw">let </span><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>; <a class="txt" 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#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>  implies  for <font color="Olive" title="b1">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  holds  not <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="Olive" title="b1">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>  )</span><br/>





<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:34"/><span class="lab"><font color="Green" title="E25">A1</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#K6" title="NUMBERS:func.6">0</a> 
 <span class="kw">and </span><br/><a NAME="E2:34"/><span class="lab"><font color="Green" title="E26">A2</font></span>: 
<font color="Maroon" title="c2">p</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a> 
 <span class="kw">and </span><br/><a NAME="E3:34"/><span class="lab"><font color="Green" title="E27">A3</font></span>: 
<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> 
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  for <font color="Olive" title="b1">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  holds  not <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="Olive" title="b1">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> </span><br/>

<a NAME="E4:34"/><span class="lab"><font color="Green" title="E28">A4</font></span>: 
<font color="Maroon" title="c2">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="txt" href="#E2:34"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="ref" href="int_2.html#D4" title="INT_2:def.4">INT_2:def 4</a></span>;<br/>
<span class="kw">given </span><font color="Maroon" title="c4">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><a NAME="E6:34"/><span class="lab"><font color="Green" title="E29">A5</font></span>: 
<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> 
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> contradiction</span><br/>

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="34_1"><span class="kw">per </span></a><a class="txt" onclick="hs(this)" href="javascript:()"><span class="kw">cases </span></a><span class="hide"><a NAME="E1:34_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#NR3" title="XXREAL_0:NR.3">&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="34_1_1"><span class="kw">suppose </span></a><a NAME="E1:34_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> 
 ; <a class="txt" 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:34_1_1"/><span class="kw">then </span>
<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> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" title="INT_1:th.3">INT_1:3</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><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> ;<br/><a NAME="E4:34_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>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="txt" href="#E6:34"><span class="lab"><font color="Green" title="E29">A5</font></span></a>, <a class="ref" href="int_4.html#T22" target="_self" title="INT_4:th.22">Th22</a></span>;<br/><a NAME="E5:34_1_1"/><span class="kw">then </span>
<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="nat_d.html#K7" title="NAT_D:func.7">-'</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>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E25">A1</font></span></a>, <a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="ref" href="int_4.html#T19" target="_self" title="INT_4:th.19">Th19</a></span>;<br/><a NAME="E6:34_1_1"/><span class="kw">then </span>
<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>
 <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/><span class="kw">hence </span><a NAME="E7:34_1_1"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E25">A1</font></span></a>, <a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="txt" href="#E3:34"><span class="lab"><font color="Green" title="E27">A3</font></span></a>, <a class="ref" href="int_4.html#T21" target="_self" title="INT_4:th.21">Th21</a></span>; <a class="txt" 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="34_1_2"><span class="kw">suppose </span></a><a NAME="E1:34_1_2"/>
<font color="Maroon" title="c4">x</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ; <a class="txt" 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:34_1_2"/><span class="kw">then </span>
 <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> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" title="INT_1:th.3">INT_1:3</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><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> ;<br/><a NAME="E4:34_1_2"/><span class="lab"><font color="Green" title="E30">A6</font></span>: 
<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>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#T9" title="NAT_D:th.9">NAT_D:9</a></span>;<br/><a NAME="E5:34_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#R1" title="INT_1: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="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 class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="txt" href="#E6:34"><span class="lab"><font color="Green" title="E29">A5</font></span></a>, <a class="ref" href="int_1.html#T62" title="INT_1:th.62">INT_1:62</a></span>;<br/><a NAME="E6:34_1_2"/><span class="kw">then </span>
<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#R1" title="INT_1:pred.1">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>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T2" title="INT_2:th.2">INT_2:2</a></span>;<br/><span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c6">k</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E8:34_1_2"/><span class="lab"><font color="Green" title="E31">A7</font></span>: 
<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>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#D3" title="INT_1:def.3">INT_1:def 3</a></span>;<br/><a NAME="E9:34_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> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="txt" href="#E8:34_1_2"><span class="lab"><font color="Green" title="E31">A7</font></span></a>, <a class="ref" href="xreal_1.html#T132" title="XREAL_1:th.132">XREAL_1:132</a></span>;<br/><a NAME="E10:34_1_2"/><span class="kw">then </span>
<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> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" title="INT_1:th.3">INT_1:3</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><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> ;<br/><a NAME="E12:34_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>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:34_1_2"><span class="lab"><font color="Green" title="E31">A7</font></span></a></span>;<br/><a NAME="E13:34_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E32">A8</font></span>: 
<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>
 <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="E14:34_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>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E25">A1</font></span></a>, <a class="ref" href="nat_3.html#T3" title="NAT_3:th.3">NAT_3:3</a></span>;<br/><a NAME="E15:34_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E33">A9</font></span>: 
<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>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E13:34_1_2"><span class="lab"><font color="Green" title="E32">A8</font></span></a>, <a class="ref" href="nat_d.html#T4" title="NAT_D:th.4">NAT_D:4</a></span>;<br/><span class="kw">reconsider </span><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>  <span class="kw">by</span> <span class="lab"><a class="ref" href="ordinal1.html#D12" title="ORDINAL1:def.12">ORDINAL1:def 12</a></span>;<br/><a NAME="E17:34_1_2"/>
<font color="Maroon" title="c8">p</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c9">q</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="txt" href="#E4:34"><span class="lab"><font color="Green" title="E28">A4</font></span></a>, <a class="txt" href="#E15:34_1_2"><span class="lab"><font color="Green" title="E33">A9</font></span></a>, <a class="txt" href="#E4:34_1_2"><span class="lab"><font color="Green" title="E30">A6</font></span></a>, <a class="ref" href="nat_d.html#T10" title="NAT_D:th.10">NAT_D:10</a>, <a class="ref" href="newton.html#T49" title="NEWTON:th.49">NEWTON:49</a></span>;<br/><span class="kw">hence </span><a NAME="E18:34_1_2"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:34"><span class="lab"><font color="Green" title="E27">A3</font></span></a>, <a class="ref" href="int_2.html#D3" title="INT_2:def.3">INT_2:def 3</a></span>; <a class="txt" 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>
