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

<span class="kw">let </span><font color="Maroon" title="c1">i</font>, <font color="Maroon" title="c2">n</font> be   <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="c2">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 &amp; <font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  implies ( <font color="Maroon" title="c1">i</font> <a href="int_8.html#R2" title="INT_8:pred.2">is_primitive_root_of</a> <font color="Maroon" title="c2">n</font> iff  for <font color="Olive" title="b1">fn</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>   st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">fn</font> holds <br/><font color="Olive" title="b1">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b2">d</font> ) holds <br/> <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Olive" title="b1">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">n</font> ) )</span><br/>



<span class="kw">assume </span><a NAME="E1:34"/><span class="lab"><font color="Green" title="E19">A1</font></span>: 
( <font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 &amp; <font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</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">i</font> <a href="int_8.html#R2" title="INT_8:pred.2">is_primitive_root_of</a> <font color="Maroon" title="c2">n</font> iff  for <font color="Olive" title="b1">fn</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>   st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">fn</font> holds <br/><font color="Olive" title="b1">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b2">d</font> ) holds <br/> <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Olive" title="b1">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">n</font> )</span><br/>

<a NAME="E2:34"/><span class="kw">then </span><span class="lab"><font color="Green" title="E20">A2</font></span>: 
<font color="Maroon" title="c1">i</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_8.html#T5" target="_self" onmouseover="rs('int_8/T5')" onmouseout="rh()">Th5</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c3">z</font> =  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> , <font color="Maroon" title="c4">j</font> = 1 as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#K1" title="NUMBERS:func.1">REAL</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_0.html#D1" onmouseover="rs('xreal_0/D1')" onmouseout="rh()">XREAL_0:def 1</a></span>;<br/>
<a NAME="E4:34"/>
<font color="Maroon" title="c1">i</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E20">A2</font></span></a>, <a class="ref" href="int_1.html#T52" onmouseover="rs('int_1/T52')" onmouseout="rh()">INT_1:52</a></span>;<br/>
<a NAME="E5:34"/><span class="kw">then </span><span class="lab"><font color="Green" title="E21">A3</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c4">j</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> <font color="Maroon" title="c3">z</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c4">j</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T7" onmouseover="rs('xreal_1/T7')" onmouseout="rh()">XREAL_1:7</a></span>;<br/>
<a NAME="E6:34"/><span class="lab"><font color="Green" title="E22">A4</font></span>: 
<font color="Maroon" title="c1">i</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="int_2.html#D3" onmouseover="rs('int_2/D3')" onmouseout="rh()">INT_2:def 3</a></span>;<br/>
<span class="kw">thus </span><a NAME="E7:34"/>
( <font color="Maroon" title="c1">i</font> <a href="int_8.html#R2" title="INT_8:pred.2">is_primitive_root_of</a> <font color="Maroon" title="c2">n</font> implies  for <font color="Olive" title="b1">fn</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>   st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">fn</font> holds <br/><font color="Olive" title="b1">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b2">d</font> ) holds <br/> <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Olive" title="b1">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">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"> ( (  for <font color="Olive" title="b1">fn</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>   st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">fn</font> holds <br/><font color="Olive" title="b1">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b2">d</font> ) holds <br/> <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Olive" title="b1">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">n</font> ) implies <font color="Maroon" title="c1">i</font> <a href="int_8.html#R2" title="INT_8:pred.2">is_primitive_root_of</a> <font color="Maroon" title="c2">n</font> )</span><div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="34_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:34_1"/>
<font color="Maroon" title="c1">i</font> <a href="int_8.html#R2" title="INT_8:pred.2">is_primitive_root_of</a> <font color="Maroon" title="c2">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">  for <font color="Olive" title="b1">fn</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>   st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">fn</font> holds <br/><font color="Olive" title="b1">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b2">d</font> ) holds <br/> <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Olive" title="b1">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">n</font></span><br/>

<a NAME="E2:34_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E23">A5</font></span>: 
 <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font>
 
;<br/>
<a NAME="E3:34_1"/>
 for <font color="Olive" title="b1">fn</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>   st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">fn</font> holds <br/><font color="Olive" title="b1">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b2">d</font> ) holds <br/> <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Olive" title="b1">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">n</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="34_1_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c5">fn</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">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"> (  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c5">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b1">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> holds <br/><font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b1">d</font> ) implies  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">n</font> )</span><br/>

