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

<b>let </b><font color="Maroon">p</font> be   <a href="rat_1.html#NM1">Rational</a>;<br/><b>let </b><font color="Maroon">q</font> be   <a href="rat_1.html#NM1">Rational</a>;<br/>



<div><i><font color="Green">E28</font></i>: <a class="txt" onclick="hs2(this)" href="javascript:()" title="65_1"><b>now </b></a><div class="add"><b>assume </b><a NAME="E1:65_1"/><i><font color="Green">E29</font></i>: 
( 0 <a href="xxreal_0.html#NR3" target="_self">&lt;</a> <font color="Maroon">p</font> &amp; <font color="Maroon">q</font> <a href="hidden.html#R1">=</a> 1 <a href="xcmplx_0.html#K7">/</a> <font color="Maroon">p</font> )
 ;<br/><a NAME="E2:65_1"/><b>then </b><i><font color="Green">E34</font></i>: 
0 <a href="xxreal_0.html#NR3" target="_self">&lt;</a>  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font>
 <b>by </b><i><a class="txt" href="rat_1.html#E4:65_1"><i><font color="Green">E36</font></i></a></i>;<br/><a NAME="E3:65_1"/><i><font color="Green">E35</font></i>: 
0 <a href="hidden.html#NR2" target="_self">&lt;&gt;</a>  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font>
 <b>by </b><i>, <a class="txt" href="rat_1.html#E4:65_1"><i><font color="Green">E36</font></i></a></i>;<br/><i><font color="Green">E36</font></i>: <font color="Maroon">q</font> = 
