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

<span class="kw">let </span><font color="Maroon" title="c1">n</font>, <font color="Maroon" title="c2">m</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"> (  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c1">n</font> implies  <a href="ntalgo_2.html#K5" title="NTALGO_2:func.5">ALGO_BPOW</a> (<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,<font color="Maroon" title="c1">n</font>,<font color="Maroon" title="c2">m</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  )</span><br/>

<span class="kw">assume </span><a NAME="E1:21"/><span class="lab"><font color="Green" title="E11">AS</font></span>: 
 <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</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="ntalgo_2.html#K5" title="NTALGO_2:func.5">ALGO_BPOW</a> (<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,<font color="Maroon" title="c1">n</font>,<font color="Maroon" title="c2">m</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> </span><br/>

<span class="kw">consider </span><font color="Maroon" title="c3">A</font>, <font color="Maroon" title="c4">B</font> being   <a href="nat_1.html#NM1" title="NAT_1:NM.1">sequence</a> of <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a><span class="kw"> such that </span><br/><a NAME="E3:21"/><span class="lab"><font color="Green" title="E12">ASC</font></span>: 
(  <a href="ntalgo_2.html#K5" title="NTALGO_2:func.5">ALGO_BPOW</a> (<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,<font color="Maroon" title="c1">n</font>,<font color="Maroon" title="c2">m</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">B</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <span class="p1">(<span class="default"><a href="binari_6.html#K1" title="BINARI_6:func.1">LenBSeq</a> <font color="Maroon" title="c1">n</font></span>)</span> &amp; <font color="Maroon" title="c3">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> &amp; <font color="Maroon" title="c4">B</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp; (  for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> holds <br/> ( <font color="Maroon" title="c3">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c3">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b1">i</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b1">i</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font> &amp; <font color="Maroon" title="c4">B</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="ntalgo_2.html#K4" title="NTALGO_2:func.4">BinBranch</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c4">B</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b1">i</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">B</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b1">i</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c3">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Olive" title="b1">i</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="binari_6.html#K2" title="BINARI_6:func.2">Nat2BL</a> <a href="binari_6.html#K6" title="BINARI_6:func.6">.</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="ntalgo_2.html#K1" title="NTALGO_2:func.1">.</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">i</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span>) ) ) )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="ntalgo_2.html#D2" target="_self" onmouseover="rs('ntalgo_2/D2')" onmouseout="rh()">Def1</a></span>;<br/>
<a NAME="E4:21"/>
<span class="p1">(<span class="default"><a href="binari_6.html#K1" title="BINARI_6:func.1">LenBSeq</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <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#T5" onmouseover="rs('int_1/T5')" onmouseout="rh()">INT_1:5</a>, <a class="ref" href="nat_1.html#T14" onmouseover="rs('nat_1/T14')" onmouseout="rh()">NAT_1:14</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c5">fs</font> = <span class="p1">(<span class="default"><a href="binari_6.html#K1" title="BINARI_6:func.1">LenBSeq</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 as   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> ;<br/>
<span class="lab"><font color="Green" title="E13">QW</font></span>: <font color="Maroon" title="c3">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">fs</font> = 
<span class="p1">(<span class="default"><a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <span class="p2">(<span class="default">2 <a href="ntalgo_2.html#K2" title="NTALGO_2:func.2">to_power</a> <font color="Maroon" title="c5">fs</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="ntalgo_2.html#T1" target="_self" onmouseover="rs('ntalgo_2/T1')" onmouseout="rh()">CBPOW1</a>, <a class="txt" href="#E3:21"><span class="lab"><font color="Green" title="E12">ASC</font></span></a></span>
<br/>.= 
<a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="power.html#T42" onmouseover="rs('power/T42')" onmouseout="rh()">POWER:42</a></span>
;<br/>
 <a href="ntalgo_2.html#K5" title="NTALGO_2:func.5">ALGO_BPOW</a> (<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,<font color="Maroon" title="c1">n</font>,<font color="Maroon" title="c2">m</font>) = 
 <a href="ntalgo_2.html#K4" title="NTALGO_2:func.4">BinBranch</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c4">B</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">fs</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">B</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">fs</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c3">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">fs</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="binari_6.html#K2" title="BINARI_6:func.2">Nat2BL</a> <a href="binari_6.html#K6" title="BINARI_6:func.6">.</a> <font color="Maroon" title="c1">n</font></span>)</span> <a href="ntalgo_2.html#K1" title="NTALGO_2:func.1">.</a> <span class="p2">(<span class="default"><font color="Maroon" title="c5">fs</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span></span>)</span>)
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:21"><span class="lab"><font color="Green" title="E12">ASC</font></span></a></span>
<br/>.= 
 <a href="ntalgo_2.html#K4" title="NTALGO_2:func.4">BinBranch</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c4">B</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">fs</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c4">B</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">fs</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">*</a> <span class="p3">(<span class="default"><font color="Maroon" title="c3">A</font> <a href="nat_1.html#K8" title="NAT_1:func.8">.</a> <font color="Maroon" title="c5">fs</font></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> <font color="Maroon" title="c2">m</font></span>)</span>,1)
<span class="kw">by</span> <span class="lab"><a class="ref" href="ntalgo_2.html#T8" target="_self" onmouseover="rs('ntalgo_2/T8')" onmouseout="rh()">MMS1</a>, <a class="txt" href="#E1:21"><span class="lab"><font color="Green" title="E11">AS</font></span></a></span>
<br/>.= 
 <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:21"><span class="lab"><font color="Green" title="E13">QW</font></span></a>, <a class="ref" href="ntalgo_2.html#D1" target="_self" onmouseover="rs('ntalgo_2/D1')" onmouseout="rh()">defBB</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E8:21"/>
 <a href="ntalgo_2.html#K5" title="NTALGO_2:func.5">ALGO_BPOW</a> (<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,<font color="Maroon" title="c1">n</font>,<font color="Maroon" title="c2">m</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</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"> verum</span><br/>


</div>
