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

<span class="kw">let </span><font color="Maroon" title="c1">h</font>, <font color="Maroon" title="c2">i</font> be   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</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>  st <font color="Maroon" title="c1">h</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default">2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <span class="p2">(<span class="default"><font color="Olive" title="b1">n</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 &amp; <font color="Maroon" title="c1">h</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c2">i</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  holds <br/> <a href="binari_2.html#K3" title="BINARI_2:func.3">Intval</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Olive" title="b1">n</font>,<font color="Maroon" title="c1">h</font>)</span>)</span> <a href="binarith.html#K7" title="BINARITH:func.7">+</a> <span class="p2">(<span class="default"><a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Olive" title="b1">n</font>,<font color="Maroon" title="c2">i</font>)</span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">h</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">i</font></span><br/><span class="kw">let </span><font color="Maroon" title="c3">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"> ( <font color="Maroon" title="c1">h</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default">2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">n</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 &amp; <font color="Maroon" title="c1">h</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c2">i</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies  <a href="binari_2.html#K3" title="BINARI_2:func.3">Intval</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c1">h</font>)</span>)</span> <a href="binarith.html#K7" title="BINARITH:func.7">+</a> <span class="p2">(<span class="default"><a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c2">i</font>)</span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">h</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">i</font> )</span><br/>





<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:41"/><span class="lab"><font color="Green" title="E28">A1</font></span>: 
<font color="Maroon" title="c1">h</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <span class="p1">(<span class="default">2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">n</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1
 <span class="kw">and </span><br/><a NAME="E2:41"/><span class="lab"><font color="Green" title="E29">A2</font></span>: 
( <font color="Maroon" title="c1">h</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Maroon" title="c2">i</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</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">  <a href="binari_2.html#K3" title="BINARI_2:func.3">Intval</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c1">h</font>)</span>)</span> <a href="binarith.html#K7" title="BINARITH:func.7">+</a> <span class="p2">(<span class="default"><a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c2">i</font>)</span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">h</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">i</font></span><br/>

<span class="kw">reconsider </span><font color="Maroon" title="c4">h</font> = <font color="Maroon" title="c1">h</font>, <font color="Maroon" title="c5">i</font> = <font color="Maroon" title="c2">i</font> as    <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>  <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:41"><span class="lab"><font color="Green" title="E29">A2</font></span></a>, <a class="ref" href="int_1.html#T3" onmouseover="rs('int_1/T3')" onmouseout="rh()">INT_1:3</a></span>;<br/>
<span class="lab"><font color="Green" title="E30">A3</font></span>:  <a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c5">i</font>) = 
<font color="Maroon" title="c3">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c5">i</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span>
<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/>.= 
<font color="Maroon" title="c3">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c5">i</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 href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c4">h</font>) = 
<font color="Maroon" title="c3">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><font color="Maroon" title="c4">h</font></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span>
<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/>.= 
<font color="Maroon" title="c3">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <font color="Maroon" title="c4">h</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/>
<span class="kw">hence </span><a NAME="E6:41"/>
 <a href="binari_2.html#K3" title="BINARI_2:func.3">Intval</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c1">h</font>)</span>)</span> <a href="binarith.html#K7" title="BINARITH:func.7">+</a> <span class="p2">(<span class="default"><a href="binari_4.html#K2" title="BINARI_4:func.2">2sComplement</a> (<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c2">i</font>)</span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">h</font> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <font color="Maroon" title="c2">i</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:41"><span class="lab"><font color="Green" title="E28">A1</font></span></a>, <a class="txt" href="#E4:41"><span class="lab"><font color="Green" title="E30">A3</font></span></a>, <a class="ref" href="binari_4.html#T14" target="_self" onmouseover="rs('binari_4/T14')" onmouseout="rh()">Th14</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>