<span class="kw">assume </span><a NAME="E1:34_1_1"/><span class="lab"><font color="Green" title="E24">A6</font></span>: 
(  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c5">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b1">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> holds <br/><font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b1">d</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">  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">n</font></span><br/>

<a NAME="E2:34_1_1"/>
<font color="Maroon" title="c5">fn</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a> 
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="34_1_1_1"><span class="kw">proof </span></a><div class="add">

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="34_1_1_1_1"><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:34_1_1_1_1"/>
( <font color="Maroon" title="c1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or <font color="Maroon" title="c1">i</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 )
 </span><span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:34"><span class="lab"><font color="Green" title="E21">A3</font></span></a>, <a class="ref" href="xxreal_0.html#T1" onmouseover="rs('xxreal_0/T1')" onmouseout="rh()">XXREAL_0:1</a></span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="34_1_1_1_1_1"><span class="kw">suppose </span></a><a NAME="E1:34_1_1_1_1_1"/><span class="lab"><font color="Green" title="E25">A7</font></span>: 
<font color="Maroon" title="c1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 ; <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="c5">fn</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a> </span><br/><div class="add"><span class="kw">reconsider </span><font color="Maroon" title="c6">fn</font> = <font color="Maroon" title="c5">fn</font> as    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#K1" title="NUMBERS:func.1">REAL</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_2.html#T24" onmouseover="rs('finseq_2/T24')" onmouseout="rh()">FINSEQ_2:24</a>, <a class="ref" href="numbers.html#T19" onmouseover="rs('numbers/T19')" onmouseout="rh()">NUMBERS:19</a></span>;<br/><a NAME="E3:34_1_1_1_1_1"/>
<font color="Maroon" title="c6">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">&lt;*</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c6">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1</span>)</span></span><a href="finseq_1.html#K9" title="FINSEQ_1:func.9">*&gt;</a></span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_5.html#T14" onmouseover="rs('finseq_5/T14')" onmouseout="rh()">FINSEQ_5:14</a>, <a class="txt" href="#E1:34_1_1"><span class="lab"><font color="Green" title="E24">A6</font></span></a>, <a class="txt" href="#E2:34_1"><span class="lab"><font color="Green" title="E23">A5</font></span></a>, <a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="pepin.html#T46" onmouseover="rs('pepin/T46')" onmouseout="rh()">PEPIN:46</a>, <a class="txt" href="#E1:34_1_1_1_1_1"><span class="lab"><font color="Green" title="E25">A7</font></span></a></span>;<br/><span class="kw">hence </span><a NAME="E4:34_1_1_1_1_1"/>
<font color="Maroon" title="c5">fn</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</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"> verum</span><br/></div><span class="kw">end;</span></div><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="34_1_1_1_1_2"><span class="kw">suppose </span></a><a NAME="E1:34_1_1_1_1_2"/><span class="lab"><font color="Green" title="E25">A8</font></span>: 
<font color="Maroon" title="c1">i</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1
 ; <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="c5">fn</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a> </span><br/><div class="add"><a NAME="E2:34_1_1_1_1_2"/>
 for <font color="Olive" title="b1">x1</font>, <font color="Olive" title="b2">x2</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a>   st <font color="Olive" title="b1">x1</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Olive" title="b2">x2</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">x2</font> holds <br/><font color="Olive" title="b1">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">x2</font>
 <div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="34_1_1_1_1_2_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c6">x1</font>, <font color="Maroon" title="c7">x2</font> be    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</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="c6">x1</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c7">x2</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">x2</font> implies <font color="Maroon" title="c6">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">x2</font> )</span><br/>

<span class="kw">assume </span><a NAME="E1:34_1_1_1_1_2_1"/><span class="lab"><font color="Green" title="E26">A9</font></span>: 
( <font color="Maroon" title="c6">x1</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c7">x2</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">x2</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"> <font color="Maroon" title="c6">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">x2</font></span><br/>

<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c8">x1</font> = <font color="Maroon" title="c6">x1</font>, <font color="Maroon" title="c9">x2</font> = <font color="Maroon" title="c7">x2</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  ;<br/>
<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">x1</font> = 
<font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">x2</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34_1_1_1_1_2_1"><span class="lab"><font color="Green" title="E26">A9</font></span></a>, <a class="txt" href="#E1:34_1_1"><span class="lab"><font color="Green" title="E24">A6</font></span></a></span>
<br/>.= 
<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">x2</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34_1_1_1_1_2_1"><span class="lab"><font color="Green" title="E26">A9</font></span></a>, <a class="txt" href="#E1:34_1_1"><span class="lab"><font color="Green" title="E24">A6</font></span></a></span>
;<br/>
<span class="kw">hence </span><a NAME="E4:34_1_1_1_1_2_1"/>
<font color="Maroon" title="c6">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">x2</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34_1_1_1_1_2"><span class="lab"><font color="Green" title="E25">A8</font></span></a>, <a class="ref" href="pepin.html#T30" onmouseover="rs('pepin/T30')" onmouseout="rh()">PEPIN:30</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="E3:34_1_1_1_1_2"/>
<font color="Maroon" title="c5">fn</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="funct_1.html#D4" onmouseover="rs('funct_1/D4')" onmouseout="rh()">FUNCT_1:def 4</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><span class="kw">end;</span></div>

</div><span class="kw">end;</span></div>
<a NAME="E3:34_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E25">A10</font></span>: 
 <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <span class="p1">(<span class="default"><a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34_1_1"><span class="lab"><font color="Green" title="E24">A6</font></span></a>, <a class="ref" href="finseq_4.html#T62" onmouseover="rs('finseq_4/T62')" onmouseout="rh()">FINSEQ_4:62</a></span>;<br/>
<a NAME="E4:34_1_1"/><span class="lab"><font color="Green" title="E26">A11</font></span>: 
 for <font color="Olive" title="b1">x</font>, <font color="Olive" title="b2">y</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Olive" title="b2">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Olive" title="b1">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Olive" title="b2">y</font> holds <br/> not <font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="34_1_1_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c6">x</font>, <font color="Maroon" title="c7">y</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="c6">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c7">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c6">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c7">y</font> implies  not <font color="Maroon" title="c6">x</font>,<font color="Maroon" title="c7">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font> )</span><br/>

<span class="kw">assume </span><a NAME="E1:34_1_1_2"/><span class="lab"><font color="Green" title="E27">A12</font></span>: 
( <font color="Maroon" title="c6">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c7">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c6">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c7">y</font> &amp; <font color="Maroon" title="c6">x</font>,<font color="Maroon" title="c7">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">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"> contradiction</span><br/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c8">s</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E3:34_1_1_2"/><span class="lab"><font color="Green" title="E28">A13</font></span>: 
( <font color="Maroon" title="c8">s</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">x</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_2.html#T10" onmouseover="rs('finseq_2/T10')" onmouseout="rh()">FINSEQ_2:10</a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c9">t</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E5:34_1_1_2"/><span class="lab"><font color="Green" title="E29">A14</font></span>: 
( <font color="Maroon" title="c9">t</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">t</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">y</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34_1_1_2"><span class="lab"><font color="Green" title="E27">A12</font></span></a>, <a class="ref" href="finseq_2.html#T10" onmouseover="rs('finseq_2/T10')" onmouseout="rh()">FINSEQ_2:10</a></span>;<br/>
<a NAME="E6:34_1_1_2"/><span class="lab"><font color="Green" title="E30">A15</font></span>: 
( <font color="Maroon" title="c6">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</font> &amp; <font color="Maroon" title="c7">y</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</font> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:34_1_1_2"><span class="lab"><font color="Green" title="E28">A13</font></span></a>, <a class="txt" href="#E5:34_1_1_2"><span class="lab"><font color="Green" title="E29">A14</font></span></a>, <a class="txt" href="#E1:34_1_1"><span class="lab"><font color="Green" title="E24">A6</font></span></a></span>;<br/>
<a NAME="E7:34_1_1_2"/><span class="lab"><font color="Green" title="E31">A16</font></span>: 
( 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c8">s</font> &amp; <font color="Maroon" title="c8">s</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>) &amp; 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c9">t</font> &amp; <font color="Maroon" title="c9">t</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>) )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:34_1_1_2"><span class="lab"><font color="Green" title="E28">A13</font></span></a>, <a class="txt" href="#E5:34_1_1_2"><span class="lab"><font color="Green" title="E29">A14</font></span></a>, <a class="txt" href="#E2:34_1"><span class="lab"><font color="Green" title="E23">A5</font></span></a>, <a class="txt" href="#E1:34_1_1"><span class="lab"><font color="Green" title="E24">A6</font></span></a>, <a class="ref" href="finseq_3.html#T25" onmouseover="rs('finseq_3/T25')" onmouseout="rh()">FINSEQ_3:25</a></span>;<br/>
<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="34_1_1_2_1"><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:34_1_1_2_1"/>
( <font color="Maroon" title="c8">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Maroon" title="c9">t</font> or <font color="Maroon" title="c8">s</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c9">t</font> )
 </span><span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34_1_1_2"><span class="lab"><font color="Green" title="E27">A12</font></span></a>, <a class="txt" href="#E3:34_1_1_2"><span class="lab"><font color="Green" title="E28">A13</font></span></a>, <a class="txt" href="#E5:34_1_1_2"><span class="lab"><font color="Green" title="E29">A14</font></span></a>, <a class="ref" href="xxreal_0.html#T1" onmouseover="rs('xxreal_0/T1')" onmouseout="rh()">XXREAL_0:1</a></span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="34_1_1_2_1_1"><span class="kw">suppose </span></a><a NAME="E1:34_1_1_2_1_1"/>
<font color="Maroon" title="c8">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Maroon" title="c9">t</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"> contradiction</span><br/><div class="add"><a NAME="E2:34_1_1_2_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E32">A17</font></span>: 
<font color="Maroon" title="c8">s</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c9">t</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&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="xreal_1.html#T50" onmouseover="rs('xreal_1/T50')" onmouseout="rh()">XREAL_1:50</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c10">k</font> = <font color="Maroon" title="c8">s</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c9">t</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a></span>;<br/><span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</font></span>)</span> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c9">t</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <font color="Maroon" title="c10">k</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</font></span>)</span>

<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">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"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> 1</span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="newton.html#T8" onmouseover="rs('newton/T8')" onmouseout="rh()">NEWTON:8</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>

;<br/><a NAME="E5:34_1_1_2_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E33">A18</font></span>: 
<font color="Maroon" title="c2">n</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:34_1_1_2"><span class="lab"><font color="Green" title="E30">A15</font></span></a>, <a class="txt" href="#E1:34_1_1_2"><span class="lab"><font color="Green" title="E27">A12</font></span></a>, <a class="ref" href="int_2.html#T15" onmouseover="rs('int_2/T15')" onmouseout="rh()">INT_2:15</a></span>;<br/><a NAME="E6:34_1_1_2_1_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E20">A2</font></span></a>, <a class="txt" href="#E6:34"><span class="lab"><font color="Green" title="E22">A4</font></span></a>, <a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="nat_4.html#T10" onmouseover="rs('nat_4/T10')" onmouseout="rh()">NAT_4:10</a></span>;<br/><a NAME="E7:34_1_1_2_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">n</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:34_1_1_2_1_1"><span class="lab"><font color="Green" title="E33">A18</font></span></a>, <a class="ref" href="wsierp_1.html#T29" onmouseover="rs('wsierp_1/T29')" onmouseout="rh()">WSIERP_1:29</a></span>;<br/><a NAME="E8:34_1_1_2_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T15" onmouseover="rs('int_2/T15')" onmouseout="rh()">INT_2:15</a></span>;<br/><span class="kw">then </span><span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font> = 
1 <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#T64" onmouseover="rs('nat_d/T64')" onmouseout="rh()">NAT_D:64</a></span>
<br/>.= 
1
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="pepin.html#T5" onmouseover="rs('pepin/T5')" onmouseout="rh()">PEPIN:5</a></span>
;<br/><a NAME="E10:34_1_1_2_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E34">A19</font></span>: 
 <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c10">k</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34_1_1_2_1_1"><span class="lab"><font color="Green" title="E32">A17</font></span></a>, <a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="pepin.html#T47" onmouseover="rs('pepin/T47')" onmouseout="rh()">PEPIN:47</a>, <a class="ref" href="nat_d.html#T7" onmouseover="rs('nat_d/T7')" onmouseout="rh()">NAT_D:7</a></span>;<br/><a NAME="E11:34_1_1_2_1_1"/>
( <font color="Maroon" title="c10">k</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>)</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 &amp; <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>)</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>) )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:34_1_1_2"><span class="lab"><font color="Green" title="E31">A16</font></span></a>, <a class="ref" href="xreal_1.html#T13" onmouseover="rs('xreal_1/T13')" onmouseout="rh()">XREAL_1:13</a>, <a class="ref" href="xreal_1.html#T146" onmouseover="rs('xreal_1/T146')" onmouseout="rh()">XREAL_1:146</a></span>;<br/><span class="kw">hence </span><a NAME="E12:34_1_1_2_1_1"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:34_1_1_2_1_1"><span class="lab"><font color="Green" title="E34">A19</font></span></a>, <a class="ref" href="xxreal_0.html#T2" onmouseover="rs('xxreal_0/T2')" onmouseout="rh()">XXREAL_0:2</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="34_1_1_2_1_2"><span class="kw">suppose </span></a><a NAME="E1:34_1_1_2_1_2"/>
<font color="Maroon" title="c8">s</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c9">t</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"> contradiction</span><br/><div class="add"><a NAME="E2:34_1_1_2_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E32">A20</font></span>: 
<font color="Maroon" title="c9">t</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c8">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&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="xreal_1.html#T50" onmouseover="rs('xreal_1/T50')" onmouseout="rh()">XREAL_1:50</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c10">k</font> = <font color="Maroon" title="c9">t</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c8">s</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a></span>;<br/><span class="lab"><font color="Green" title="E33">A21</font></span>: <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</font></span>)</span> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c8">s</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <font color="Maroon" title="c10">k</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</font></span>)</span>

<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">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"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> 1</span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="newton.html#T8" onmouseover="rs('newton/T8')" onmouseout="rh()">NEWTON:8</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>

;<br/><a NAME="E5:34_1_1_2_1_2"/>
<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c9">t</font>,<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:34_1_1_2"><span class="lab"><font color="Green" title="E30">A15</font></span></a>, <a class="txt" href="#E1:34_1_1_2"><span class="lab"><font color="Green" title="E27">A12</font></span></a>, <a class="ref" href="int_1.html#T14" onmouseover="rs('int_1/T14')" onmouseout="rh()">INT_1:14</a></span>;<br/><a NAME="E6:34_1_1_2_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E34">A22</font></span>: 
<font color="Maroon" title="c2">n</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:34_1_1_2_1_2"><span class="lab"><font color="Green" title="E33">A21</font></span></a>, <a class="ref" href="int_2.html#T15" onmouseover="rs('int_2/T15')" onmouseout="rh()">INT_2:15</a></span>;<br/><a NAME="E7:34_1_1_2_1_2"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">s</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E20">A2</font></span></a>, <a class="txt" href="#E6:34"><span class="lab"><font color="Green" title="E22">A4</font></span></a>, <a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="nat_4.html#T10" onmouseover="rs('nat_4/T10')" onmouseout="rh()">NAT_4:10</a></span>;<br/><a NAME="E8:34_1_1_2_1_2"/><span class="kw">then </span>
<font color="Maroon" title="c2">n</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:34_1_1_2_1_2"><span class="lab"><font color="Green" title="E34">A22</font></span></a>, <a class="ref" href="wsierp_1.html#T29" onmouseover="rs('wsierp_1/T29')" onmouseout="rh()">WSIERP_1:29</a></span>;<br/><a NAME="E9:34_1_1_2_1_2"/><span class="kw">then </span>
<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T15" onmouseover="rs('int_2/T15')" onmouseout="rh()">INT_2:15</a></span>;<br/><span class="kw">then </span><span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c10">k</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font> = 
1 <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#T64" onmouseover="rs('nat_d/T64')" onmouseout="rh()">NAT_D:64</a></span>
<br/>.= 
1
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="pepin.html#T5" onmouseover="rs('pepin/T5')" onmouseout="rh()">PEPIN:5</a></span>
;<br/><a NAME="E11:34_1_1_2_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E35">A23</font></span>: 
 <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c10">k</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34_1_1_2_1_2"><span class="lab"><font color="Green" title="E32">A20</font></span></a>, <a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="pepin.html#T47" onmouseover="rs('pepin/T47')" onmouseout="rh()">PEPIN:47</a>, <a class="ref" href="nat_d.html#T7" onmouseover="rs('nat_d/T7')" onmouseout="rh()">NAT_D:7</a></span>;<br/><a NAME="E12:34_1_1_2_1_2"/>
( <font color="Maroon" title="c10">k</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>)</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 &amp; <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>)</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>) )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:34_1_1_2"><span class="lab"><font color="Green" title="E31">A16</font></span></a>, <a class="ref" href="xreal_1.html#T13" onmouseover="rs('xreal_1/T13')" onmouseout="rh()">XREAL_1:13</a>, <a class="ref" href="xreal_1.html#T146" onmouseover="rs('xreal_1/T146')" onmouseout="rh()">XREAL_1:146</a></span>;<br/><span class="kw">hence </span><a NAME="E13:34_1_1_2_1_2"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E11:34_1_1_2_1_2"><span class="lab"><font color="Green" title="E35">A23</font></span></a>, <a class="ref" href="xxreal_0.html#T2" onmouseover="rs('xxreal_0/T2')" onmouseout="rh()">XXREAL_0:2</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><span class="kw">end;</span></div>

