<?xml version="1.0"?>
<div><span class="kw">theorem </span><a NAME="T47"><span class="comment"><font color="firebrick">:: INT_4:47</font></span><br/></a><div class="add"> for <font color="Olive" title="b1">a</font>, <font color="Olive" title="b2">b</font>, <font color="Olive" title="b3">c</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><br/>  for <font color="Olive" title="b4">n1</font>, <font color="Olive" title="b5">n2</font>, <font color="Olive" title="b6">n3</font> being   non  <a href="ordinal1.html#V8" title="ORDINAL1:attr.8">zero</a>  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b5">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Olive" title="b1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Olive" title="b2">b</font> holds <br/> ex <font color="Olive" title="b7">r</font>, <font color="Olive" title="b8">s</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/> for <font color="Olive" title="b9">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="b9">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Olive" title="b1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Olive" title="b4">n1</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="b9">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Olive" title="b2">b</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Olive" title="b5">n2</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="b9">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Olive" title="b3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Olive" title="b6">n3</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="b9">x</font>,<span class="p1">(<span class="default"><font color="Olive" title="b1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Olive" title="b4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b7">r</font></span>)</span></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="Olive" title="b4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b8">s</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <span class="p1">(<span class="default"><font color="Olive" title="b4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b6">n3</font> &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Olive" title="b4">n1</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><font color="Olive" title="b4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b5">n2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b7">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="b2">b</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Olive" title="b1">a</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="b4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b5">n2</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="b5">n2</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><font color="Olive" title="b4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b5">n2</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>  &amp; <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="Olive" title="b4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b5">n2</font></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><span class="p5">(<span class="default"><font color="Olive" title="b4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b6">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b8">s</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="b3">c</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p4">(<span class="default"><font color="Olive" title="b1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p5">(<span class="default"><font color="Olive" title="b4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b7">r</font></span>)</span></span>)</span></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Olive" title="b4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b6">n3</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="b6">n3</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Olive" title="b4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b6">n3</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>
