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

<span class="kw">let </span><font color="Maroon" title="c1">m1</font>, <font color="Maroon" title="c2">m2</font>, <font color="Maroon" title="c3">c1</font>, <font color="Maroon" title="c4">c2</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">m1</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">m2</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">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font> implies  ex <font color="Olive" title="b1">r</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/>( (  for <font color="Olive" title="b2">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <span class="p1">(<span class="default"><font color="Olive" title="b2">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <span class="p1">(<span class="default"><font color="Olive" title="b2">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">c2</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">m2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  holds <br/><font color="Olive" title="b2">x</font>,<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Maroon" title="c2">m2</font> ) &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">r</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) )</span><br/>







<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:57"/><span class="lab"><font color="Green" title="E42">A1</font></span>: 
<font color="Maroon" title="c1">m1</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:57"/><span class="lab"><font color="Green" title="E43">A2</font></span>: 
<font color="Maroon" title="c2">m2</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="E3:57"/><span class="lab"><font color="Green" title="E44">A3</font></span>: 
<font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</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">  ex <font color="Olive" title="b1">r</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/>( (  for <font color="Olive" title="b2">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <span class="p1">(<span class="default"><font color="Olive" title="b2">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <span class="p1">(<span class="default"><font color="Olive" title="b2">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">c2</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">m2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  holds <br/><font color="Olive" title="b2">x</font>,<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Maroon" title="c2">m2</font> ) &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">r</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  )</span><br/>

<span class="kw">set </span><font color="Maroon" title="c5">d</font> = <font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c6">d1</font> = <font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span>;<br/>
<span class="kw">set </span><font color="Maroon" title="c7">d2</font> = <font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span>;<br/>
<span class="kw">set </span><font color="Maroon" title="c8">d3</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span>;<br/>
<a NAME="E4:57"/><span class="lab"><font color="Green" title="E45">A4</font></span>: 
<font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span>,<font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:57"><span class="lab"><font color="Green" title="E42">A1</font></span></a>, <a class="txt" href="int_4.html#E53"><span class="lab"><font color="Green" title="E37">Lm12</font></span></a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c9">r</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:57"/><span class="lab"><font color="Green" title="E46">A5</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T15" target="_self" onmouseover="rs('int_4/T15')" onmouseout="rh()">Th15</a></span>;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c9">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"> ( (  for <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"><font color="Olive" title="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <span class="p1">(<span class="default"><font color="Olive" title="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">c2</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">m2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  holds <br/><font color="Olive" title="b1">x</font>,<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Maroon" title="c2">m2</font> ) &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  )</span><br/>

<a NAME="E7:57"/><span class="lab"><font color="Green" title="E47">A6</font></span>: 
<font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="int_4.html#E52"><span class="lab"><font color="Green" title="E36">Lm11</font></span></a>, <a class="ref" href="int_2.html#T21" onmouseover="rs('int_2/T21')" onmouseout="rh()">INT_2:21</a></span>;<br/>
<a NAME="E8:57"/><span class="lab"><font color="Green" title="E48">A7</font></span>: 
<font color="Maroon" title="c2">m2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="int_4.html#E52"><span class="lab"><font color="Green" title="E36">Lm11</font></span></a>, <a class="ref" href="int_2.html#T21" onmouseover="rs('int_2/T21')" onmouseout="rh()">INT_2:21</a></span>;<br/>
<a NAME="E9:57"/><span class="lab"><font color="Green" title="E49">A8</font></span>: 
<font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</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">by</span> <span class="lab"><a class="txt" href="#E1:57"><span class="lab"><font color="Green" title="E42">A1</font></span></a>, <a class="ref" href="int_2.html#T5" onmouseover="rs('int_2/T5')" onmouseout="rh()">INT_2:5</a></span>;<br/>
<a NAME="E10:57"/>
 for <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"><font color="Olive" title="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <span class="p1">(<span class="default"><font color="Olive" title="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">c2</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">m2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  holds <br/><font color="Olive" title="b1">x</font>,<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Maroon" title="c2">m2</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="57_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c10">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"> ( <span class="p1">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">c2</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">m2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <font color="Maroon" title="c10">x</font>,<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Maroon" title="c2">m2</font> )</span><br/>

<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:57_1"/><span class="lab"><font color="Green" title="E50">A9</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">and </span><br/><a NAME="E2:57_1"/><span class="lab"><font color="Green" title="E51">A10</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">c2</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">m2</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"> <font color="Maroon" title="c10">x</font>,<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Maroon" title="c2">m2</font></span><br/>

<span class="kw">set </span><font color="Maroon" title="c11">y</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font>;<br/>
<span class="lab"><font color="Green" title="E52">A11</font></span>: <font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font> = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m1</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">m1</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:57"><span class="lab"><font color="Green" title="E42">A1</font></span></a>, <a class="ref" href="int_1.html#T59" onmouseover="rs('int_1/T59')" onmouseout="rh()">INT_1:59</a></span>
<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m1</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:57_1"><span class="lab"><font color="Green" title="E50">A9</font></span></a></span>
;<br/>
<a NAME="E4:57_1"/><span class="kw">then </span>
<font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c9">r</font></span>)</span>
 
