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

<span class="kw">let </span><font color="Maroon" title="c1">s</font>, <font color="Maroon" title="c2">t</font>, <font color="Maroon" title="c3">i</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="c3">i</font>,<font color="Maroon" title="c4">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  implies ( <font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font> iff <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>) ) )</span><br/>







<span class="kw">assume </span><a NAME="E1:14"/><span class="lab"><font color="Green" title="E11">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="c3">i</font>,<font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font> iff <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>) )</span><br/>

<a NAME="E2:14"/><span class="lab"><font color="Green" title="E12">A2</font></span>: 
( <font color="Maroon" title="c3">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>  &amp; <font color="Maroon" title="c4">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>  )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:14"><span class="lab"><font color="Green" title="E11">A1</font></span></a>, <a class="ref" href="int_8.html#T5" target="_self" onmouseover="rs('int_8/T5')" onmouseout="rh()">Th5</a></span>;<br/>
<span class="kw">set </span><font color="Maroon" title="c5">R</font> =  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>);<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c6">RR</font> =  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</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/>
<span class="kw">thus </span><a NAME="E4:14"/>
( <font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font> implies <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">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">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>) implies <font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font> )</span><div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="14_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:14_1"/><span class="lab"><font color="Green" title="E13">A3</font></span>: 
<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">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">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span><br/>

<a NAME="E2:14_1"/><span class="lab"><font color="Green" title="E14">A4</font></span>: 
<font color="Maroon" title="c3">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:14"><span class="lab"><font color="Green" title="E11">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/>
<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="14_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:14_1_1"/>
( <font color="Maroon" title="c1">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">t</font> or <font color="Maroon" title="c1">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Maroon" title="c2">t</font> or <font color="Maroon" title="c1">s</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c2">t</font> )
 </span><span class="kw">by</span> <span class="lab"><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="14_1_1_1"><span class="kw">suppose </span></a><a NAME="E1:14_1_1_1"/>
<font color="Maroon" title="c1">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">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"> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span><br/><div class="add"><span class="kw">hence </span><a NAME="E2:14_1_1_1"/>
<font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T11" onmouseover="rs('int_1/T11')" onmouseout="rh()">INT_1:11</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="14_1_1_2"><span class="kw">suppose </span></a><a NAME="E1:14_1_1_2"/>
<font color="Maroon" title="c1">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Maroon" title="c2">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"> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span><br/><div class="add"><span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c7">l</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E3:14_1_1_2"/><span class="lab"><font color="Green" title="E15">A5</font></span>: 
<font color="Maroon" title="c1">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">t</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c7">l</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T10" onmouseover="rs('nat_1/T10')" onmouseout="rh()">NAT_1:10</a></span>;<br/><a NAME="E4:14_1_1_2"/>
<font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:14_1"><span class="lab"><font color="Green" title="E13">A3</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="E5:14_1_1_2"/><span class="kw">then </span>
<font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">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="txt" href="#E3:14_1_1_2"><span class="lab"><font color="Green" title="E15">A5</font></span></a>, <a class="ref" href="newton.html#T8" onmouseover="rs('newton/T8')" onmouseout="rh()">NEWTON:8</a></span>;<br/><a NAME="E6:14_1_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E16">A6</font></span>: 
<font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>
 ;<br/><span class="kw">reconsider </span><font color="Maroon" title="c8">ll</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 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="nat_1.html#T21" onmouseover="rs('nat_1/T21')" onmouseout="rh()">NAT_1:21</a>, <a class="ref" href="nat_1.html#T14" onmouseover="rs('nat_1/T14')" onmouseout="rh()">NAT_1:14</a>, <a class="txt" href="#E2:14"><span class="lab"><font color="Green" title="E12">A2</font></span></a></span>;<br/><a NAME="E8:14_1_1_2"/><span class="lab"><font color="Green" title="E17">A7</font></span>: 
<font color="Maroon" title="c4">n</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:14_1"><span class="lab"><font color="Green" title="E14">A4</font></span></a>, <a class="txt" href="#E2:14"><span class="lab"><font color="Green" title="E12">A2</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="E9:14_1_1_2"/>
<font color="Maroon" title="c4">n</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c8">ll</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:14_1_1_2"><span class="lab"><font color="Green" title="E16">A6</font></span></a>, <a class="txt" href="#E8:14_1_1_2"><span class="lab"><font color="Green" title="E17">A7</font></span></a>, <a class="ref" href="wsierp_1.html#T30" onmouseover="rs('wsierp_1/T30')" onmouseout="rh()">WSIERP_1:30</a></span>;<br/><a NAME="E10:14_1_1_2"/><span class="kw">then </span>
<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</font>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font> = 
1 <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="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:14"><span class="lab"><font color="Green" title="E11">A1</font></span></a>, <a class="ref" href="pepin.html#T5" onmouseover="rs('pepin/T5')" onmouseout="rh()">PEPIN:5</a></span>
;<br/><a NAME="E12:14_1_1_2"/><span class="kw">then </span>
 <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>) <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c1">s</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">t</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:14_1_1_2"><span class="lab"><font color="Green" title="E15">A5</font></span></a>, <a class="txt" href="#E1:14"><span class="lab"><font color="Green" title="E11">A1</font></span></a>, <a class="ref" href="pepin.html#T47" onmouseover="rs('pepin/T47')" onmouseout="rh()">PEPIN:47</a></span>;<br/><span class="kw">hence </span><a NAME="E13:14_1_1_2"/>
