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

<span class="kw">let </span><font color="Maroon" title="c1">m</font>, <font color="Maroon" title="c2">n</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="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="int_1.html#K4" title="INT_1:func.4">frac</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span><br/>



<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="10_1"><span class="kw">per </span></a><a class="txt" onclick="hs(this)" href="javascript:()"><span class="kw">cases </span></a><span class="hide"><a NAME="E1:10_1"/>
( <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  or <font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="10_1_1"><span class="kw">suppose </span></a><a NAME="E1:10_1_1"/><span class="lab"><font color="Green" title="E8">A1</font></span>: 
<font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="int_1.html#K4" title="INT_1:func.4">frac</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span><br/><div class="add"><span class="kw">hence </span> <a href="int_1.html#K4" title="INT_1:func.4">frac</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span>)</span> = 
 <a href="int_1.html#K4" title="INT_1:func.4">frac</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>

<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:10_1_1"><span class="lab"><font color="Green" title="E8">A1</font></span></a></span>
;<br/> <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="hsNdiv(this)" href="javascript:()" title="10_1_2"><span class="kw">suppose </span></a><a NAME="E1:10_1_2"/><span class="lab"><font color="Green" title="E8">A2</font></span>: 
<font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  <a href="int_1.html#K4" title="INT_1:func.4">frac</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span><br/><div class="add"><a NAME="E2:10_1_2"/><span class="kw">then </span>
<font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c2">n</font></span>)</span></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#T2" title="NAT_D:th.2">NAT_D:2</a></span>;<br/><a NAME="E3:10_1_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="real_1.html#K3" title="REAL_1:func.3">+</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:10_1_2"><span class="lab"><font color="Green" title="E8">A2</font></span></a>, <a class="ref" href="xcmplx_1.html#T113" title="XCMPLX_1:th.113">XCMPLX_1:113</a></span>;<br/><span class="kw">hence </span><a NAME="E4:10_1_2"/>
 <a href="int_1.html#K4" title="INT_1:func.4">frac</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="complex1.html#K13" title="COMPLEX1:func.13">/</a> <font color="Maroon" title="c2">n</font>
 ; <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><span class="kw">end;</span></div>

</div>
