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

<b>let </b><font color="Maroon" title="c1">a</font>, <font color="Maroon" title="c2">b</font> be   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> for <font color="Olive" title="b1">n</font> being  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>  st <font color="Olive" title="b1">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  holds <br/><span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Olive" title="b1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Olive" title="b1">n</font></span>)</span></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Olive" title="b1">n</font></span><br/><b>let </b><font color="Maroon" title="c3">n</font> be   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> ( <font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  implies <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font></span>)</span></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font> )</span><br/>



<b>assume </b><a NAME="E1:3"/>
<font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font></span>)</span></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font></span><br/>

<b>then </b><span class="p1">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K5" title="INT_1:func.5">div</a> <font color="Maroon" title="c3">n</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">n</font></span>)</span> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c2">b</font> <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="int_1.html#K5" title="INT_1:func.5">div</a> <font color="Maroon" title="c3">n</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">n</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="c2">b</font> <a href="int_1.html#K5" title="INT_1:func.5">div</a> <font color="Maroon" title="c3">n</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">n</font></span>)</span>
<b>by </b><i><a class="ref" href="int_1.html#D8" title="INT_1:def.8">INT_1:def 8</a></i>
<br/>.= 
<font color="Maroon" title="c2">b</font> <a href="real_1.html#K3" title="REAL_1:func.3">+</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 

;<br/>
<a NAME="E3:3"/><b>then </b>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font></span>)</span> <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#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K5" title="INT_1:func.5">div</a> <font color="Maroon" title="c3">n</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">n</font>
 
;<br/>
<a NAME="E4:3"/><b>then </b>
<font color="Maroon" title="c3">n</font> <a href="int_1.html#R2" title="INT_1:pred.2">divides</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font></span>)</span> <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#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font></span>)</span></span>)</span>
 
<b>by </b><i><a class="ref" href="int_1.html#D9" title="INT_1:def.9">INT_1:def 9</a></i>;<br/>
<a NAME="E5:3"/><b>then </b>
<font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font>,<font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font></span>)</span> <a href="int_1.html#R1" title="INT_1:pred.1">are_congruent_mod</a> <font color="Maroon" title="c3">n</font>
 
<b>by </b><i><a class="ref" href="int_2.html#T19" title="INT_2:th.19">INT_2:19</a></i>;<br/>
<b>hence </b><a NAME="E6:3"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">b</font></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">b</font> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font></span>)</span></span>)</span> <a href="int_1.html#K6" title="INT_1:func.6">mod</a> <font color="Maroon" title="c3">n</font>
 <b>by </b><i><a class="ref" href="int_3.html#T12" title="INT_3:th.12">INT_3:12</a></i>; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> verum</span><br/>


</div>
