<?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>, <font color="Maroon" title="c3">m</font>, <font color="Maroon" title="c4">x</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="c3">m</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="c1">a</font>,<font color="Maroon" title="c3">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  &amp; <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="c4">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies  ex <font color="Olive" title="b1">s</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c4">x</font>,<span class="p2">(<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="b1">s</font></span>)</span></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c3">m</font> )</span><br/>







<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:37"/><span class="lab"><font color="Green" title="E28">A1</font></span>: 
<font color="Maroon" title="c3">m</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:37"/><span class="lab"><font color="Green" title="E29">A2</font></span>: 
<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c3">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> 
 <span class="kw">and </span><br/><a NAME="E3:37"/><span class="lab"><font color="Green" title="E30">A3</font></span>: 
<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="c4">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</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">s</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c4">x</font>,<span class="p2">(<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="b1">s</font></span>)</span></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c3">m</font></span><br/>

<a NAME="E4:37"/>
<font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:37"><span class="lab"><font color="Green" title="E29">A2</font></span></a>, <a class="ref" href="int_2.html#D3" onmouseover="rs('int_2/D3')" onmouseout="rh()">INT_2:def 3</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c5">r</font>, <font color="Maroon" title="c6">t</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E6:37"/><span class="lab"><font color="Green" title="E31">A4</font></span>: 
1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">r</font> <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#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">t</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">m</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#T68" onmouseover="rs('nat_d/T68')" onmouseout="rh()">NAT_D:68</a></span>;<br/>
<a NAME="E7:37"/>
<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="c4">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c3">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:37"><span class="lab"><font color="Green" title="E30">A3</font></span></a>, <a class="txt" href="int_4.html#E20"><span class="lab"><font color="Green" title="E18">Th12</font></span></a></span>;<br/>
<a NAME="E8:37"/><span class="kw">then </span>
<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="c4">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font>, <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c3">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:37"><span class="lab"><font color="Green" title="E28">A1</font></span></a>, <a class="ref" href="nat_d.html#T64" onmouseover="rs('nat_d/T64')" onmouseout="rh()">NAT_D:64</a></span>;<br/>
<a NAME="E9:37"/><span class="kw">then </span>
<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="c4">x</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">r</font>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">r</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c3">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T11" target="_self" onmouseover="rs('int_4/T11')" onmouseout="rh()">Th11</a></span>;<br/>
<a NAME="E10:37"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">x</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <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="c5">r</font></span>)</span></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="c5">r</font></span>)</span>, <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c3">m</font>
 
;<br/>
<a NAME="E11:37"/><span class="kw">then </span><span class="lab"><font color="Green" title="E32">A5</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c4">x</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default">1 <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p3">(<span class="default"><font color="Maroon" title="c6">t</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">m</font></span>)</span></span>)</span></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="c5">r</font></span>)</span>, <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c3">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:37"><span class="lab"><font color="Green" title="E31">A4</font></span></a></span>;<br/>
<span class="kw">take </span><font color="Maroon" title="c7">s</font> = <font color="Maroon" title="c5">r</font>; <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"> <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c4">x</font>,<span class="p2">(<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">s</font></span>)</span></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c3">m</font></span><br/>

<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c4">x</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">t</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">m</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<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="c5">r</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c3">m</font> = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p3">(<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="c5">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><span class="p4">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c4">x</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">t</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">m</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c3">m</font>

<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c4">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<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="c5">r</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c3">m</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#T61" onmouseover="rs('nat_d/T61')" onmouseout="rh()">NAT_D:61</a></span>
;<br/>
<a NAME="E13:37"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<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="c5">r</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c3">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E11:37"><span class="lab"><font color="Green" title="E32">A5</font></span></a>, <a class="ref" href="nat_d.html#T64" onmouseover="rs('nat_d/T64')" onmouseout="rh()">NAT_D:64</a></span>;<br/>
<a NAME="E14:37"/><span class="kw">then </span>
 <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> ,<font color="Maroon" title="c4">x</font> <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="c5">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c3">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:37"><span class="lab"><font color="Green" title="E28">A1</font></span></a>, <a class="ref" href="nat_d.html#T64" onmouseover="rs('nat_d/T64')" onmouseout="rh()">NAT_D:64</a></span>;<br/>
<a NAME="E15:37"/><span class="kw">then </span>
<a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <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="c5">r</font></span>)</span>,<font color="Maroon" title="c4">x</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c3">m</font>
 
;<br/>
<a NAME="E16:37"/><span class="kw">then </span>
<font color="Maroon" title="c4">x</font>,<font color="Maroon" title="c2">b</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c7">s</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c3">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T14" onmouseover="rs('int_1/T14')" onmouseout="rh()">INT_1:14</a></span>;<br/>
<span class="kw">hence </span><a NAME="E17:37"/>
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c4">x</font>,<span class="p2">(<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">s</font></span>)</span></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <font color="Maroon" title="c3">m</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#D1" target="_self" onmouseover="rs('int_4/D1')" onmouseout="rh()">Def1</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>