;<br/>
<a NAME="E5:57_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E53">A12</font></span>: 
<font color="Maroon" title="c1">m1</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">c1</font></span>)</span>
 
;<br/>
<span class="p1">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">c2</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">m2</font> = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</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="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">m2</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:57_1"><span class="lab"><font color="Green" title="E52">A11</font></span></a></span>
<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p5">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:57"><span class="lab"><font color="Green" title="E44">A3</font></span></a>, <a class="txt" href="#E7:57"><span class="lab"><font color="Green" title="E47">A6</font></span></a>, <a class="txt" href="#E8:57"><span class="lab"><font color="Green" title="E48">A7</font></span></a>, <a class="txt" href="int_4.html#E52"><span class="lab"><font color="Green" title="E36">Lm11</font></span></a></span>
;<br/>
<a NAME="E7:57_1"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:57"><span class="lab"><font color="Green" title="E43">A2</font></span></a>, <a class="txt" href="#E8:57"><span class="lab"><font color="Green" title="E48">A7</font></span></a>, <a class="txt" href="#E2:57_1"><span class="lab"><font color="Green" title="E51">A10</font></span></a>, <a class="txt" href="int_4.html#E51"><span class="lab"><font color="Green" title="E35">Lm10</font></span></a></span>;<br/>
<a NAME="E8:57_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:57"><span class="lab"><font color="Green" title="E49">A8</font></span></a>, <a class="ref" href="int_4.html#T7" target="_self" onmouseover="rs('int_4/T7')" onmouseout="rh()">Th7</a></span>;<br/>
<a NAME="E9:57_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E54">A13</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="int_4.html#E51"><span class="lab"><font color="Green" title="E35">Lm10</font></span></a></span>;<br/>
<a NAME="E10:57_1"/>
<font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span> <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">by</span> <span class="lab"><a class="txt" href="#E2:57"><span class="lab"><font color="Green" title="E43">A2</font></span></a>, <a class="txt" href="#E8:57"><span class="lab"><font color="Green" title="E48">A7</font></span></a></span>;<br/>
<a NAME="E11:57_1"/><span class="kw">then </span>
<font color="Maroon" title="c9">r</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="eqrel_1.html#K6" title="EQREL_1:func.6">Class</a> (<span class="p1">(<span class="default"><a href="int_4.html#K1" title="INT_4:func.1">Cong</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:57"><span class="lab"><font color="Green" title="E45">A4</font></span></a>, <a class="txt" href="#E6:57"><span class="lab"><font color="Green" title="E46">A5</font></span></a>, <a class="txt" href="#E9:57_1"><span class="lab"><font color="Green" title="E54">A13</font></span></a>, <a class="ref" href="int_4.html#T26" target="_self" onmouseover="rs('int_4/T26')" onmouseout="rh()">Th26</a></span>;<br/>
<a NAME="E12:57_1"/><span class="kw">then </span>
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span>,<font color="Maroon" title="c9">r</font></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> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="eqrel_1.html#T18" onmouseover="rs('eqrel_1/T18')" onmouseout="rh()">EQREL_1:18</a></span>;<br/>
<a NAME="E13:57_1"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font>,<font color="Maroon" title="c9">r</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span>
 
<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>;<br/>
<a NAME="E14:57_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c9">r</font>
 
;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c12">w</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E16:57_1"/><span class="lab"><font color="Green" title="E55">A14</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c9">r</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">w</font>
 ;<br/>
<font color="Maroon" title="c10">x</font> = 
<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">m1</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m1</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:57_1"><span class="lab"><font color="Green" title="E52">A11</font></span></a></span>
<br/>.= 
<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p5">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">w</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m1</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E16:57_1"><span class="lab"><font color="Green" title="E55">A14</font></span></a></span>
<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c12">w</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">m2</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:57"><span class="lab"><font color="Green" title="E47">A6</font></span></a>, <a class="txt" href="#E8:57"><span class="lab"><font color="Green" title="E48">A7</font></span></a></span>
;<br/>
<a NAME="E18:57_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">m2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">c1</font></span>)</span>
 
;<br/>
<a NAME="E19:57_1"/><span class="kw">then </span>
<font color="Maroon" title="c1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Maroon" title="c2">m2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c10">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">c1</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:57_1"><span class="lab"><font color="Green" title="E53">A12</font></span></a>, <a class="ref" href="int_2.html#T19" onmouseover="rs('int_2/T19')" onmouseout="rh()">INT_2:19</a></span>;<br/>
<span class="kw">hence </span><a NAME="E20:57_1"/>
<font color="Maroon" title="c10">x</font>,<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Maroon" title="c2">m2</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"> verum</span><br/>


</div><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E11:57"/>
( (  for <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"><font color="Olive" title="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">m1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <span class="p1">(<span class="default"><font color="Olive" title="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">c2</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">m2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  holds <br/><font color="Olive" title="b1">x</font>,<font color="Maroon" title="c3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Maroon" title="c2">m2</font> ) &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c9">r</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c1</font></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c2">m2</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:57"><span class="lab"><font color="Green" title="E46">A5</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>
