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

<span class="kw">let </span><font color="Maroon" title="c1">p</font> be   <a href="ordinal1.html#V7" title="ORDINAL1:attr.7">natural</a>   <a href="int_2.html#V1" title="INT_2:attr.1">prime</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">a</font> being   <a href="int_1.html#V1" title="INT_1:attr.1">integer</a>   <a href="ordinal1.html#NM2" title="ORDINAL1:NM.2">number</a>  holds <br/> ( (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Olive" title="b1">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 implies ( <font color="Olive" title="b1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Olive" title="b1">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c1">p</font> ) ) &amp; ( <font color="Olive" title="b1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Olive" title="b1">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c1">p</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Olive" title="b1">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 ) &amp; (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Olive" title="b1">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Olive" title="b1">a</font> ) &amp; ( <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Olive" title="b1">a</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Olive" title="b1">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) &amp; (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Olive" title="b1">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 implies ( <font color="Olive" title="b1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Olive" title="b1">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> ) ) &amp; ( <font color="Olive" title="b1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Olive" title="b1">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Olive" title="b1">a</font>,<font color="Maroon" title="c1">p</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><br/><span class="kw">let </span><font color="Maroon" title="c2">a</font> be   <a href="int_1.html#V1" title="INT_1:attr.1">integer</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="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 implies ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c1">p</font> ) ) &amp; ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c1">p</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 ) &amp; (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> ) &amp; ( <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) &amp; (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 implies ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> ) ) &amp; ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</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><br/>



<div><span class="lab"><font color="Green" title="E31">A1</font></span>: <a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="62_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"> (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> )</span></a><div class="add"><span class="kw">assume </span><a NAME="E1:62_1"/><span class="lab"><font color="Green" title="E32">A2</font></span>: 
 <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</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"> <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font></span><br/><div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="62_1_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"> <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font></span></a><div class="add"><span class="kw">assume </span><a NAME="E1:62_1_1"/>
 not <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</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:62_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</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_6.html#T6" target="_self" onmouseover="rs('nat_6/T6')" onmouseout="rh()">Th6</a></span>;<br/><span class="kw">hence </span><a NAME="E3:62_1_1"/>
contradiction
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:62_1"><span class="lab"><font color="Green" title="E32">A2</font></span></a>, <a class="ref" href="nat_6.html#D4" target="_self" onmouseover="rs('nat_6/D4')" onmouseout="rh()">Def4</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:62_1"/>
<font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</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"> verum</span><br/></div><span class="kw">end;</span></div>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="62_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"> (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 implies ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c1">p</font> ) )</span></a><div class="add"><span class="kw">assume </span><a NAME="E1:62_2"/><span class="lab"><font color="Green" title="E32">A3</font></span>: 
 <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</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="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c1">p</font> )</span><br/><a NAME="E2:62_2"/><span class="kw">then </span>
<font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</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_6.html#T6" target="_self" onmouseover="rs('nat_6/T6')" onmouseout="rh()">Th6</a>, <a class="ref" href="nat_6.html#D4" target="_self" onmouseover="rs('nat_6/D4')" onmouseout="rh()">Def4</a></span>;<br/><span class="kw">hence </span><a NAME="E3:62_2"/>
( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c1">p</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:62_2"><span class="lab"><font color="Green" title="E32">A3</font></span></a>, <a class="ref" href="nat_6.html#D4" target="_self" onmouseover="rs('nat_6/D4')" onmouseout="rh()">Def4</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:62"/>
(  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 iff ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c1">p</font> ) )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_6.html#D4" target="_self" onmouseover="rs('nat_6/D4')" onmouseout="rh()">Def4</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"> ( (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> ) &amp; ( <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) &amp; (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 implies ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> ) ) &amp; ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</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><br/>

<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="62_3"><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"> (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 implies ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> ) )</span></a><div class="add"><span class="kw">assume </span><a NAME="E1:62_3"/><span class="lab"><font color="Green" title="E32">A4</font></span>: 
 <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</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">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> )</span><br/><a NAME="E2:62_3"/><span class="kw">then </span>
<font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</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_6.html#T6" target="_self" onmouseover="rs('nat_6/T6')" onmouseout="rh()">Th6</a>, <a class="ref" href="nat_6.html#D4" target="_self" onmouseover="rs('nat_6/D4')" onmouseout="rh()">Def4</a></span>;<br/><span class="kw">hence </span><a NAME="E3:62_3"/>
( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:62_3"><span class="lab"><font color="Green" title="E32">A4</font></span></a>, <a class="ref" href="nat_6.html#D4" target="_self" onmouseover="rs('nat_6/D4')" onmouseout="rh()">Def4</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="E5:62"/>
( (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> ) &amp; ( <font color="Maroon" title="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) &amp; (  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 implies ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> ) ) &amp; ( <font color="Maroon" title="c2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Maroon" title="c1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Maroon" title="c2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Maroon" title="c1">p</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</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="#E1:62"><span class="lab"><font color="Green" title="E31">A1</font></span></a>, <a class="ref" href="nat_6.html#D4" target="_self" onmouseover="rs('nat_6/D4')" onmouseout="rh()">Def4</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>