</div><span class="kw">end;</span></div>
<a NAME="E5:34_1_1"/><span class="lab"><font color="Green" title="E27">A24</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 <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> holds <br/><font color="Olive" title="b1">x</font>,<font color="Maroon" title="c2">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> 
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="34_1_1_3"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c6">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"> ( <font color="Maroon" title="c6">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> implies <font color="Maroon" title="c6">x</font>,<font color="Maroon" title="c2">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  )</span><br/>

<span class="kw">assume </span><a NAME="E1:34_1_1_3"/>
<font color="Maroon" title="c6">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</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"> <font color="Maroon" title="c6">x</font>,<font color="Maroon" title="c2">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> </span><br/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c7">s</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E3:34_1_1_3"/><span class="lab"><font color="Green" title="E28">A25</font></span>: 
( <font color="Maroon" title="c7">s</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">fn</font> &amp; <font color="Maroon" title="c5">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">x</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_2.html#T10" onmouseover="rs('finseq_2/T10')" onmouseout="rh()">FINSEQ_2:10</a></span>;<br/>
<a NAME="E4:34_1_1_3"/><span class="lab"><font color="Green" title="E29">A26</font></span>: 
<font color="Maroon" title="c6">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:34_1_1_3"><span class="lab"><font color="Green" title="E28">A25</font></span></a>, <a class="txt" href="#E1:34_1_1"><span class="lab"><font color="Green" title="E24">A6</font></span></a></span>;<br/>
<a NAME="E5:34_1_1_3"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E20">A2</font></span></a>, <a class="txt" href="#E6:34"><span class="lab"><font color="Green" title="E22">A4</font></span></a>, <a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="nat_4.html#T10" onmouseover="rs('nat_4/T10')" onmouseout="rh()">NAT_4:10</a></span>;<br/>
<span class="kw">hence </span><a NAME="E6:34_1_1_3"/>
<font color="Maroon" title="c6">x</font>,<font color="Maroon" title="c2">n</font> <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="#E4:34_1_1_3"><span class="lab"><font color="Green" title="E29">A26</font></span></a>, <a class="ref" href="int_2.html#D3" onmouseover="rs('int_2/D3')" onmouseout="rh()">INT_2:def 3</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">thus </span><a NAME="E6:34_1_1"/>
 <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c5">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="txt" href="#E3:34_1_1"><span class="lab"><font color="Green" title="E25">A10</font></span></a>, <a class="txt" href="#E4:34_1_1"><span class="lab"><font color="Green" title="E26">A11</font></span></a>, <a class="txt" href="#E5:34_1_1"><span class="lab"><font color="Green" title="E27">A24</font></span></a>, <a class="ref" href="int_8.html#T26" target="_self" onmouseover="rs('int_8/T26')" onmouseout="rh()">Th26</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="E4:34_1"/>
 for <font color="Olive" title="b1">fn</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>   st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">fn</font> holds <br/><font color="Olive" title="b1">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b2">d</font> ) holds <br/> <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Olive" title="b1">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">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>

