<?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">D</font> being   <a href="dist_2.html#NM2" title="DIST_2:NM.2">EqSampleSpaces</a> of <font color="Maroon" title="c1">S</font><br/>  for <font color="Olive" title="b2">s</font> being    <a href="dist_2.html#M1" title="DIST_2:mode.1">Element</a> of <font color="Olive" title="b1">D</font><br/>  for <font color="Olive" title="b3">f</font> being   <a href="funct_2.html#NM1" title="FUNCT_2:NM.1">Function</a> of <font color="Maroon" title="c1">S</font>,<a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a> holds   <a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<span class="p1">(<span class="default"><a href="bvfunc_1.html#K1" title="BVFUNC_1:func.1">'not'</a> <font color="Olive" title="b3">f</font></span>)</span>,<font color="Olive" title="b2">s</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<font color="Olive" title="b3">f</font>,<font color="Olive" title="b2">s</font>)</span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c2">D</font> be   <a href="dist_2.html#NM2" title="DIST_2:NM.2">EqSampleSpaces</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">s</font> being    <a href="dist_2.html#M1" title="DIST_2:mode.1">Element</a> of <font color="Maroon" title="c2">D</font><br/>  for <font color="Olive" title="b2">f</font> being   <a href="funct_2.html#NM1" title="FUNCT_2:NM.1">Function</a> of <font color="Maroon" title="c1">S</font>,<a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a> holds   <a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<span class="p1">(<span class="default"><a href="bvfunc_1.html#K1" title="BVFUNC_1:func.1">'not'</a> <font color="Olive" title="b2">f</font></span>)</span>,<font color="Olive" title="b1">s</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<font color="Olive" title="b2">f</font>,<font color="Olive" title="b1">s</font>)</span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c3">s</font> be    <a href="dist_2.html#M1" title="DIST_2:mode.1">Element</a> of <font color="Maroon" title="c2">D</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">f</font> being   <a href="funct_2.html#NM1" title="FUNCT_2:NM.1">Function</a> of <font color="Maroon" title="c1">S</font>,<a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a> holds   <a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<span class="p1">(<span class="default"><a href="bvfunc_1.html#K1" title="BVFUNC_1:func.1">'not'</a> <font color="Olive" title="b1">f</font></span>)</span>,<font color="Maroon" title="c3">s</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<font color="Olive" title="b1">f</font>,<font color="Maroon" title="c3">s</font>)</span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c4">f</font> be   <a href="funct_2.html#NM1" title="FUNCT_2:NM.1">Function</a> of <font color="Maroon" title="c1">S</font>,<a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</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_2.html#K4" title="DIST_2:func.4">Prob</a> (<span class="p1">(<span class="default"><a href="bvfunc_1.html#K1" title="BVFUNC_1:func.1">'not'</a> <font color="Maroon" title="c4">f</font></span>)</span>,<font color="Maroon" title="c3">s</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<font color="Maroon" title="c4">f</font>,<font color="Maroon" title="c3">s</font>)</span>)</span></span><br/>







<a NAME="E1:42"/><span class="lab"><font color="Green" title="E27">A1</font></span>: 
<font color="Maroon" title="c3">s</font> is    <a href="finseq_2.html#M2" title="FINSEQ_2:mode.2">Element</a> of <font color="Maroon" title="c1">S</font> <a href="finseq_2.html#K3" title="FINSEQ_2:func.3">*</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">reconsider </span><font color="Maroon" title="c5">s0</font> =  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c3">s</font> as   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>   <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  ;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c6">CfS</font> =  <a href="relat_1.html#K10" title="RELAT_1:func.10">Coim</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c4">f</font> <a href="partfun1.html#K1" title="PARTFUN1:func.1">*</a> <font color="Maroon" title="c3">s</font></span>)</span>,<a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>) as   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>   <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  ;<br/>
<a NAME="E4:42"/>
 <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">s</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">s</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T57" onmouseover="rs('finseq_1/T57')" onmouseout="rh()">FINSEQ_1:57</a></span>;<br/>
<a NAME="E5:42"/><span class="kw">then </span><span class="lab"><font color="Green" title="E28">A2</font></span>: 
 <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c5">s0</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">s</font>
 
