<?xml version="1.0"?>
<div><span class="kw">theorem </span><span class="lab"><font color="Green" title="E30">Th25</font></span>: <a NAME="T25"><span class="comment"><font color="firebrick">:: NAT_6:25</font></span><br/></a><div class="add"> for <font color="Olive" title="b1">p</font> being   <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> <br/>  for <font color="Olive" title="b2">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="b2">a</font>,<font color="Olive" title="b1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 implies ( <font color="Olive" title="b2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Olive" title="b2">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Olive" title="b1">p</font> ) ) &amp; ( <font color="Olive" title="b2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Olive" title="b2">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Olive" title="b1">p</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Olive" title="b2">a</font>,<font color="Olive" title="b1">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="b2">a</font>,<font color="Olive" title="b1">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="Olive" title="b1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Olive" title="b2">a</font> ) &amp; ( <font color="Olive" title="b1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Olive" title="b2">a</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Olive" title="b2">a</font>,<font color="Olive" title="b1">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="b2">a</font>,<font color="Olive" title="b1">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="b2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Olive" title="b2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Olive" title="b1">p</font> ) ) &amp; ( <font color="Olive" title="b2">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> <font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; <font color="Olive" title="b2">a</font> <a href="nat_6.html#NR1" title="NAT_6:NR.1">is_quadratic_non_residue_mod</a> <font color="Olive" title="b1">p</font> implies  <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Olive" title="b2">a</font>,<font color="Olive" title="b1">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 ) )</div></div>
