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

<span class="kw">let </span><font color="Maroon" title="c1">S</font> be   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>   <a href="hidden.html#M2" title="HIDDEN:mode.2">set</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">s</font> being   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>   <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Maroon" title="c1">S</font><br/>  for <font color="Olive" title="b2">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">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/> ex <font color="Olive" title="b3">x</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c1">S</font> st <br/>( <span class="p1">(<span class="default"><a href="dist_1.html#K9" title="DIST_1:func.9">freqSEQ</a> <font color="Olive" title="b1">s</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Olive" title="b3">x</font>,<font color="Olive" title="b1">s</font>) &amp; <font color="Olive" title="b3">x</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="Olive" title="b2">n</font> )</span><br/><span class="kw">let </span><font color="Maroon" title="c2">s</font> be   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>   <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Maroon" title="c1">S</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">  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/> ex <font color="Olive" title="b2">x</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c1">S</font> st <br/>( <span class="p1">(<span class="default"><a href="dist_1.html#K9" title="DIST_1:func.9">freqSEQ</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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Olive" title="b2">x</font>,<font color="Maroon" title="c2">s</font>) &amp; <font color="Olive" title="b2">x</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="Olive" title="b1">n</font> )</span><br/><span class="kw">let </span><font color="Maroon" title="c3">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="c3">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> implies  ex <font color="Olive" title="b1">x</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c1">S</font> st <br/>( <span class="p1">(<span class="default"><a href="dist_1.html#K9" title="DIST_1:func.9">freqSEQ</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">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Olive" title="b1">x</font>,<font color="Maroon" title="c2">s</font>) &amp; <font color="Olive" title="b1">x</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">n</font> ) )</span><br/>





<span class="kw">set </span><font color="Maroon" title="c4">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">n</font></span>)</span>;<br/>
<a NAME="E1:26"/><span class="lab"><font color="Green" title="E13">A1</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">assume </span><a NAME="E2:26"/><span class="lab"><font color="Green" title="E14">A2</font></span>: 
<font color="Maroon" title="c3">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>
 ; <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 <font color="Maroon" title="c1">S</font> st <br/>( <span class="p1">(<span class="default"><a href="dist_1.html#K9" title="DIST_1:func.9">freqSEQ</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">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Olive" title="b1">x</font>,<font color="Maroon" title="c2">s</font>) &amp; <font color="Olive" title="b1">x</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">n</font> )</span><br/>

<a NAME="E3:26"/><span class="kw">then </span><span class="lab"><font color="Green" title="E15">A3</font></span>: 
<font color="Maroon" title="c3">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> <span class="p1">(<span class="default"><a href="dist_1.html#K9" title="DIST_1:func.9">freqSEQ</a> <font color="Maroon" title="c2">s</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="dist_1.html#D9" target="_self" onmouseover="rs('dist_1/D9')" onmouseout="rh()">Def9</a></span>;<br/>
<a NAME="E4:26"/>
 <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="E5:26"/><span class="kw">then </span>
<font color="Maroon" title="c3">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> <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:26"><span class="lab"><font color="Green" title="E14">A2</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="E6:26"/><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">n</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:26"><span class="lab"><font color="Green" title="E13">A1</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="c5">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="E8:26"/><span class="lab"><font color="Green" title="E16">A4</font></span>: 
<font color="Maroon" title="c5">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">n</font>
 ;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c5">a</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"><a href="dist_1.html#K9" title="DIST_1:func.9">freqSEQ</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">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c2">s</font>) &amp; <font color="Maroon" title="c5">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">n</font> )</span><br/>

<a NAME="E9:26"/>
<font color="Maroon" title="c3">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> <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:26"><span class="lab"><font color="Green" title="E14">A2</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:26"/><span class="kw">then </span>
<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">n</font></span>)</span> <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="c5">a</font>,<font color="Maroon" title="c2">s</font>)</span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:26"><span class="lab"><font color="Green" title="E16">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:26"/><span class="kw">then </span>
<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">n</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c2">s</font>)
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="xcmplx_1.html#T87" onmouseover="rs('xcmplx_1/T87')" onmouseout="rh()">XCMPLX_1:87</a></span>;<br/>
<span class="kw">hence </span><a NAME="E12:26"/>
( <span class="p1">(<span class="default"><a href="dist_1.html#K9" title="DIST_1:func.9">freqSEQ</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">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c2">s</font>) &amp; <font color="Maroon" title="c5">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">n</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:26"><span class="lab"><font color="Green" title="E15">A3</font></span></a>, <a class="txt" href="#E8:26"><span class="lab"><font color="Green" title="E16">A4</font></span></a>, <a class="ref" href="dist_1.html#D9" target="_self" onmouseover="rs('dist_1/D9')" onmouseout="rh()">Def9</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>
