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

<span class="kw">let </span><font color="Maroon" title="c1">l</font> be   <a href="ordinal1.html#V7" title="ORDINAL1:attr.7">natural</a>   non  <a href="ordinal1.html#V8" title="ORDINAL1:attr.8">zero</a>   <a href="ordinal1.html#NM2" title="ORDINAL1:NM.2">number</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="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">l</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  iff 3 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">l</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> 2</span>)</span>, <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">l</font> )</span><br/>

<span class="kw">set </span><font color="Maroon" title="c2">k</font> = 1;<br/>
<span class="lab"><font color="Green" title="E42">A1</font></span>: 2 <a href="newton.html#K11" title="NEWTON:func.11">|^</a> 2 = 
2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default">1 <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span>

<br/>.= 
<span class="p1">(<span class="default">2 <a href="newton.html#K11" title="NEWTON:func.11">|^</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> 2
<span class="kw">by</span> <span class="lab"><a class="ref" href="newton.html#T6" onmouseover="rs('newton/T6')" onmouseout="rh()">NEWTON:6</a></span>
<br/>.= 
2 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> 2

;<br/>
<a NAME="E2:85"/>
<font color="Maroon" title="c1">l</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</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> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T6" onmouseover="rs('xreal_1/T6')" onmouseout="rh()">XREAL_1:6</a></span>;<br/>
<a NAME="E3:85"/><span class="kw">then </span>
<font color="Maroon" title="c1">l</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="ref" href="nat_1.html#T13" onmouseover="rs('nat_1/T13')" onmouseout="rh()">NAT_1:13</a></span>;<br/>
<a NAME="E4:85"/><span class="kw">then </span>
2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">l</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 2 <a href="newton.html#K11" title="NEWTON:func.11">|^</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_6.html#T1" target="_self" onmouseover="rs('nat_6/T1')" onmouseout="rh()">Th1</a></span>;<br/>
<a NAME="E5:85"/><span class="kw">then </span>
2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">l</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 2
 
;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c3">l1</font> = 2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">l</font> as   <a href="ordinal1.html#V7" title="ORDINAL1:attr.7">natural</a>  2 <a href="ec_pf_2.html#V1" title="EC_PF_2:attr.1">_or_greater</a>   <a href="ordinal1.html#NM2" title="ORDINAL1:NM.2">number</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="ec_pf_2.html#D1" onmouseover="rs('ec_pf_2/D1')" onmouseout="rh()">EC_PF_2:def 1</a></span>;<br/>
<a NAME="E7:85"/><span class="lab"><font color="Green" title="E43">A2</font></span>: 
 not 3 <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T27" onmouseover="rs('int_2/T27')" onmouseout="rh()">INT_2:27</a></span>;<br/>
<a NAME="E8:85"/>
<span class="p1">(<span class="default">2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c3">l1</font></span>)</span> <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> 4 <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="#E1:85"><span class="lab"><font color="Green" title="E42">A1</font></span></a>, <a class="ref" href="xreal_1.html#T9" onmouseover="rs('xreal_1/T9')" onmouseout="rh()">XREAL_1:9</a>, <a class="ref" href="ec_pf_2.html#D1" onmouseover="rs('ec_pf_2/D1')" onmouseout="rh()">EC_PF_2:def 1</a></span>;<br/>
<a NAME="E9:85"/><span class="kw">then </span><span class="lab"><font color="Green" title="E44">A3</font></span>: 
1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default">2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c3">l1</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="ref" href="xxreal_0.html#T2" onmouseover="rs('xxreal_0/T2')" onmouseout="rh()">XXREAL_0:2</a></span>;<br/>
<a NAME="E10:85"/><span class="lab"><font color="Green" title="E45">A4</font></span>: 
<span class="p1">(<span class="default">1 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default">2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c3">l1</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">l</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="pepin.html#D3" onmouseover="rs('pepin/D3')" onmouseout="rh()">PEPIN:def 3</a></span>;<br/>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">l</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> 2 = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default">2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p4">(<span class="default">2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">l</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> 2
<span class="kw">by</span> <span class="lab"><a class="ref" href="pepin.html#D3" onmouseover="rs('pepin/D3')" onmouseout="rh()">PEPIN:def 3</a></span>
<br/>.= 
<span class="p1">(<span class="default">2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c3">l1</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> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> 2

<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default">2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><font color="Maroon" title="c3">l1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> 2</span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> 2
<span class="kw">by</span> <span class="lab"><a class="ref" href="newton.html#T6" onmouseover="rs('newton/T6')" onmouseout="rh()">NEWTON:6</a></span>
<br/>.= 
1 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default">2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">l1</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span>

;<br/>
<span class="kw">hence </span><a NAME="E12:85"/>
(  <a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">l</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  iff 3 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">l</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> 2</span>)</span>, <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a>  <a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">l</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:85"><span class="lab"><font color="Green" title="E43">A2</font></span></a>, <a class="txt" href="#E9:85"><span class="lab"><font color="Green" title="E44">A3</font></span></a>, <a class="txt" href="#E10:85"><span class="lab"><font color="Green" title="E45">A4</font></span></a>, <a class="ref" href="nat_6.html#T41" target="_self" onmouseover="rs('nat_6/T41')" onmouseout="rh()">Th41</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>
