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

<span class="kw">let </span><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>; <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="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>  &amp; <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>  implies <font color="Maroon" title="c1">i</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">j</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">j</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <span class="p1">(<span class="default"><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></span>)</span> )</span><br/>

<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:40"/><span class="lab"><font color="Green" title="E21">A1</font></span>: 
<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> 
 <span class="kw">and </span><br/><a NAME="E2:40"/><span class="lab"><font color="Green" title="E22">A2</font></span>: 
<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> 
 ; <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="c1">i</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">j</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">j</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <span class="p1">(<span class="default"><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></span>)</span></span><br/>

<a NAME="E3:40"/><span class="lab"><font color="Green" title="E23">A3</font></span>: 
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <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> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:40"><span class="lab"><font color="Green" title="E22">A2</font></span></a>, <a class="ref" href="absvalue.html#D1" title="ABSVALUE:def.1">ABSVALUE:def 1</a></span>;<br/>
<span class="kw">thus </span><font color="Maroon" title="c1">i</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">j</font> = 
<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#K6" title="NAT_D:func.6">gcd</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>
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T34" title="INT_2:th.34">INT_2:34</a></span>
<br/>.= 
<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="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p1">(<span class="default"><span class="p2">(<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="p2">(<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></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:40"><span class="lab"><font color="Green" title="E23">A3</font></span></a>, <a class="ref" href="nat_d.html#T28" target="_self" title="NAT_D:th.28">Th28</a></span>
<br/>.= 
<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="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p1">(<span class="default"><a href="int_2.html#K1" title="INT_2:func.1">abs</a> <span class="p2">(<span class="default"><span class="p3">(<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="p3">(<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></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="absvalue.html#D1" title="ABSVALUE:def.1">ABSVALUE:def 1</a></span>
<br/>.= 
<font color="Maroon" title="c2">j</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <span class="p1">(<span class="default"><span class="p2">(<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="p2">(<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></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T34" title="INT_2:th.34">INT_2:34</a></span>
<br/>.= 
<font color="Maroon" title="c2">j</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <span class="p1">(<span class="default"><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></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:40"><span class="lab"><font color="Green" title="E21">A1</font></span></a>, <a class="txt" href="#E2:40"><span class="lab"><font color="Green" title="E22">A2</font></span></a>, <a class="ref" href="int_2.html#T32" title="INT_2:th.32">INT_2:32</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>
