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

<b>let </b><font color="Maroon" title="c1">m</font>, <font color="Maroon" title="c2">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="c1">m</font>,<font color="Maroon" title="c2">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_relative_prime</a>  implies for <font color="Olive" title="b1">k</font> being  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>  ex <font color="Olive" title="b2">i</font>, <font color="Olive" title="b3">j</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">i</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b3">j</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">k</font> )</span><br/>



<b>assume </b><a NAME="E1:12"/><i><font color="Green" title="E14">A1</font></i>: 
<font color="Maroon" title="c1">m</font>,<font color="Maroon" title="c2">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_relative_prime</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">k</font> being  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>  ex <font color="Olive" title="b2">i</font>, <font color="Olive" title="b3">j</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">i</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b3">j</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">k</font></span><br/>

<b>let </b><font color="Maroon" title="c3">k</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">  ex <font color="Olive" title="b1">i</font>, <font color="Olive" title="b2">j</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">i</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">j</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">k</font></span><br/>

<b>consider </b><font color="Maroon" title="c4">a</font> being   <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a><b> such that </b><br/><a NAME="E3:12"/><i><font color="Green" title="E15">A2</font></i>: 
 ex <font color="Olive" title="b1">i0</font>, <font color="Olive" title="b2">j0</font> being  <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/>( <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">i0</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">j0</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> &amp; <font color="Maroon" title="c4">a</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>  )
 <b>and </b><br/><a NAME="E4:12"/><i><font color="Green" title="E16">A3</font></i>: 
for <font color="Olive" title="b1">c</font> being  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>  st  ex <font color="Olive" title="b2">i</font>, <font color="Olive" title="b3">j</font> being  <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/>( <font color="Olive" title="b1">c</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">i</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b3">j</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> &amp; <font color="Olive" title="b1">c</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/><font color="Maroon" title="c4">a</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b1">c</font>
 <b>by </b><i><a class="txt" href="euler_1.html#E1:12"><i><font color="Green" title="E14">A1</font></i></a>, <a class="ref" href="euler_1.html#T10" target="_self" title="EULER_1:th.10">Th10</a></i>;<br/>
<b>consider </b><font color="Maroon" title="c5">i0</font>, <font color="Maroon" title="c6">j0</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><b> such that </b><br/><a NAME="E6:12"/><i><font color="Green" title="E17">A4</font></i>: 
<font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">i0</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</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="c6">j0</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span>
 <b>and </b><br/><a NAME="E7:12"/><i><font color="Green" title="E18">A5</font></i>: 
<font color="Maroon" title="c4">a</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> 
 <b>by </b><i><a class="txt" href="euler_1.html#E3:12"><i><font color="Green" title="E15">A2</font></i></a></i>;<br/>
<a NAME="E8:12"/><i><font color="Green" title="E19">A6</font></i>: 
for <font color="Olive" title="b1">c</font> being  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>  st  ex <font color="Olive" title="b2">i</font>, <font color="Olive" title="b3">j</font> being  <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/>( <font color="Olive" title="b1">c</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">i</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b3">j</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> &amp; <font color="Olive" title="b1">c</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/><font color="Olive" title="b1">c</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="12_1"><b>proof </b></a><div class="add">

<b>let </b><font color="Maroon" title="c7">b</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"> (  ex <font color="Olive" title="b1">i</font>, <font color="Olive" title="b2">j</font> being  <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/>( <font color="Maroon" title="c7">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">i</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">j</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> &amp; <font color="Maroon" title="c7">b</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 <font color="Maroon" title="c7">b</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  )</span><br/>

<b>assume </b><a NAME="E1:12_1"/><i><font color="Green" title="E20">A7</font></i>: 
 ex <font color="Olive" title="b1">i</font>, <font color="Olive" title="b2">j</font> being  <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> st <br/>( <font color="Maroon" title="c7">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">i</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">j</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> &amp; <font color="Maroon" title="c7">b</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"> <font color="Maroon" title="c7">b</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> </span><br/>

<b>assume </b><a NAME="E2:12_1"/><i><font color="Green" title="E21">A8</font></i>: 
<font color="Maroon" title="c7">b</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&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"> contradiction</span><br/>

<b>consider </b><font color="Maroon" title="c8">i</font>, <font color="Maroon" title="c9">j</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><b> such that </b><br/><a NAME="E4:12_1"/><i><font color="Green" title="E22">A9</font></i>: 
( <font color="Maroon" title="c7">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c8">i</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</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="c9">j</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> &amp; <font color="Maroon" title="c7">b</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>  )
 <b>by </b><i><a class="txt" href="euler_1.html#E1:12_1"><i><font color="Green" title="E20">A7</font></i></a></i>;<br/>
<b>set </b><font color="Maroon" title="c10">t1</font> = <font color="Maroon" title="c8">i</font> <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="c7">b</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c4">a</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">i0</font></span>)</span>;<br/>
<b>set </b><font color="Maroon" title="c11">t2</font> = <font color="Maroon" title="c9">j</font> <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="c7">b</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c4">a</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">j0</font></span>)</span>;<br/>
<a NAME="E5:12_1"/><i><font color="Green" title="E23">A10</font></i>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c7">b</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">a</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c4">a</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c7">b</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c4">a</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"><font color="Maroon" title="c4">a</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c7">b</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c4">a</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">b</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">a</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c7">b</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c4">a</font></span>)</span></span>)</span>
 
