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

<span class="kw">let </span><font color="Maroon" title="c1">T</font> be   <a href="bintree2.html#V1" title="BINTREE2:attr.1">full</a>  <a href="trees_1.html#NM1" title="TREES_1:NM.1">Tree</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">n</font> being   non  <a href="ordinal1.html#V8" title="ORDINAL1:attr.8">zero</a>  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><br/>  for <font color="Olive" title="b2">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default">2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Olive" title="b1">n</font></span>)</span> holds <br/><span class="p1">(<span class="default"><a href="bintree2.html#K2" title="BINTREE2:func.2">FinSeqLevel</a> (<font color="Olive" title="b1">n</font>,<font color="Maroon" title="c1">T</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <span class="p2">(<span class="default"><font color="Olive" title="b2">i</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c2">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">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</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="c2">n</font></span>)</span> holds <br/><span class="p1">(<span class="default"><a href="bintree2.html#K2" title="BINTREE2:func.2">FinSeqLevel</a> (<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c1">T</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">i</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c3">i</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" title="c3">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</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="c2">n</font></span>)</span> implies <span class="p1">(<span class="default"><a href="bintree2.html#K2" title="BINTREE2:func.2">FinSeqLevel</a> (<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c1">T</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">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">i</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> )</span><br/>





<span class="kw">reconsider </span><font color="Maroon" title="c4">nB</font> = <font color="Maroon" title="c2">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> as    <a href="finseq_2.html#M2" title="FINSEQ_2:mode.2">Element</a> of <font color="Maroon" title="c2">n</font> <a href="finseq_2.html#K4" title="FINSEQ_2:func.4">-tuples_on</a> <a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a> <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_2.html#T131" onmouseover="rs('finseq_2/T131')" onmouseout="rh()">FINSEQ_2:131</a></span>;<br/>
<span class="kw">assume </span><a NAME="E2:28"/><span class="lab"><font color="Green" title="E21">A1</font></span>: 
<font color="Maroon" title="c3">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</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="c2">n</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"> <span class="p1">(<span class="default"><a href="bintree2.html#K2" title="BINTREE2:func.2">FinSeqLevel</a> (<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c1">T</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">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">i</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span></span><br/>

<a NAME="E3:28"/><span class="kw">then </span><span class="lab"><font color="Green" title="E22">A2</font></span>: 
1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Maroon" title="c3">i</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T1" onmouseover="rs('finseq_1/T1')" onmouseout="rh()">FINSEQ_1:1</a></span>;<br/>
<a NAME="E4:28"/>
<font color="Maroon" title="c3">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> 2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Maroon" title="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:28"><span class="lab"><font color="Green" title="E21">A1</font></span></a>, <a class="ref" href="finseq_1.html#T1" onmouseover="rs('finseq_1/T1')" onmouseout="rh()">FINSEQ_1:1</a></span>;<br/>
<a NAME="E5:28"/><span class="kw">then </span>
<font color="Maroon" title="c3">i</font> <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="c2">n</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T13" onmouseover="rs('nat_1/T13')" onmouseout="rh()">NAT_1:13</a></span>;<br/>
<a NAME="E6:28"/><span class="kw">then </span>
<font color="Maroon" title="c3">i</font> <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> 2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <font color="Maroon" title="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xreal_1.html#T19" onmouseover="rs('xreal_1/T19')" onmouseout="rh()">XREAL_1:19</a></span>;<br/>
<a NAME="E7:28"/><span class="kw">then </span>
<font color="Maroon" title="c3">i</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</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="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:28"><span class="lab"><font color="Green" title="E22">A2</font></span></a>, <a class="ref" href="xreal_1.html#T233" onmouseover="rs('xreal_1/T233')" onmouseout="rh()">XREAL_1:233</a></span>;<br/>
<span class="kw">then </span><span class="lab"><font color="Green" title="E23">A3</font></span>: <span class="p1">(<span class="default"><a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <font color="Maroon" title="c4">nB</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 = 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
<span class="kw">by</span> <span class="lab"><a class="ref" href="binari_3.html#T35" onmouseover="rs('binari_3/T35')" onmouseout="rh()">BINARI_3:35</a></span>
<br/>.= 
<span class="p1">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1</span>)</span> <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="#E3:28"><span class="lab"><font color="Green" title="E22">A2</font></span></a>, <a class="ref" href="xreal_1.html#T233" onmouseover="rs('xreal_1/T233')" onmouseout="rh()">XREAL_1:233</a></span>
<br/>.= 
<font color="Maroon" title="c3">i</font>