<span class="kw">assume </span><a NAME="E8:34"/><span class="lab"><font color="Green" title="E23">A27</font></span>: 
 for <font color="Olive" title="b1">fn</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>   st  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">fn</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b2">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Olive" title="b1">fn</font> holds <br/><font color="Olive" title="b1">fn</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b2">d</font> ) holds <br/> <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Olive" title="b1">fn</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">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"> <font color="Maroon" title="c1">i</font> <a href="int_8.html#R2" title="INT_8:pred.2">is_primitive_root_of</a> <font color="Maroon" title="c2">n</font></span><br/>

<span class="kw">deffunc </span><font color="Maroon">H<sub>1</sub></font>(  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>) <span class="kw">-&gt; </span>   <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  = <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> $1;<br/>
<span class="kw">consider </span><font color="Maroon" title="c5">f</font> being   <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</a><span class="kw"> such that </span><br/><a NAME="E10:34"/><span class="lab"><font color="Green" title="E24">A28</font></span>: 
(  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c5">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b1">d</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">f</font> holds <br/><font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon">H<sub>1</sub></font>(<font color="Olive" title="b1">d</font>) ) )
 <span class="kw">from</span> <span class="lab"><a class="ref" href="finseq_1.html#S2" onmouseover="rs('finseq_1/S2')" onmouseout="rh()">FINSEQ_1:sch 2</a>();<br/></span>
