<?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> holds  <span class="p1">(<span class="default"><a href="bintree2.html#K1" title="BINTREE2:func.1">NumberOnLevel</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> <span class="p1">(<span class="default"><a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Olive" title="b1">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1</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"> <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> <span class="p1">(<span class="default"><a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c2">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1</span><br/>



<span class="lab"><font color="Green" title="E17">A1</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> <span class="p2">(<span class="default"><a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c2">n</font></span>)</span></span>)</span> = 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c2">n</font></span>)</span>
<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/>
<a NAME="E2:24"/><span class="lab"><font color="Green" title="E18">A2</font></span>: 
<font color="Maroon" title="c1">T</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</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="bintree2.html#D2" target="_self" onmouseover="rs('bintree2/D2')" onmouseout="rh()">Def2</a></span>;<br/>
<a NAME="E3:24"/><span class="kw">then </span>
 <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c2">n</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="binari_3.html#T4" onmouseover="rs('binari_3/T4')" onmouseout="rh()">BINARI_3:4</a></span>;<br/>
<a NAME="E4:24"/><span class="kw">then </span>
 <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <span class="p1">(<span class="default"><a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c2">n</font></span>)</span> 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="txt" href="bintree2.html#E11"><span class="lab"><font color="Green" title="E9">Lm3</font></span></a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c3">F</font> =  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <span class="p1">(<span class="default"><a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c2">n</font></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="txt" href="#E1:24"><span class="lab"><font color="Green" title="E17">A1</font></span></a>, <a class="ref" href="finseq_2.html#T92" onmouseover="rs('finseq_2/T92')" onmouseout="rh()">FINSEQ_2:92</a></span>;<br/>
<a NAME="E6:24"/>
 <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c2">n</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="txt" href="#E2:24"><span class="lab"><font color="Green" title="E18">A2</font></span></a>, <a class="ref" href="bintree2.html#T10" target="_self" onmouseover="rs('bintree2/T10')" onmouseout="rh()">Th10</a></span>;<br/>
<span class="kw">hence </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> <span class="p1">(<span class="default"><a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c2">n</font></span>)</span> = 
<span class="p1">(<span class="default"><a href="binarith.html#K6" title="BINARITH:func.6">Absval</a> <font color="Maroon" title="c3">F</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="bintree2.html#D1" target="_self" onmouseover="rs('bintree2/D1')" onmouseout="rh()">Def1</a></span>
<br/>.= 
<a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <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#T6" onmouseover="rs('binari_3/T6')" onmouseout="rh()">BINARI_3:6</a>, <a class="ref" href="binari_3.html#T8" onmouseover="rs('binari_3/T8')" onmouseout="rh()">BINARI_3:8</a></span>
<br/>.= 
1

;<br/> <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>
