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

<span class="kw">let </span><font color="Maroon" title="c2">p</font>, <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="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c2">p</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <font color="Maroon" title="c2">p</font> iff (  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="real_1.html#K1" title="REAL_1:func.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="c2">p</font></span>)</span> &amp;  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span> ) )</span><br/>



<div><span class="lab"><font color="Green" title="E40">A1</font></span>: <a class="txt" onclick="hs2(this)" href="javascript:()" title="66_1"><span class="kw">now </span></a><div class="add"><span class="kw">set </span><font color="Maroon" title="c4">s</font> =  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c3">q</font>;<br/><span class="kw">set </span><font color="Maroon" title="c5">r</font> =  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c2">p</font>;<br/><span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:66_1"/><span class="lab"><font color="Green" title="E41">A2</font></span>: 
<font color="Maroon" title="c2">p</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <span class="kw">and </span><br/><a NAME="E2:66_1"/><span class="lab"><font color="Green" title="E42">A3</font></span>: 
<font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <font color="Maroon" title="c2">p</font>
 ; <a class="txt" 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="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="real_1.html#K1" title="REAL_1:func.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="c2">p</font></span>)</span> &amp;  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span> )</span><br/><a NAME="E3:66_1"/><span class="lab"><font color="Green" title="E43">A4</font></span>: 
 <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c2">p</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:66_1"><span class="lab"><font color="Green" title="E42">A3</font></span></a>, <a class="ref" href="xcmplx_1.html#T188" title="XCMPLX_1:th.188">XCMPLX_1:188</a></span>;<br/><a NAME="E4:66_1"/><span class="lab"><font color="Green" title="E44">A5</font></span>: 
 <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c2">p</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:66_1"><span class="lab"><font color="Green" title="E41">A2</font></span></a>, <a class="ref" href="xreal_1.html#T58" title="XREAL_1:th.58">XREAL_1:58</a></span>;<br/><a NAME="E5:66_1"/><span class="kw">then </span>
 <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c3">q</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c2">p</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:66_1"><span class="lab"><font color="Green" title="E43">A4</font></span></a>, <a class="ref" href="rat_1.html#T44" target="_self" title="RAT_1:th.44">Th88</a></span>;<br/><a NAME="E6:66_1"/><span class="kw">then </span>
 <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</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="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c2">p</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="rat_1.html#T43" target="_self" title="RAT_1:th.43">Th87</a></span>;<br/><a NAME="E7:66_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E45">A6</font></span>: 
 <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p2">(<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>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="real_1.html#K1" title="REAL_1:func.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="c2">p</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="rat_1.html#T43" target="_self" title="RAT_1:th.43">Th87</a></span>;<br/><a NAME="E8:66_1"/>
 <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c3">q</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c2">p</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:66_1"><span class="lab"><font color="Green" title="E44">A5</font></span></a>, <a class="txt" href="#E3:66_1"><span class="lab"><font color="Green" title="E43">A4</font></span></a>, <a class="ref" href="rat_1.html#T44" target="_self" title="RAT_1:th.44">Th88</a></span>;<br/><a NAME="E9:66_1"/><span class="kw">then </span>
 <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c2">p</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="rat_1.html#T43" target="_self" title="RAT_1:th.43">Th87</a></span>;<br/><span class="kw">hence </span><a NAME="E10:66_1"/>
(  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="real_1.html#K1" title="REAL_1:func.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="c2">p</font></span>)</span> &amp;  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:66_1"><span class="lab"><font color="Green" title="E45">A6</font></span></a>, <a class="ref" href="rat_1.html#T43" target="_self" title="RAT_1:th.43">Th87</a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/></div><span class="kw">end;</span></div>
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="66_2"><span class="kw">now </span></a><div class="add"><span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:66_2"/><span class="lab"><font color="Green" title="E41">A7</font></span>: 
 <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="real_1.html#K1" title="REAL_1:func.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="c2">p</font></span>)</span>
 <span class="kw">and </span><br/><a NAME="E2:66_2"/><span class="lab"><font color="Green" title="E42">A8</font></span>: 
 <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c2">p</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <font color="Maroon" title="c2">p</font> )</span><br/><span class="kw">thus </span><a NAME="E3:66_2"/>
<font color="Maroon" title="c2">p</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:66_2"><span class="lab"><font color="Green" title="E42">A8</font></span></a>, <a class="ref" href="rat_1.html#T10" target="_self" title="RAT_1:th.10">Th27</a></span>; <a class="txt" 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> 1 <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <font color="Maroon" title="c2">p</font></span><br/><span class="kw">thus </span><font color="Maroon" title="c3">q</font> = 
<span class="p1">(<span class="default"><a href="real_1.html#K1" title="REAL_1:func.1">-</a> <span class="p2">(<span class="default"><a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c2">p</font></span>)</span></span>)</span> <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p2">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:66_2"><span class="lab"><font color="Green" title="E41">A7</font></span></a>, <a class="txt" href="#E2:66_2"><span class="lab"><font color="Green" title="E42">A8</font></span></a>, <a class="ref" href="rat_1.html#T15" target="_self" title="RAT_1:th.15">Th37</a></span>
<br/>.= 
 <a href="real_1.html#K1" title="REAL_1:func.1">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c2">p</font></span>)</span> <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <span class="p2">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p3">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span></span>)</span></span>)</span>

<br/>.= 
 <a href="real_1.html#K1" title="REAL_1:func.1">-</a> <span class="p1">(<span class="default"><a href="real_1.html#K1" title="REAL_1:func.1">-</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c2">p</font></span>)</span> <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <span class="p3">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="xcmplx_1.html#T188" title="XCMPLX_1:th.188">XCMPLX_1:188</a></span>
<br/>.= 
<span class="p1">(<span class="default">1 <a href="nat_1.html#K4" title="NAT_1:func.4">*</a> <span class="p2">(<span class="default"><a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c2">p</font></span>)</span></span>)</span> <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span>

<br/>.= 
1 <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span> <a href="real_1.html#K6" title="REAL_1:func.6">/</a> <span class="p2">(<span class="default"><a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c2">p</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="xcmplx_1.html#T77" title="XCMPLX_1:th.77">XCMPLX_1:77</a></span>
<br/>.= 
1 <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <font color="Maroon" title="c2">p</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="rat_1.html#T15" target="_self" title="RAT_1:th.15">Th37</a></span>
; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/></div><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E3:66"/>
( <font color="Maroon" title="c2">p</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="real_1.html#K10" title="REAL_1:func.10">/</a> <font color="Maroon" title="c2">p</font> iff (  <a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="real_1.html#K1" title="REAL_1:func.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="c2">p</font></span>)</span> &amp;  <a href="rat_1.html#K1" title="RAT_1:func.1">denominator</a> <font color="Maroon" title="c3">q</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><a href="rat_1.html#K2" title="RAT_1:func.2">numerator</a> <font color="Maroon" title="c2">p</font></span>)</span> ) )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:66"><span class="lab"><font color="Green" title="E40">A1</font></span></a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
