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

<span class="kw">set </span><font color="Maroon" title="c4">I</font> = the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c5">R1</font> being   <a href="relat_1.html#NM1" title="RELAT_1:NM.1">Relation</a><span class="kw"> such that </span><br/><a NAME="E2:3_1_1"/><span class="lab"><font color="Green" title="E2">A1</font></span>: 
<font color="Maroon" title="c5">R1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a> 
 ;<br/>
<span class="kw">set </span><font color="Maroon" title="c6">f</font> = the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font> <a href="funcop_1.html#K7" title="FUNCOP_1:func.7">--&gt;</a> <font color="Maroon" title="c5">R1</font>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c7">f</font> = the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font> <a href="funcop_1.html#K7" title="FUNCOP_1:func.7">--&gt;</a> <font color="Maroon" title="c5">R1</font> as   <a href="struct_0.html#NM8" title="STRUCT_0:NM.8">ManySortedSet</a> of <font color="Maroon" title="c1">R</font> ;<br/>
<span class="kw">set </span><font color="Maroon" title="c8">f1</font> = <font color="Maroon" title="c7">f</font>;<br/>
<a NAME="E4:3_1_1"/>
for <font color="Olive" title="b1">i</font> being   <a href="hidden.html#M1" title="HIDDEN:mode.1">set</a>   st <font color="Olive" title="b1">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font> 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">i</font> is   <a href="relset_1.html#NM1" title="RELSET_1:NM.1">Relation</a> of <span class="p1">(<span class="default"><font color="Maroon" title="c2">A</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"><font color="Maroon" title="c3">B</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" onclick="hs2(this)" href="javascript:()" title="3_1_1_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c9">i</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="Red">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c9">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font> implies <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">i</font> is   <a href="relset_1.html#NM1" title="RELSET_1:NM.1">Relation</a> of <span class="p1">(<span class="default"><font color="Maroon" title="c2">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">i</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c3">B</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">i</font></span>)</span> )</span><br/>

<span class="kw">assume </span><a NAME="E1:3_1_1_1"/>
<font color="Maroon" title="c9">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">R</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  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="c9">i</font> is   <a href="relset_1.html#NM1" title="RELSET_1:NM.1">Relation</a> of <span class="p1">(<span class="default"><font color="Maroon" title="c2">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">i</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c3">B</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">i</font></span>)</span></span><br/>

<a NAME="E2:3_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">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a> 
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:3_1_1"><span class="lab"><font color="Green" title="E2">A1</font></span></a>, <a class="ref" href="funcop_1.html#T13" title="FUNCOP_1:th.13">FUNCOP_1:13</a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:3_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">i</font> is   <a href="relset_1.html#NM1" title="RELSET_1:NM.1">Relation</a> of <span class="p1">(<span class="default"><font color="Maroon" title="c2">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">i</font></span>)</span>,<span class="p1">(<span class="default"><font color="Maroon" title="c3">B</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">i</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="relset_1.html#T25" title="RELSET_1:th.25">RELSET_1:25</a></span>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  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="c9">f2</font> = <font color="Maroon" title="c7">f</font> as    <a href="msualg_4.html#M1" title="MSUALG_4:mode.1">ManySortedRelation</a> of <font color="Maroon" title="c2">A</font>,<font color="Maroon" title="c3">B</font> <span class="kw">by</span> <span class="lab"><a class="ref" href="msualg_4.html#D2" title="MSUALG_4:def.2">MSUALG_4:def 2</a></span>;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c7">f</font>
; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c7">f</font> is    <a href="msualg_4.html#M1" title="MSUALG_4:mode.1">ManySortedRelation</a> of <font color="Maroon" title="c2">A</font>,<font color="Maroon" title="c3">B</font> &amp; <font color="Maroon" title="c7">f</font> is  <a href="osalg_4.html#V1" title="OSALG_4:attr.1">os-compatible</a>  )</span><br/>

