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

<span class="kw">let </span><font color="Maroon" title="c1">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="c1">n</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies 3, <a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  )</span><br/>

<span class="kw">assume </span><a NAME="E1:73"/><span class="lab"><font color="Green" title="E56">A1</font></span>: 
<font color="Maroon" title="c1">n</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> 3, <a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">n</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> </span><br/>

<a NAME="E2:73"/>
<span class="p1">(<span class="default"><a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> 3 <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> 3
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="73_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:73_1"/>
<span class="p1">(<span class="default"><a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> 3 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 3
 ; <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:73_1"/><span class="kw">then </span>
3 <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a>  <a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D5" onmouseover="rs('nat_d/D5')" onmouseout="rh()">NAT_D:def 5</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c2">k</font> being    <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"> such that </span><br/><a NAME="E4:73_1"/><span class="lab"><font color="Green" title="E57">A2</font></span>: 
3 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default">2 <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">by</span> <span class="lab"><a class="ref" href="pepin.html#T41" target="_self" onmouseover="rs('pepin/T41')" onmouseout="rh()">Th41</a>, <a class="ref" href="pepin.html#T56" target="_self" onmouseover="rs('pepin/T56')" onmouseout="rh()">Th56</a></span>;<br/>
<a NAME="E5:73_1"/>
1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default">2 <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> 2
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:73_1"><span class="lab"><font color="Green" title="E57">A2</font></span></a>, <a class="ref" href="nat_2.html#T3" onmouseover="rs('nat_2/T3')" onmouseout="rh()">NAT_2:3</a></span>;<br/>
<a NAME="E6:73_1"/><span class="kw">then </span>
1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">k</font> <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> <font color="Maroon" title="c1">n</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="pepin.html#E17"><span class="lab"><font color="Green" title="E13">Lm5</font></span></a></span>;<br/>
<a NAME="E7:73_1"/><span class="kw">then </span>
2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">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="nat_1.html#T15" onmouseover="rs('nat_1/T15')" onmouseout="rh()">NAT_1:15</a></span>;<br/>
<a NAME="E8:73_1"/><span class="kw">then </span>
2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 2 <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="newton.html#T4" onmouseover="rs('newton/T4')" onmouseout="rh()">NEWTON:4</a></span>;<br/>
<span class="kw">hence </span><a NAME="E9:73_1"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:73"><span class="lab"><font color="Green" title="E56">A1</font></span></a>, <a class="ref" href="pepin.html#T30" target="_self" onmouseover="rs('pepin/T30')" onmouseout="rh()">Th30</a></span>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E3:73"/>
3, <a href="pepin.html#K4" title="PEPIN:func.4">Fermat</a> <font color="Maroon" title="c1">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="pepin.html#T2" target="_self" onmouseover="rs('pepin/T2')" onmouseout="rh()">Th2</a>, <a class="ref" href="pepin.html#T41" target="_self" onmouseover="rs('pepin/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>
