<?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">l</font>, <font color="Olive" title="b2">m</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">l</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</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="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</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> holds <br/><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">l</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Olive" title="b2">m</font></span><br/><span class="kw">let </span><font color="Maroon" title="c2">l</font>, <font color="Maroon" title="c3">m</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="c2">l</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</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="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</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> implies <font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c2">l</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <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">m</font> )</span><br/>



<span class="kw">assume </span><a NAME="E1:35"/><span class="lab"><font color="Green" title="E25">A1</font></span>: 
<font color="Maroon" title="c2">l</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</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="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">m</font> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</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 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="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c2">l</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <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">m</font></span><br/>

<a NAME="E2:35"/>
<span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c3">m</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="absvalue.html#D1" onmouseover="rs('absvalue/D1')" onmouseout="rh()">ABSVALUE:def 1</a></span>;<br/>
<a NAME="E3:35"/><span class="kw">then </span><span class="lab"><font color="Green" title="E26">A2</font></span>: 
 <a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c1">n</font>,<font color="Maroon" title="c3">m</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <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">m</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="binari_4.html#D2" target="_self" onmouseover="rs('binari_4/D2')" onmouseout="rh()">Def2</a></span>;<br/>
<a NAME="E4:35"/>
<span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c2">l</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">l</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="absvalue.html#D1" onmouseover="rs('absvalue/D1')" onmouseout="rh()">ABSVALUE:def 1</a></span>;<br/>
<a NAME="E5:35"/><span class="kw">then </span>
 <a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c1">n</font>,<font color="Maroon" title="c2">l</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c2">l</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="binari_4.html#D2" target="_self" onmouseover="rs('binari_4/D2')" onmouseout="rh()">Def2</a></span>;<br/>
<span class="kw">hence </span><a NAME="E6:35"/>
<font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c2">l</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <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">m</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:35"><span class="lab"><font color="Green" title="E25">A1</font></span></a>, <a class="txt" href="#E3:35"><span class="lab"><font color="Green" title="E26">A2</font></span></a>, <a class="txt" href="binari_4.html#E34"><span class="lab"><font color="Green" title="E22">Lm5</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>
