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

<span class="kw">let </span><font color="Maroon" title="c1">p</font>, <font color="Maroon" title="c2">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">  for <font color="Olive" title="b1">m1</font>, <font color="Olive" title="b2">m2</font>, <font color="Olive" title="b3">n1</font>, <font color="Olive" title="b4">n2</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">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="c1">p</font> &amp; <font color="Olive" title="b2">m2</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="c2">q</font> &amp; <font color="Olive" title="b3">n1</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="c1">p</font> &amp; <font color="Olive" title="b4">n2</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="c2">q</font> &amp; <font color="Olive" title="b4">n2</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  holds <br/>(  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">q</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b4">n2</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b3">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b4">n2</font></span>)</span></span>)</span> &amp;  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">q</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Olive" title="b3">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">m2</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b3">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b4">n2</font></span>)</span></span>)</span> )</span><br/><span class="kw">let </span><font color="Maroon" title="c3">m1</font>, <font color="Maroon" title="c4">m2</font>, <font color="Maroon" title="c5">n1</font>, <font color="Maroon" title="c6">n2</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"> ( <font color="Maroon" title="c3">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="c1">p</font> &amp; <font color="Maroon" title="c4">m2</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="c2">q</font> &amp; <font color="Maroon" title="c5">n1</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="c1">p</font> &amp; <font color="Maroon" title="c6">n2</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="c2">q</font> &amp; <font color="Maroon" title="c6">n2</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies (  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">q</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span></span>)</span> &amp;  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">q</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span></span>)</span> ) )</span><br/>











<span class="kw">assume </span><a NAME="E1:42"/><span class="lab"><font color="Green" title="E26">A1</font></span>: 
( <font color="Maroon" title="c3">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="c1">p</font> &amp; <font color="Maroon" title="c4">m2</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="c2">q</font> &amp; <font color="Maroon" title="c5">n1</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="c1">p</font> &amp; <font color="Maroon" title="c6">n2</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="c2">q</font> &amp; <font color="Maroon" title="c6">n2</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</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#K1" title="RAT_1:func.1">denominator</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">q</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span></span>)</span> &amp;  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">q</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span></span>)</span> )</span><br/>

<span class="kw">hence </span> <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">q</font></span>)</span> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="ring_3.html#T41" target="_self" onmouseover="rs('ring_3/T41')" onmouseout="rh()">Th41</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="ring_3.html#T8" target="_self" onmouseover="rs('ring_3/T8')" onmouseout="rh()">Th8</a></span>
;<br/> <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> <span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">q</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span></span>)</span></span><br/>

<span class="kw">thus </span> <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">q</font></span>)</span> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:42"><span class="lab"><font color="Green" title="E26">A1</font></span></a>, <a class="ref" href="ring_3.html#T41" target="_self" onmouseover="rs('ring_3/T41')" onmouseout="rh()">Th41</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c5">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">n2</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="ring_3.html#T7" target="_self" onmouseover="rs('ring_3/T7')" onmouseout="rh()">Th7</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>
