<?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" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" 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#K5" title="NUMBERS:func.5">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#K5" title="NUMBERS:func.5">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#K5" title="INT_1:func.5">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:35"/><span class="lab"><font color="Green" title="E22">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#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">and </span><br/><a NAME="E2:35"/><span class="lab"><font color="Green" title="E23">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#K5" title="NUMBERS:func.5">0</a> 
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" 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#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">j</font></span>)</span></span><br/>

<a NAME="E3:35"/><span class="lab"><font color="Green" title="E24">A3</font></span>: 
<span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c2">j</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:35"><span class="lab"><font color="Green" title="E23">A2</font></span></a>, <a class="ref" href="absvalue.html#D1" onmouseover="rs('absvalue/D1')" onmouseout="rh()">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"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c1">i</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c2">j</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T34" onmouseover="rs('int_2/T34')" onmouseout="rh()">INT_2:34</a></span>
<br/>.= 
<span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c2">j</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p1">(<span class="default"><span class="p2"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c1">i</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c2">j</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:35"><span class="lab"><font color="Green" title="E24">A3</font></span></a>, <a class="ref" href="nat_d.html#T28" target="_self" onmouseover="rs('nat_d/T28')" onmouseout="rh()">Th28</a></span>
<br/>.= 
<span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c2">j</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><span class="p2">(<span class="default"><span class="p3"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c1">i</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c2">j</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span></span>)</span></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="absvalue.html#D1" onmouseover="rs('absvalue/D1')" onmouseout="rh()">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"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c1">i</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c2">j</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T34" onmouseover="rs('int_2/T34')" onmouseout="rh()">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#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">j</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:35"><span class="lab"><font color="Green" title="E22">A1</font></span></a>, <a class="txt" href="#E2:35"><span class="lab"><font color="Green" title="E23">A2</font></span></a>, <a class="ref" href="int_2.html#T32" onmouseover="rs('int_2/T32')" onmouseout="rh()">INT_2:32</a></span>
; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