<font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">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>; <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="14_1_1_3"><span class="kw">suppose </span></a><a NAME="E1:14_1_1_3"/>
<font color="Maroon" title="c1">s</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c2">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"> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span><br/><div class="add"><span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c7">l</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E3:14_1_1_3"/><span class="lab"><font color="Green" title="E15">A8</font></span>: 
<font color="Maroon" title="c2">t</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">s</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c7">l</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T10" onmouseover="rs('nat_1/T10')" onmouseout="rh()">NAT_1:10</a></span>;<br/><a NAME="E4:14_1_1_3"/>
<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font>,<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:14_1"><span class="lab"><font color="Green" title="E13">A3</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="E5:14_1_1_3"/><span class="kw">then </span>
<font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">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/><a NAME="E6:14_1_1_3"/><span class="kw">then </span>
<font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">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="txt" href="#E3:14_1_1_3"><span class="lab"><font color="Green" title="E15">A8</font></span></a>, <a class="ref" href="newton.html#T8" onmouseover="rs('newton/T8')" onmouseout="rh()">NEWTON:8</a></span>;<br/><a NAME="E7:14_1_1_3"/><span class="kw">then </span><span class="lab"><font color="Green" title="E16">A9</font></span>: 
<font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>
 ;<br/><a NAME="E8:14_1_1_3"/><span class="lab"><font color="Green" title="E17">A10</font></span>: 
<font color="Maroon" title="c4">n</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:14_1"><span class="lab"><font color="Green" title="E14">A4</font></span></a>, <a class="txt" href="#E2:14"><span class="lab"><font color="Green" title="E12">A2</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">reconsider </span><font color="Maroon" title="c8">ll</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 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="nat_1.html#T21" onmouseover="rs('nat_1/T21')" onmouseout="rh()">NAT_1:21</a>, <a class="ref" href="nat_1.html#T14" onmouseover="rs('nat_1/T14')" onmouseout="rh()">NAT_1:14</a>, <a class="txt" href="#E2:14"><span class="lab"><font color="Green" title="E12">A2</font></span></a></span>;<br/><a NAME="E10:14_1_1_3"/>
<font color="Maroon" title="c4">n</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c8">ll</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:14_1_1_3"><span class="lab"><font color="Green" title="E17">A10</font></span></a>, <a class="txt" href="#E7:14_1_1_3"><span class="lab"><font color="Green" title="E16">A9</font></span></a>, <a class="ref" href="wsierp_1.html#T30" onmouseover="rs('wsierp_1/T30')" onmouseout="rh()">WSIERP_1:30</a></span>;<br/><a NAME="E11:14_1_1_3"/><span class="kw">then </span>
<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</font>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c7">l</font></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font> = 
1 <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="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:14"><span class="lab"><font color="Green" title="E11">A1</font></span></a>, <a class="ref" href="pepin.html#T5" onmouseover="rs('pepin/T5')" onmouseout="rh()">PEPIN:5</a></span>
;<br/><a NAME="E13:14_1_1_3"/><span class="kw">then </span>
 <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>) <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">t</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">s</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:14"><span class="lab"><font color="Green" title="E11">A1</font></span></a>, <a class="txt" href="#E3:14_1_1_3"><span class="lab"><font color="Green" title="E15">A8</font></span></a>, <a class="ref" href="pepin.html#T47" onmouseover="rs('pepin/T47')" onmouseout="rh()">PEPIN:47</a></span>;<br/><a NAME="E14:14_1_1_3"/><span class="kw">then </span>
<font color="Maroon" title="c2">t</font>,<font color="Maroon" title="c1">s</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">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">hence </span><a NAME="E15:14_1_1_3"/>
<font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T14" onmouseover="rs('int_1/T14')" onmouseout="rh()">INT_1:14</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>

<span class="kw">assume </span><a NAME="E5:14"/><span class="lab"><font color="Green" title="E13">A11</font></span>: 
<font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">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="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font></span><br/>

