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

<span class="kw">let </span><font color="Maroon" title="c1">a</font>, <font color="Maroon" title="c2">b</font> be   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</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">a</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c2">b</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies  ex <font color="Olive" title="b1">c</font>, <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> st <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> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">c</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">d</font></span>)</span> )</span><br/>



<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:51"/><span class="lab"><font color="Green" title="E39">A1</font></span>: 
<font color="Maroon" title="c1">a</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">and </span><br/><a NAME="E2:51"/><span class="lab"><font color="Green" title="E40">A2</font></span>: 
<font color="Maroon" title="c2">b</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&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">  ex <font color="Olive" title="b1">c</font>, <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> st <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> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">c</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">d</font></span>)</span></span><br/>

<span class="kw">consider </span><font color="Maroon" title="c3">m</font>, <font color="Maroon" title="c4">n</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E4:51"/><span class="lab"><font color="Green" title="E41">A3</font></span>: 
<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> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">n</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="wsierp_1.html#T27" target="_self" onmouseover="rs('wsierp_1/T27')" onmouseout="rh()">Th27</a></span>;<br/>
<span class="kw">set </span><font color="Maroon" title="c5">k</font> = <span class="p1"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p2">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p3">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p3">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1;<br/>
<a NAME="E5:51"/>
<span class="p1"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p2">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p3">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p3">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T32" onmouseover="rs('int_1/T32')" onmouseout="rh()">INT_1:32</a>, <a class="ref" href="xxreal_0.html#T31" onmouseover="rs('xxreal_0/T31')" onmouseout="rh()">XXREAL_0:31</a></span>;<br/>
<a NAME="E6:51"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p3">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p4">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p5">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p4">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">a</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Maroon" title="c4">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:51"><span class="lab"><font color="Green" title="E39">A1</font></span></a>, <a class="ref" href="xreal_1.html#T77" onmouseover="rs('xreal_1/T77')" onmouseout="rh()">XREAL_1:77</a></span>;<br/>
<a NAME="E7:51"/><span class="kw">then </span><span class="lab"><font color="Green" title="E42">A4</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p4">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p5">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p0">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p5">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">n</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> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T50" onmouseover="rs('xreal_1/T50')" onmouseout="rh()">XREAL_1:50</a></span>;<br/>
<a NAME="E8:51"/>
<span class="p1"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p2">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p3">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p3">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T32" onmouseover="rs('int_1/T32')" onmouseout="rh()">INT_1:32</a>, <a class="ref" href="xxreal_0.html#T31" onmouseover="rs('xxreal_0/T31')" onmouseout="rh()">XXREAL_0:31</a></span>;<br/>
<a NAME="E9:51"/><span class="kw">then </span>
<span class="p1"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p2">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p3">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p3">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c3">m</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xcmplx_1.html#T187" onmouseover="rs('xcmplx_1/T187')" onmouseout="rh()">XCMPLX_1:187</a></span>;<br/>
<a NAME="E10:51"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p3">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p4">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p5">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p4">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c3">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:51"><span class="lab"><font color="Green" title="E40">A2</font></span></a>, <a class="ref" href="xreal_1.html#T77" onmouseover="rs('xreal_1/T77')" onmouseout="rh()">XREAL_1:77</a></span>;<br/>
<a NAME="E11:51"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p4">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p5">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p0">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p5">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c3">m</font></span>)</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="ref" href="xreal_1.html#T50" onmouseover="rs('xreal_1/T50')" onmouseout="rh()">XREAL_1:50</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c6">e</font> = <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p4">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p5">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p0">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p5">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">m</font>, <font color="Maroon" title="c7">d</font> = <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p4">(<span class="default"><a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p5">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p0">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c2">b</font></span>)</span></span>)</span>,<span class="p5">(<span class="default"><font color="Maroon" title="c4">n</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">a</font></span>)</span>)</span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">n</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:51"><span class="lab"><font color="Green" title="E42">A4</font></span></a>, <a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a></span>;<br/>
<a NAME="E13:51"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">e</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">d</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">n</font></span>)</span>
 
;<br/>
<span class="kw">hence </span><a NAME="E14:51"/>
 ex <font color="Olive" title="b1">c</font>, <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> st <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> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">c</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">d</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:51"><span class="lab"><font color="Green" title="E41">A3</font></span></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>
