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

<span class="kw">let </span><font color="Maroon" title="c1">m</font>, <font color="Maroon" title="c2">a</font>, <font color="Maroon" title="c3">b</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">m</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  &amp; <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c3">b</font> implies  ex <font color="Olive" title="b1">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">b</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  )</span><br/>





<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:26"/><span class="lab"><font color="Green" title="E22">A1</font></span>: 
<font color="Maroon" title="c1">m</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <span class="kw">and </span><br/><a NAME="E2:26"/><span class="lab"><font color="Green" title="E23">A2</font></span>: 
<font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c3">b</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  ex <font color="Olive" title="b1">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">b</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> </span><br/>

<span class="kw">consider </span><font color="Maroon" title="c4">a1</font>, <font color="Maroon" title="c5">m1</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:26"/><span class="lab"><font color="Green" title="E24">A3</font></span>: 
<font color="Maroon" title="c2">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">a1</font>
 <span class="kw">and </span><br/><a NAME="E5:26"/><span class="lab"><font color="Green" title="E25">A4</font></span>: 
<font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">m1</font>
 <span class="kw">and </span><br/><a NAME="E6:26"/><span class="lab"><font color="Green" title="E26">A5</font></span>: 
<font color="Maroon" title="c4">a1</font>,<font color="Maroon" title="c5">m1</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_relative_prime</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:26"><span class="lab"><font color="Green" title="E22">A1</font></span></a>, <a class="ref" href="int_2.html#T23" title="INT_2:th.23">INT_2:23</a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c6">b1</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E8:26"/><span class="lab"><font color="Green" title="E27">A6</font></span>: 
<font color="Maroon" title="c3">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">b1</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:26"><span class="lab"><font color="Green" title="E23">A2</font></span></a>, <a class="ref" href="int_1.html#D3" title="INT_1:def.3">INT_1:def 3</a></span>;<br/>
<a NAME="E9:26"/><span class="lab"><font color="Green" title="E28">A7</font></span>: 
<font color="Maroon" title="c5">m1</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&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="#E1:26"><span class="lab"><font color="Green" title="E22">A1</font></span></a>, <a class="txt" href="#E5:26"><span class="lab"><font color="Green" title="E25">A4</font></span></a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c7">y</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E11:26"/><span class="lab"><font color="Green" title="E29">A8</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">a1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">y</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c6">b1</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c5">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:26"><span class="lab"><font color="Green" title="E26">A5</font></span></a>, <a class="ref" href="int_4.html#T15" target="_self" title="INT_4:th.15">Th15</a></span>;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c7">y</font>
; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">y</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">b</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> </span><br/>

<a NAME="E12:26"/>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">a1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">y</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c6">b1</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c5">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c5">m1</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E11:26"><span class="lab"><font color="Green" title="E29">A8</font></span></a>, <a class="ref" href="int_4.html#T12" target="_self" title="INT_4:th.12">Th12</a></span>;<br/>
<a NAME="E13:26"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">a1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">y</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c6">b1</font>, <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c5">m1</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:26"><span class="lab"><font color="Green" title="E28">A7</font></span></a>, <a class="ref" href="nat_d.html#T64" title="NAT_D:th.64">NAT_D:64</a></span>;<br/>
<a NAME="E14:26"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">a1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">y</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c6">b1</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c5">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">m</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T10" target="_self" title="INT_4:th.10">Th10</a></span>;<br/>
<a NAME="E15:26"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">y</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">b</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c1">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:26"><span class="lab"><font color="Green" title="E24">A3</font></span></a>, <a class="txt" href="#E5:26"><span class="lab"><font color="Green" title="E25">A4</font></span></a>, <a class="txt" href="#E8:26"><span class="lab"><font color="Green" title="E27">A6</font></span></a>, <a class="ref" href="nat_d.html#T64" title="NAT_D:th.64">NAT_D:64</a></span>;<br/>
<span class="kw">hence </span><a NAME="E16:26"/>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">y</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">b</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T12" target="_self" title="INT_4:th.12">Th12</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>