<a NAME="E11:34"/>
 for <font color="Olive" title="b1">s</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">s</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">f</font> holds <br/><font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">s</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a> 
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="34_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c6">s</font> be   <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="c6">s</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">f</font> implies <font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">s</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  )</span><br/>

<span class="kw">assume </span><a NAME="E1:34_2"/><span class="lab"><font color="Green" title="E25">A29</font></span>: 
<font color="Maroon" title="c6">s</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c5">f</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"> <font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">s</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a> </span><br/>

<a NAME="E2:34_2"/>
<font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c6">s</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:34"><span class="lab"><font color="Green" title="E24">A28</font></span></a>, <a class="txt" href="#E1:34_2"><span class="lab"><font color="Green" title="E25">A29</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:34_2"/>
<font color="Maroon" title="c5">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">s</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="ordinal1.html#D12" onmouseover="rs('ordinal1/D12')" onmouseout="rh()">ORDINAL1:def 12</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">then </span><span class="kw">reconsider </span><font color="Maroon" title="c6">f</font> = <font color="Maroon" title="c5">f</font> as    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_2.html#T12" onmouseover="rs('finseq_2/T12')" onmouseout="rh()">FINSEQ_2:12</a></span>;<br/>
<a NAME="E13:34"/><span class="lab"><font color="Green" title="E25">A30</font></span>: 
 <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c6">f</font> <a href="int_8.html#R1" title="INT_8:pred.1">is_RRS_of</a> <font color="Maroon" title="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:34"><span class="lab"><font color="Green" title="E24">A28</font></span></a>, <a class="txt" href="#E8:34"><span class="lab"><font color="Green" title="E23">A27</font></span></a></span>;<br/>