1 <a href="xcmplx_0.html#K7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font></span>)</span> <a href="xcmplx_0.html#K7">/</a> <span class="p2">(<span class="default"><a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font></span>)</span></span>)</span>
<b>by </b><i>, </i>
<br/>.= 
<span class="p1">(<span class="default">1 <a href="nat_1.html#K2">*</a> <span class="p2">(<span class="default"><a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K7">/</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font></span>)</span>
<b>by </b><i><a class="ref" href="xcmplx_1.html#T78">XCMPLX_1:78</a></i>
<br/>.= 
<span class="p1">(<span class="default"><a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font></span>)</span> <a href="xcmplx_0.html#K7">/</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font></span>)</span>

;<br/><b>set </b><font color="Maroon">x</font> =  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font>;<br/><b>reconsider </b><font color="Maroon">y</font> =  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font> as    <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>  <b>by </b><i>, <a class="ref" href="int_1.html#T16">INT_1:16</a></i>;<br/><a NAME="E6:65_1"/>
for <font color="Olive">k</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>   holds <br/>(  not 1 <a href="xxreal_0.html#NR3" target="_self">&lt;</a> <font color="Olive">k</font> or for <font color="Olive">m</font> being  <a href="int_1.html#NM1">Integer</a><br/> for <font color="Olive">l</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>   holds <br/>(  not  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font> <a href="hidden.html#R1">=</a> <font color="Olive">m</font> <a href="xcmplx_0.html#K3">*</a> <font color="Olive">k</font> or  not <font color="Maroon">y</font> <a href="hidden.html#R1">=</a> <font color="Olive">l</font> <a href="nat_1.html#K2">*</a> <font color="Olive">k</font> ) )
 <div><a class="txt" onclick="hs2(this)" href="javascript:()" title="65_1_2"><b>proof </b></a><div class="add">

<b>assume </b><a NAME="E1:65_1_2"/>
 ex <font color="Olive">k</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>  st <br/>( 1 <a href="xxreal_0.html#NR3" target="_self">&lt;</a> <font color="Olive">k</font> &amp;  ex <font color="Olive">m</font> being  <a href="int_1.html#NM1">Integer</a> ex <font color="Olive">l</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>  st <br/>(  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font> <a href="hidden.html#R1">=</a> <font color="Olive">m</font> <a href="xcmplx_0.html#K3">*</a> <font color="Olive">k</font> &amp; <font color="Maroon">y</font> <a href="hidden.html#R1">=</a> <font color="Olive">l</font> <a href="nat_1.html#K2">*</a> <font color="Olive">k</font> ) )
 ;<br/>

<b>then consider </b><font color="Maroon">k</font> being    <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a> <b> such that </b><br/><a NAME="E3:65_1_2"/><i><font color="Green">E37</font></i>: 
( 1 <a href="xxreal_0.html#NR3" target="_self">&lt;</a> <font color="Maroon">k</font> &amp;  ex <font color="Olive">m</font> being  <a href="int_1.html#NM1">Integer</a> ex <font color="Olive">l</font> being   <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>  st <br/>(  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font> <a href="hidden.html#R1">=</a> <font color="Olive">m</font> <a href="xcmplx_0.html#K3">*</a> <font color="Maroon">k</font> &amp; <font color="Maroon">y</font> <a href="hidden.html#R1">=</a> <font color="Olive">l</font> <a href="nat_1.html#K2">*</a> <font color="Maroon">k</font> ) )
 ;<br/>
<b>consider </b><font color="Maroon">m</font> being   <a href="int_1.html#NM1">Integer</a>, <font color="Maroon">l</font> being    <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a> <b> such that </b><br/><a NAME="E5:65_1_2"/><i><font color="Green">E38</font></i>: 
(  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font> <a href="hidden.html#R1">=</a> <font color="Maroon">m</font> <a href="xcmplx_0.html#K3">*</a> <font color="Maroon">k</font> &amp; <font color="Maroon">y</font> <a href="hidden.html#R1">=</a> <font color="Maroon">l</font> <a href="nat_1.html#K2">*</a> <font color="Maroon">k</font> )
 <b>by </b><i/>;<br/>
<a NAME="E6:65_1_2"/><i><font color="Green">E39</font></i>: 
0 <a href="xxreal_0.html#NR3" target="_self">&lt;</a> <font color="Maroon">k</font>
 
<b>by </b><i/>;<br/>
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="65_1_2_1"><b>now </b></a><div class="add"><b>assume </b><a NAME="E1:65_1_2_1"/>
not 0 <a href="xxreal_0.html#R1">&lt;=</a> <font color="Maroon">m</font>
 ;<br/><a NAME="E2:65_1_2_1"/><b>then </b>
<font color="Maroon">m</font> <a href="xcmplx_0.html#K3">*</a> <font color="Maroon">k</font> <a href="xxreal_0.html#NR3" target="_self">&lt;</a> 0 <a href="xcmplx_0.html#K3">*</a> <font color="Maroon">m</font>
 <b>by </b><i>, <a class="ref" href="xreal_1.html#T71">XREAL_1:71</a></i>;<br/><b>hence </b><a NAME="E3:65_1_2_1"/>
contradiction
 <b>by </b><i/>;<br/></div><b>end;</b></div>
<b>then reconsider </b><font color="Maroon">z</font> = <font color="Maroon">m</font> as    <a href="subset_1.html#M2">Element</a> of  <a href="numbers.html#K5">NAT</a>  <b>by </b><i><a class="ref" href="int_1.html#T16">INT_1:16</a></i>;<br/>
<b>reconsider </b><font color="Maroon">v</font> = <font color="Maroon">l</font> as   <a href="int_1.html#NM1">Integer</a> ;<br/>
<a NAME="E10:65_1_2"/>
( 1 <a href="xxreal_0.html#NR3" target="_self">&lt;</a> <font color="Maroon">k</font> &amp;  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font> <a href="hidden.html#R1">=</a> <font color="Maroon">v</font> <a href="xcmplx_0.html#K3">*</a> <font color="Maroon">k</font> &amp;  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font> <a href="hidden.html#R1">=</a> <font color="Maroon">z</font> <a href="nat_1.html#K2">*</a> <font color="Maroon">k</font> )
 
<b>by </b><i>, </i>;<br/>
<b>hence </b><a NAME="E11:65_1_2"/>
contradiction
 <b>by </b><i/>;<br/>


</div><b>end;</b></div><b>hence </b><a NAME="E7:65_1"/>
(  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font> <a href="hidden.html#R1">=</a>  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">q</font> &amp;  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font> <a href="hidden.html#R1">=</a>  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">q</font> )
 <b>by </b><i>, , </i>;<br/></div><b>end;</b></div>
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="65_2"><b>now </b></a><div class="add"><b>assume </b><a NAME="E1:65_2"/><i><font color="Green">E40</font></i>: 
(  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">q</font> <a href="hidden.html#R1">=</a>  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font> &amp;  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">q</font> <a href="hidden.html#R1">=</a>  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font> )
 ;<br/><a NAME="E2:65_2"/><b>then </b>
0 <a href="xxreal_0.html#NR3" target="_self">&lt;</a>  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font>
 <b>by </b><i/>;<br/><b>hence </b><a NAME="E3:65_2"/>
0 <a href="xxreal_0.html#NR3" target="_self">&lt;</a> <font color="Maroon">p</font>
 <b>by </b><i/>;<br/><b>thus </b><font color="Maroon">q</font> = 
<span class="p1">(<span class="default">1 <a href="nat_1.html#K2">*</a> <span class="p2">(<span class="default"><a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K7">/</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font></span>)</span>
<b>by </b><i>, </i>
<br/>.= 
1 <a href="xcmplx_0.html#K7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font></span>)</span> <a href="xcmplx_0.html#K7">/</a> <span class="p2">(<span class="default"><a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font></span>)</span></span>)</span>
<b>by </b><i><a class="ref" href="xcmplx_1.html#T78">XCMPLX_1:78</a></i>
<br/>.= 
1 <a href="xcmplx_0.html#K7">/</a> <font color="Maroon">p</font>
<b>by </b><i/>
;<br/></div><b>end;</b></div>
<b>hence </b><a NAME="E3:65"/>
( 0 <a href="xxreal_0.html#NR3" target="_self">&lt;</a> <font color="Maroon">p</font> &amp; <font color="Maroon">q</font> <a href="hidden.html#R1">=</a> 1 <a href="xcmplx_0.html#K7">/</a> <font color="Maroon">p</font> iff (  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">q</font> <a href="hidden.html#R1">=</a>  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">p</font> &amp;  <a href="rat_1.html#K1" target="_self">denominator</a> <font color="Maroon">q</font> <a href="hidden.html#R1">=</a>  <a href="rat_1.html#K2" target="_self">numerator</a> <font color="Maroon">p</font> ) )
 <b>by </b><i/>;<br/>


</div>
