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

<span class="kw">deffunc </span><font color="Maroon">H<sub>1</sub></font>(  <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">S</font>) <span class="kw">-&gt; </span>   <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <a href="zfmisc_1.html#K1" title="ZFMISC_1:func.1">K10</a>(<a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">K11</a>(<span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c1">S</font></span>)</span>,<span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c1">S</font></span>)</span>)) =  <a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a> <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c1">S</font></span>)</span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c3">f</font> being   <a href="funct_1.html#NM1" title="FUNCT_1:NM.1">Function</a><span class="kw"> such that </span><br/><a NAME="E2:9_1_1"/><span class="lab"><font color="Green" title="E4">A1</font></span>: 
(  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c3">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font> &amp; (  for <font color="Olive" title="b1">d</font> being   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">S</font> holds  <font color="Maroon" title="c3">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon">H<sub>1</sub></font>(<font color="Olive" title="b1">d</font>) ) )
 <span class="kw">from</span> <span class="lab"><a class="ref" href="funct_1.html#S4" onmouseover="rs('funct_1/S4')" onmouseout="rh()">FUNCT_1:sch 4</a>();<br/></span>
<span class="kw">reconsider </span><font color="Maroon" title="c4">f</font> = <font color="Maroon" title="c3">f</font> as   <a href="pboole.html#NM1" title="PBOOLE:NM.1">ManySortedSet</a> of  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:9_1_1"><span class="lab"><font color="Green" title="E4">A1</font></span></a>, <a class="ref" href="partfun1.html#D2" onmouseover="rs('partfun1/D2')" onmouseout="rh()">PARTFUN1:def 2</a>, <a class="ref" href="relat_1.html#D18" onmouseover="rs('relat_1/D18')" onmouseout="rh()">RELAT_1:def 18</a></span>;<br/>
<a NAME="E4:9_1_1"/>
 for <font color="Olive" title="b1">i</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>   st <font color="Olive" title="b1">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</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">i</font> is   <a href="relset_1.html#NM1" title="RELSET_1:NM.1">Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font></span>)</span>,<span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font></span>)</span>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="9_1_1_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c5">i</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="c5">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</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="c5">i</font> is   <a href="relset_1.html#NM1" title="RELSET_1:NM.1">Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font></span>)</span>,<span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font></span>)</span> )</span><br/>

<span class="kw">assume </span><a NAME="E1:9_1_1_1"/>
<font color="Maroon" title="c5">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</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"> <font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font> is   <a href="relset_1.html#NM1" title="RELSET_1:NM.1">Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font></span>)</span>,<span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font></span>)</span></span><br/>

<a NAME="E2:9_1_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a> <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:9_1_1"><span class="lab"><font color="Green" title="E4">A1</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:9_1_1_1"/>
<font color="Maroon" title="c4">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font> is   <a href="relset_1.html#NM1" title="RELSET_1:NM.1">Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font></span>)</span>,<span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</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>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c5">f</font> = <font color="Maroon" title="c4">f</font> as    <a href="msualg_4.html#M1" title="MSUALG_4:mode.1">ManySortedRelation</a> of  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font>, the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <span class="kw">by</span> <span class="lab"><a class="ref" href="msualg_4.html#D1" target="_self" onmouseover="rs('msualg_4/D1')" onmouseout="rh()">Def1</a></span>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c6">f</font> = <font color="Maroon" title="c5">f</font> as   <a href="msualg_4.html#NM3" title="MSUALG_4:NM.3">ManySortedRelation</a> of <font color="Maroon" title="c2">U1</font> ;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c6">f</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="c6">f</font> is  <a href="msualg_4.html#V2" title="MSUALG_4:attr.2">MSEquivalence-like</a> </span><br/>

<a NAME="E7:9_1_1"/>
 for <font color="Olive" title="b1">i</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a> <br/>  for <font color="Olive" title="b2">R</font> being   <a href="relset_1.html#NM2" title="RELSET_1:NM.2">Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font></span>)</span>  st <font color="Olive" title="b1">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font> &amp; <font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">R</font> holds <br/><font color="Olive" title="b2">R</font> is   <a href="eqrel_1.html#NM2" title="EQREL_1:NM.2">Equivalence_Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font></span>)</span>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="9_1_1_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c7">i</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">  for <font color="Olive" title="b1">R</font> being   <a href="relset_1.html#NM2" title="RELSET_1:NM.2">Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font></span>)</span>  st <font color="Maroon" title="c7">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font> &amp; <font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">R</font> holds <br/><font color="Olive" title="b1">R</font> is   <a href="eqrel_1.html#NM2" title="EQREL_1:NM.2">Equivalence_Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c8">R</font> be   <a href="relset_1.html#NM2" title="RELSET_1:NM.2">Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</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"> ( <font color="Maroon" title="c7">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font> &amp; <font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">R</font> implies <font color="Maroon" title="c8">R</font> is   <a href="eqrel_1.html#NM2" title="EQREL_1:NM.2">Equivalence_Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font></span>)</span> )</span><br/>



<span class="kw">assume </span><a NAME="E1:9_1_1_2"/>
( <font color="Maroon" title="c7">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font> &amp; <font color="Maroon" title="c6">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">R</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="c8">R</font> is   <a href="eqrel_1.html#NM2" title="EQREL_1:NM.2">Equivalence_Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font></span>)</span></span><br/>

<a NAME="E2:9_1_1_2"/><span class="kw">then </span>
<font color="Maroon" title="c8">R</font> <a href="relset_1.html#R2" title="RELSET_1:pred.2">=</a>  <a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a> <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:9_1_1"><span class="lab"><font color="Green" title="E4">A1</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:9_1_1_2"/>
<font color="Maroon" title="c8">R</font> is   <a href="eqrel_1.html#NM2" title="EQREL_1:NM.2">Equivalence_Relation</a> of <span class="p1">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c2">U1</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">i</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>
<a NAME="E8:9_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c6">f</font> is  <a href="msualg_4.html#V1" title="MSUALG_4:attr.1">MSEquivalence_Relation-like</a> 
 
;<br/>
<span class="kw">hence </span><a NAME="E9:9_1_1"/>
<font color="Maroon" title="c6">f</font> is  <a href="msualg_4.html#V2" title="MSUALG_4:attr.2">MSEquivalence-like</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>
