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

<span class="kw">let </span><font color="Maroon" title="c1">S</font> be   <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    <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">x</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  holds   <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Olive" title="b2">x</font>,<font color="Olive" title="b1">s</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="Olive" title="b1">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="Olive" title="b2">x</font>,<font color="Olive" title="b1">s</font>)</span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c2">s</font> be    <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">x</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  holds   <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>) <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="Olive" title="b1">x</font>,<font color="Maroon" title="c2">s</font>)</span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c3">x</font> be    <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">  <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c2">s</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="c3">x</font>,<font color="Maroon" title="c2">s</font>)</span>)</span></span><br/>





<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="9_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:9_1"/>
(  not <font color="Maroon" title="c2">s</font> is  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>  or <font color="Maroon" title="c2">s</font> is  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="9_1_1"><span class="kw">suppose </span></a><a NAME="E1:9_1_1"/>
 not <font color="Maroon" title="c2">s</font> is  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</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="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c2">s</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="c3">x</font>,<font color="Maroon" title="c2">s</font>)</span>)</span></span><br/><div class="add"><span class="kw">hence </span><a NAME="E2:9_1_1"/>
 <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c2">s</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="c3">x</font>,<font color="Maroon" title="c2">s</font>)</span>)</span>
 <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>; <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="9_1_2"><span class="kw">suppose </span></a><a NAME="E1:9_1_2"/>
<font color="Maroon" title="c2">s</font> is  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</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="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c2">s</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="c3">x</font>,<font color="Maroon" title="c2">s</font>)</span>)</span></span><br/><div class="add"><a NAME="E2:9_1_2"/><span class="kw">then </span>
 <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c2">s</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 ;<br/><span class="kw">hence </span><a NAME="E3:9_1_2"/>
 <a href="dist_1.html#K2" title="DIST_1:func.2">frequency</a> (<font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c2">s</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="c3">x</font>,<font color="Maroon" title="c2">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"> verum</span><br/></div><span class="kw">end;</span></div></div><span class="kw">end;</span></div>

</div>
