<?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#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="c1">a</font>,2) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> 2</span><br/>

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="63_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:63_1"/>
( <font color="Maroon" title="c1">a</font> is  <a href="abian.html#V1" title="ABIAN:attr.1">even</a>  or <font color="Maroon" title="c1">a</font> is  <a href="abian.html#NV2" title="ABIAN:NV.2">odd</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="63_1_1"><span class="kw">suppose </span></a><a NAME="E1:63_1_1"/><span class="lab"><font color="Green" title="E31">A1</font></span>: 
<font color="Maroon" title="c1">a</font> is  <a href="abian.html#V1" title="ABIAN:attr.1">even</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="c1">a</font>,2) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> 2</span><br/><div class="add"><a NAME="E2:63_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> 2 <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="ref" href="int_1.html#T62" onmouseover="rs('int_1/T62')" onmouseout="rh()">INT_1:62</a></span>;<br/><span class="kw">hence </span><a NAME="E3:63_1_1"/>
 <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c1">a</font>,2) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> 2
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:63_1_1"><span class="lab"><font color="Green" title="E31">A1</font></span></a>, <a class="ref" href="nat_6.html#D3" target="_self" onmouseover="rs('nat_6/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="63_1_2"><span class="kw">suppose </span></a><a NAME="E1:63_1_2"/><span class="lab"><font color="Green" title="E31">A2</font></span>: 
<font color="Maroon" title="c1">a</font> is  <a href="abian.html#NV2" title="ABIAN:NV.2">odd</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="c1">a</font>,2) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> 2</span><br/><div class="add"><span class="kw">reconsider </span><font color="Maroon" title="c2">amod2</font> = <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> 2 as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a>  <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a>, <a class="ref" href="int_1.html#T57" onmouseover="rs('int_1/T57')" onmouseout="rh()">INT_1:57</a></span>;<br/><a NAME="E3:63_1_2"/><span class="lab"><font color="Green" title="E32">A3</font></span>: 
( <font color="Maroon" title="c2">amod2</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  or <font color="Maroon" title="c2">amod2</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_1.html#T23" onmouseover="rs('nat_1/T23')" onmouseout="rh()">NAT_1:23</a>, <a class="ref" href="int_1.html#T58" onmouseover="rs('int_1/T58')" onmouseout="rh()">INT_1:58</a></span>;<br/><a NAME="E4:63_1_2"/>
<font color="Maroon" title="c1">a</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">a</font> <a href="int_1.html#K4" title="INT_1:func.4">div</a> 2</span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> 2</span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:63_1_2"><span class="lab"><font color="Green" title="E32">A3</font></span></a>, <a class="txt" href="#E1:63_1_2"><span class="lab"><font color="Green" title="E31">A2</font></span></a>, <a class="ref" href="int_1.html#T62" onmouseover="rs('int_1/T62')" onmouseout="rh()">INT_1:62</a>, <a class="ref" href="int_1.html#T59" onmouseover="rs('int_1/T59')" onmouseout="rh()">INT_1:59</a></span>;<br/><a NAME="E5:63_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E33">A4</font></span>: 
1,<font color="Maroon" title="c1">a</font> <a href="int_1.html#R2" title="INT_1:pred.2">are_congruent_mod</a> 2
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_1.html#D5" onmouseover="rs('int_1/D5')" onmouseout="rh()">INT_1:def 5</a>, <a class="ref" href="int_1.html#T14" onmouseover="rs('int_1/T14')" onmouseout="rh()">INT_1:14</a></span>;<br/><a NAME="E6:63_1_2"/>
<font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> 2 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> 2
 <span class="kw">by</span> <span class="lab"><a class="ref" href="int_2.html#T27" onmouseover="rs('int_2/T27')" onmouseout="rh()">INT_2:27</a>, <a class="ref" href="int_2.html#T21" onmouseover="rs('int_2/T21')" onmouseout="rh()">INT_2:21</a></span>;<br/><a NAME="E7:63_1_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E34">A5</font></span>: 
 not  not <font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> 2 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp;  ...  &amp;  not <font color="Maroon" title="c1">a</font> <a href="int_2.html#K3" title="INT_2:func.3">gcd</a> 2 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 2
 ;<br/><a NAME="E8:63_1_2"/>
1 <a href="newton.html#K1" title="NEWTON:func.1">|^</a> <span class="p1">(<span class="default">1 <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1
 ;<br/><span class="kw">hence </span><a NAME="E9:63_1_2"/>
 <a href="nat_6.html#NK3" title="NAT_6:NK.3">Leg</a> (<font color="Maroon" title="c1">a</font>,2) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">a</font> <a href="int_1.html#K5" title="INT_1:func.5">mod</a> 2
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:63_1_2"><span class="lab"><font color="Green" title="E33">A4</font></span></a>, <a class="ref" href="int_2.html#T5" onmouseover="rs('int_2/T5')" onmouseout="rh()">INT_2:5</a>, <a class="txt" href="#E7:63_1_2"><span class="lab"><font color="Green" title="E34">A5</font></span></a>, <a class="ref" href="int_2.html#T21" onmouseover="rs('int_2/T21')" onmouseout="rh()">INT_2:21</a>, <a class="txt" href="#E3:63_1_2"><span class="lab"><font color="Green" title="E32">A3</font></span></a>, <a class="txt" href="#E1:63_1_2"><span class="lab"><font color="Green" title="E31">A2</font></span></a>, <a class="ref" href="int_1.html#T62" onmouseover="rs('int_1/T62')" onmouseout="rh()">INT_1:62</a>, <a class="ref" href="nat_6.html#D3" target="_self" onmouseover="rs('nat_6/D3')" onmouseout="rh()">Def3</a>, <a class="ref" href="nat_6.html#T22" target="_self" onmouseover="rs('nat_6/T22')" onmouseout="rh()">Th22</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>
