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

<span class="kw">let </span><font color="Maroon" title="c1">a</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="Red">::  thesis: </font></span></a><span class="hide"> for <font color="Olive" title="b1">k</font> being  <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><br/> for <font color="Olive" title="b2">q</font> being  <a href="rat_1.html#NM1" title="RAT_1:NM.1">Rational</a>  st <font color="Olive" title="b2">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">k</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <font color="Olive" title="b1">k</font>,<font color="Maroon" title="c1">a</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_relative_prime</a>  holds <br/>( <font color="Olive" title="b1">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Olive" title="b2">q</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Olive" title="b2">q</font> )</span><br/><span class="kw">let </span><font color="Maroon" title="c2">k</font> be   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> for <font color="Olive" title="b1">q</font> being  <a href="rat_1.html#NM1" title="RAT_1:NM.1">Rational</a>  st <font color="Olive" title="b1">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">k</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <font color="Maroon" title="c2">k</font>,<font color="Maroon" title="c1">a</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_relative_prime</a>  holds <br/>( <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Olive" title="b1">q</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Olive" title="b1">q</font> )</span><br/><span class="kw">let </span><font color="Maroon" title="c3">q</font> be   <a href="rat_1.html#NM1" title="RAT_1:NM.1">Rational</a>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">k</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <font color="Maroon" title="c2">k</font>,<font color="Maroon" title="c1">a</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_relative_prime</a>  implies ( <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c3">q</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> ) )</span><br/>





<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:56"/><span class="lab"><font color="Green" title="E33">A1</font></span>: 
( <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">k</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  )
 <span class="kw">and </span><br/><a NAME="E2:56"/><span class="lab"><font color="Green" title="E34">A2</font></span>: 
<font color="Maroon" title="c2">k</font>,<font color="Maroon" title="c1">a</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="Red">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c3">q</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> )</span><br/>

<a NAME="E3:56"/>
<font color="Maroon" title="c1">a</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="ordinal1.html#D13" title="ORDINAL1:def.13">ORDINAL1:def 13</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c4">b</font> being    <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"> such that </span><br/><a NAME="E5:56"/><span class="lab"><font color="Green" title="E35">A3</font></span>: 
( <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c3">q</font></span>)</span> <a href="real_1.html#K4" title="REAL_1:func.4">*</a> <font color="Maroon" title="c4">b</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font></span>)</span> <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <font color="Maroon" title="c4">b</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:56"><span class="lab"><font color="Green" title="E33">A1</font></span></a>, <a class="ref" href="rat_1.html#T60" title="RAT_1:th.60">RAT_1:60</a></span>;<br/>
<a NAME="E6:56"/>
 <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c3">q</font>, <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_relative_prime</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="wsierp_1.html#T29" target="_self" title="WSIERP_1:th.29">Th29</a></span>;<br/>
<a NAME="E7:56"/><span class="kw">then </span>
<font color="Maroon" title="c2">k</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c4">b</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:56"><span class="lab"><font color="Green" title="E35">A3</font></span></a>, <a class="ref" href="int_2.html#T39" title="INT_2:th.39">INT_2:39</a></span>;<br/>
<span class="kw">then </span>1 = 
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c4">b</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:56"><span class="lab"><font color="Green" title="E34">A2</font></span></a>, <a class="ref" href="int_2.html#D4" title="INT_2:def.4">INT_2:def 4</a></span>
<br/>.= 
<font color="Maroon" title="c4">b</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="absvalue.html#D1" title="ABSVALUE:def.1">ABSVALUE:def 1</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E9:56"/>
( <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c3">q</font> &amp; <font color="Maroon" title="c1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:56"><span class="lab"><font color="Green" title="E35">A3</font></span></a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
