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

<span class="kw">let </span><font color="Maroon" title="c1">n</font>, <font color="Maroon" title="c2">k</font> be    <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> ; <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">k</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> <font color="Maroon" title="c2">k</font> implies ( <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">k</font> &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> ) )</span><br/>

<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:2"/><span class="lab"><font color="Green" title="E3">A1</font></span>: 
<font color="Maroon" title="c2">k</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">and </span><br/><a NAME="E2:2"/><span class="lab"><font color="Green" title="E4">A2</font></span>: 
<font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> <font color="Maroon" title="c2">k</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"> ( <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">k</font> &amp; <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> )</span><br/>

<a NAME="E3:2"/>
(  ex <font color="Olive" title="b1">t</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> st <br/>( <font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Olive" title="b1">t</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span> &amp; <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font> ) or ( <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; 2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</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="ref" href="nat_d.html#D2" onmouseover="rs('nat_d/D2')" onmouseout="rh()">NAT_D:def 2</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c3">t</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E5:2"/><span class="lab"><font color="Green" title="E5">A3</font></span>: 
<font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <font color="Maroon" title="c3">t</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:2"><span class="lab"><font color="Green" title="E3">A1</font></span></a></span>;<br/>
<a NAME="E6:2"/>
2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> 2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</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:2"><span class="lab"><font color="Green" title="E3">A1</font></span></a>, <a class="ref" href="xreal_1.html#T68" onmouseover="rs('xreal_1/T68')" onmouseout="rh()">XREAL_1:68</a></span>;<br/>
<a NAME="E7:2"/><span class="kw">then </span>
<font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#T1" onmouseover="rs('nat_d/T1')" onmouseout="rh()">NAT_D:1</a></span>;<br/>
<a NAME="E8:2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E6">A4</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">k</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">k</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T9" onmouseover="rs('xreal_1/T9')" onmouseout="rh()">XREAL_1:9</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c4">t</font> = <font color="Maroon" title="c3">t</font> 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="ordinal1.html#D12" onmouseover="rs('ordinal1/D12')" onmouseout="rh()">ORDINAL1:def 12</a></span>;<br/>
<a NAME="E10:2"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">k</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:2"><span class="lab"><font color="Green" title="E4">A2</font></span></a>, <a class="ref" href="xreal_1.html#T48" onmouseover="rs('xreal_1/T48')" onmouseout="rh()">XREAL_1:48</a></span>;<br/>
<a NAME="E11:2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E7">A5</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">k</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_0.html#D2" onmouseover="rs('xreal_0/D2')" onmouseout="rh()">XREAL_0:def 2</a></span>;<br/>
<a NAME="E12:2"/><span class="kw">then </span>
<font color="Maroon" title="c1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">k</font> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p3">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> <font color="Maroon" title="c2">k</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:2"><span class="lab"><font color="Green" title="E5">A3</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E13:2"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p2">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">k</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E11:2"><span class="lab"><font color="Green" title="E7">A5</font></span></a>, <a class="txt" href="#E8:2"><span class="lab"><font color="Green" title="E6">A4</font></span></a>, <a class="ref" href="nat_d.html#D2" onmouseover="rs('nat_d/D2')" onmouseout="rh()">NAT_D:def 2</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"> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</span></span><br/>

<span class="kw">hence </span><a NAME="E14:2"/>
<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">k</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> <font color="Maroon" title="c2">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <span class="p1">(<span class="default">2 <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <font color="Maroon" title="c2">k</font></span>)</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>
