<?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">x</font> being    <a href="dist_2.html#M3" title="DIST_2:mode.3">sample</a> of <font color="Olive" title="b1">D</font> holds   <a href="dist_2.html#K9" title="DIST_2:func.9">Prob</a> <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="dist_2.html#K2" title="DIST_2:func.2">ProbFinS_of</a> <font color="Olive" title="b1">D</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="dist_2.html#K1" title="DIST_2:func.1">index</a> <font color="Olive" title="b2">x</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">x</font> being    <a href="dist_2.html#M3" title="DIST_2:mode.3">sample</a> of <font color="Maroon" title="c2">D</font> holds   <a href="dist_2.html#K9" title="DIST_2:func.9">Prob</a> <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="dist_2.html#K2" title="DIST_2:func.2">ProbFinS_of</a> <font color="Maroon" title="c2">D</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="dist_2.html#K1" title="DIST_2:func.1">index</a> <font color="Olive" title="b1">x</font></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c3">x</font> be    <a href="dist_2.html#M3" title="DIST_2:mode.3">sample</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">  <a href="dist_2.html#K9" title="DIST_2:func.9">Prob</a> <font color="Maroon" title="c3">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="dist_2.html#K2" title="DIST_2:func.2">ProbFinS_of</a> <font color="Maroon" title="c2">D</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="dist_2.html#K1" title="DIST_2:func.1">index</a> <font color="Maroon" title="c3">x</font></span>)</span></span><br/>





<span class="kw">reconsider </span><font color="Maroon" title="c4">f</font> =  <a href="funct_3.html#K5" title="FUNCT_3:func.5">chi</a> (<span class="p1"><a href="domain_1.html#K6" title="DOMAIN_1:func.6">{</a><span class="default"><font color="Maroon" title="c3">x</font></span><a href="domain_1.html#K6" title="DOMAIN_1:func.6">}</a></span>,<font color="Maroon" title="c1">S</font>) as    <a href="funct_2.html#M2" title="FUNCT_2:mode.2">Element</a> of  <a href="funct_2.html#K9" title="FUNCT_2:func.9">Funcs</a> (<font color="Maroon" title="c1">S</font>,<a href="margrel1.html#K5" title="MARGREL1:func.5">BOOLEAN</a>) <span class="kw">by</span> <span class="lab"><a class="ref" href="funct_2.html#T8" onmouseover="rs('funct_2/T8')" onmouseout="rh()">FUNCT_2:8</a>, <a class="ref" href="margrel1.html#D11" onmouseover="rs('margrel1/D11')" onmouseout="rh()">MARGREL1:def 11</a></span>;<br/>
<span class="kw">set </span><font color="Maroon" title="c5">s</font> =  the    <a href="dist_2.html#M1" title="DIST_2:mode.1">Element</a> of <font color="Maroon" title="c2">D</font>;<br/>
<a NAME="E2:54"/><span class="lab"><font color="Green" title="E34">A1</font></span>: 
 for <font color="Olive" title="b1">a</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>   st <font color="Olive" title="b1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">x</font> holds <br/><font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a> 
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="54_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c6">a</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"> ( <font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">x</font> implies <font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>  )</span><br/>

<span class="kw">assume </span><a NAME="E1:54_1"/>
<font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">x</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="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a> </span><br/>