<b>by </b><i><a class="txt" href="euler_1.html#E7:12"><i><font color="Green" title="E18">A5</font></i></a>, <a class="ref" href="nat_d.html#T2" title="NAT_D:th.2">NAT_D:2</a></i>;<br/>
<a NAME="E6:12_1"/><i><font color="Green" title="E24">A11</font></i>: 
<font color="Maroon" title="c7">b</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">a</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 
;<br/>
<b>reconsider </b><font color="Maroon" title="c12">c</font> = <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c8">i</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c7">b</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c4">a</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">i0</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</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="c9">j</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c7">b</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c4">a</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">j0</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#K5" title="NUMBERS:func.5">NAT</a>  <b>by </b><i><a class="txt" href="euler_1.html#E6:12"><i><font color="Green" title="E17">A4</font></i></a>, <a class="txt" href="euler_1.html#E4:12_1"><i><font color="Green" title="E22">A9</font></i></a>, <a class="txt" href="euler_1.html#E5:12_1"><i><font color="Green" title="E23">A10</font></i></a></i>;<br/>
<a NAME="E8:12_1"/>
<font color="Maroon" title="c12">c</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c4">a</font>
 
<b>by </b><i><a class="txt" href="euler_1.html#E6:12"><i><font color="Green" title="E17">A4</font></i></a>, <a class="txt" href="euler_1.html#E7:12"><i><font color="Green" title="E18">A5</font></i></a>, <a class="txt" href="euler_1.html#E4:12_1"><i><font color="Green" title="E22">A9</font></i></a>, <a class="txt" href="euler_1.html#E5:12_1"><i><font color="Green" title="E23">A10</font></i></a>, <a class="ref" href="nat_d.html#T1" title="NAT_D:th.1">NAT_D:1</a></i>;<br/>
<b>hence </b><a NAME="E9:12_1"/>
contradiction
 <b>by </b><i><a class="txt" href="euler_1.html#E4:12"><i><font color="Green" title="E16">A3</font></i></a>, <a class="txt" href="euler_1.html#E6:12"><i><font color="Green" title="E17">A4</font></i></a>, <a class="txt" href="euler_1.html#E2:12_1"><i><font color="Green" title="E21">A8</font></i></a>, <a class="txt" href="euler_1.html#E4:12_1"><i><font color="Green" title="E22">A9</font></i></a>, <a class="txt" href="euler_1.html#E5:12_1"><i><font color="Green" title="E23">A10</font></i></a>, <a class="txt" href="euler_1.html#E6:12_1"><i><font color="Green" title="E24">A11</font></i></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><b>end;</b></div>
