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

<b>let </b><font color="Maroon" title="c1">i</font>, <font color="Maroon" title="c2">j</font> be   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>;<br/>

<b>assume </b><b>that </b><br/><a NAME="E1:37"/><i><font color="Green" title="E25">A1</font></i>: 
<font color="Maroon" title="c1">i</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <b>and </b><br/><a NAME="E2:37"/><i><font color="Green" title="E26">A2</font></i>: 
<font color="Maroon" title="c2">j</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ;<br/>

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="37_1"><b>per </b></a><a class="txt" onclick="hs(this)" href="javascript:()"><b>cases </b></a><span class="hide"><a NAME="E1:37_1"/>
( <font color="Maroon" title="c2">j</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>  or <font color="Maroon" title="c2">j</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  )
 </span><b>by </b><i><a class="txt" href="int_2.html#E2:37"><i><font color="Green" title="E26">A2</font></i></a>, <a class="ref" href="xxreal_0.html#T1" title="XXREAL_0:th.1">XXREAL_0:1</a></i>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="37_1_1"><b>suppose </b></a><a NAME="E1:37_1_1"/><i><font color="Green" title="E27">A3</font></i>: 
<font color="Maroon" title="c2">j</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> 
 ;<br/><div class="add"><a NAME="E2:37_1_1"/><b>then </b><i><font color="Green" title="E28">A4</font></i>: 
( <font color="Maroon" title="c1">i</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="c1">i</font> &amp; <font color="Maroon" title="c2">j</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="c2">j</font> )
 <b>by </b><i><a class="txt" href="int_2.html#E1:37"><i><font color="Green" title="E25">A1</font></i></a>, <a class="ref" href="absvalue.html#D1" title="ABSVALUE:def.1">ABSVALUE:def 1</a></i>;<br/><a NAME="E3:37_1_1"/>
( <font color="Maroon" title="c1">i</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c2">j</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <font color="Maroon" title="c1">i</font> <a href="int_1.html#K5" title="INT_1:func.5">div</a> <font color="Maroon" title="c2">j</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  )
 <b>by </b><i><a class="txt" href="int_2.html#E1:37"><i><font color="Green" title="E25">A1</font></i></a>, <a class="txt" href="int_2.html#E1:37_1_1"><i><font color="Green" title="E27">A3</font></i></a>, <a class="ref" href="int_1.html#T84" title="INT_1:th.84">INT_1:84</a>, <a class="ref" href="int_1.html#T88" title="INT_1:th.88">INT_1:88</a></i>;<br/><b>then reconsider </b><font color="Maroon" title="c3">n</font> = <font color="Maroon" title="c1">i</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c2">j</font>, <font color="Maroon" title="c4">m</font> = <font color="Maroon" title="c1">i</font> <a href="int_1.html#K5" title="INT_1:func.5">div</a> <font color="Maroon" title="c2">j</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a>  <b>by </b><i><a class="ref" href="int_1.html#T16" title="INT_1:th.16">INT_1:16</a></i>;<br/><b>thus </b><a NAME="E5:37_1_1"/>
( <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c1">i</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c2">j</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c2">j</font> &amp; <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c1">i</font></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c2">j</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="int_1.html#K5" title="INT_1:func.5">div</a> <font color="Maroon" title="c2">j</font> )
 <b>by </b><i><a class="txt" href="int_2.html#E2:37_1_1"><i><font color="Green" title="E28">A4</font></i></a></i>;<br/></div><b>end;</b></div><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="37_1_2"><b>suppose </b></a><a NAME="E1:37_1_2"/><i><font color="Green" title="E27">A5</font></i>: 
<font color="Maroon" title="c2">j</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ;<br/><div class="add"><a NAME="E2:37_1_2"/>
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <b>by </b><i><a class="ref" href="absvalue.html#D1" title="ABSVALUE:def.1">ABSVALUE:def 1</a></i>;<br/><a NAME="E3:37_1_2"/><b>then </b>
( <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c1">i</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> </span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c1">i</font></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> </span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  )
 <b>by </b><i><a class="ref" href="nat_d.html#D1" title="NAT_D:def.1">NAT_D:def 1</a>, <a class="ref" href="nat_d.html#D2" title="NAT_D:def.2">NAT_D:def 2</a></i>;<br/><b>hence </b><a NAME="E4:37_1_2"/>
( <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c1">i</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c2">j</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c2">j</font> &amp; <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c1">i</font></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c2">j</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="int_1.html#K5" title="INT_1:func.5">div</a> <font color="Maroon" title="c2">j</font> )
 <b>by </b><i><a class="txt" href="int_2.html#E1:37_1_2"><i><font color="Green" title="E27">A5</font></i></a>, <a class="ref" href="int_1.html#T75" title="INT_1:th.75">INT_1:75</a>, <a class="ref" href="int_1.html#D8" title="INT_1:def.8">INT_1:def 8</a></i>;<br/></div><b>end;</b></div></div><b>end;</b></div>

</div>