<a NAME="E6:3_1_1"/>
for <font color="Olive" title="b1">s1</font>, <font color="Olive" title="b2">s2</font> being  <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font>  st <font color="Olive" title="b1">s1</font> <a href="orders_2.html#R3" title="ORDERS_2:pred.3">&lt;=</a> <font color="Olive" title="b2">s2</font> holds <br/>for <font color="Olive" title="b3">x</font>, <font color="Olive" title="b4">y</font> being   <a href="hidden.html#M1" title="HIDDEN:mode.1">set</a>   st <font color="Olive" title="b3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">s1</font> &amp; <font color="Olive" title="b4">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c3">B</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">s1</font> holds <br/>( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Olive" title="b3">x</font>,<font color="Olive" title="b4">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">s1</font> iff <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Olive" title="b3">x</font>,<font color="Olive" title="b4">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">s2</font> )
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="3_1_1_2"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c10">s1</font>, <font color="Maroon" title="c11">s2</font> be   <a href="struct_0.html#NM1" title="STRUCT_0:NM.1">Element</a> of <font color="Maroon" title="c1">R</font>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c10">s1</font> <a href="orders_2.html#R3" title="ORDERS_2:pred.3">&lt;=</a> <font color="Maroon" title="c11">s2</font> implies for <font color="Olive" title="b1">x</font>, <font color="Olive" title="b2">y</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> <font color="Maroon" title="c2">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> &amp; <font color="Olive" title="b2">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c3">B</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> holds <br/>( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> iff <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c11">s2</font> ) )</span><br/>

<span class="kw">assume </span><a NAME="E1:3_1_1_2"/>
<font color="Maroon" title="c10">s1</font> <a href="orders_2.html#R3" title="ORDERS_2:pred.3">&lt;=</a> <font color="Maroon" title="c11">s2</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> for <font color="Olive" title="b1">x</font>, <font color="Olive" title="b2">y</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> <font color="Maroon" title="c2">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> &amp; <font color="Olive" title="b2">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c3">B</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> holds <br/>( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> iff <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Olive" title="b1">x</font>,<font color="Olive" title="b2">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c11">s2</font> )</span><br/>

<span class="kw">let </span><font color="Maroon" title="c12">x</font>, <font color="Maroon" title="c13">y</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="Red">::  thesis: </font></span></a><span class="hide"> ( <font color="Maroon" title="c12">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> &amp; <font color="Maroon" title="c13">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c3">B</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> implies ( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c12">x</font>,<font color="Maroon" title="c13">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> iff <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c12">x</font>,<font color="Maroon" title="c13">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c11">s2</font> ) )</span><br/>

<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E2:3_1_1_2"/>
<font color="Maroon" title="c12">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c2">A</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font>
 <span class="kw">and </span><br/><a NAME="E3:3_1_1_2"/>
<font color="Maroon" title="c13">y</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c3">B</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> ( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c12">x</font>,<font color="Maroon" title="c13">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> iff <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c12">x</font>,<font color="Maroon" title="c13">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c11">s2</font> )</span><br/>

<font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> = 
<font color="Maroon" title="c5">R1</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="funcop_1.html#T13" title="FUNCOP_1:th.13">FUNCOP_1:13</a></span>
<br/>.= 
<font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c11">s2</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="funcop_1.html#T13" title="FUNCOP_1:th.13">FUNCOP_1:13</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E5:3_1_1_2"/>
( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c12">x</font>,<font color="Maroon" title="c13">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">s1</font> iff <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c12">x</font>,<font color="Maroon" title="c13">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c11">s2</font> )
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div><span class="kw">end;</span></div>
<a NAME="E7:3_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c9">f2</font> is  <a href="osalg_4.html#V1" title="OSALG_4:attr.1">os-compatible</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="osalg_4.html#D1" target="_self" title="OSALG_4:def.1">Def1</a></span>;<br/>
<span class="kw">hence </span><a NAME="E8:3_1_1"/>
( <font color="Maroon" title="c7">f</font> is    <a href="msualg_4.html#M1" title="MSUALG_4:mode.1">ManySortedRelation</a> of <font color="Maroon" title="c2">A</font>,<font color="Maroon" title="c3">B</font> &amp; <font color="Maroon" title="c7">f</font> is  <a href="osalg_4.html#V1" title="OSALG_4:attr.1">os-compatible</a>  )
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="Red">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
