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

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





<b>assume </b><a NAME="E1:22"/><i><font color="Green" title="E16">A1</font></i>: 
( <font color="Maroon" title="c3">c</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c1">a</font> &amp; <font color="Maroon" title="c3">c</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c2">b</font> )
 ;<br/>

<a NAME="E2:22"/><b>then </b><i><font color="Green" title="E17">A2</font></i>: 
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c3">c</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a>  <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c1">a</font>
 
<b>by </b><i><a class="ref" href="int_2.html#T21" target="_self" title="INT_2:th.21">Th21</a></i>;<br/>
<a NAME="E3:22"/>
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c3">c</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a>  <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c2">b</font>
 
<b>by </b><i><a class="txt" href="int_2.html#E1:22"><i><font color="Green" title="E16">A1</font></i></a>, <a class="ref" href="int_2.html#T21" target="_self" title="INT_2:th.21">Th21</a></i>;<br/>
<a NAME="E4:22"/><b>then </b>
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c3">c</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="nat_d.html#K8" title="NAT_D:func.8">hcf</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">b</font></span>)</span>
 
<b>by </b><i><a class="txt" href="int_2.html#E2:22"><i><font color="Green" title="E17">A2</font></i></a>, <a class="ref" href="nat_d.html#D5" title="NAT_D:def.5">NAT_D:def 5</a></i>;<br/>
<b>then consider </b><font color="Maroon" title="c4">m</font> being   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a><b> such that </b><br/><a NAME="E6:22"/><i><font color="Green" title="E18">A3</font></i>: 
<span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="nat_d.html#K8" title="NAT_D:func.8">hcf</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">b</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">m</font>
 <b>by </b><i><a class="ref" href="nat_d.html#D3" title="NAT_D:def.3">NAT_D:def 3</a></i>;<br/>
<a NAME="E7:22"/><i><font color="Green" title="E19">A4</font></i>: 
( <font color="Maroon" title="c3">c</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 0 implies <font color="Maroon" title="c3">c</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">b</font> )
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="22_1"><b>proof </b></a><div class="add">

<b>assume </b><a NAME="E1:22_1"/>
<font color="Maroon" title="c3">c</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 0
 ;<br/>

<a NAME="E2:22_1"/><b>then </b>
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c3">c</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">c</font>
 
<b>by </b><i><a class="ref" href="absvalue.html#D1" title="ABSVALUE:def.1">ABSVALUE:def 1</a></i>;<br/>
<b>hence </b><a NAME="E3:22_1"/>
<font color="Maroon" title="c3">c</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">b</font>
 <b>by </b><i><a class="txt" href="int_2.html#E6:22"><i><font color="Green" title="E18">A3</font></i></a>, <a class="ref" href="int_1.html#D9" title="INT_1:def.9">INT_1:def 9</a></i>;<br/>


</div><b>end;</b></div>
<a NAME="E8:22"/>
( <font color="Maroon" title="c3">c</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 0 implies <font color="Maroon" title="c3">c</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">b</font> )
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="22_2"><b>proof </b></a><div class="add">

<b>assume </b><a NAME="E1:22_2"/>
<font color="Maroon" title="c3">c</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 0
 ;<br/>

<a NAME="E2:22_2"/><b>then </b>
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c3">c</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c3">c</font>
 
<b>by </b><i><a class="ref" href="absvalue.html#D1" title="ABSVALUE:def.1">ABSVALUE:def 1</a></i>;<br/>
<a NAME="E3:22_2"/><b>then </b>
<font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">c</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c4">m</font></span>)</span>
 
<b>by </b><i><a class="txt" href="int_2.html#E6:22"><i><font color="Green" title="E18">A3</font></i></a></i>;<br/>
<b>hence </b><a NAME="E4:22_2"/>
<font color="Maroon" title="c3">c</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">b</font>
 <b>by </b><i><a class="ref" href="int_1.html#D9" title="INT_1:def.9">INT_1:def 9</a></i>;<br/>


</div><b>end;</b></div>
<b>hence </b><a NAME="E9:22"/>
<font color="Maroon" title="c3">c</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">b</font>
 <b>by </b><i><a class="txt" href="int_2.html#E7:22"><i><font color="Green" title="E19">A4</font></i></a></i>;<br/>


</div>
