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

<span class="kw">let </span><font color="Maroon" title="c1">a</font> be   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</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">p</font> being   <a href="newton.html#NM1" title="NEWTON:NM.1">Prime</a>  holds <br/>(  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Olive" title="b1">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">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>  or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">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 )</span><br/><span class="kw">let </span><font color="Maroon" title="c2">p</font> be   <a href="newton.html#NM1" title="NEWTON:NM.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"> (  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">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" onclick="hsNdiv(this)" href="javascript:()" title="30_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:30_1"/>
( ( <font color="Maroon" title="c1">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c2">p</font> &amp; <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">p</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) or ( <font color="Maroon" title="c1">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c2">p</font> &amp; <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) or  not <font color="Maroon" title="c1">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c2">p</font> )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="30_1_1"><span class="kw">suppose </span></a><a NAME="E1:30_1_1"/>
( <font color="Maroon" title="c1">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c2">p</font> &amp; <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">p</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  )
 ; <a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> (  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">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 class="add"><span class="kw">hence </span><a NAME="E2:30_1_1"/>
(  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">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="ref" href="int_5.html#D3" target="_self" onmouseover="rs('int_5/D3')" onmouseout="rh()">Def3</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="30_1_2"><span class="kw">suppose </span></a><a NAME="E1:30_1_2"/>
( <font color="Maroon" title="c1">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c2">p</font> &amp; <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> <font color="Maroon" title="c2">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"> (  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">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 class="add"><span class="kw">hence </span><a NAME="E2:30_1_2"/>
(  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">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="ref" href="int_5.html#D3" target="_self" onmouseover="rs('int_5/D3')" onmouseout="rh()">Def3</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="30_1_3"><span class="kw">suppose </span></a><a NAME="E1:30_1_3"/>
 not <font color="Maroon" title="c1">a</font> <a href="int_5.html#R1" title="INT_5:pred.1">is_quadratic_residue_mod</a> <font color="Maroon" title="c2">p</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"> (  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">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 class="add"><span class="kw">hence </span><a NAME="E2:30_1_3"/>
(  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">p</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or  <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c1">a</font>,<font color="Maroon" title="c2">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="ref" href="int_5.html#D3" target="_self" onmouseover="rs('int_5/D3')" onmouseout="rh()">Def3</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>
