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

<span class="kw">let </span><font color="Maroon" title="c1">q</font> be   <a href="rat_1.html#NM1" title="RAT_1:NM.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">  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c1">q</font>, <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c1">q</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> </span><br/>

<span class="kw">set </span><font color="Maroon" title="c2">k</font> =  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c1">q</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c3">h</font> =  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c1">q</font>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c4">a</font> = <span class="p1">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c1">q</font></span>)</span> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <span class="p1">(<span class="default"><a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c1">q</font></span>)</span> 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="int_2.html#T20" onmouseover="rs('int_2/T20')" onmouseout="rh()">INT_2:20</a></span>;<br/>
<a NAME="E2:43"/>
<font color="Maroon" title="c4">a</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a>  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c1">q</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T21" onmouseover="rs('int_2/T21')" onmouseout="rh()">INT_2:21</a></span>;<br/>
<a NAME="E3:43"/><span class="kw">then </span><span class="lab"><font color="Green" title="E33">A1</font></span>: 
 ex <font color="Olive" title="b1">l</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c1">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">l</font>
 
;<br/>
<a NAME="E4:43"/>
<span class="p1">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c1">q</font></span>)</span> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <span class="p1">(<span class="default"><a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c1">q</font></span>)</span> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a>  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c1">q</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T21" onmouseover="rs('int_2/T21')" onmouseout="rh()">INT_2:21</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c5">b</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E6:43"/><span class="lab"><font color="Green" title="E34">A2</font></span>: 
 <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c1">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">b</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/>
<a NAME="E7:43"/>
<font color="Maroon" title="c4">a</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="ref" href="int_2.html#T5" onmouseover="rs('int_2/T5')" onmouseout="rh()">INT_2:5</a></span>;<br/>
<a NAME="E8:43"/><span class="kw">then </span><span class="lab"><font color="Green" title="E35">A3</font></span>: 
<font color="Maroon" title="c4">a</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> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T13" onmouseover="rs('nat_1/T13')" onmouseout="rh()">NAT_1:13</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c6">b</font> = <font color="Maroon" title="c5">b</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="E10:43"/><span class="lab"><font color="Green" title="E36">A4</font></span>: 
 <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c1">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">a</font> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c6">b</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:43"><span class="lab"><font color="Green" title="E34">A2</font></span></a></span>;<br/>
<span class="kw">assume </span><a NAME="E11:43"/>
 not  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c1">q</font>, <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c1">q</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</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/>

<a NAME="E12:43"/><span class="kw">then </span>
<font color="Maroon" title="c4">a</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#D3" onmouseover="rs('int_2/D3')" onmouseout="rh()">INT_2:def 3</a></span>;<br/>
<a NAME="E13:43"/><span class="kw">then </span>
<font color="Maroon" title="c4">a</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="#E8:43"><span class="lab"><font color="Green" title="E35">A3</font></span></a>, <a class="ref" href="xxreal_0.html#T1" onmouseover="rs('xxreal_0/T1')" onmouseout="rh()">XXREAL_0:1</a></span>;<br/>
<span class="kw">hence </span><a NAME="E14:43"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:43"><span class="lab"><font color="Green" title="E33">A1</font></span></a>, <a class="txt" href="#E10:43"><span class="lab"><font color="Green" title="E36">A4</font></span></a>, <a class="ref" href="rat_1.html#T29" onmouseover="rs('rat_1/T29')" onmouseout="rh()">RAT_1:29</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>
