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

<span class="kw">defpred </span><font color="Maroon">S<sub>1</sub></font>[  <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>,   <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a> ] <span class="kw">means </span>$2 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="dist_1.html#K4" title="DIST_1:func.4">FDprobSEQ</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> $1</span>)</span>;<br/>
<a NAME="E1:25_1_1"/><span class="lab"><font color="Green" title="E11">A1</font></span>: 
 for <font color="Olive" title="b1">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">k</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c1">S</font></span>)</span> holds <br/> ex <font color="Olive" title="b2">x</font> being    <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>  st <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">k</font>,<font color="Olive" title="b2">x</font>]
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="25_1_1_1"><span class="kw">proof </span></a><div class="add">

<a NAME="E1:25_1_1_1"/><span class="lab"><font color="Green" title="E12">A2</font></span>: 
 <a href="relset_1.html#K2" title="RELSET_1:func.2">rng</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K20" title="FINSEQ_1:func.20">canFS</a> <font color="Maroon" title="c1">S</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c1">S</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_2.html#D3" onmouseover="rs('funct_2/D3')" onmouseout="rh()">FUNCT_2:def 3</a></span>;<br/>
<span class="kw">let </span><font color="Maroon" title="c3">k</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">k</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c1">S</font></span>)</span> implies  ex <font color="Olive" title="b1">x</font> being    <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>  st <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">k</font>,<font color="Olive" title="b1">x</font>] )</span><br/>

<span class="kw">assume </span><a NAME="E2:25_1_1_1"/><span class="lab"><font color="Green" title="E13">A3</font></span>: 
<font color="Maroon" title="c3">k</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c1">S</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">  ex <font color="Olive" title="b1">x</font> being    <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>  st <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">k</font>,<font color="Olive" title="b1">x</font>]</span><br/>

<a NAME="E3:25_1_1_1"/>
 <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K20" title="FINSEQ_1:func.20">canFS</a> <font color="Maroon" title="c1">S</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c1">S</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T93" onmouseover="rs('finseq_1/T93')" onmouseout="rh()">FINSEQ_1:93</a></span>;<br/>
