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

<span class="kw">defpred </span><font color="Maroon">S<sub>1</sub></font>[   <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> ,   <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> ] <span class="kw">means </span><font color="Maroon">P<sub>1</sub></font>[$1,$2 <a href="xtuple_0.html#K1" title="XTUPLE_0:func.1">`1</a> ,$2 <a href="xtuple_0.html#K2" title="XTUPLE_0:func.2">`2</a> ];<br/>
<span class="kw">deffunc </span><font color="Maroon">H<sub>1</sub></font>(   <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> ) <span class="kw">-&gt; </span>   <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  = <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> $1</span>)</span>,<span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> $1</span>)</span></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c1">R</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:40_1"/><span class="lab"><font color="Green" title="E30">A1</font></span>: 
 <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c1">R</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon">F<sub>1</sub></font>()
 <span class="kw">and </span><br/><a NAME="E3:40_1"/><span class="lab"><font color="Green" title="E31">A2</font></span>: 
 for <font color="Olive" title="b1">i</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a>   st <font color="Olive" title="b1">i</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon">F<sub>1</sub></font>() holds <br/> for <font color="Olive" title="b2">a</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a>  holds <br/> ( <font color="Olive" title="b2">a</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c1">R</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> iff ( <font color="Olive" title="b2">a</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon">H<sub>1</sub></font>(<font color="Olive" title="b1">i</font>) &amp; <font color="Maroon">S<sub>1</sub></font>[<font color="Olive" title="b1">i</font>,<font color="Olive" title="b2">a</font>] ) )
 <span class="kw">from</span> <span class="lab"><a class="ref" href="card_3.html#S2" onmouseover="rs('card_3/S2')" onmouseout="rh()">CARD_3:sch 2</a>();<br/></span>
<span class="kw">reconsider </span><font color="Maroon" title="c2">R</font> = <font color="Maroon" title="c1">R</font> as   <a href="pboole.html#NM1" title="PBOOLE:NM.1">ManySortedSet</a> of <font color="Maroon">F<sub>1</sub></font>() <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:40_1"><span class="lab"><font color="Green" title="E30">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="E5:40_1"/>
<font color="Maroon" title="c2">R</font> is   <a href="msualg_4.html#NM2" title="MSUALG_4:NM.2">ManySortedRelation</a> of <font color="Maroon">F<sub>2</sub></font>()
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="40_1_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c3">i</font> be    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a> ; <span class="comment"><font color="firebrick">:: according to </font></span><a class="ref" href="msualg_4.html#D1" onmouseover="rs('msualg_4/D1')" onmouseout="rh()">MSUALG_4:def 1</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"> (  not <font color="Maroon" title="c3">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon">F<sub>1</sub></font>() or <font color="Maroon" title="c2">R</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> is    <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">bool</a> <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font></span>)</span>,<span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font></span>)</span></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span> )</span><br/>

<span class="kw">assume </span><a NAME="E1:40_1_1"/><span class="lab"><font color="Green" title="E32">A3</font></span>: 
<font color="Maroon" title="c3">i</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon">F<sub>1</sub></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="c2">R</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> is    <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">bool</a> <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font></span>)</span>,<span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font></span>)</span></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span></span><br/>

<a NAME="E2:40_1_1"/>
<font color="Maroon" title="c2">R</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a> <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font></span>)</span>,<span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font></span>)</span></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:40_1"><span class="lab"><font color="Green" title="E31">A2</font></span></a>, <a class="txt" href="#E1:40_1_1"><span class="lab"><font color="Green" title="E32">A3</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E3:40_1_1"/>
<font color="Maroon" title="c2">R</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font> is    <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">bool</a> <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font></span>)</span>,<span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">i</font></span>)</span></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</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>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c3">R</font> = <font color="Maroon" title="c2">R</font> as   <a href="msualg_4.html#NM2" title="MSUALG_4:NM.2">ManySortedRelation</a> of <font color="Maroon">F<sub>2</sub></font>() ;<br/>
<span class="kw">take </span>
<font color="Maroon" title="c3">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">  for <font color="Olive" title="b1">i</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon">F<sub>1</sub></font>()<br/>  for <font color="Olive" title="b2">a</font>, <font color="Olive" title="b3">b</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> holds <br/> ( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Olive" title="b2">a</font>,<font color="Olive" title="b3">b</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="c3">R</font> <a href="msualg_4.html#K1" title="MSUALG_4:func.1">.</a> <font color="Olive" title="b1">i</font> iff <font color="Maroon">P<sub>1</sub></font>[<font color="Olive" title="b1">i</font>,<font color="Olive" title="b2">a</font>,<font color="Olive" title="b3">b</font>] )</span><br/>

<span class="kw">let </span><font color="Maroon" title="c4">i</font> be    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon">F<sub>1</sub></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">a</font>, <font color="Olive" title="b2">b</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">i</font> holds <br/> ( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Olive" title="b1">a</font>,<font color="Olive" title="b2">b</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="c3">R</font> <a href="msualg_4.html#K1" title="MSUALG_4:func.1">.</a> <font color="Maroon" title="c4">i</font> iff <font color="Maroon">P<sub>1</sub></font>[<font color="Maroon" title="c4">i</font>,<font color="Olive" title="b1">a</font>,<font color="Olive" title="b2">b</font>] )</span><br/><span class="kw">let </span><font color="Maroon" title="c5">a</font>, <font color="Maroon" title="c6">b</font> be    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">i</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"> ( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</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="c3">R</font> <a href="msualg_4.html#K1" title="MSUALG_4:func.1">.</a> <font color="Maroon" title="c4">i</font> iff <font color="Maroon">P<sub>1</sub></font>[<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>] )</span><br/>



<a NAME="E7:40_1"/><span class="lab"><font color="Green" title="E32">A4</font></span>: 
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="xtuple_0.html#K2" title="XTUPLE_0:func.2">`2</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">b</font>
 
;<br/>
<a NAME="E8:40_1"/><span class="lab"><font color="Green" title="E33">A5</font></span>: 
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <span class="p1"><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">[:</a><span class="default"><span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">i</font></span>)</span>,<span class="p2">(<span class="default"><font color="Maroon">F<sub>2</sub></font>() <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">i</font></span>)</span></span><a href="zfmisc_1.html#K2" title="ZFMISC_1:func.2">:]</a></span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="zfmisc_1.html#T87" onmouseover="rs('zfmisc_1/T87')" onmouseout="rh()">ZFMISC_1:87</a></span>;<br/>
<a NAME="E9:40_1"/>
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="xtuple_0.html#K1" title="XTUPLE_0:func.1">`1</a>  <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c5">a</font>
 
;<br/>
<span class="kw">hence </span><a NAME="E10:40_1"/>
( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</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="c3">R</font> <a href="msualg_4.html#K1" title="MSUALG_4:func.1">.</a> <font color="Maroon" title="c4">i</font> iff <font color="Maroon">P<sub>1</sub></font>[<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">b</font>] )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:40_1"><span class="lab"><font color="Green" title="E31">A2</font></span></a>, <a class="txt" href="#E7:40_1"><span class="lab"><font color="Green" title="E32">A4</font></span></a>, <a class="txt" href="#E8:40_1"><span class="lab"><font color="Green" title="E33">A5</font></span></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>