<a NAME="E14:34"/><span class="kw">then </span>
(  <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <span class="p1">(<span class="default"><a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c6">f</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; (  for <font color="Olive" title="b1">x</font>, <font color="Olive" title="b2">y</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>  st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c6">f</font> &amp; <font color="Olive" title="b2">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c6">f</font> &amp; <font color="Olive" title="b1">x</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Olive" title="b2">y</font> holds <br/> not <font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font> ) )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_8.html#T24" target="_self" onmouseover="rs('int_8/T24')" onmouseout="rh()">Th24</a></span>;<br/>
<a NAME="E15:34"/><span class="kw">then </span><span class="lab"><font color="Green" title="E26">A31</font></span>: 
<font color="Maroon" title="c6">f</font> is  <a href="funct_1.html#V2" title="FUNCT_1:attr.2">one-to-one</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:34"><span class="lab"><font color="Green" title="E24">A28</font></span></a>, <a class="ref" href="finseq_4.html#T62" onmouseover="rs('finseq_4/T62')" onmouseout="rh()">FINSEQ_4:62</a></span>;<br/>
<a NAME="E16:34"/><span class="lab"><font color="Green" title="E27">A32</font></span>: 
 <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">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> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="pepin.html#T42" onmouseover="rs('pepin/T42')" onmouseout="rh()">PEPIN:42</a></span>;<br/>
