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

<span class="kw">let </span><font color="Maroon" title="c1">n</font> be   <a href="ordinal1.html#V7" title="ORDINAL1:attr.7">natural</a>  2 <a href="nat_6.html#V1" title="NAT_6:attr.1">_greater</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">  for <font color="Olive" title="b1">s</font> being   non  <a href="zfmisc_1.html#V1" title="ZFMISC_1:attr.1">trivial</a>   <a href="nat_6.html#M1" title="NAT_6:mode.1">Divisor</a> of <font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1  st <font color="Olive" title="b1">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">n</font> &amp;  ex <font color="Olive" title="b2">a</font> being   <a href="ordinal1.html#V7" title="ORDINAL1:attr.7">natural</a>   <a href="ordinal1.html#NM2" title="ORDINAL1:NM.2">number</a>  st <br/>( <font color="Olive" title="b2">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">n</font> &amp; (  for <font color="Olive" title="b3">q</font> being   <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>   <a href="nat_6.html#M1" title="NAT_6:mode.1">Divisor</a> of <font color="Olive" title="b1">s</font> holds  <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b2">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c1">n</font> <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> <font color="Olive" title="b3">q</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 ) ) holds <br/><font color="Maroon" title="c1">n</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a> </span><br/><span class="kw">let </span><font color="Maroon" title="c2">s</font> be   non  <a href="zfmisc_1.html#V1" title="ZFMISC_1:attr.1">trivial</a>   <a href="nat_6.html#M1" title="NAT_6:mode.1">Divisor</a> of <font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c2">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">n</font> &amp;  ex <font color="Olive" title="b1">a</font> being   <a href="ordinal1.html#V7" title="ORDINAL1:attr.7">natural</a>   <a href="ordinal1.html#NM2" title="ORDINAL1:NM.2">number</a>  st <br/>( <font color="Olive" title="b1">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">n</font> &amp; (  for <font color="Olive" title="b2">q</font> being   <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>   <a href="nat_6.html#M1" title="NAT_6:mode.1">Divisor</a> of <font color="Maroon" title="c2">s</font> holds  <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b1">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c1">n</font> <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> <font color="Olive" title="b2">q</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 ) ) implies <font color="Maroon" title="c1">n</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  )</span><br/>



