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

<a NAME="E1:59_1_1"/><span class="lab"><font color="Green" title="E28">A1</font></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 &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="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> implies  for <font color="Olive" title="b1">z</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/> ( <font color="Olive" title="b1">z</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 iff <font color="Olive" title="b1">z</font> <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="59_1_1_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:59_1_1_1"/><span class="lab"><font color="Green" title="E29">A2</font></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 &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="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">  for <font color="Olive" title="b1">z</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/> ( <font color="Olive" title="b1">z</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 iff <font color="Olive" title="b1">z</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  )</span><br/>

<a NAME="E2:59_1_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> <font color="Maroon" title="c1">p</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="nat_6.html#E8"><span class="lab"><font color="Green" title="E7">Lm3</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:59_1_1_1"/>
 for <font color="Olive" title="b1">z</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/> ( <font color="Olive" title="b1">z</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 iff <font color="Olive" title="b1">z</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:59_1_1_1"><span class="lab"><font color="Green" title="E29">A2</font></span></a>, <a class="ref" href="int_2.html#D4" onmouseover="rs('int_2/D4')" onmouseout="rh()">INT_2:def 4</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="E2:59_1_1"/>
( <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="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> implies  for <font color="Olive" title="b1">z</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/> ( <font color="Olive" title="b1">z</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 iff <font color="Olive" title="b1">z</font> <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="59_1_1_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:59_1_1_2"/><span class="lab"><font color="Green" title="E29">A3</font></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 &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="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">  for <font color="Olive" title="b1">z</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/> ( <font color="Olive" title="b1">z</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 iff <font color="Olive" title="b1">z</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  )</span><br/>

<a NAME="E2:59_1_1_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> <font color="Maroon" title="c1">p</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="nat_6.html#E8"><span class="lab"><font color="Green" title="E7">Lm3</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:59_1_1_2"/>
 for <font color="Olive" title="b1">z</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/> ( <font color="Olive" title="b1">z</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 iff <font color="Olive" title="b1">z</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:59_1_1_2"><span class="lab"><font color="Green" title="E29">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>; <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:59_1_1"/>
 for <font color="Olive">b<sub>1</sub></font> being   <a href="int_1.html#V1" title="INT_1:attr.1">integer</a>   <a href="ordinal1.html#NM1" title="ORDINAL1:NM.1">Number</a>  holds <br/> ( ( <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="c1">p</font> <a href="int_1.html#R1" title="INT_1:pred.1">divides</a> <font color="Maroon" title="c2">a</font> implies ( <font color="Olive">b<sub>1</sub></font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 iff <font color="Olive">b<sub>1</sub></font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  ) ) &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> &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 ( <font color="Olive">b<sub>1</sub></font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 iff <font color="Olive">b<sub>1</sub></font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1 ) ) &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> &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 ( <font color="Olive">b<sub>1</sub></font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  iff <font color="Olive">b<sub>1</sub></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:59_1_1"><span class="lab"><font color="Green" title="E28">A1</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>