<a NAME="E4:25_1_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c3">k</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K20" title="FINSEQ_1:func.20">canFS</a> <font color="Maroon" title="c1">S</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:25_1_1_1"><span class="lab"><font color="Green" title="E13">A3</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/>
<a NAME="E5:25_1_1_1"/><span class="kw">then </span>
<span class="p1">(<span class="default"><a href="finseq_1.html#K20" title="FINSEQ_1:func.20">canFS</a> <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">k</font> is    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c1">S</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:25_1_1_1"><span class="lab"><font color="Green" title="E12">A2</font></span></a>, <a class="ref" href="funct_1.html#T3" onmouseover="rs('funct_1/T3')" onmouseout="rh()">FUNCT_1:3</a></span>;<br/>
<span class="kw">then </span><span class="kw">consider </span><font color="Maroon" title="c4">a</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c1">S</font><span class="kw"> such that </span><br/><a NAME="E7:25_1_1_1"/><span class="lab"><font color="Green" title="E14">A4</font></span>: 
<font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K20" title="FINSEQ_1:func.20">canFS</a> <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">k</font>
 ;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c5">y</font> = <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="dist_1.html#K4" title="DIST_1:func.4">FDprobSEQ</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">k</font></span>)</span> as   <a href="xreal_0.html#NM1" title="XREAL_0:NM.1">Real</a> ;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c5">y</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"> ( <font color="Maroon" title="c5">y</font> is    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  &amp; <font color="Maroon" title="c5">y</font> is    <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>  &amp; <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">k</font>,<font color="Maroon" title="c5">y</font>] )</span><br/>

<a NAME="E9:25_1_1_1"/>
<font color="Maroon" title="c3">k</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="dist_1.html#K4" title="DIST_1:func.4">FDprobSEQ</a> <font color="Maroon" title="c2">s</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:25_1_1_1"><span class="lab"><font color="Green" title="E13">A3</font></span></a>, <a class="ref" href="dist_1.html#D3" target="_self" onmouseover="rs('dist_1/D3')" onmouseout="rh()">Def3</a></span>;<br/>
<a NAME="E10:25_1_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E15">A5</font></span>: 
<font color="Maroon" title="c5">y</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><a href="dist_1.html#K3" title="DIST_1:func.3">FDprobability</a> (<font color="Maroon" title="c4">a</font>,<font color="Maroon" title="c2">s</font>)</span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:25_1_1_1"><span class="lab"><font color="Green" title="E14">A4</font></span></a>, <a class="ref" href="dist_1.html#D3" target="_self" onmouseover="rs('dist_1/D3')" onmouseout="rh()">Def3</a></span>;<br/>
<a NAME="E11:25_1_1_1"/>
<font color="Maroon" title="c5">y</font> is    <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> 
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="25_1_1_1_1"><span class="kw">proof </span></a><div class="add">

<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="25_1_1_1_1_1"><span class="kw">per </span></a><a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="kw">cases </span></a><span class="hide"><a NAME="E1:25_1_1_1_1_1"/>
( <font color="Maroon" title="c2">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  or <font color="Maroon" title="c2">s</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="25_1_1_1_1_1_1"><span class="kw">suppose </span></a><a NAME="E1:25_1_1_1_1_1_1"/>
<font color="Maroon" title="c2">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</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="c5">y</font> is    <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><br/><div class="add"><span class="kw">hence </span><a NAME="E2:25_1_1_1_1_1_1"/>
<font color="Maroon" title="c5">y</font> is    <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"> verum</span><br/></div><span class="kw">end;</span></div><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="25_1_1_1_1_1_2"><span class="kw">suppose </span></a><a NAME="E1:25_1_1_1_1_1_2"/>
<font color="Maroon" title="c2">s</font> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</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="c5">y</font> is    <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><br/><div class="add"><span class="kw">hence </span><a NAME="E2:25_1_1_1_1_1_2"/>
<font color="Maroon" title="c5">y</font> is    <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="#E10:25_1_1_1"><span class="lab"><font color="Green" title="E15">A5</font></span></a>, <a class="ref" href="xcmplx_1.html#T87" onmouseover="rs('xcmplx_1/T87')" onmouseout="rh()">XCMPLX_1:87</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><span class="kw">end;</span></div></div><span class="kw">end;</span></div>

</div><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E12:25_1_1_1"/>
( <font color="Maroon" title="c5">y</font> is    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  &amp; <font color="Maroon" title="c5">y</font> is    <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>  &amp; <font color="Maroon">S<sub>1</sub></font>[<font color="Maroon" title="c3">k</font>,<font color="Maroon" title="c5">y</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"> verum</span><br/>


</div><span class="kw">end;</span></div>
<span class="kw">consider </span><font color="Maroon" title="c3">g</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a> <span class="kw"> such that </span><br/><a NAME="E3:25_1_1"/><span class="lab"><font color="Green" title="E12">A6</font></span>: 
(  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c3">g</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c1">S</font></span>)</span> &amp; (  for <font color="Olive" title="b1">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c1">S</font></span>)</span> holds <br/><font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">n</font>,<font color="Maroon" title="c3">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">n</font>] ) )
 <span class="kw">from</span> <span class="lab"><a class="ref" href="finseq_1.html#S5" onmouseover="rs('finseq_1/S5')" onmouseout="rh()">FINSEQ_1:sch 5</a>(<a class="txt" href="#E1:25_1_1"><span class="lab"><font color="Green" title="E11">A1</font></span></a>);<br/></span>
<span class="kw">take </span>
<font color="Maroon" title="c3">g</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="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c3">g</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c1">S</font></span>)</span> &amp; (  for <font color="Olive" title="b1">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c3">g</font> holds <br/><font color="Maroon" title="c3">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="dist_1.html#K4" title="DIST_1:func.4">FDprobSEQ</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">n</font></span>)</span> ) )</span><br/>

<span class="kw">thus </span><a NAME="E4:25_1_1"/>
(  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c3">g</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c1">S</font></span>)</span> &amp; (  for <font color="Olive" title="b1">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c3">g</font> holds <br/><font color="Maroon" title="c3">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="xcmplx_0.html#K3" title="XCMPLX_0:func.3">*</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="dist_1.html#K4" title="DIST_1:func.4">FDprobSEQ</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">n</font></span>)</span> ) )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:25_1_1"><span class="lab"><font color="Green" title="E12">A6</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>