<a NAME="E17:34"/><span class="kw">then </span><span class="lab"><font color="Green" title="E28">A33</font></span>: 
 <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 
;<br/>
<a NAME="E18:34"/><span class="lab"><font color="Green" title="E29">A34</font></span>: 
 <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="pepin.html#T42" onmouseover="rs('pepin/T42')" onmouseout="rh()">PEPIN:42</a>, <a class="ref" href="nat_1.html#T14" onmouseover="rs('nat_1/T14')" onmouseout="rh()">NAT_1:14</a></span>;<br/>
<a NAME="E19:34"/><span class="lab"><font color="Green" title="E30">A35</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="int_8.html#T5" target="_self" onmouseover="rs('int_8/T5')" onmouseout="rh()">Th5</a>, <a class="ref" href="euler_2.html#T18" onmouseover="rs('euler_2/T18')" onmouseout="rh()">EULER_2:18</a></span>;<br/>
<a NAME="E20:34"/>
 for <font color="Olive" title="b1">s</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b1">s</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 holds <br/>(  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp;  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b1">s</font> )
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="34_3"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c7">s</font> be   <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="c7">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 implies (  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp;  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c7">s</font> ) )</span><br/>

<span class="kw">assume </span><a NAME="E1:34_3"/><span class="lab"><font color="Green" title="E31">A36</font></span>: 
( <font color="Maroon" title="c7">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 )
 ; <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"> (  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp;  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c7">s</font> )</span><br/>

