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

<span class="kw">let </span><font color="Maroon" title="c1">i</font>, <font color="Maroon" title="c2">s</font>, <font color="Maroon" title="c3">t</font>, <font color="Maroon" title="c4">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="c4">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="c4">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  &amp;  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c4">n</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">s</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">t</font> implies  <a href="pepin.html#K3" title="PEPIN:func.3">order</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="c2">s</font></span>)</span>,<font color="Maroon" title="c4">n</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">t</font> )</span><br/>







<span class="kw">assume </span><a NAME="E1:20"/><span class="lab"><font color="Green" title="E12">A1</font></span>: 
( <font color="Maroon" title="c4">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="c4">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  &amp;  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c4">n</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">s</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">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">  <a href="pepin.html#K3" title="PEPIN:func.3">order</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="c2">s</font></span>)</span>,<font color="Maroon" title="c4">n</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">t</font></span><br/>

<a NAME="E2:20"/><span class="kw">then </span><span class="lab"><font color="Green" title="E13">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/>
<a NAME="E3:20"/><span class="lab"><font color="Green" title="E14">A3</font></span>: 
( <font color="Maroon" title="c3">t</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c2">s</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:20"><span class="lab"><font color="Green" title="E12">A1</font></span></a>, <a class="ref" href="pepin.html#D2" onmouseover="rs('pepin/D2')" onmouseout="rh()">PEPIN:def 2</a></span>;<br/>
<a NAME="E4:20"/>
<font color="Maroon" title="c1">i</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c4">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:20"><span class="lab"><font color="Green" title="E12">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/>
<a NAME="E5:20"/><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="c2">s</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c4">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:20"><span class="lab"><font color="Green" title="E13">A2</font></span></a>, <a class="txt" href="#E1:20"><span class="lab"><font color="Green" title="E12">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="E6:20"/><span class="kw">then </span><span class="lab"><font color="Green" title="E15">A4</font></span>: 
<font color="Maroon" title="c1">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">s</font>,<font color="Maroon" title="c4">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="ref" href="int_2.html#D3" onmouseover="rs('int_2/D3')" onmouseout="rh()">INT_2:def 3</a></span>;<br/>
<span class="lab"><font color="Green" title="E16">A5</font></span>: <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="c2">s</font></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c3">t</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font> = 
<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="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c1">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:20"><span class="lab"><font color="Green" title="E12">A1</font></span></a>, <a class="ref" href="newton.html#T9" onmouseover="rs('newton/T9')" onmouseout="rh()">NEWTON:9</a></span>
<br/>.= 
1
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:20"><span class="lab"><font color="Green" title="E12">A1</font></span></a>, <a class="ref" href="pepin.html#D2" onmouseover="rs('pepin/D2')" onmouseout="rh()">PEPIN:def 2</a></span>
;<br/>
<a NAME="E8:20"/><span class="lab"><font color="Green" title="E17">A6</font></span>: 
 for <font color="Olive" title="b1">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">k</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"><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="c2">s</font></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Olive" title="b1">k</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">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> <font color="Maroon" title="c3">t</font> &amp; <font color="Maroon" title="c3">t</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b1">k</font> )
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="20_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c5">k</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="c5">k</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"><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="c2">s</font></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c5">k</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">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> <font color="Maroon" title="c3">t</font> &amp; <font color="Maroon" title="c3">t</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c5">k</font> ) )</span><br/>

<span class="kw">assume </span><a NAME="E1:20_2"/><span class="lab"><font color="Green" title="E18">A7</font></span>: 
( <font color="Maroon" title="c5">k</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"><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="c2">s</font></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c5">k</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">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> <font color="Maroon" title="c3">t</font> &amp; <font color="Maroon" title="c3">t</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c5">k</font> )</span><br/>

<a NAME="E2:20_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E19">A8</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"><font color="Maroon" title="c2">s</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">k</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="newton.html#T9" onmouseover="rs('newton/T9')" onmouseout="rh()">NEWTON:9</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c6">t</font> = <font color="Maroon" title="c3">t</font>, <font color="Maroon" title="c7">s</font> = <font color="Maroon" title="c2">s</font>, <font color="Maroon" title="c8">k</font> = <font color="Maroon" title="c5">k</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="ordinal1.html#D12" onmouseover="rs('ordinal1/D12')" onmouseout="rh()">ORDINAL1:def 12</a></span>;<br/>
<a NAME="E4:20_2"/>
<font color="Maroon" title="c6">t</font> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c7">s</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c8">k</font> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c7">s</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:20_2"><span class="lab"><font color="Green" title="E19">A8</font></span></a>, <a class="txt" href="#E1:20"><span class="lab"><font color="Green" title="E12">A1</font></span></a>, <a class="ref" href="pepin.html#T47" onmouseover="rs('pepin/T47')" onmouseout="rh()">PEPIN:47</a></span>;<br/>
<a NAME="E5:20_2"/><span class="kw">then </span>
<font color="Maroon" title="c6">t</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c8">k</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:20"><span class="lab"><font color="Green" title="E14">A3</font></span></a>, <a class="ref" href="pythtrip.html#T7" onmouseover="rs('pythtrip/T7')" onmouseout="rh()">PYTHTRIP:7</a></span>;<br/>
<span class="kw">hence </span><a NAME="E6:20_2"/>
(  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c3">t</font> &amp; <font color="Maroon" title="c3">t</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c5">k</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:20"><span class="lab"><font color="Green" title="E14">A3</font></span></a>, <a class="txt" href="#E1:20_2"><span class="lab"><font color="Green" title="E18">A7</font></span></a>, <a class="ref" href="nat_d.html#T7" onmouseover="rs('nat_d/T7')" onmouseout="rh()">NAT_D:7</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="E9:20"/>
<font color="Maroon" title="c3">t</font> is    <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="ordinal1.html#D12" onmouseover="rs('ordinal1/D12')" onmouseout="rh()">ORDINAL1:def 12</a></span>;<br/>
<span class="kw">hence </span><a NAME="E10:20"/>
 <a href="pepin.html#K3" title="PEPIN:func.3">order</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="c2">s</font></span>)</span>,<font color="Maroon" title="c4">n</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">t</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:20"><span class="lab"><font color="Green" title="E12">A1</font></span></a>, <a class="txt" href="#E6:20"><span class="lab"><font color="Green" title="E15">A4</font></span></a>, <a class="txt" href="#E3:20"><span class="lab"><font color="Green" title="E14">A3</font></span></a>, <a class="txt" href="#E8:20"><span class="lab"><font color="Green" title="E17">A6</font></span></a>, <a class="txt" href="#E7:20"><span class="lab"><font color="Green" title="E16">A5</font></span></a>, <a class="ref" href="pepin.html#D2" onmouseover="rs('pepin/D2')" onmouseout="rh()">PEPIN:def 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>