<a NAME="E6:14"/><span class="lab"><font color="Green" title="E14">A12</font></span>: 
 <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">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> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:14"><span class="lab"><font color="Green" title="E11">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="E7:14"/><span class="kw">then </span><span class="lab"><font color="Green" title="E15">A13</font></span>: 
( <font color="Maroon" title="c1">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> &amp; <font color="Maroon" title="c2">t</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="newton.html#T66" onmouseover="rs('newton/T66')" onmouseout="rh()">NEWTON:66</a></span>;<br/>
<span class="kw">then </span><span class="lab"><font color="Green" title="E16">A14</font></span>: <font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></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"><span class="p2">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span>
<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="lab"><font color="Green" title="E17">A15</font></span>: <span class="p1">(<span class="default"><font color="Maroon" title="c3">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="c3">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> = 
1
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:14"><span class="lab"><font color="Green" title="E11">A1</font></span></a>, <a class="ref" href="pepin.html#D2" onmouseover="rs('pepin/D2')" onmouseout="rh()">PEPIN:def 2</a></span>
<br/>.= 
1 <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:14"><span class="lab"><font color="Green" title="E11">A1</font></span></a>, <a class="ref" href="pepin.html#T5" onmouseover="rs('pepin/T5')" onmouseout="rh()">PEPIN:5</a></span>
;<br/>
<span class="kw">then </span><span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font> = 
<span class="p1">(<span class="default">1 <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T8" onmouseover="rs('int_4/T8')" onmouseout="rh()">INT_4:8</a></span>
<br/>.= 
1 <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font>

;<br/>
<a NAME="E11:14"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c3">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="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:14"><span class="lab"><font color="Green" title="E11">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:14"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span>,1 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T11" onmouseover="rs('int_4/T11')" onmouseout="rh()">INT_4:11</a></span>;<br/>
<a NAME="E13:14"/><span class="kw">then </span><span class="lab"><font color="Green" title="E18">A16</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</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> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:14"><span class="lab"><font color="Green" title="E16">A14</font></span></a>, <a class="ref" href="nat_d.html#T64" onmouseover="rs('nat_d/T64')" onmouseout="rh()">NAT_D:64</a></span>;<br/>
<span class="lab"><font color="Green" title="E19">A17</font></span>: <font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p4">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></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>, <a class="txt" href="#E7:14"><span class="lab"><font color="Green" title="E15">A13</font></span></a></span>
<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span>
<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="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font> = 
<span class="p1">(<span class="default">1 <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:14"><span class="lab"><font color="Green" title="E17">A15</font></span></a>, <a class="ref" href="int_4.html#T8" onmouseover="rs('int_4/T8')" onmouseout="rh()">INT_4:8</a></span>
<br/>.= 
1 <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font>

;<br/>
<a NAME="E16:14"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c3">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="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:14"><span class="lab"><font color="Green" title="E11">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="E17:14"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span>,1 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_4.html#T11" onmouseover="rs('int_4/T11')" onmouseout="rh()">INT_4:11</a></span>;<br/>
<a NAME="E18:14"/><span class="kw">then </span><span class="lab"><font color="Green" title="E20">A18</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</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> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c4">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E14:14"><span class="lab"><font color="Green" title="E19">A17</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="E19:14"/>
( <font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">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> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> &amp; <font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">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> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="euler_2.html#T5" onmouseover="rs('euler_2/T5')" onmouseout="rh()">EULER_2:5</a></span>;<br/>
<a NAME="E20:14"/><span class="kw">then </span><span class="lab"><font color="Green" title="E21">A19</font></span>: 
( <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>) &amp; <font color="Maroon" title="c2">t</font>,<font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>) )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:14"><span class="lab"><font color="Green" title="E14">A12</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="E21:14"/><span class="kw">then </span>
<font color="Maroon" title="c2">t</font>,<font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:14"><span class="lab"><font color="Green" title="E13">A11</font></span></a>, <a class="ref" href="pepin.html#T40" onmouseover="rs('pepin/T40')" onmouseout="rh()">PEPIN:40</a></span>;<br/>
<a NAME="E22:14"/><span class="kw">then </span>
<font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span>,<font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E20:14"><span class="lab"><font color="Green" title="E21">A19</font></span></a>, <a class="ref" href="pepin.html#T40" onmouseover="rs('pepin/T40')" onmouseout="rh()">PEPIN:40</a></span>;<br/>
<a NAME="E23:14"/><span class="kw">then </span><span class="lab"><font color="Green" title="E22">A20</font></span>: 
 <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">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">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">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="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></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/>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="14_7"><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="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span></a><div class="add"><span class="kw">assume </span><a NAME="E1:14_7"/>
<font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> <font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</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"> contradiction</span><br/><a NAME="E2:14_7"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">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="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 ;<br/><a NAME="E3:14_7"/><span class="kw">then </span>
<span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><span class="p2">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p4">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p3">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p4">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E23:14"><span class="lab"><font color="Green" title="E22">A20</font></span></a>, <a class="ref" href="int_4.html#T6" onmouseover="rs('int_4/T6')" onmouseout="rh()">INT_4:6</a></span>;<br/><a NAME="E4:14_7"/><span class="kw">then </span><span class="lab"><font color="Green" title="E23">A21</font></span>: 
 <a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>) <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p4">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p3">(<span class="default"><font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p4">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span></span>)</span></span>)</span></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="absvalue.html#D1" onmouseover="rs('absvalue/D1')" onmouseout="rh()">ABSVALUE:def 1</a></span>;<br/><span class="kw">reconsider </span><font color="Maroon" title="c7">sR</font> = <font color="Maroon" title="c1">s</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c6">RR</font>, <font color="Maroon" title="c8">tR</font> = <font color="Maroon" title="c2">t</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c6">RR</font> 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/><span class="kw">reconsider </span><font color="Maroon" title="c9">rR</font> =  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><a href="pepin.html#K3" title="PEPIN:func.3">order</a> (<font color="Maroon" title="c3">i</font>,<font color="Maroon" title="c4">n</font>)</span>)</span> 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="E7:14_7"/><span class="lab"><font color="Green" title="E24">A22</font></span>: 
( <font color="Maroon" title="c7">sR</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c6">RR</font> &amp; <font color="Maroon" title="c7">sR</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c8">tR</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c6">RR</font> &amp; <font color="Maroon" title="c8">tR</font> <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="#E6:14"><span class="lab"><font color="Green" title="E14">A12</font></span></a>, <a class="ref" href="nat_d.html#T1" onmouseover="rs('nat_d/T1')" onmouseout="rh()">NAT_D:1</a></span>;<br/><a NAME="E8:14_7"/>
<font color="Maroon" title="c7">sR</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c8">tR</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c7">sR</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T43" onmouseover="rs('xreal_1/T43')" onmouseout="rh()">XREAL_1:43</a></span>;<br/><a NAME="E9:14_7"/><span class="kw">then </span><span class="lab"><font color="Green" title="E25">A23</font></span>: 
<font color="Maroon" title="c7">sR</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c8">tR</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c6">RR</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:14_7"><span class="lab"><font color="Green" title="E24">A22</font></span></a>, <a class="ref" href="xxreal_0.html#T2" onmouseover="rs('xxreal_0/T2')" onmouseout="rh()">XXREAL_0:2</a></span>;<br/><a NAME="E10:14_7"/><span class="lab"><font color="Green" title="E26">A24</font></span>: 
<span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c8">tR</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">RR</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T69" onmouseover="rs('xreal_1/T69')" onmouseout="rh()">XREAL_1:69</a>, <a class="txt" href="#E7:14_7"><span class="lab"><font color="Green" title="E24">A22</font></span></a></span>;<br/><a NAME="E11:14_7"/>
<font color="Maroon" title="c7">sR</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c8">tR</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c8">tR</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T31" onmouseover="rs('xreal_1/T31')" onmouseout="rh()">XREAL_1:31</a></span>;<br/><a NAME="E12:14_7"/><span class="kw">then </span>
<font color="Maroon" title="c7">sR</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <font color="Maroon" title="c8">tR</font></span>)</span> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Maroon" title="c9">rR</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="xxreal_0.html#T2" onmouseover="rs('xxreal_0/T2')" onmouseout="rh()">XXREAL_0:2</a>, <a class="txt" href="#E10:14_7"><span class="lab"><font color="Green" title="E26">A24</font></span></a></span>;<br/><span class="kw">hence </span><a NAME="E13:14_7"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:14_7"><span class="lab"><font color="Green" title="E23">A21</font></span></a>, <a class="ref" href="seq_2.html#T1" onmouseover="rs('seq_2/T1')" onmouseout="rh()">SEQ_2:1</a>, <a class="txt" href="#E9:14_7"><span class="lab"><font color="Green" title="E25">A23</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>
<span class="kw">hence </span><a NAME="E25:14"/>
<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">s</font>,<font color="Maroon" title="c3">i</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c2">t</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c4">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:14"><span class="lab"><font color="Green" title="E11">A1</font></span></a>, <a class="txt" href="#E13:14"><span class="lab"><font color="Green" title="E18">A16</font></span></a>, <a class="txt" href="#E18:14"><span class="lab"><font color="Green" title="E20">A18</font></span></a>, <a class="ref" href="nat_d.html#T64" onmouseover="rs('nat_d/T64')" onmouseout="rh()">NAT_D:64</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>
