<?xml version="1.0"?>
<div><span class="kw">theorem </span><span class="lab"><font color="Green" title="E41">Th42</font></span>: <a NAME="T42"><span class="comment"><font color="firebrick">:: INT_4:42</font></span><br/></a><div class="add"> for <font color="Olive" title="b1">m1</font>, <font color="Olive" title="b2">m2</font>, <font color="Olive" title="b3">c1</font>, <font color="Olive" title="b4">c2</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">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="Olive" title="b2">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="Olive" title="b1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Olive" title="b2">m2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Olive" title="b4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Olive" title="b3">c1</font> holds <br/> ex <font color="Olive" title="b5">r</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/>( (  for <font color="Olive" title="b6">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="b6">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Olive" title="b3">c1</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Olive" title="b1">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="b6">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Olive" title="b4">c2</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Olive" title="b2">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="b6">x</font>,<font color="Olive" title="b3">c1</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">m1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b5">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Olive" title="b1">m1</font> <a href="int_2.html#K2" title="INT_2:func.2">lcm</a> <font color="Olive" title="b2">m2</font> ) &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Olive" title="b1">m1</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p4">(<span class="default"><font color="Olive" title="b1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Olive" title="b2">m2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b5">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="Olive" title="b4">c2</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Olive" title="b3">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="Olive" title="b1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Olive" title="b2">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="Olive" title="b2">m2</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">m1</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Olive" title="b2">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>  )</div></div>
