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

<span class="kw">let </span><font color="Maroon" title="c1">n</font> be   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>  <a href="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>; <a class="txt" 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="nat_1.html#NM1" title="NAT_1:NM.1">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#K4" title="SERIES_1:func.4">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#K4" title="SERIES_1:func.4">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="nat_1.html#NM1" title="NAT_1:NM.1">Nat</a>; <a class="txt" 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#K4" title="SERIES_1:func.4">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#K4" title="SERIES_1:func.4">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:36"/><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#K4" title="SERIES_1:func.4">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#K4" title="SERIES_1:func.4">to_power</a> <font color="Maroon" title="c1">n</font></span>)</span>
 ; <a class="txt" 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:36"/>
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c3">m</font> <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" title="ABSVALUE:def.1">ABSVALUE:def 1</a></span>;<br/>
<a NAME="E3:36"/><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" title="BINARI_4:def.2">Def2</a></span>;<br/>
<a NAME="E4:36"/>
 <a href="int_2.html#K1" title="INT_2:func.1">abs</a> <font color="Maroon" title="c2">l</font> <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" title="ABSVALUE:def.1">ABSVALUE:def 1</a></span>;<br/>
<a NAME="E5:36"/><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" title="BINARI_4:def.2">Def2</a></span>;<br/>
<span class="kw">hence </span><a NAME="E6:36"/>
<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:36"><span class="lab"><font color="Green" title="E25">A1</font></span></a>, <a class="txt" href="#E3:36"><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" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
