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

<span class="kw">let </span><font color="Maroon" title="c1">m1</font> be   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</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">  for <font color="Olive" title="b1">i1</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">i1</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">m1</font> &amp; <font color="Maroon" title="c1">m1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="ordinal1.html#K5" title="ORDINAL1:func.5">0</a>  &amp; <font color="Olive" title="b1">i1</font>,<font color="Maroon" title="c1">m1</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  holds <br/>( <font color="Olive" title="b1">i1</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">m1</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">i1</font> be   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</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">  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">i1</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">m1</font> &amp; <font color="Maroon" title="c1">m1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="ordinal1.html#K5" title="ORDINAL1:func.5">0</a>  &amp; <font color="Maroon" title="c2">i1</font>,<font color="Maroon" title="c1">m1</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  holds <br/>( <font color="Maroon" title="c2">i1</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">m1</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" 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"> ( <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">i1</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">m1</font> &amp; <font color="Maroon" title="c1">m1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="ordinal1.html#K5" title="ORDINAL1:func.5">0</a>  &amp; <font color="Maroon" title="c2">i1</font>,<font color="Maroon" title="c1">m1</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  implies ( <font color="Maroon" title="c2">i1</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">m1</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:6"/><span class="lab"><font color="Green" title="E9">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">i1</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">m1</font>
 <span class="kw">and </span><br/><a NAME="E2:6"/><span class="lab"><font color="Green" title="E10">A2</font></span>: 
<font color="Maroon" title="c1">m1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="ordinal1.html#K5" title="ORDINAL1:func.5">0</a> 
 <span class="kw">and </span><br/><a NAME="E3:6"/><span class="lab"><font color="Green" title="E11">A3</font></span>: 
<font color="Maroon" title="c2">i1</font>,<font color="Maroon" title="c1">m1</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"> ( <font color="Maroon" title="c2">i1</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">m1</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="E4:6"/><span class="lab"><font color="Green" title="E12">A4</font></span>: 
<font color="Maroon" title="c2">i1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:6"><span class="lab"><font color="Green" title="E11">A3</font></span></a>, <a class="ref" href="int_2.html#D3" onmouseover="rs('int_2/D3')" onmouseout="rh()">INT_2:def 3</a></span>;<br/>
<a NAME="E5:6"/>
 ex <font color="Olive" title="b1">m</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> st <br/>( <font color="Maroon" title="c2">i1</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="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">m</font> &amp; <font color="Maroon" title="c1">m1</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="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">m</font> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:6"><span class="lab"><font color="Green" title="E9">A1</font></span></a>, <a class="txt" href="#E2:6"><span class="lab"><font color="Green" title="E10">A2</font></span></a>, <a class="ref" href="rat_1.html#T27" onmouseover="rs('rat_1/T27')" onmouseout="rh()">RAT_1:27</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c4">m</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E7:6"/><span class="lab"><font color="Green" title="E13">A5</font></span>: 
<font color="Maroon" title="c2">i1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</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>
 <span class="kw">and </span><br/><a NAME="E8:6"/><span class="lab"><font color="Green" title="E14">A6</font></span>: 
<font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">m</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</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>
 ;<br/>
<a NAME="E9:6"/><span class="lab"><font color="Green" title="E15">A7</font></span>: 
<font color="Maroon" title="c4">m</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">i1</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:6"><span class="lab"><font color="Green" title="E13">A5</font></span></a></span>;<br/>
<a NAME="E10:6"/><span class="lab"><font color="Green" title="E16">A8</font></span>: 
<font color="Maroon" title="c4">m</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c1">m1</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:6"><span class="lab"><font color="Green" title="E14">A6</font></span></a></span>;<br/>
<a NAME="E11:6"/>
<font color="Maroon" title="c4">m</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:6"><span class="lab"><font color="Green" title="E12">A4</font></span></a>, <a class="txt" href="#E9:6"><span class="lab"><font color="Green" title="E15">A7</font></span></a>, <a class="txt" href="#E10:6"><span class="lab"><font color="Green" title="E16">A8</font></span></a>, <a class="ref" href="int_2.html#D2" onmouseover="rs('int_2/D2')" onmouseout="rh()">INT_2:def 2</a></span>;<br/>
<a NAME="E12:6"/><span class="kw">then </span>
<font color="Maroon" title="c4">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="wsierp_1.html#T15" onmouseover="rs('wsierp_1/T15')" onmouseout="rh()">WSIERP_1:15</a></span>;<br/>
<span class="kw">hence </span><a NAME="E13:6"/>
( <font color="Maroon" title="c2">i1</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">m1</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="#E8:6"><span class="lab"><font color="Green" title="E14">A6</font></span></a>, <a class="txt" href="#E7:6"><span class="lab"><font color="Green" title="E13">A5</font></span></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>