<a NAME="E2:54_1"/><span class="kw">then </span>
<font color="Maroon" title="c6">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <span class="p1"><a href="domain_1.html#K6" title="DOMAIN_1:func.6">{</a><span class="default"><font color="Maroon" title="c3">x</font></span><a href="domain_1.html#K6" title="DOMAIN_1:func.6">}</a></span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="tarski.html#D1" onmouseover="rs('tarski/D1')" onmouseout="rh()">TARSKI:def 1</a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:54_1"/>
<font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="funct_3.html#D3" onmouseover="rs('funct_3/D3')" onmouseout="rh()">FUNCT_3:def 3</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>
<a NAME="E3:54"/>
 for <font color="Olive" title="b1">a</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>   st <font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>  holds <br/><font color="Olive" title="b1">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">x</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="54_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c6">a</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"> ( <font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</a>  implies <font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">x</font> )</span><br/>

<span class="kw">assume </span><a NAME="E1:54_2"/>
<font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="margrel1.html#K7" title="MARGREL1:func.7">TRUE</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="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">x</font></span><br/>

<a NAME="E2:54_2"/><span class="kw">then </span>
<font color="Maroon" title="c6">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <span class="p1"><a href="domain_1.html#K6" title="DOMAIN_1:func.6">{</a><span class="default"><font color="Maroon" title="c3">x</font></span><a href="domain_1.html#K6" title="DOMAIN_1:func.6">}</a></span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_3.html#T36" onmouseover="rs('funct_3/T36')" onmouseout="rh()">FUNCT_3:36</a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:54_2"/>
<font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">x</font>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="tarski.html#D1" onmouseover="rs('tarski/D1')" onmouseout="rh()">TARSKI:def 1</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>
<a NAME="E4:54"/><span class="kw">then </span><span class="lab"><font color="Green" title="E35">A2</font></span>: 
 <a href="dist_2.html#K4" title="DIST_2:func.4">Prob</a> (<font color="Maroon" title="c4">f</font>, the    <a href="dist_2.html#M1" title="DIST_2:mode.1">Element</a> of <font color="Maroon" title="c2">D</font>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K3" title="DIST_1:func.3">FDprobability</a> (<font color="Maroon" title="c3">x</font>, the    <a href="dist_2.html#M1" title="DIST_2:mode.1">Element</a> of <font color="Maroon" title="c2">D</font>)
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="dist_2.html#T10" target="_self" onmouseover="rs('dist_2/T10')" onmouseout="rh()">Th10</a>, <a class="txt" href="#E2:54"><span class="lab"><font color="Green" title="E34">A1</font></span></a></span>;<br/>
<a NAME="E5:54"/><span class="lab"><font color="Green" title="E36">A3</font></span>: 
 <a href="dist_2.html#K9" title="DIST_2:func.9">Prob</a> <font color="Maroon" title="c3">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K3" title="DIST_1:func.3">FDprobability</a> (<font color="Maroon" title="c3">x</font>, the    <a href="dist_2.html#M1" title="DIST_2:mode.1">Element</a> of <font color="Maroon" title="c2">D</font>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:54"><span class="lab"><font color="Green" title="E35">A2</font></span></a>, <a class="ref" href="dist_2.html#D6" target="_self" onmouseover="rs('dist_2/D6')" onmouseout="rh()">Def6</a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c6">t</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Maroon" title="c1">S</font><span class="kw"> such that </span><br/><a NAME="E7:54"/><span class="lab"><font color="Green" title="E37">A4</font></span>: 
( <font color="Maroon" title="c6">t</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c2">D</font> &amp; <span class="p1">(<span class="default"><a href="dist_1.html#K7" title="DIST_1:func.7">GenProbSEQ</a> <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c2">D</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K4" title="DIST_1:func.4">FDprobSEQ</a> <font color="Maroon" title="c6">t</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="dist_1.html#D7" onmouseover="rs('dist_1/D7')" onmouseout="rh()">DIST_1:def 7</a></span>;<br/>
<a NAME="E8:54"/><span class="lab"><font color="Green" title="E38">A5</font></span>: 
<span class="p1">(<span class="default"><a href="dist_1.html#K7" title="DIST_1:func.7">GenProbSEQ</a> <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c2">D</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="dist_1.html#K4" title="DIST_1:func.4">FDprobSEQ</a>  the    <a href="dist_2.html#M1" title="DIST_2:mode.1">Element</a> of <font color="Maroon" title="c2">D</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:54"><span class="lab"><font color="Green" title="E37">A4</font></span></a>, <a class="ref" href="dist_1.html#T10" onmouseover="rs('dist_1/T10')" onmouseout="rh()">DIST_1:10</a>, <a class="ref" href="dist_2.html#T4" target="_self" onmouseover="rs('dist_2/T4')" onmouseout="rh()">Th4</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c7">n</font> = <font color="Maroon" title="c3">x</font> <a href="finseq_4.html#K4" title="FINSEQ_4:func.4">..</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> as   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> ;<br/>
<a NAME="E10:54"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</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>  <a href="card_1.html#K4" title="CARD_1:func.4">card</a> <font color="Maroon" title="c1">S</font>
 
<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="E11:54"/><span class="kw">then </span><span class="lab"><font color="Green" title="E39">A6</font></span>: 
 <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> <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#D3" onmouseover="rs('finseq_1/D3')" onmouseout="rh()">FINSEQ_1:def 3</a></span>;<br/>
<a NAME="E12:54"/><span class="lab"><font color="Green" title="E40">A7</font></span>: 
<font color="Maroon" title="c3">x</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <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>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="dist_2.html#T3" target="_self" onmouseover="rs('dist_2/T3')" onmouseout="rh()">Th3</a></span>;<br/>
<a NAME="E13:54"/><span class="kw">then </span>
<font color="Maroon" title="c7">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="ref" href="finseq_4.html#T20" onmouseover="rs('finseq_4/T20')" onmouseout="rh()">FINSEQ_4:20</a></span>;<br/>
<a NAME="E14:54"/><span class="kw">then </span><span class="lab"><font color="Green" title="E41">A8</font></span>: 
<font color="Maroon" title="c7">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>  the    <a href="dist_2.html#M1" title="DIST_2:mode.1">Element</a> of <font color="Maroon" title="c2">D</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E11:54"><span class="lab"><font color="Green" title="E39">A6</font></span></a>, <a class="ref" href="dist_1.html#D3" onmouseover="rs('dist_1/D3')" onmouseout="rh()">DIST_1:def 3</a></span>;<br/>
<a NAME="E15:54"/>
<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="c7">n</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">x</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E12:54"><span class="lab"><font color="Green" title="E40">A7</font></span></a>, <a class="ref" href="finseq_4.html#T19" onmouseover="rs('finseq_4/T19')" onmouseout="rh()">FINSEQ_4:19</a></span>;<br/>
<span class="kw">hence </span><a NAME="E16:54"/>
 <a href="dist_2.html#K9" title="DIST_2:func.9">Prob</a> <font color="Maroon" title="c3">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="dist_2.html#K2" title="DIST_2:func.2">ProbFinS_of</a> <font color="Maroon" title="c2">D</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="dist_2.html#K1" title="DIST_2:func.1">index</a> <font color="Maroon" title="c3">x</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:54"><span class="lab"><font color="Green" title="E36">A3</font></span></a>, <a class="txt" href="#E8:54"><span class="lab"><font color="Green" title="E38">A5</font></span></a>, <a class="txt" href="#E14:54"><span class="lab"><font color="Green" title="E41">A8</font></span></a>, <a class="ref" href="dist_1.html#D3" onmouseover="rs('dist_1/D3')" onmouseout="rh()">DIST_1:def 3</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>