<b>reconsider </b><font color="Maroon" title="c7">1'</font> = 1, <font color="Maroon" title="c8">0'</font> =  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  as   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a> ;<br/>
<a NAME="E10:12"/><i><font color="Green" title="E20">A12</font></i>: 
<font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c1">m</font>
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="12_2"><b>proof </b></a><div class="add">

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="12_2_1"><b>per </b></a><a class="txt" onclick="hs(this)" href="javascript:()"><b>cases </b></a><span class="hide"><a NAME="E1:12_2_1"/>
( <font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  or <font color="Maroon" title="c1">m</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>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="12_2_1_1"><b>suppose </b></a><a NAME="E1:12_2_1_1"/>
<font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</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"> <font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c1">m</font></span><br/><div class="add"><b>hence </b><a NAME="E2:12_2_1_1"/>
<font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c1">m</font>
 <b>by </b><i><a class="ref" href="nat_d.html#T6" title="NAT_D:th.6">NAT_D:6</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><b>end;</b></div><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="12_2_1_2"><b>suppose </b></a><a NAME="E1:12_2_1_2"/>
<font color="Maroon" title="c1">m</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"> <font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c1">m</font></span><br/><div class="add"><a NAME="E2:12_2_1_2"/><b>then </b>
<span class="p1">(<span class="default"><font color="Maroon" title="c7">1'</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</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="c8">0'</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ;<br/><a NAME="E3:12_2_1_2"/><b>then </b>
<font color="Maroon" title="c1">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <b>by </b><i><a class="txt" href="euler_1.html#E8:12"><i><font color="Green" title="E19">A6</font></i></a></i>;<br/><a NAME="E4:12_2_1_2"/><b>then </b>
<font color="Maroon" title="c1">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">a</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">m</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c4">a</font></span>)</span></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <b>by </b><i><a class="txt" href="euler_1.html#E3:12"><i><font color="Green" title="E15">A2</font></i></a>, <a class="ref" href="nat_d.html#T2" title="NAT_D:th.2">NAT_D:2</a></i>;<br/><b>hence </b><a NAME="E5:12_2_1_2"/>
<font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c1">m</font>
 <b>by </b><i><a class="ref" href="nat_d.html#T3" title="NAT_D:th.3">NAT_D:3</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><b>end;</b></div></div><b>end;</b></div>

</div><b>end;</b></div>
<a NAME="E11:12"/>
<font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c2">n</font>
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="12_3"><b>proof </b></a><div class="add">

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="12_3_1"><b>per </b></a><a class="txt" onclick="hs(this)" href="javascript:()"><b>cases </b></a><span class="hide"><a NAME="E1:12_3_1"/>
( <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  or <font color="Maroon" title="c2">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>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="12_3_1_1"><b>suppose </b></a><a NAME="E1:12_3_1_1"/>
<font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</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"> <font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c2">n</font></span><br/><div class="add"><b>hence </b><a NAME="E2:12_3_1_1"/>
<font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c2">n</font>
 <b>by </b><i><a class="ref" href="nat_d.html#T6" title="NAT_D:th.6">NAT_D:6</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><b>end;</b></div><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="12_3_1_2"><b>suppose </b></a><a NAME="E1:12_3_1_2"/>
<font color="Maroon" title="c2">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"> <font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c2">n</font></span><br/><div class="add"><a NAME="E2:12_3_1_2"/><b>then </b>
<span class="p1">(<span class="default"><font color="Maroon" title="c8">0'</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</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="c7">1'</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ;<br/><a NAME="E3:12_3_1_2"/><b>then </b>
<font color="Maroon" title="c2">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <b>by </b><i><a class="txt" href="euler_1.html#E8:12"><i><font color="Green" title="E19">A6</font></i></a></i>;<br/><a NAME="E4:12_3_1_2"/><b>then </b>
<font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">a</font> <a href="nat_1.html#K3" title="NAT_1:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c4">a</font></span>)</span></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 <b>by </b><i><a class="txt" href="euler_1.html#E3:12"><i><font color="Green" title="E15">A2</font></i></a>, <a class="ref" href="nat_d.html#T2" title="NAT_D:th.2">NAT_D:2</a></i>;<br/><b>hence </b><a NAME="E5:12_3_1_2"/>
<font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c2">n</font>
 <b>by </b><i><a class="ref" href="nat_d.html#T3" title="NAT_D:th.3">NAT_D:3</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><b>end;</b></div></div><b>end;</b></div>

</div><b>end;</b></div>
<a NAME="E12:12"/><b>then </b>
<font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c1">m</font> <a href="nat_d.html#K6" title="NAT_D:func.6">hcf</a> <font color="Maroon" title="c2">n</font>
 
<b>by </b><i><a class="txt" href="euler_1.html#E10:12"><i><font color="Green" title="E20">A12</font></i></a>, <a class="ref" href="nat_d.html#D5" title="NAT_D:def.5">NAT_D:def 5</a></i>;<br/>
<a NAME="E13:12"/><b>then </b>
<font color="Maroon" title="c4">a</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> 1
 
<b>by </b><i><a class="txt" href="euler_1.html#E1:12"><i><font color="Green" title="E14">A1</font></i></a>, <a class="ref" href="int_2.html#D4" title="INT_2:def.4">INT_2:def 4</a></i>;<br/>
<a NAME="E14:12"/><b>then </b>
 ex <font color="Olive" title="b1">b</font> being  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a> st 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">b</font>
 
<b>by </b><i><a class="ref" href="nat_d.html#D3" title="NAT_D:def.3">NAT_D:def 3</a></i>;<br/>
<a NAME="E15:12"/><b>then </b>
<span class="p1">(<span class="default"><font color="Maroon" title="c5">i0</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</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="c6">j0</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<b>by </b><i><a class="txt" href="euler_1.html#E6:12"><i><font color="Green" title="E17">A4</font></i></a>, <a class="ref" href="nat_1.html#T15" title="NAT_1:th.15">NAT_1:15</a></i>;<br/>
<b>then </b><font color="Maroon" title="c3">k</font> = 
<font color="Maroon" title="c3">k</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="c5">i0</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</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="c6">j0</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span></span>)</span>

<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">k</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">i0</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</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="c3">k</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c6">j0</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span></span>)</span>

;<br/>
<a NAME="E17:12"/><b>then </b>
<font color="Maroon" title="c3">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">k</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">i0</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</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="c3">k</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">j0</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span>
 
;<br/>
<b>hence </b><a NAME="E18:12"/>
 ex <font color="Olive" title="b1">i</font>, <font color="Olive" title="b2">j</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">i</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">j</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">k</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> verum</span><br/>


</div>
