<?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">c</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">  for <font color="Olive" title="b1">n1</font>, <font color="Olive" title="b2">n2</font>, <font color="Olive" title="b3">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="b1">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b2">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font> holds <br/> ex <font color="Olive" title="b4">r</font>, <font color="Olive" title="b5">s</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="Maroon" title="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Olive" title="b1">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="b6">x</font> <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="Olive" title="b2">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="b6">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Olive" title="b3">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="b6">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b4">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="b1">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b2">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b5">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="b1">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b2">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b3">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="b1">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="b1">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b2">n2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b4">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="c2">b</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">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="b1">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b2">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="b2">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="b1">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b2">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="b1">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b2">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="b1">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b2">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b3">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b5">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="Maroon" title="c3">c</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p5">(<span class="default"><font color="Olive" title="b1">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b4">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="b1">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b2">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b3">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="b3">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="b1">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Olive" title="b2">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Olive" title="b3">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>  )</span><br/><span class="kw">let </span><font color="Maroon" title="c4">n1</font>, <font color="Maroon" title="c5">n2</font>, <font color="Maroon" title="c6">n3</font> be   non  <a href="ordinal1.html#V8" title="ORDINAL1:attr.8">zero</a>  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</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="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font> implies  ex <font color="Olive" title="b1">r</font>, <font color="Olive" title="b2">s</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/> for <font color="Olive" title="b3">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="b3">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="b3">x</font> <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="c5">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="b3">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">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="b3">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font> &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</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="c2">b</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c5">n2</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">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="Maroon" title="c3">c</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p5">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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="Maroon" title="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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>  ) )</span><br/>







<span class="kw">set </span><font color="Maroon" title="c7">d1</font> = <font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c8">d2</font> = <font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c9">d3</font> = <font color="Maroon" title="c5">n2</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c10">dd1</font> = <font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c11">K</font> = <font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font>;<br/>
<a NAME="E1:61"/><span class="lab"><font color="Green" title="E43">A1</font></span>: 
<font color="Maroon" title="c5">n2</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D4" onmouseover="rs('nat_d/D4')" onmouseout="rh()">NAT_D:def 4</a></span>;<br/>
<span class="kw">assume </span><a NAME="E2:61"/>
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</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>, <font color="Olive" title="b2">s</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/> for <font color="Olive" title="b3">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="b3">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="b3">x</font> <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="c5">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="b3">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">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="b3">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font> &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</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="c2">b</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c5">n2</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b2">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="Maroon" title="c3">c</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p5">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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="Maroon" title="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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>  )</span><br/>

<a NAME="E3:61"/><span class="kw">then </span>
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">b</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T10" onmouseover="rs('int_2/T10')" onmouseout="rh()">INT_2:10</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c12">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="E5:61"/><span class="lab"><font color="Green" title="E44">A2</font></span>: 
 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="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="b1">x</font> <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="c5">n2</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="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font>
 <span class="kw">and </span><br/><a NAME="E6:61"/><span class="lab"><font color="Green" title="E45">A3</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="c2">b</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c5">n2</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T42" target="_self" onmouseover="rs('int_4/T42')" onmouseout="rh()">Th42</a></span>;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c12">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">  ex <font color="Olive" title="b1">s</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="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="b2">x</font> <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="c5">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="b2">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">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="b2">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font> &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="c2">b</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c5">n2</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">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="Maroon" title="c3">c</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p5">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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="Maroon" title="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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>  )</span><br/>

<span class="kw">set </span><font color="Maroon" title="c13">y</font> = <font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span>;<br/>
<a NAME="E7:61"/><span class="lab"><font color="Green" title="E46">A4</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span>,<font color="Maroon" title="c6">n3</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</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="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="c14">s</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E9:61"/><span class="lab"><font color="Green" title="E47">A5</font></span>: 
<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="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">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="Maroon" title="c3">c</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p5">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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="Maroon" title="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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> 
 <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="c14">s</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="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="b1">x</font> <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="c5">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="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">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="b1">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font> &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="c2">b</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c5">n2</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">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="Maroon" title="c3">c</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p5">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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="Maroon" title="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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>  )</span><br/>

