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

<span class="kw">let </span><font color="Maroon" title="c1">n</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="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c1">n</font></span><br/>

<a NAME="E1:27"/>
 <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c1">n</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a> <a href="finseq_2.html#K3" title="FINSEQ_2:func.3">*</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="binari_3.html#T4" target="_self" onmouseover="rs('binari_3/T4')" onmouseout="rh()">Th4</a></span>;<br/>
<a NAME="E2:27"/><span class="kw">then </span>
 <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c1">n</font> 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="ref" href="finseq_1.html#D11" onmouseover="rs('finseq_1/D11')" onmouseout="rh()">FINSEQ_1:def 11</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c2">F</font> =  <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c1">n</font> as   <a href="finseq_2.html#NM3" title="FINSEQ_2:NM.3">Tuple</a> of <font color="Maroon" title="c1">n</font>, <a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a>  ;<br/>
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="27_1"><span class="kw">now </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">  for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <font color="Maroon" title="c1">n</font> holds <br/><span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">F</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font></span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c3">i</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="c3">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <font color="Maroon" title="c1">n</font> implies <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">F</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> )</span><br/><span class="kw">assume </span><a NAME="E1:27_1"/><span class="lab"><font color="Green" title="E20">A1</font></span>: 
<font color="Maroon" title="c3">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</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"> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">F</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font></span><br/><a NAME="E2:27_1"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">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="E3:27_1"/><span class="kw">then </span>
<font color="Maroon" title="c3">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:27_1"><span class="lab"><font color="Green" title="E20">A1</font></span></a>, <a class="ref" href="finseq_1.html#D3" onmouseover="rs('finseq_1/D3')" onmouseout="rh()">FINSEQ_1:def 3</a></span>;<br/><span class="kw">hence </span><span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> = 
<span class="p1">(<span class="default"><font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">i</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>
<br/>.= 
 <a href="funcop_1.html#K16" title="FUNCOP_1:func.16">IFEQ</a> (<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="nat_d.html#K3" title="NAT_D:func.3">div</a> <span class="p3">(<span class="default">2 <a href="series_1.html#K5" title="SERIES_1:func.5">to_power</a> <span class="p4">(<span class="default"><font color="Maroon" title="c3">i</font> <a href="nat_d.html#K7" title="NAT_D:func.7">-'</a> 1</span>)</span></span>)</span></span>)</span> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> 2</span>)</span>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,<a href="margrel1.html#K6" title="MARGREL1:func.6">FALSE</a>,<a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>)
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:27_1"><span class="lab"><font color="Green" title="E20">A1</font></span></a>, <a class="ref" href="binari_3.html#D1" target="_self" onmouseover="rs('binari_3/D1')" onmouseout="rh()">Def1</a></span>
<br/>.= 
 <a href="funcop_1.html#K16" title="FUNCOP_1:func.16">IFEQ</a> (<span class="p1">(<span class="default"><a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="nat_d.html#K4" title="NAT_D:func.4">mod</a> 2</span>)</span>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,<a href="margrel1.html#K6" title="MARGREL1:func.6">FALSE</a>,<a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>)

<br/>.= 
 <a href="funcop_1.html#K16" title="FUNCOP_1:func.16">IFEQ</a> (<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>,<a href="margrel1.html#K6" title="MARGREL1:func.6">FALSE</a>,<a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>)
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_d.html#T26" onmouseover="rs('nat_d/T26')" onmouseout="rh()">NAT_D:26</a></span>
<br/>.= 
 <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
<span class="kw">by</span> <span class="lab"><a class="ref" href="funcop_1.html#D8" onmouseover="rs('funcop_1/D8')" onmouseout="rh()">FUNCOP_1:def 8</a></span>
<br/>.= 
<font color="Maroon" title="c2">F</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:27_1"><span class="lab"><font color="Green" title="E20">A1</font></span></a>, <a class="ref" href="funcop_1.html#T7" onmouseover="rs('funcop_1/T7')" onmouseout="rh()">FUNCOP_1:7</a></span>
;<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><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E5:27"/>
<font color="Maroon" title="c1">n</font> <a href="binari_3.html#K1" title="BINARI_3:func.1">-BinarySequence</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="euclid.html#K5" title="EUCLID:func.5">0*</a> <font color="Maroon" title="c1">n</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_2.html#T119" onmouseover="rs('finseq_2/T119')" onmouseout="rh()">FINSEQ_2:119</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>
