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

<span class="kw">let </span><font color="Maroon" title="c1">n</font>, <font color="Maroon" title="c2">a</font>, <font color="Maroon" title="c3">k</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"> ( ( <font color="Maroon" title="c1">n</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">k</font> ) &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font> )</span><br/>

<div><span class="kw">hereby </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"> <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font></span>
<div class="add"><span class="kw">assume </span><a NAME="E1:66_1"/><span class="lab"><font color="Green" title="E34">A2</font></span>: 
<font color="Maroon" title="c1">n</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</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="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">k</font></span><br/><span class="kw">thus </span><span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">n</font> = 
<span class="p1"><a href="int_1.html#K1" title="INT_1:func.1">[\</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">n</font></span>)</span></span><a href="int_1.html#K1" title="INT_1:func.1">/]</a></span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#D9" onmouseover="rs('int_1/D9')" onmouseout="rh()">INT_1:def 9</a></span>
<br/>.= 
<span class="p1"><a href="int_1.html#K1" title="INT_1:func.1">[\</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span></span>)</span></span><a href="int_1.html#K1" title="INT_1:func.1">/]</a></span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="xcmplx_0.html#D9" onmouseover="rs('xcmplx_0/D9')" onmouseout="rh()">XCMPLX_0:def 9</a></span>
<br/>.= 
<span class="p1"><a href="int_1.html#K1" title="INT_1:func.1">[\</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p5">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span></span><a href="int_1.html#K1" title="INT_1:func.1">/]</a></span>

<br/>.= 
<span class="p1"><a href="int_1.html#K1" title="INT_1:func.1">[\</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p4">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p3">(<span class="default">1 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span></span><a href="int_1.html#K1" title="INT_1:func.1">/]</a></span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:66_1"><span class="lab"><font color="Green" title="E34">A2</font></span></a>, <a class="ref" href="xcmplx_0.html#D7" onmouseover="rs('xcmplx_0/D7')" onmouseout="rh()">XCMPLX_0:def 7</a></span>
<br/>.= 
<span class="p1"><a href="int_1.html#K1" title="INT_1:func.1">[\</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span></span>)</span></span><a href="int_1.html#K1" title="INT_1:func.1">/]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">k</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T28" onmouseover="rs('int_1/T28')" onmouseout="rh()">INT_1:28</a></span>
<br/>.= 
<span class="p1"><a href="int_1.html#K1" title="INT_1:func.1">[\</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">n</font></span>)</span></span><a href="int_1.html#K1" title="INT_1:func.1">/]</a></span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">k</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="xcmplx_0.html#D9" onmouseover="rs('xcmplx_0/D9')" onmouseout="rh()">XCMPLX_0:def 9</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">k</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#D9" onmouseover="rs('int_1/D9')" onmouseout="rh()">INT_1:def 9</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>

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="66_2"><span class="kw">per </span></a><a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="kw">cases </span></a><span class="hide"><a NAME="E1:66_2"/>
( <font color="Maroon" title="c1">n</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="66_2_1"><span class="kw">suppose </span></a><a NAME="E1:66_2_1"/><span class="lab"><font color="Green" title="E34">A3</font></span>: 
<font color="Maroon" title="c1">n</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</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="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font></span><br/><div class="add"><span class="kw">hence </span><span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></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="c2">a</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c3">k</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">n</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:66"><span class="lab"><font color="Green" title="E33">A1</font></span></a>, <a class="ref" href="int_1.html#D10" onmouseover="rs('int_1/D10')" onmouseout="rh()">INT_1:def 10</a></span>
<br/>.= 
<font color="Maroon" title="c2">a</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="c2">a</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">n</font></span>)</span>

<br/>.= 
<font color="Maroon" title="c2">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:66_2_1"><span class="lab"><font color="Green" title="E34">A3</font></span></a>, <a class="ref" href="int_1.html#D10" onmouseover="rs('int_1/D10')" onmouseout="rh()">INT_1:def 10</a></span>
;<br/> <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><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="66_2_2"><span class="kw">suppose </span></a><a NAME="E1:66_2_2"/>
<font color="Maroon" title="c1">n</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="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font></span><br/><div class="add"><span class="kw">hence </span><a NAME="E2:66_2_2"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c2">a</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c1">n</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"> verum</span><br/></div><span class="kw">end;</span></div></div><span class="kw">end;</span></div>

</div>