<a NAME="E10:61"/><span class="lab"><font color="Green" title="E48">A6</font></span>: 
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D4" onmouseover="rs('nat_d/D4')" onmouseout="rh()">NAT_D:def 4</a></span>;<br/>
<a NAME="E11:61"/><span class="lab"><font color="Green" title="E49">A7</font></span>: 
 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="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="b1">x</font> <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="c5">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="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">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/><span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="61_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c15">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="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="Maroon" title="c15">x</font> <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="c5">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="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">n3</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font> )</span><br/>

<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:61_1"/><span class="lab"><font color="Green" title="E50">A8</font></span>: 
( <span class="p1">(<span class="default"><font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="Maroon" title="c15">x</font> <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="c5">n2</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:61_1"/><span class="lab"><font color="Green" title="E51">A9</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">n3</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"> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span><br/>

<a NAME="E3:61_1"/><span class="lab"><font color="Green" title="E52">A10</font></span>: 
<font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:61_1"><span class="lab"><font color="Green" title="E51">A9</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="E4:61_1"/>
<font color="Maroon" title="c15">x</font>,<font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:61"><span class="lab"><font color="Green" title="E44">A2</font></span></a>, <a class="txt" href="#E1:61_1"><span class="lab"><font color="Green" title="E50">A8</font></span></a></span>;<br/>
<a NAME="E5:61_1"/><span class="kw">then </span>
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span>
 
;<br/>
<a NAME="E6:61_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E53">A11</font></span>: 
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T10" onmouseover="rs('int_2/T10')" onmouseout="rh()">INT_2:10</a></span>;<br/>
<a NAME="E7:61_1"/><span class="kw">then </span>
<font color="Maroon" title="c4">n1</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c15">x</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:61"><span class="lab"><font color="Green" title="E48">A6</font></span></a>, <a class="ref" href="int_2.html#T9" onmouseover="rs('int_2/T9')" onmouseout="rh()">INT_2:9</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c16">t1</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E9:61_1"/><span class="lab"><font color="Green" title="E54">A12</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c15">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">t1</font>
 ;<br/>
<a NAME="E10:61_1"/>
<font color="Maroon" title="c5">n2</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c6">n3</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D5" onmouseover="rs('nat_d/D5')" onmouseout="rh()">NAT_D:def 5</a></span>;<br/>
<a NAME="E11:61_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E55">A13</font></span>: 
<font color="Maroon" title="c5">n2</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:61_1"><span class="lab"><font color="Green" title="E52">A10</font></span></a>, <a class="ref" href="int_2.html#T9" onmouseover="rs('int_2/T9')" onmouseout="rh()">INT_2:9</a></span>;<br/>
<a NAME="E12:61_1"/>
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c6">n3</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D5" onmouseover="rs('nat_d/D5')" onmouseout="rh()">NAT_D:def 5</a></span>;<br/>
<a NAME="E13:61_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E56">A14</font></span>: 
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:61_1"><span class="lab"><font color="Green" title="E52">A10</font></span></a>, <a class="ref" href="int_2.html#T9" onmouseover="rs('int_2/T9')" onmouseout="rh()">INT_2:9</a></span>;<br/>
<a NAME="E14:61_1"/>
<font color="Maroon" title="c5">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c15">x</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:61"><span class="lab"><font color="Green" title="E43">A1</font></span></a>, <a class="txt" href="#E6:61_1"><span class="lab"><font color="Green" title="E53">A11</font></span></a>, <a class="ref" href="int_2.html#T9" onmouseover="rs('int_2/T9')" onmouseout="rh()">INT_2:9</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c17">t2</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:61_1"/><span class="lab"><font color="Green" title="E57">A15</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c15">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">n2</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c17">t2</font>
 ;<br/>
<a NAME="E17:61_1"/>
<font color="Maroon" title="c5">n2</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c5">n2</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D5" onmouseover="rs('nat_d/D5')" onmouseout="rh()">NAT_D:def 5</a></span>;<br/>
<a NAME="E18:61_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E58">A16</font></span>: 
<font color="Maroon" title="c5">n2</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c5">n2</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c17">t2</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T2" onmouseover="rs('int_2/T2')" onmouseout="rh()">INT_2:2</a></span>;<br/>
<a NAME="E19:61_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</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="c5">n2</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c17">t2</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E16:61_1"><span class="lab"><font color="Green" title="E57">A15</font></span></a></span>;<br/>
<a NAME="E20:61_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E59">A17</font></span>: 
<font color="Maroon" title="c5">n2</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E18:61_1"><span class="lab"><font color="Green" title="E58">A16</font></span></a>, <a class="txt" href="#E11:61_1"><span class="lab"><font color="Green" title="E55">A13</font></span></a>, <a class="ref" href="wsierp_1.html#T4" onmouseover="rs('wsierp_1/T4')" onmouseout="rh()">WSIERP_1:4</a></span>;<br/>
<a NAME="E21:61_1"/>
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c4">n1</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D5" onmouseover="rs('nat_d/D5')" onmouseout="rh()">NAT_D:def 5</a></span>;<br/>
<a NAME="E22:61_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E60">A18</font></span>: 
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">t1</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T2" onmouseover="rs('int_2/T2')" onmouseout="rh()">INT_2:2</a></span>;<br/>
<a NAME="E23:61_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</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="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">t1</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:61_1"><span class="lab"><font color="Green" title="E54">A12</font></span></a></span>;<br/>
<a NAME="E24:61_1"/><span class="kw">then </span>
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E22:61_1"><span class="lab"><font color="Green" title="E60">A18</font></span></a>, <a class="txt" href="#E13:61_1"><span class="lab"><font color="Green" title="E56">A14</font></span></a>, <a class="ref" href="wsierp_1.html#T4" onmouseover="rs('wsierp_1/T4')" onmouseout="rh()">WSIERP_1:4</a></span>;<br/>
<a NAME="E25:61_1"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">n2</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E20:61_1"><span class="lab"><font color="Green" title="E59">A17</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="E26:61_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T46" target="_self" onmouseover="rs('int_4/T46')" onmouseout="rh()">Th46</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><span class="kw">end;</span></div>
<a NAME="E12:61"/>
 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="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="b1">x</font> <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="c5">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="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">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="b1">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="61_2"><span class="kw">proof </span></a><div class="add">

<a NAME="E1:61_2"/><span class="lab"><font color="Green" title="E50">A19</font></span>: 
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</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="ref" href="int_2.html#T4" onmouseover="rs('int_2/T4')" onmouseout="rh()">INT_2:4</a></span>;<br/>
<span class="kw">let </span><font color="Maroon" title="c15">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="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="Maroon" title="c15">x</font> <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="c5">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="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">n3</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="c15">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font> )</span><br/>

<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E2:61_2"/><span class="lab"><font color="Green" title="E51">A20</font></span>: 
( <span class="p1">(<span class="default"><font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="Maroon" title="c15">x</font> <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="c5">n2</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="E3:61_2"/><span class="lab"><font color="Green" title="E52">A21</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">n3</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="c15">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font></span><br/>

<a NAME="E4:61_2"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E11:61"><span class="lab"><font color="Green" title="E49">A7</font></span></a>, <a class="txt" href="#E2:61_2"><span class="lab"><font color="Green" title="E51">A20</font></span></a>, <a class="txt" href="#E3:61_2"><span class="lab"><font color="Green" title="E52">A21</font></span></a></span>;<br/>
<a NAME="E5:61_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T10" onmouseover="rs('int_2/T10')" onmouseout="rh()">INT_2:10</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c16">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="E7:61_2"/><span class="lab"><font color="Green" title="E53">A22</font></span>: 
 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> <span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</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="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></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"><font color="Olive" title="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">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="b1">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">w</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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font>
 <span class="kw">and </span><br/><a NAME="E8:61_2"/><span class="lab"><font color="Green" title="E54">A23</font></span>: 
<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="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">w</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="c3">c</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p5">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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="Maroon" title="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:61_2"><span class="lab"><font color="Green" title="E50">A19</font></span></a>, <a class="ref" href="int_4.html#T42" target="_self" onmouseover="rs('int_4/T42')" onmouseout="rh()">Th42</a></span>;<br/>
<a NAME="E9:61_2"/><span class="lab"><font color="Green" title="E55">A24</font></span>: 
<font color="Maroon" title="c6">n3</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</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="E10:61_2"/><span class="kw">then </span>
<font color="Maroon" title="c6">n3</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</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> 
 
;<br/>
<a NAME="E11:61_2"/><span class="kw">then </span>
<font color="Maroon" title="c16">w</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="c6">n3</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span></span>)</span>,<font color="Maroon" title="c14">s</font>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:61"><span class="lab"><font color="Green" title="E46">A4</font></span></a>, <a class="txt" href="#E9:61"><span class="lab"><font color="Green" title="E47">A5</font></span></a>, <a class="txt" href="#E8:61_2"><span class="lab"><font color="Green" title="E54">A23</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:61_2"/><span class="kw">then </span>
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c14">s</font>,<font color="Maroon" title="c16">w</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="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</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:61_2"/><span class="kw">then </span>
<font color="Maroon" title="c14">s</font>,<font color="Maroon" title="c16">w</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c6">n3</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</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:61_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E56">A25</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">s</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">w</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</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="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T10" target="_self" onmouseover="rs('int_4/T10')" onmouseout="rh()">Th10</a></span>;<br/>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</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="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span> = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</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="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</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="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></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/>.= 
<font color="Maroon" title="c6">n3</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"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:61_2"><span class="lab"><font color="Green" title="E55">A24</font></span></a></span>
;<br/>
<a NAME="E16:61_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">s</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">w</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c6">n3</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E14:61_2"><span class="lab"><font color="Green" title="E56">A25</font></span></a>, <a class="ref" href="int_1.html#T20" onmouseover="rs('int_1/T20')" onmouseout="rh()">INT_1:20</a></span>;<br/>
<a NAME="E17:61_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E57">A26</font></span>: 
<font color="Maroon" title="c6">n3</font> <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="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">s</font></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">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">w</font></span>)</span>
 
;<br/>
<a NAME="E18:61_2"/>
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</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="c14">s</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c16">w</font></span>)</span>
 
;<br/>
<a NAME="E19:61_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font> <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="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">s</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</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"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">w</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E17:61_2"><span class="lab"><font color="Green" title="E57">A26</font></span></a>, <a class="ref" href="int_2.html#T19" onmouseover="rs('int_2/T19')" onmouseout="rh()">INT_2:19</a></span>;<br/>
<a NAME="E20:61_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">s</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="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">w</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="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font>
 
;<br/>
<a NAME="E21:61_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E58">A27</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">w</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="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">s</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="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</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/>
<a NAME="E22:61_2"/>
<font color="Maroon" title="c15">x</font>,<font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:61"><span class="lab"><font color="Green" title="E44">A2</font></span></a>, <a class="txt" href="#E2:61_2"><span class="lab"><font color="Green" title="E51">A20</font></span></a></span>;<br/>
<a NAME="E23:61_2"/><span class="kw">then </span>
<font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></span>)</span>
 
;<br/>
<a NAME="E24:61_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c15">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</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="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></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="E25:61_2"/><span class="kw">then </span>
<font color="Maroon" title="c15">x</font>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">w</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="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">r</font></span>)</span></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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:61_2"><span class="lab"><font color="Green" title="E52">A21</font></span></a>, <a class="txt" href="#E7:61_2"><span class="lab"><font color="Green" title="E53">A22</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E26:61_2"/>
<font color="Maroon" title="c15">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E21:61_2"><span class="lab"><font color="Green" title="E58">A27</font></span></a>, <a class="ref" href="int_1.html#T15" onmouseover="rs('int_1/T15')" onmouseout="rh()">INT_1:15</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><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E13:61"/>
 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="c1">a</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c4">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="b1">x</font> <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="c5">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="b1">x</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">c</font></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c6">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="b1">x</font>,<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c6">n3</font> &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">n2</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="c2">b</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c5">n2</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">n3</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">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="Maroon" title="c3">c</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p5">(<span class="default"><font color="Maroon" title="c4">n1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c12">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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="Maroon" title="c6">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="Maroon" title="c4">n1</font> <a href="nat_d.html#K5" title="NAT_D:func.5">lcm</a> <font color="Maroon" title="c5">n2</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">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>  )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:61"><span class="lab"><font color="Green" title="E45">A3</font></span></a>, <a class="txt" href="#E9:61"><span class="lab"><font color="Green" title="E47">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>