;<br/>
<span class="lab"><font color="Green" title="E24">A4</font></span>:  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c4">nB</font></span>)</span> = 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c4">nB</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_5.html#D3" onmouseover="rs('finseq_5/D3')" onmouseout="rh()">FINSEQ_5:def 3</a></span>
<br/>.= 
<font color="Maroon" title="c2">n</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="card_1.html#D7" onmouseover="rs('card_1/D7')" onmouseout="rh()">CARD_1:def 7</a></span>
;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c5">RnB</font> =  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c4">nB</font> as    <a href="finseq_2.html#M2" title="FINSEQ_2:mode.2">Element</a> of <font color="Maroon" title="c2">n</font> <a href="finseq_2.html#K4" title="FINSEQ_2:func.4">-tuples_on</a> <a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a> <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_2.html#T92" onmouseover="rs('finseq_2/T92')" onmouseout="rh()">FINSEQ_2:92</a></span>;<br/>
<a NAME="E11:28"/>
<font color="Maroon" title="c5">RnB</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <span class="p1"><a href="domain_1.html#K7" title="DOMAIN_1:func.7">{</a><span class="default"><a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,1</span><a href="domain_1.html#K7" title="DOMAIN_1:func.7">}</a></span> <a href="finseq_2.html#K3" title="FINSEQ_2:func.3">*</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/>
<a NAME="E12:28"/><span class="kw">then </span>
<font color="Maroon" title="c5">RnB</font> is    <a href="bintree2.html#M1" title="BINTREE2:mode.1">Element</a> of <font color="Maroon" title="c1">T</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="bintree2.html#D2" target="_self" onmouseover="rs('bintree2/D2')" onmouseout="rh()">Def2</a></span>;<br/>
<a NAME="E13:28"/><span class="kw">then </span>
<font color="Maroon" title="c5">RnB</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <span class="p1"> { <span class="default"> <font color="Olive" title="b1">t</font> where <font color="Olive" title="b1">t</font> is    <a href="bintree2.html#M1" title="BINTREE2:mode.1">Element</a> of <font color="Maroon" title="c1">T</font> :  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">t</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">n</font> </span> } </span> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:28"><span class="lab"><font color="Green" title="E24">A4</font></span></a></span>;<br/>
<a NAME="E14:28"/><span class="kw">then </span><span class="lab"><font color="Green" title="E25">A5</font></span>: 
<font color="Maroon" title="c5">RnB</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c1">T</font> <a href="trees_2.html#K2" title="TREES_2:func.2">-level</a> <font color="Maroon" title="c2">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="trees_2.html#D6" onmouseover="rs('trees_2/D6')" onmouseout="rh()">TREES_2:def 6</a></span>;<br/>
<a NAME="E15:28"/>
<font color="Maroon" title="c4">nB</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c5">RnB</font>
 
;<br/>
<a NAME="E16:28"/><span class="kw">then </span><span class="lab"><font color="Green" title="E26">A6</font></span>: 
<span class="p1">(<span class="default"><a href="bintree2.html#K1" title="BINTREE2:func.1">NumberOnLevel</a> (<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c1">T</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">RnB</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <font color="Maroon" title="c4">nB</font></span>)</span> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E14:28"><span class="lab"><font color="Green" title="E25">A5</font></span></a>, <a class="ref" href="bintree2.html#D1" target="_self" onmouseover="rs('bintree2/D1')" onmouseout="rh()">Def1</a></span>;<br/>
<a NAME="E17:28"/>
<font color="Maroon" title="c5">RnB</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <span class="p1">(<span class="default"><a href="bintree2.html#K1" title="BINTREE2:func.1">NumberOnLevel</a> (<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c1">T</font>)</span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E14:28"><span class="lab"><font color="Green" title="E25">A5</font></span></a>, <a class="ref" href="funct_2.html#D1" onmouseover="rs('funct_2/D1')" onmouseout="rh()">FUNCT_2:def 1</a></span>;<br/>
<span class="kw">hence </span><a NAME="E18:28"/>
<span class="p1">(<span class="default"><a href="bintree2.html#K2" title="BINTREE2:func.2">FinSeqLevel</a> (<font color="Maroon" title="c2">n</font>,<font color="Maroon" title="c1">T</font>)</span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">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">i</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E16:28"><span class="lab"><font color="Green" title="E26">A6</font></span></a>, <a class="txt" href="#E8:28"><span class="lab"><font color="Green" title="E23">A3</font></span></a>, <a class="ref" href="funct_1.html#T32" onmouseover="rs('funct_1/T32')" onmouseout="rh()">FUNCT_1:32</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>
