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

<span class="kw">let </span><font color="Maroon" title="c1">k</font>, <font color="Maroon" title="c2">n</font>, <font color="Maroon" title="c3">m</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="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">k</font> &amp; <font color="Maroon" title="c3">m</font> is  <a href="abian.html#NV2" title="ABIAN:NV.2">odd</a>  implies <font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c3">m</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:4"/><span class="lab"><font color="Green" title="E5">A1</font></span>: 
<font color="Maroon" title="c2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 2 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <font color="Maroon" title="c1">k</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"> (  not <font color="Maroon" title="c3">m</font> is  <a href="abian.html#NV2" title="ABIAN:NV.2">odd</a>  or <font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c3">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a>  )</span><br/>

<span class="kw">assume </span><a NAME="E2:4"/><span class="lab"><font color="Green" title="E6">A2</font></span>: 
<font color="Maroon" title="c3">m</font> is  <a href="abian.html#NV2" title="ABIAN:NV.2">odd</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="c2">n</font>,<font color="Maroon" title="c3">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> </span><br/>

<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c4">h</font> = <font color="Maroon" title="c2">n</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c3">m</font> as   non  <a href="ordinal1.html#V8" title="ORDINAL1:attr.8">zero</a>  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> <span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T5" onmouseover="rs('int_2/T5')" onmouseout="rh()">INT_2:5</a></span>;<br/>
<a NAME="E4:4"/>
 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> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  holds <br/><font color="Olive" title="b1">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c4">h</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> 1
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="4_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">reconsider </span><font color="Maroon" title="c5">n9</font> = <font color="Maroon" title="c2">n</font>, <font color="Maroon" title="c6">m9</font> = <font color="Maroon" title="c3">m</font> as   non  <a href="ordinal1.html#V8" title="ORDINAL1:attr.8">zero</a>  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:4"><span class="lab"><font color="Green" title="E5">A1</font></span></a>, <a class="txt" href="#E2:4"><span class="lab"><font color="Green" title="E6">A2</font></span></a></span>;<br/>
<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> is  <a href="int_2.html#V1" title="INT_2:attr.1">prime</a>  implies <font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c4">h</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> 1 )</span><br/>

<span class="kw">assume </span><a NAME="E2:4_1"/><span class="lab"><font color="Green" title="E7">A3</font></span>: 
<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"> <font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c4">h</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> 1</span><br/>

<a NAME="E3:4_1"/><span class="lab"><font color="Green" title="E8">A4</font></span>: 
 <a href="xxreal_0.html#K3" title="XXREAL_0:func.3">min</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c2">n</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c3">m</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="4_1_1"><span class="kw">proof </span></a><div class="add">

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="4_1_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:4_1_1_1"/>
( <font color="Maroon" title="c7">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 2 or <font color="Maroon" title="c7">p</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> 2 )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="4_1_1_1_1"><span class="kw">suppose </span></a><a NAME="E1:4_1_1_1_1"/><span class="lab"><font color="Green" title="E9">A5</font></span>: 
<font color="Maroon" title="c7">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 2
 ; <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="xxreal_0.html#K3" title="XXREAL_0:func.3">min</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c2">n</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c3">m</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> </span><br/><div class="add"><a NAME="E2:4_1_1_1_1"/>
 not <font color="Maroon" title="c7">p</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c3">m</font>
 <div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="4_1_1_1_1_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:4_1_1_1_1_1"/>
<font color="Maroon" title="c7">p</font> <a href="nat_d.html#R1" title="NAT_D:pred.1">divides</a> <font color="Maroon" title="c3">m</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/>

<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c8">m9</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E3:4_1_1_1_1_1"/><span class="lab"><font color="Green" title="E10">A6</font></span>: 
<font color="Maroon" title="c3">m</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">p</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c8">m9</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#D3" onmouseover="rs('nat_d/D3')" onmouseout="rh()">NAT_D:def 3</a></span>;<br/>
<span class="kw">thus </span><a NAME="E4:4_1_1_1_1_1"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:4"><span class="lab"><font color="Green" title="E6">A2</font></span></a>, <a class="txt" href="#E1:4_1_1_1_1"><span class="lab"><font color="Green" title="E9">A5</font></span></a>, <a class="txt" href="#E3:4_1_1_1_1_1"><span class="lab"><font color="Green" title="E10">A6</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><a NAME="E3:4_1_1_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c3">m</font> <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="#E1:4_1_1_1_1"><span class="lab"><font color="Green" title="E9">A5</font></span></a>, <a class="ref" href="nat_3.html#T27" onmouseover="rs('nat_3/T27')" onmouseout="rh()">NAT_3:27</a></span>;<br/><span class="kw">hence </span><a NAME="E4:4_1_1_1_1"/>
 <a href="xxreal_0.html#K3" title="XXREAL_0:func.3">min</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c2">n</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c3">m</font></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="ref" href="xxreal_0.html#D9" onmouseover="rs('xxreal_0/D9')" onmouseout="rh()">XXREAL_0:def 9</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="4_1_1_1_2"><span class="kw">suppose </span></a><a NAME="E1:4_1_1_1_2"/><span class="lab"><font color="Green" title="E9">A7</font></span>: 
<font color="Maroon" title="c7">p</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> 2
 ; <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="xxreal_0.html#K3" title="XXREAL_0:func.3">min</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c2">n</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c3">m</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> </span><br/><div class="add"><a NAME="E2:4_1_1_1_2"/>
<font color="Maroon" title="c7">p</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:4_1"><span class="lab"><font color="Green" title="E7">A3</font></span></a>, <a class="ref" href="int_2.html#D4" onmouseover="rs('int_2/D4')" onmouseout="rh()">INT_2:def 4</a></span>;<br/><a NAME="E3:4_1_1_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E10">A8</font></span>: 
<font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> 2 <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="#E1:4_1_1_1_2"><span class="lab"><font color="Green" title="E9">A7</font></span></a>, <a class="ref" href="int_2.html#T28" onmouseover="rs('int_2/T28')" onmouseout="rh()">INT_2:28</a>, <a class="ref" href="nat_3.html#T24" onmouseover="rs('nat_3/T24')" onmouseout="rh()">NAT_3:24</a></span>;<br/><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c2">n</font> = 
<font color="Maroon" title="c1">k</font> <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="nat_3.html#K11" title="NAT_3:func.11">|-count</a> 2</span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:4"><span class="lab"><font color="Green" title="E5">A1</font></span></a>, <a class="txt" href="#E2:4_1"><span class="lab"><font color="Green" title="E7">A3</font></span></a>, <a class="ref" href="nat_3.html#T32" onmouseover="rs('nat_3/T32')" onmouseout="rh()">NAT_3:32</a></span>
<br/>.= 
<font color="Maroon" title="c1">k</font> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:4_1_1_1_2"><span class="lab"><font color="Green" title="E10">A8</font></span></a></span>
;<br/><span class="kw">hence </span><a NAME="E5:4_1_1_1_2"/>
 <a href="xxreal_0.html#K3" title="XXREAL_0:func.3">min</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c2">n</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c3">m</font></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="ref" href="xxreal_0.html#D9" onmouseover="rs('xxreal_0/D9')" onmouseout="rh()">XXREAL_0:def 9</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>
<a NAME="E4:4_1"/>
( <font color="Maroon" title="c7">p</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 1 &amp; <font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <span class="p1">(<span class="default"><font color="Maroon" title="c5">n9</font> <a href="nat_d.html#K6" title="NAT_D:func.6">gcd</a> <font color="Maroon" title="c6">m9</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xxreal_0.html#K3" title="XXREAL_0:func.3">min</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c5">n9</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c6">m9</font></span>)</span>) )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:4_1"><span class="lab"><font color="Green" title="E7">A3</font></span></a>, <a class="txt" href="nat_5.html#E1"><span class="lab"><font color="Green" title="E1">Lm1</font></span></a>, <a class="ref" href="int_2.html#D4" onmouseover="rs('int_2/D4')" onmouseout="rh()">INT_2:def 4</a></span>;<br/>
<span class="kw">hence </span><a NAME="E5:4_1"/>
<font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> <font color="Maroon" title="c4">h</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">p</font> <a href="nat_3.html#K11" title="NAT_3:func.11">|-count</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:4_1"><span class="lab"><font color="Green" title="E8">A4</font></span></a>, <a class="ref" href="nat_3.html#T21" onmouseover="rs('nat_3/T21')" onmouseout="rh()">NAT_3:21</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="E5:4"/><span class="kw">then </span>
<font color="Maroon" title="c2">n</font> <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="ref" href="nat_4.html#T21" onmouseover="rs('nat_4/T21')" onmouseout="rh()">NAT_4:21</a></span>;<br/>
<span class="kw">hence </span><a NAME="E6:4"/>
<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c3">m</font> <a href="int_2.html#R1" title="INT_2:pred.1">are_coprime</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#D3" onmouseover="rs('int_2/D3')" onmouseout="rh()">INT_2:def 3</a></span>; <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>