<span class="kw">by</span> <span class="lab"><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:42"/><span class="lab"><font color="Green" title="E29">A3</font></span>: 
 <a href="relat_1.html#K10" title="RELAT_1:func.10">Coim</a> (<span class="p1">(<span class="default"><font color="Maroon" title="c4">f</font> <a href="partfun1.html#K1" title="PARTFUN1:func.1">*</a> <font color="Maroon" title="c3">s</font></span>)</span>,<a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>) <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="setfam_1.html#K9" title="SETFAM_1:func.9">bool</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c3">s</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:42"><span class="lab"><font color="Green" title="E27">A1</font></span></a>, <a class="ref" href="dist_2.html#T18" target="_self" onmouseover="rs('dist_2/T18')" onmouseout="rh()">Th18</a></span>;<br/>
 <a href="dist_2.html#K3" title="DIST_2:func.3">trueEVENT</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="bvfunc_1.html#K1" title="BVFUNC_1:func.1">'not'</a> <font color="Maroon" title="c4">f</font></span>)</span> <a href="partfun1.html#K1" title="PARTFUN1:func.1">*</a> <font color="Maroon" title="c3">s</font></span>)</span> = 
 <a href="relat_1.html#K10" title="RELAT_1:func.10">Coim</a> (<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="bvfunc_1.html#K1" title="BVFUNC_1:func.1">'not'</a> <font color="Maroon" title="c4">f</font></span>)</span> <a href="partfun1.html#K1" title="PARTFUN1:func.1">*</a> <font color="Maroon" title="c3">s</font></span>)</span>,<a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>)

<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c3">s</font></span>)</span> <a href="subset_1.html#K7" title="SUBSET_1:func.7">\</a> <span class="p1">(<span class="default"><a href="relat_1.html#K10" title="RELAT_1:func.10">Coim</a> (<span class="p2">(<span class="default"><font color="Maroon" title="c4">f</font> <a href="partfun1.html#K1" title="PARTFUN1:func.1">*</a> <font color="Maroon" title="c3">s</font></span>)</span>,<a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>)</span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:42"><span class="lab"><font color="Green" title="E27">A1</font></span></a>, <a class="ref" href="dist_2.html#T23" target="_self" onmouseover="rs('dist_2/T23')" onmouseout="rh()">Th23</a></span>
;<br/>
<a NAME="E8:42"/><span class="kw">then </span><span class="lab"><font color="Green" title="E30">A4</font></span>: 
 <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <span class="p1">(<span class="default"><a href="dist_2.html#K3" title="DIST_2:func.3">trueEVENT</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="bvfunc_1.html#K1" title="BVFUNC_1:func.1">'not'</a> <font color="Maroon" title="c4">f</font></span>)</span> <a href="partfun1.html#K1" title="PARTFUN1:func.1">*</a> <font color="Maroon" title="c3">s</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c5">s0</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c6">CfS</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:42"><span class="lab"><font color="Green" title="E29">A3</font></span></a>, <a class="ref" href="card_2.html#T44" onmouseover="rs('card_2/T44')" onmouseout="rh()">CARD_2:44</a></span>;<br/>
<span class="kw">thus </span> <a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<span class="p1">(<span class="default"><a href="bvfunc_1.html#K1" title="BVFUNC_1:func.1">'not'</a> <font color="Maroon" title="c4">f</font></span>)</span>,<font color="Maroon" title="c3">s</font>) = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c5">s0</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">s</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c6">CfS</font></span>)</span> <a href="xcmplx_0.html#K7" title="XCMPLX_0:func.7">/</a> <span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c3">s</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:42"><span class="lab"><font color="Green" title="E30">A4</font></span></a>, <a class="ref" href="xcmplx_1.html#T120" onmouseover="rs('xcmplx_1/T120')" onmouseout="rh()">XCMPLX_1:120</a></span>
<br/>.= 
1 <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p1">(<span class="default"><a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<font color="Maroon" title="c4">f</font>,<font color="Maroon" title="c3">s</font>)</span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:42"><span class="lab"><font color="Green" title="E28">A2</font></span></a>, <a class="ref" href="xcmplx_1.html#T60" onmouseover="rs('xcmplx_1/T60')" onmouseout="rh()">XCMPLX_1:60</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>
