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

<b>let </b><font color="Maroon" title="c1">l</font>, <font color="Maroon" title="c2">m</font>, <font color="Maroon" title="c3">n</font> be   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>;<br/>





<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="10_1"><b>per </b></a><a class="txt" onclick="hs(this)" href="javascript:()"><b>cases </b></a><span class="hide"><a NAME="E1:10_1"/>
( <font color="Maroon" title="c3">n</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="card_1.html#NK1" title="CARD_1:NK.1">0</a>  or <font color="Maroon" title="c3">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="card_1.html#NK1" title="CARD_1:NK.1">0</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="10_1_1"><b>suppose </b></a><a NAME="E1:10_1_1"/>
<font color="Maroon" title="c3">n</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="card_1.html#NK1" title="CARD_1:NK.1">0</a> 
 ;<br/><div class="add"><b>then consider </b><font color="Maroon" title="c4">t</font> being   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a><b> such that </b><br/><a NAME="E3:10_1_1"/><i><font color="Green" title="E10">A1</font></i>: 
( <font color="Maroon" title="c2">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">n</font></span>)</span> &amp; <font color="Maroon" title="c2">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c3">n</font> )
 <b>by </b><i><a class="ref" href="nat_d.html#D2" title="NAT_D:def.2">NAT_D:def 2</a></i>;<br/><a NAME="E4:10_1_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">l</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">m</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">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"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">l</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">n</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">l</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">n</font></span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">n</font>
 <b>by </b><i><a class="txt" href="euler_2.html#E3:10_1_1"><i><font color="Green" title="E10">A1</font></i></a></i>;<br/><b>hence </b><a NAME="E5:10_1_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">l</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">m</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">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">l</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">n</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">n</font>
 <b>by </b><i><a class="ref" href="nat_d.html#T21" title="NAT_D:th.21">NAT_D:21</a></i>;<br/></div><b>end;</b></div><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="10_1_2"><b>suppose </b></a><a NAME="E1:10_1_2"/><i><font color="Green" title="E10">A2</font></i>: 
<font color="Maroon" title="c3">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="card_1.html#NK1" title="CARD_1:NK.1">0</a> 
 ;<br/><div class="add"><b>hence </b><span class="p1">(<span class="default"><font color="Maroon" title="c1">l</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">m</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">n</font> = 
 <a href="card_1.html#NK1" title="CARD_1:NK.1">0</a> 
<b>by </b><i><a class="ref" href="nat_d.html#D2" title="NAT_D:def.2">NAT_D:def 2</a></i>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">l</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">n</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">n</font>
<b>by </b><i><a class="txt" href="euler_2.html#E1:10_1_2"><i><font color="Green" title="E10">A2</font></i></a>, <a class="ref" href="nat_d.html#D2" title="NAT_D:def.2">NAT_D:def 2</a></i>
;<br/><br/></div><b>end;</b></div></div><b>end;</b></div>

</div>
