<?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>  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">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>   st <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 holds <br/><font color="Olive" title="b1">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">p</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> 2</span>)</span>, <a href="nat_6.html#K1" title="NAT_6:func.1">LegendreSymbol</a> (<font color="Olive" title="b1">a</font>,<font color="Maroon" title="c1">p</font>) <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">p</font></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"> ( <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 implies <font color="Maroon" title="c2">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">p</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> 2</span>)</span>, <a href="nat_6.html#K1" title="NAT_6:func.1">LegendreSymbol</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">p</font> )</span><br/>



<a NAME="E1:68"/>
<font color="Maroon" title="c1">p</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&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/>
<a NAME="E2:68"/><span class="kw">then </span><span class="lab"><font color="Green" title="E35">A1</font></span>: 
<font color="Maroon" title="c1">p</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">p</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_d.html#T39" onmouseover="rs('nat_d/T39')" onmouseout="rh()">NAT_D:39</a></span>;<br/>
<span class="kw">assume </span><a NAME="E3:68"/>
<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
 ; <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="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">p</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> 2</span>)</span>, <a href="nat_6.html#K1" title="NAT_6:func.1">LegendreSymbol</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">p</font></span><br/>

<a NAME="E4:68"/><span class="kw">then </span>
 <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>),<font color="Maroon" title="c2">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">p</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> 2</span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">p</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>, <a class="ref" href="int_5.html#T28" onmouseover="rs('int_5/T28')" onmouseout="rh()">INT_5:28</a></span>;<br/>
<a NAME="E5:68"/><span class="kw">then </span><span class="lab"><font color="Green" title="E36">A2</font></span>: 
 <a href="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>),<font color="Maroon" title="c2">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">p</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> 2</span>)</span> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">p</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:68"><span class="lab"><font color="Green" title="E35">A1</font></span></a>, <a class="ref" href="nat_6.html#T4" target="_self" onmouseover="rs('nat_6/T4')" onmouseout="rh()">Th4</a></span>;<br/>
<a NAME="E6:68"/>
 <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="int_5.html#K2" title="INT_5:func.2">Lege</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="nat_6.html#E35"><span class="lab"><font color="Green" title="E31">Lm4</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E7:68"/>
<font color="Maroon" title="c2">a</font> <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">p</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> 2</span>)</span>, <a href="nat_6.html#K1" title="NAT_6:func.1">LegendreSymbol</a> (<font color="Maroon" title="c2">a</font>,<font color="Maroon" title="c1">p</font>) <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> <font color="Maroon" title="c1">p</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:68"><span class="lab"><font color="Green" title="E36">A2</font></span></a>, <a class="ref" href="int_1.html#T14" onmouseover="rs('int_1/T14')" onmouseout="rh()">INT_1:14</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>
