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

<span class="kw">set </span><font color="Maroon" title="c5">rs</font> =  <a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c6">D</font> =  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span>;<br/>
<span class="kw">deffunc </span><font color="Maroon">H<sub>1</sub></font>(   <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span>) <span class="kw">-&gt; </span>  <a href="subset_1.html#NM2" title="SUBSET_1:NM.2">Subset</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="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p2">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span></span>)</span> =  <a href="msualg_4.html#K3" title="MSUALG_4:func.3">Class</a> (<font color="Maroon" title="c4">R</font>,$1);<br/>
<span class="kw">consider </span><font color="Maroon" title="c7">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:21_1_1"/><span class="lab"><font color="Green" title="E8">A1</font></span>: 
(  <a href="relat_1.html#NK2" title="RELAT_1:NK.2">dom</a> <font color="Maroon" title="c7">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span> &amp; (  for <font color="Olive" title="b1">d</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span> holds  <font color="Maroon" title="c7">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" title="FUNCT_1:sch.4">FUNCT_1:sch 4</a>();<br/></span>
<a NAME="E3:21_1_1"/><span class="lab"><font color="Green" title="E9">A2</font></span>: 
 for <font color="Olive" title="b1">x</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">set</a>   st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span> holds <br/><font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <span class="p1">(<span class="default"><a href="msualg_4.html#K4" title="MSUALG_4:func.4">Class</a> <font color="Maroon" title="c4">R</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span>
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="21_1_1_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c8">x</font> be    <a href="hidden.html#M1" title="HIDDEN:mode.1">set</a> ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c8">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span> implies <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <span class="p1">(<span class="default"><a href="msualg_4.html#K4" title="MSUALG_4:func.4">Class</a> <font color="Maroon" title="c4">R</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span> )</span><br/>

<span class="kw">assume </span><a NAME="E1:21_1_1_1"/>
<font color="Maroon" title="c8">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <span class="p1">(<span class="default"><a href="msualg_4.html#K4" title="MSUALG_4:func.4">Class</a> <font color="Maroon" title="c4">R</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span></span><br/>

<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c9">x1</font> = <font color="Maroon" title="c8">x</font> as    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span> ;<br/>
<a NAME="E3:21_1_1_1"/>
<font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="msualg_4.html#K3" title="MSUALG_4:func.3">Class</a> (<font color="Maroon" title="c4">R</font>,<font color="Maroon" title="c9">x1</font>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:21_1_1"><span class="lab"><font color="Green" title="E8">A1</font></span></a></span>;<br/>
<a NAME="E4:21_1_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">x1</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="eqrel_1.html#K8" title="EQREL_1:func.8">Class</a> <span class="p1">(<span class="default"><font color="Maroon" title="c4">R</font> <a href="msualg_4.html#K2" title="MSUALG_4:func.2">.</a> <span class="p2">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="eqrel_1.html#D3" title="EQREL_1:def.3">EQREL_1:def 3</a></span>;<br/>
<span class="kw">hence </span><a NAME="E5:21_1_1_1"/>
<font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c8">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <span class="p1">(<span class="default"><a href="msualg_4.html#K4" title="MSUALG_4:func.4">Class</a> <font color="Maroon" title="c4">R</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="msualg_4.html#D6" target="_self" title="MSUALG_4:def.6">Def8</a></span>; <a class="txt" 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:21_1_1"/>
<font color="Maroon" title="c2">o</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c1">S</font>
 
;<br/>
<a NAME="E5:21_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">o</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</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="c3">A</font> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a>  the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <font color="Maroon" title="c1">S</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="partfun1.html#D2" title="PARTFUN1:def.2">PARTFUN1:def 2</a></span>;<br/>
<span class="kw">then </span><span class="lab"><font color="Green" title="E10">A3</font></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="c3">A</font> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a>  the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <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="c2">o</font> = 
 the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"> the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <font color="Maroon" title="c1">S</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c2">o</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_1.html#T12" title="FUNCT_1:th.12">FUNCT_1:12</a></span>
<br/>.= 
 the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="msualg_1.html#D2" title="MSUALG_1:def.2">MSUALG_1:def 2</a></span>
;<br/>
<a NAME="E7:21_1_1"/><span class="lab"><font color="Green" title="E11">A4</font></span>: 
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a>  the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <font color="Maroon" title="c1">S</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c1">S</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_2.html#D1" title="FUNCT_2:def.1">FUNCT_2:def 1</a></span>;<br/>
<a NAME="E8:21_1_1"/><span class="kw">then </span>
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="msualg_4.html#K4" title="MSUALG_4:func.4">Class</a> <font color="Maroon" title="c4">R</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a>  the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a>  the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <font color="Maroon" title="c1">S</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="partfun1.html#D2" title="PARTFUN1:def.2">PARTFUN1:def 2</a></span>;<br/>
<span class="kw">then </span><span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="msualg_4.html#K4" title="MSUALG_4:func.4">Class</a> <font color="Maroon" title="c4">R</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a>  the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <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="c2">o</font> = 
<span class="p1">(<span class="default"><a href="msualg_4.html#K4" title="MSUALG_4:func.4">Class</a> <font color="Maroon" title="c4">R</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"> the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <font color="Maroon" title="c1">S</font> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c2">o</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:21_1_1"><span class="lab"><font color="Green" title="E11">A4</font></span></a>, <a class="ref" href="funct_1.html#T12" title="FUNCT_1:th.12">FUNCT_1:12</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="msualg_4.html#K4" title="MSUALG_4:func.4">Class</a> <font color="Maroon" title="c4">R</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="msualg_1.html#D2" title="MSUALG_1:def.2">MSUALG_1:def 2</a></span>
;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c8">f</font> = <font color="Maroon" title="c7">f</font> as   <a href="funct_2.html#NM1" title="FUNCT_2:NM.1">Function</a> of <span class="p1">(<span class="default"><span class="p2">(<span class="default"> the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a>  the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <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="c2">o</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="msualg_4.html#K4" title="MSUALG_4:func.4">Class</a> <font color="Maroon" title="c4">R</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a>  the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <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="c2">o</font></span>)</span> <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:21_1_1"><span class="lab"><font color="Green" title="E8">A1</font></span></a>, <a class="txt" href="#E6:21_1_1"><span class="lab"><font color="Green" title="E10">A3</font></span></a>, <a class="txt" href="#E3:21_1_1"><span class="lab"><font color="Green" title="E9">A2</font></span></a>, <a class="ref" href="funct_2.html#T3" title="FUNCT_2:th.3">FUNCT_2:3</a></span>;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c8">f</font>
; <a class="txt" 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="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span> holds  <font color="Maroon" title="c8">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="msualg_4.html#K3" title="MSUALG_4:func.3">Class</a> (<font color="Maroon" title="c4">R</font>,<font color="Olive" title="b1">x</font>)</span><br/>

<span class="kw">thus </span><a NAME="E11:21_1_1"/>
 for <font color="Olive" title="b1">x</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  the <a href="msualg_1.html#U3" title="MSUALG_1:sel.3">Sorts</a> of <font color="Maroon" title="c3">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c2">o</font></span>)</span> holds  <font color="Maroon" title="c8">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="msualg_4.html#K3" title="MSUALG_4:func.3">Class</a> (<font color="Maroon" title="c4">R</font>,<font color="Olive" title="b1">x</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:21_1_1"><span class="lab"><font color="Green" title="E8">A1</font></span></a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