<span class="kw">assume </span><a NAME="E1:54"/><span class="lab"><font color="Green" title="E25">A1</font></span>: 
( <font color="Maroon" title="c2">s</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">n</font> &amp;  ex <font color="Olive" title="b1">a</font> being   <a href="ordinal1.html#V7" title="ORDINAL1:attr.7">natural</a>   <a href="ordinal1.html#NM2" title="ORDINAL1:NM.2">number</a>  st <br/>( <font color="Olive" title="b1">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">n</font> &amp; (  for <font color="Olive" title="b2">q</font> being   <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>   <a href="nat_6.html#M1" title="NAT_6:mode.1">Divisor</a> of <font color="Maroon" title="c2">s</font> holds  <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b1">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c1">n</font> <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> <font color="Olive" title="b2">q</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 ) ) )
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> <font color="Maroon" title="c1">n</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a> </span><br/>

<span class="kw">reconsider </span><font color="Maroon" title="c3">m</font> = <font color="Maroon" title="c1">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>  <span class="kw">by</span> <span class="lab"><a class="ref" href="ordinal1.html#D12" onmouseover="rs('ordinal1/D12')" onmouseout="rh()">ORDINAL1:def 12</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c4">f</font> = <font color="Maroon" title="c2">s</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="ordinal1.html#D12" onmouseover="rs('ordinal1/D12')" onmouseout="rh()">ORDINAL1:def 12</a></span>;<br/>
<a NAME="E4:54"/>
<font color="Maroon" title="c3">m</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 <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="nat_6.html#D1" target="_self" onmouseover="rs('nat_6/D1')" onmouseout="rh()">Def1</a></span>;<br/>
<a NAME="E5:54"/><span class="kw">then </span><span class="lab"><font color="Green" title="E26">A2</font></span>: 
<font color="Maroon" title="c3">m</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/>
<span class="kw">consider </span><font color="Maroon" title="c5">c</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E7:54"/><span class="lab"><font color="Green" title="E27">A3</font></span>: 
<font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">f</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">c</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_6.html#D2" target="_self" onmouseover="rs('nat_6/D2')" onmouseout="rh()">Def2</a>, <a class="ref" href="int_1.html#D3" onmouseover="rs('int_1/D3')" onmouseout="rh()">INT_1:def 3</a></span>;<br/>
<a NAME="E8:54"/><span class="lab"><font color="Green" title="E28">A4</font></span>: 
 <a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">n</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="ref" href="square_1.html#D2" onmouseover="rs('square_1/D2')" onmouseout="rh()">SQUARE_1:def 2</a></span>;<br/>
<div><span class="lab"><font color="Green" title="E29">A5</font></span>: <a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="54_1"><span class="kw">now </span> <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide">  not <font color="Maroon" title="c2">s</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c5">c</font></span></a><div class="add"><span class="kw">assume </span><a NAME="E1:54_1"/>
<font color="Maroon" title="c2">s</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c5">c</font>
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> contradiction</span><br/><a NAME="E2:54_1"/><span class="kw">then </span>
<font color="Maroon" title="c5">c</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:54"><span class="lab"><font color="Green" title="E25">A1</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="E3:54_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">s</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">c</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> <span class="p1">(<span class="default"><a href="square_1.html#K3" title="SQUARE_1:func.3">sqrt</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="square_1.html#K1" title="SQUARE_1:func.1">^2</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:54"><span class="lab"><font color="Green" title="E28">A4</font></span></a>, <a class="txt" href="#E1:54"><span class="lab"><font color="Green" title="E25">A1</font></span></a>, <a class="ref" href="xreal_1.html#T66" onmouseover="rs('xreal_1/T66')" onmouseout="rh()">XREAL_1:66</a></span>;<br/><a NAME="E4:54_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">s</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c5">c</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> <font color="Maroon" title="c1">n</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="square_1.html#D2" onmouseover="rs('square_1/D2')" onmouseout="rh()">SQUARE_1:def 2</a></span>;<br/><a NAME="E5:54_1"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">n</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> <font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c1">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:54"><span class="lab"><font color="Green" title="E27">A3</font></span></a>, <a class="ref" href="xreal_1.html#T9" onmouseover="rs('xreal_1/T9')" onmouseout="rh()">XREAL_1:9</a></span>;<br/><a NAME="E6:54_1"/><span class="kw">then </span>
 <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</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> 
 ;<br/><span class="kw">hence </span><a NAME="E7:54_1"/>
contradiction
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/></div><span class="kw">end;</span></div>
<a NAME="E10:54"/>
<font color="Maroon" title="c5">c</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="#E7:54"><span class="lab"><font color="Green" title="E27">A3</font></span></a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c6">c</font> = <font color="Maroon" title="c5">c</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a></span>;<br/>
<a NAME="E12:54"/><span class="lab"><font color="Green" title="E30">A6</font></span>: 
( <font color="Maroon" title="c3">m</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">f</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">c</font> &amp; <font color="Maroon" title="c4">f</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Maroon" title="c6">c</font> &amp; <font color="Maroon" title="c6">c</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="#E7:54"><span class="lab"><font color="Green" title="E27">A3</font></span></a>, <a class="txt" href="#E9:54"><span class="lab"><font color="Green" title="E29">A5</font></span></a></span>;<br/>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="54_2"><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">  for <font color="Olive" title="b1">p</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>   st <font color="Olive" title="b1">p</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c4">f</font> &amp; <font color="Olive" title="b1">p</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  holds <br/> ex <font color="Olive" title="b2">a</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>  st <br/>( <span class="p1">(<span class="default"><font color="Olive" title="b2">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b2">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Olive" title="b1">p</font></span>)</span></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 )</span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c7">p</font> be    <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> ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c7">p</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c4">f</font> &amp; <font color="Maroon" title="c7">p</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  implies  ex <font color="Olive" title="b1">a</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>  st <br/>( <span class="p1">(<span class="default"><font color="Olive" title="b1">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b1">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c7">p</font></span>)</span></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 ) )</span><br/><span class="kw">assume </span><a NAME="E1:54_2"/><span class="lab"><font color="Green" title="E31">A7</font></span>: 
( <font color="Maroon" title="c7">p</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c4">f</font> &amp; <font color="Maroon" title="c7">p</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</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">  ex <font color="Olive" title="b1">a</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>  st <br/>( <span class="p1">(<span class="default"><font color="Olive" title="b1">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b1">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c7">p</font></span>)</span></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 )</span><br/><span class="kw">reconsider </span><font color="Maroon" title="c8">q</font> = <font color="Maroon" title="c7">p</font> as   <a href="ordinal1.html#V7" title="ORDINAL1:attr.7">natural</a>   <a href="ordinal1.html#NM2" title="ORDINAL1:NM.2">number</a>  ;<br/><span class="kw">reconsider </span><font color="Maroon" title="c9">q</font> = <font color="Maroon" title="c8">q</font> as    <a href="nat_6.html#M1" title="NAT_6:mode.1">Divisor</a> of <font color="Maroon" title="c2">s</font> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:54_2"><span class="lab"><font color="Green" title="E31">A7</font></span></a>, <a class="ref" href="nat_6.html#D2" target="_self" onmouseover="rs('nat_6/D2')" onmouseout="rh()">Def2</a></span>;<br/><span class="kw">reconsider </span><font color="Maroon" title="c10">q</font> = <font color="Maroon" title="c9">q</font> as   <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>   <a href="nat_6.html#M1" title="NAT_6:mode.1">Divisor</a> of <font color="Maroon" title="c2">s</font> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:54_2"><span class="lab"><font color="Green" title="E31">A7</font></span></a></span>;<br/><span class="kw">consider </span><font color="Maroon" title="c11">b</font> being   <a href="ordinal1.html#V7" title="ORDINAL1:attr.7">natural</a>   <a href="ordinal1.html#NM2" title="ORDINAL1:NM.2">number</a> <span class="kw"> such that </span><br/><a NAME="E6:54_2"/><span class="lab"><font color="Green" title="E32">A8</font></span>: 
( <font color="Maroon" title="c11">b</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>,1 <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">n</font> &amp; (  for <font color="Olive" title="b1">q</font> being   <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>   <a href="nat_6.html#M1" title="NAT_6:mode.1">Divisor</a> of <font color="Maroon" title="c2">s</font> holds  <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c11">b</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c1">n</font> <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> <font color="Olive" title="b1">q</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="int_2.html#K3" title="INT_2:func.3">gcd</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="txt" href="#E1:54"><span class="lab"><font color="Green" title="E25">A1</font></span></a></span>;<br/><span class="kw">reconsider </span><font color="Maroon" title="c12">a</font> = <font color="Maroon" title="c11">b</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="ordinal1.html#D12" onmouseover="rs('ordinal1/D12')" onmouseout="rh()">ORDINAL1:def 12</a></span>;<br/><span class="kw">consider </span><font color="Maroon" title="c13">k1</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E9:54_2"/><span class="lab"><font color="Green" title="E33">A9</font></span>: 
<font color="Maroon" title="c10">q</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c13">k1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">s</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_6.html#D2" target="_self" onmouseover="rs('nat_6/D2')" onmouseout="rh()">Def2</a>, <a class="ref" href="int_1.html#D3" onmouseover="rs('int_1/D3')" onmouseout="rh()">INT_1:def 3</a></span>;<br/><span class="kw">consider </span><font color="Maroon" title="c14">k2</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E11:54_2"/><span class="lab"><font color="Green" title="E34">A10</font></span>: 
<font color="Maroon" title="c2">s</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">k2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <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="nat_6.html#D2" target="_self" onmouseover="rs('nat_6/D2')" onmouseout="rh()">Def2</a>, <a class="ref" href="int_1.html#D3" onmouseover="rs('int_1/D3')" onmouseout="rh()">INT_1:def 3</a></span>;<br/><span class="kw">consider </span><font color="Maroon" title="c15">l1</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E13:54_2"/><span class="lab"><font color="Green" title="E35">A11</font></span>: 
<font color="Maroon" title="c7">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c15">l1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">f</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:54_2"><span class="lab"><font color="Green" title="E31">A7</font></span></a></span>;<br/><a NAME="E14:54_2"/><span class="lab"><font color="Green" title="E36">A12</font></span>: 
<font color="Maroon" title="c14">k2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">c</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:54"><span class="lab"><font color="Green" title="E27">A3</font></span></a>, <a class="txt" href="#E11:54_2"><span class="lab"><font color="Green" title="E34">A10</font></span></a>, <a class="ref" href="xcmplx_1.html#T5" onmouseover="rs('xcmplx_1/T5')" onmouseout="rh()">XCMPLX_1:5</a></span>;<br/><span class="lab"><font color="Green" title="E37">A13</font></span>: <span class="p1">(<span class="default"><font color="Maroon" title="c3">m</font> <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> <font color="Maroon" title="c7">p</font> = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c15">l1</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">c</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:54"><span class="lab"><font color="Green" title="E27">A3</font></span></a>, <a class="txt" href="#E13:54_2"><span class="lab"><font color="Green" title="E35">A11</font></span></a>, <a class="ref" href="xcmplx_0.html#D9" onmouseover="rs('xcmplx_0/D9')" onmouseout="rh()">XCMPLX_0:def 9</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c15">l1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">c</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span></span>)</span>

<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c15">l1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c6">c</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> 1
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:54_2"><span class="lab"><font color="Green" title="E31">A7</font></span></a>, <a class="ref" href="xcmplx_0.html#D7" onmouseover="rs('xcmplx_0/D7')" onmouseout="rh()">XCMPLX_0:def 7</a></span>
;<br/><a NAME="E16:54_2"/><span class="lab"><font color="Green" title="E38">A14</font></span>: 
<font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 2 <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="nat_6.html#D1" target="_self" onmouseover="rs('nat_6/D1')" onmouseout="rh()">Def1</a>, <a class="ref" href="xreal_1.html#T9" onmouseover="rs('xreal_1/T9')" onmouseout="rh()">XREAL_1:9</a></span>;<br/><div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="54_2_2"><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="c12">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> </span></a><div class="add"><span class="kw">assume </span><a NAME="E1:54_2_2"/>
<font color="Maroon" title="c12">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</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"> contradiction</span><br/><a NAME="E2:54_2_2"/><span class="kw">then </span>
<font color="Maroon" title="c12">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E16:54_2"><span class="lab"><font color="Green" title="E38">A14</font></span></a>, <a class="ref" href="newton.html#T11" onmouseover="rs('newton/T11')" onmouseout="rh()">NEWTON:11</a></span>;<br/><a NAME="E3:54_2_2"/><span class="kw">then </span>
( <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:54_2"><span class="lab"><font color="Green" title="E32">A8</font></span></a>, <a class="ref" href="int_2.html#T13" onmouseover="rs('int_2/T13')" onmouseout="rh()">INT_2:13</a></span>;<br/><span class="kw">hence </span><a NAME="E4:54_2_2"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_6.html#D1" target="_self" onmouseover="rs('nat_6/D1')" onmouseout="rh()">Def1</a></span>; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/></div><span class="kw">end;</span></div><a NAME="E18:54_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c7">p</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&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="E19:54_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E39">A15</font></span>: 
<font color="Maroon" title="c12">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c7">p</font></span>)</span> <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/><span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <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> <font color="Maroon" title="c10">q</font> = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c10">q</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c13">k1</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">k2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c10">q</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:54_2"><span class="lab"><font color="Green" title="E33">A9</font></span></a>, <a class="txt" href="#E11:54_2"><span class="lab"><font color="Green" title="E34">A10</font></span></a>, <a class="ref" href="xcmplx_0.html#D9" onmouseover="rs('xcmplx_0/D9')" onmouseout="rh()">XCMPLX_0:def 9</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c13">k1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">k2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c10">q</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c10">q</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span></span>)</span>

<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c13">k1</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c14">k2</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> 1
<span class="kw">by</span> <span class="lab"><a class="ref" href="xcmplx_0.html#D7" onmouseover="rs('xcmplx_0/D7')" onmouseout="rh()">XCMPLX_0:def 7</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">m</font> <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> <font color="Maroon" title="c7">p</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:54_2"><span class="lab"><font color="Green" title="E33">A9</font></span></a>, <a class="txt" href="#E13:54_2"><span class="lab"><font color="Green" title="E35">A11</font></span></a>, <a class="txt" href="#E14:54_2"><span class="lab"><font color="Green" title="E36">A12</font></span></a>, <a class="txt" href="#E15:54_2"><span class="lab"><font color="Green" title="E37">A13</font></span></a>, <a class="ref" href="xcmplx_1.html#T5" onmouseover="rs('xcmplx_1/T5')" onmouseout="rh()">XCMPLX_1:5</a></span>
<br/>.= 
<span class="p1"><a href="int_1.html#K2" title="INT_1:func.2">[/</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c3">m</font> <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> <font color="Maroon" title="c7">p</font></span>)</span></span><a href="int_1.html#K2" title="INT_1:func.2">\]</a></span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E15:54_2"><span class="lab"><font color="Green" title="E37">A13</font></span></a>, <a class="ref" href="int_1.html#T30" onmouseover="rs('int_1/T30')" onmouseout="rh()">INT_1:30</a></span>
<br/>.= 
<span class="p1"><a href="int_1.html#K1" title="INT_1:func.1">[\</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c3">m</font> <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> <font color="Maroon" title="c7">p</font></span>)</span></span><a href="int_1.html#K1" title="INT_1:func.1">/]</a></span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E15:54_2"><span class="lab"><font color="Green" title="E37">A13</font></span></a>, <a class="ref" href="int_1.html#T34" onmouseover="rs('int_1/T34')" onmouseout="rh()">INT_1:34</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c7">p</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:54"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="ref" href="xreal_1.html#T233" onmouseover="rs('xreal_1/T233')" onmouseout="rh()">XREAL_1:233</a></span>
;<br/><a NAME="E21:54_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c7">p</font></span>)</span></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c11">b</font> <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="c1">n</font> <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> <font color="Maroon" title="c10">q</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E19:54_2"><span class="lab"><font color="Green" title="E39">A15</font></span></a>, <a class="ref" href="xreal_1.html#T233" onmouseover="rs('xreal_1/T233')" onmouseout="rh()">XREAL_1:233</a></span>;<br/><a NAME="E22:54_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E40">A16</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c7">p</font></span>)</span></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:54_2"><span class="lab"><font color="Green" title="E32">A8</font></span></a></span>;<br/><span class="kw">consider </span><font color="Maroon" title="c16">x</font> being   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a><span class="kw"> such that </span><br/><a NAME="E24:54_2"/><span class="lab"><font color="Green" title="E41">A17</font></span>: 
<font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:54_2"><span class="lab"><font color="Green" title="E32">A8</font></span></a></span>;<br/><span class="lab"><font color="Green" title="E42">A18</font></span>: <span class="p1">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">n</font> = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">x</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E24:54_2"><span class="lab"><font color="Green" title="E41">A17</font></span></a>, <a class="ref" href="xcmplx_0.html#D9" onmouseover="rs('xcmplx_0/D9')" onmouseout="rh()">XCMPLX_0:def 9</a></span>
<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">x</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <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"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span></span>)</span>

<br/>.= 
<span class="p1">(<span class="default">1 <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">x</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="xcmplx_0.html#D7" onmouseover="rs('xcmplx_0/D7')" onmouseout="rh()">XCMPLX_0:def 7</a></span>
;<br/><a NAME="E26:54_2"/><span class="lab"><font color="Green" title="E43">A19</font></span>: 
<font color="Maroon" title="c16">x</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E25:54_2"><span class="lab"><font color="Green" title="E42">A18</font></span></a>, <a class="ref" href="xreal_1.html#T29" onmouseover="rs('xreal_1/T29')" onmouseout="rh()">XREAL_1:29</a></span>;<br/><a NAME="E27:54_2"/><span class="lab"><font color="Green" title="E44">A20</font></span>: 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c16">x</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E25:54_2"><span class="lab"><font color="Green" title="E42">A18</font></span></a></span>;<br/><a NAME="E28:54_2"/>
2 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c1">n</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_6.html#D1" target="_self" onmouseover="rs('nat_6/D1')" onmouseout="rh()">Def1</a></span>;<br/><a NAME="E29:54_2"/><span class="kw">then </span>
2 <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T15" onmouseover="rs('xreal_1/T15')" onmouseout="rh()">XREAL_1:15</a></span>;<br/><a NAME="E30:54_2"/><span class="kw">then </span>
<font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 1 <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T88" onmouseover="rs('xreal_1/T88')" onmouseout="rh()">XREAL_1:88</a></span>;<br/><a NAME="E31:54_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K5" title="XCMPLX_0:func.5">"</a></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T49" onmouseover="rs('xreal_1/T49')" onmouseout="rh()">XREAL_1:49</a></span>;<br/><a NAME="E32:54_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p3">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c16">x</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E27:54_2"><span class="lab"><font color="Green" title="E44">A20</font></span></a>, <a class="ref" href="xreal_1.html#T30" onmouseover="rs('xreal_1/T30')" onmouseout="rh()">XREAL_1:30</a></span>;<br/><a NAME="E33:54_2"/><span class="kw">then </span>
<span class="p1">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c16">x</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E26:54_2"><span class="lab"><font color="Green" title="E43">A19</font></span></a>, <a class="ref" href="int_1.html#D6" onmouseover="rs('int_1/D6')" onmouseout="rh()">INT_1:def 6</a></span>;<br/><span class="kw">then </span><span class="lab"><font color="Green" title="E45">A21</font></span>: <span class="p1">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c1">n</font> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c16">x</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#D10" onmouseover="rs('int_1/D10')" onmouseout="rh()">INT_1:def 10</a></span>
<br/>.= 
1
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E24:54_2"><span class="lab"><font color="Green" title="E41">A17</font></span></a></span>
;<br/><a NAME="E35:54_2"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c12">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E34:54_2"><span class="lab"><font color="Green" title="E45">A21</font></span></a>, <a class="txt" href="#E5:54"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="ref" href="xreal_1.html#T233" onmouseover="rs('xreal_1/T233')" onmouseout="rh()">XREAL_1:233</a></span>;<br/><span class="kw">hence </span><a NAME="E36:54_2"/>
 ex <font color="Olive" title="b1">a</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>  st <br/>( <span class="p1">(<span class="default"><font color="Olive" title="b1">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b1">a</font> <a href="newton.html#K11" title="NEWTON:func.11">|^</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c3">m</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <font color="Maroon" title="c7">p</font></span>)</span></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E22:54_2"><span class="lab"><font color="Green" title="E40">A16</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="E14:54"/>
<font color="Maroon" title="c1">n</font> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E12:54"><span class="lab"><font color="Green" title="E30">A6</font></span></a>, <a class="ref" href="nat_4.html#T24" onmouseover="rs('nat_4/T24')" onmouseout="rh()">NAT_4:24</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>