<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="34_3_1"><span class="kw">now </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">  not <font color="Maroon" title="c7">s</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span></a><div class="add"><span class="kw">assume </span><a NAME="E1:34_3_1"/>
<font color="Maroon" title="c7">s</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">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"> contradiction</span><br/><a NAME="E2:34_3_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E32">A37</font></span>: 
<span class="p1">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c7">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&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="xreal_1.html#T50" onmouseover="rs('xreal_1/T50')" onmouseout="rh()">XREAL_1:50</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c8">k</font> = <span class="p1">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c7">s</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a></span>;<br/><a NAME="E4:34_3_1"/><span class="lab"><font color="Green" title="E33">A38</font></span>: 
( <font color="Maroon" title="c8">k</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp; <font color="Maroon" title="c8">k</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 1 )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34_3"><span class="lab"><font color="Green" title="E31">A36</font></span></a>, <a class="txt" href="#E2:34_3_1"><span class="lab"><font color="Green" title="E32">A37</font></span></a>, <a class="ref" href="xreal_1.html#T44" onmouseover="rs('xreal_1/T44')" onmouseout="rh()">XREAL_1:44</a>, <a class="ref" href="nat_1.html#T14" onmouseover="rs('nat_1/T14')" onmouseout="rh()">NAT_1:14</a></span>;<br/><a NAME="E5:34_3_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E34">A39</font></span>: 
( <font color="Maroon" title="c8">k</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c6">f</font> &amp;  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c6">f</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:34"><span class="lab"><font color="Green" title="E24">A28</font></span></a>, <a class="txt" href="#E18:34"><span class="lab"><font color="Green" title="E29">A34</font></span></a>, <a class="ref" href="finseq_3.html#T25" onmouseover="rs('finseq_3/T25')" onmouseout="rh()">FINSEQ_3:25</a></span>;<br/><a NAME="E6:34_3_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E35">A40</font></span>: 
( <font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">k</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c6">f</font> &amp; <font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <font color="Maroon" title="c6">f</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="funct_1.html#T3" onmouseover="rs('funct_1/T3')" onmouseout="rh()">FUNCT_1:3</a></span>;<br/><a NAME="E7:34_3_1"/>
<font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">k</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:34_3_1"><span class="lab"><font color="Green" title="E34">A39</font></span></a>, <a class="txt" href="#E15:34"><span class="lab"><font color="Green" title="E26">A31</font></span></a>, <a class="txt" href="#E4:34_3_1"><span class="lab"><font color="Green" title="E33">A38</font></span></a>, <a class="ref" href="funct_1.html#D4" onmouseover="rs('funct_1/D4')" onmouseout="rh()">FUNCT_1:def 4</a></span>;<br/><a NAME="E8:34_3_1"/><span class="kw">then </span>
 not <font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">k</font>,<font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:34_3_1"><span class="lab"><font color="Green" title="E35">A40</font></span></a>, <a class="txt" href="#E13:34"><span class="lab"><font color="Green" title="E25">A30</font></span></a>, <a class="ref" href="int_8.html#T24" target="_self" onmouseover="rs('int_8/T24')" onmouseout="rh()">Th24</a></span>;<br/><a NAME="E9:34_3_1"/><span class="kw">then </span>
 not <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">k</font>,<font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:34_3_1"><span class="lab"><font color="Green" title="E34">A39</font></span></a>, <a class="txt" href="#E10:34"><span class="lab"><font color="Green" title="E24">A28</font></span></a></span>;<br/><a NAME="E10:34_3_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E36">A41</font></span>: 
 not <font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">k</font>,<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:34_3_1"><span class="lab"><font color="Green" title="E34">A39</font></span></a>, <a class="txt" href="#E10:34"><span class="lab"><font color="Green" title="E24">A28</font></span></a></span>;<br/><a NAME="E11:34_3_1"/>
<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span>,<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34_3"><span class="lab"><font color="Green" title="E31">A36</font></span></a>, <a class="txt" href="#E19:34"><span class="lab"><font color="Green" title="E30">A35</font></span></a>, <a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="nat_d.html#T64" onmouseover="rs('nat_d/T64')" onmouseout="rh()">NAT_D:64</a></span>;<br/><a NAME="E12:34_3_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E37">A42</font></span>: 
<font color="Maroon" title="c2">n</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T15" onmouseover="rs('int_2/T15')" onmouseout="rh()">INT_2:15</a></span>;<br/><span class="lab"><font color="Green" title="E38">A43</font></span>: <span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></span>)</span> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c7">s</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <font color="Maroon" title="c8">k</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></span>)</span>

<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">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"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> 1</span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="newton.html#T8" onmouseover="rs('newton/T8')" onmouseout="rh()">NEWTON:8</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>

;<br/><a NAME="E14:34_3_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">s</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:34"><span class="lab"><font color="Green" title="E20">A2</font></span></a>, <a class="txt" href="#E6:34"><span class="lab"><font color="Green" title="E22">A4</font></span></a>, <a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="nat_4.html#T10" onmouseover="rs('nat_4/T10')" onmouseout="rh()">NAT_4:10</a></span>;<br/><a NAME="E15:34_3_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E39">A44</font></span>: 
<font color="Maroon" title="c2">n</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E12:34_3_1"><span class="lab"><font color="Green" title="E37">A42</font></span></a>, <a class="txt" href="#E13:34_3_1"><span class="lab"><font color="Green" title="E38">A43</font></span></a>, <a class="ref" href="wsierp_1.html#T29" onmouseover="rs('wsierp_1/T29')" onmouseout="rh()">WSIERP_1:29</a></span>;<br/><a NAME="E16:34_3_1"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="txt" href="#E19:34"><span class="lab"><font color="Green" title="E30">A35</font></span></a>, <a class="ref" href="pepin.html#T5" onmouseover="rs('pepin/T5')" onmouseout="rh()">PEPIN:5</a></span>;<br/><a NAME="E17:34_3_1"/><span class="kw">then </span>
<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c2">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="ref" href="nat_d.html#T64" onmouseover="rs('nat_d/T64')" onmouseout="rh()">NAT_D:64</a></span>;<br/><a NAME="E18:34_3_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">n</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T15" onmouseover="rs('int_2/T15')" onmouseout="rh()">INT_2:15</a></span>;<br/><a NAME="E19:34_3_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">n</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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</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="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E15:34_3_1"><span class="lab"><font color="Green" title="E39">A44</font></span></a>, <a class="ref" href="int_5.html#T1" onmouseover="rs('int_5/T1')" onmouseout="rh()">INT_5:1</a></span>;<br/><a NAME="E20:34_3_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">n</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c8">k</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">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font></span>)</span></span>)</span>
 ;<br/><span class="kw">hence </span><a NAME="E21:34_3_1"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:34_3_1"><span class="lab"><font color="Green" title="E36">A41</font></span></a>, <a class="ref" href="int_2.html#T15" onmouseover="rs('int_2/T15')" onmouseout="rh()">INT_2: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="E3:34_3"/>
(  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> &amp;  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c7">s</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E16:34"><span class="lab"><font color="Green" title="E27">A32</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><span class="kw">end;</span></div>
<a NAME="E21:34"/><span class="kw">then </span>
 <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c2">n</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euler_1.html#K1" title="EULER_1:func.1">Euler</a> <font color="Maroon" title="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:34"><span class="lab"><font color="Green" title="E19">A1</font></span></a>, <a class="txt" href="#E17:34"><span class="lab"><font color="Green" title="E28">A33</font></span></a>, <a class="txt" href="#E19:34"><span class="lab"><font color="Green" title="E30">A35</font></span></a>, <a class="ref" href="pepin.html#D2" onmouseover="rs('pepin/D2')" onmouseout="rh()">PEPIN:def 2</a></span>;<br/>
<span class="kw">hence </span><a NAME="E22:34"/>
<font color="Maroon" title="c1">i</font> <a href="int_8.html#R2" title="INT_8:pred.2">is_primitive_root_of</a> <font color="Maroon" title="c2">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>
