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

<span class="kw">let </span><font color="Maroon" title="c1">n</font> be   non  <a href="ordinal1.html#V8" title="ORDINAL1:attr.8">zero</a>  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">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">  for <font color="Olive" title="b1">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">k</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Maroon" title="c1">n</font> holds <br/> <a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Olive" title="b1">k</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">k</font></span><br/>

<span class="kw">defpred </span><font color="Maroon">S<sub>1</sub></font>[  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>] <span class="kw">means </span>( $1 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Maroon" title="c1">n</font> implies  <a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> $1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> $1 );<br/>
<a NAME="E1:38"/><span class="lab"><font color="Green" title="E30">A1</font></span>: 
 for <font color="Olive" title="b1">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font>] holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1]
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="38_1"><span class="kw">proof </span></a><div class="add">

<a NAME="E1:38_1"/>
 <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a> <a href="finseq_2.html#K3" title="FINSEQ_2:func.3">*</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="binari_3.html#T4" target="_self" onmouseover="rs('binari_3/T4')" onmouseout="rh()">Th4</a></span>;<br/>
<a NAME="E2:38_1"/><span class="kw">then </span>
 <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c1">n</font> is    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#D11" onmouseover="rs('finseq_1/D11')" onmouseout="rh()">FINSEQ_1:def 11</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c2">0n</font> =  <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c1">n</font> as   <a href="finseq_2.html#NM3" title="FINSEQ_2:NM.3">Tuple</a> of <font color="Maroon" title="c1">n</font>, <a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a>  ;<br/>
<span class="kw">let </span><font color="Maroon" title="c3">k</font> be   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">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">S<sub>1</sub></font>[<font color="Maroon" title="c3">k</font>] implies <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">k</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1] )</span><br/>

<span class="kw">assume </span><a NAME="E4:38_1"/><span class="lab"><font color="Green" title="E31">A2</font></span>: 
( <font color="Maroon" title="c3">k</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Maroon" title="c1">n</font> implies  <a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c3">k</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">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"> <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">k</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1]</span><br/>

<span class="kw">assume </span><a NAME="E5:38_1"/><span class="lab"><font color="Green" title="E32">A3</font></span>: 
<font color="Maroon" title="c3">k</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Maroon" title="c1">n</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="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">k</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">k</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span><br/>

<a NAME="E6:38_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E33">A4</font></span>: 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">k</font> <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 <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <span class="p1">(<span class="default">2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Maroon" title="c1">n</font></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="ref" href="xreal_1.html#T9" onmouseover="rs('xreal_1/T9')" onmouseout="rh()">XREAL_1:9</a></span>;<br/>
<a NAME="E7:38_1"/>
<font color="Maroon" title="c3">k</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Maroon" title="c1">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:38_1"><span class="lab"><font color="Green" title="E32">A3</font></span></a>, <a class="ref" href="nat_1.html#T13" onmouseover="rs('nat_1/T13')" onmouseout="rh()">NAT_1:13</a></span>;<br/>
<a NAME="E8:38_1"/><span class="kw">then </span>
<font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c3">k</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="binarith.html#K3" title="BINARITH:func.3">'not'</a> <font color="Maroon" title="c2">0n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:38_1"><span class="lab"><font color="Green" title="E33">A4</font></span></a>, <a class="txt" href="binari_3.html#E32"><span class="lab"><font color="Green" title="E25">Lm4</font></span></a></span>;<br/>
<a NAME="E9:38_1"/><span class="kw">then </span>
 <a href="binarith.html#K8" title="BINARITH:func.8">add_ovfl</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c3">k</font></span>)</span>,<span class="p1">(<span class="default"><a href="binari_2.html#K1" title="BINARI_2:func.1">Bin1</a> <font color="Maroon" title="c1">n</font></span>)</span>) <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="binari_3.html#T23" target="_self" onmouseover="rs('binari_3/T23')" onmouseout="rh()">Th23</a></span>;<br/>
<a NAME="E10:38_1"/><span class="kw">then </span>
 <a href="binarith.html#K8" title="BINARITH:func.8">add_ovfl</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c3">k</font></span>)</span>,<span class="p1">(<span class="default"><a href="binari_2.html#K1" title="BINARI_2:func.1">Bin1</a> <font color="Maroon" title="c1">n</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="margrel1.html#K6" title="MARGREL1:func.6">FALSE</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xboolean.html#D3" onmouseover="rs('xboolean/D3')" onmouseout="rh()">XBOOLEAN:def 3</a></span>;<br/>
<a NAME="E11:38_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E34">A5</font></span>: 
<font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c3">k</font>, <a href="binari_2.html#K1" title="BINARI_2:func.1">Bin1</a> <font color="Maroon" title="c1">n</font> <a href="binarith.html#R1" title="BINARITH:pred.1">are_summable</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="binarith.html#D7" onmouseover="rs('binarith/D7')" onmouseout="rh()">BINARITH:def 7</a></span>;<br/>
<span class="kw">thus </span> <a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">k</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span></span>)</span> = 
 <a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c3">k</font></span>)</span> <a href="binarith.html#K7" title="BINARITH:func.7">+</a> <span class="p2">(<span class="default"><a href="binari_2.html#K1" title="BINARI_2:func.1">Bin1</a> <font color="Maroon" title="c1">n</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:38_1"><span class="lab"><font color="Green" title="E32">A3</font></span></a>, <a class="ref" href="binari_3.html#T33" target="_self" onmouseover="rs('binari_3/T33')" onmouseout="rh()">Th33</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p2">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c3">k</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p2">(<span class="default"><a href="binari_2.html#K1" title="BINARI_2:func.1">Bin1</a> <font color="Maroon" title="c1">n</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E11:38_1"><span class="lab"><font color="Green" title="E34">A5</font></span></a>, <a class="ref" href="binarith.html#T22" onmouseover="rs('binarith/T22')" onmouseout="rh()">BINARITH:22</a></span>
<br/>.= 
<font color="Maroon" title="c3">k</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:38_1"><span class="lab"><font color="Green" title="E31">A2</font></span></a>, <a class="txt" href="#E5:38_1"><span class="lab"><font color="Green" title="E32">A3</font></span></a>, <a class="ref" href="binari_3.html#T11" target="_self" onmouseover="rs('binari_3/T11')" onmouseout="rh()">Th11</a>, <a class="ref" href="nat_1.html#T13" onmouseover="rs('nat_1/T13')" onmouseout="rh()">NAT_1:13</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:38"/><span class="lab"><font color="Green" title="E31">A6</font></span>: 
<font color="Maroon">S<sub>1</sub></font>[ <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="38_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">assume </span><a NAME="E1:38_2"/>
 <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> 2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Maroon" title="c1">n</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="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span> <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:38_2"/>
<font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c1">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="binari_3.html#T25" target="_self" onmouseover="rs('binari_3/T25')" onmouseout="rh()">Th25</a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:38_2"/>
 <a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span> <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="binari_3.html#T6" target="_self" onmouseover="rs('binari_3/T6')" onmouseout="rh()">Th6</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">thus </span><a NAME="E3:38"/>
 for <font color="Olive" title="b1">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> holds  <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">n</font>]
 <span class="kw">from</span> <span class="lab"><a class="ref" href="nat_1.html#S2" onmouseover="rs('nat_1/S2')" onmouseout="rh()">NAT_1:sch 2</a>(<a class="txt" href="#E2:38"><span class="lab"><font color="Green" title="E31">A6</font></span></a>, <a class="txt" href="#E1:38"><span class="lab"><font color="Green" title="E30">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>
