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

<span class="kw">let </span><font color="Maroon" title="c1">O</font> be   non  <a href="struct_0.html#V2" title="STRUCT_0:attr.2">empty</a>   <a href="waybel_0.html#V16" title="WAYBEL_0:attr.16">connected</a>  <a href="orders_2.html#NM1" title="ORDERS_2:NM.1">Poset</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="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</font><br/>  for <font color="Olive" title="b2">x</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a> <br/>  for <font color="Olive" title="b3">y</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  holds <br/> ( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Olive" title="b2">x</font>,<font color="Olive" title="b3">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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Olive" title="b1">R</font> iff ( <font color="Olive" title="b2">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Olive" title="b1">R</font> &amp; <font color="Olive" title="b3">y</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Olive" title="b1">R</font> &amp; <font color="Olive" title="b2">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Olive" title="b3">y</font> &amp; <font color="Olive" title="b1">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b2">x</font> <a href="orders_2.html#NR4" title="ORDERS_2:NR.4">&gt;</a> <font color="Olive" title="b1">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b3">y</font> ) )</span><br/><span class="kw">let </span><font color="Maroon" title="c2">R</font> be   <a href="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</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="hidden.html#M1" title="HIDDEN:mode.1">object</a> <br/>  for <font color="Olive" title="b2">y</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Maroon" title="c2">R</font> iff ( <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Olive" title="b2">y</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Olive" title="b2">y</font> &amp; <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b1">x</font> <a href="orders_2.html#NR4" title="ORDERS_2:NR.4">&gt;</a> <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b2">y</font> ) )</span><br/><span class="kw">let </span><font color="Maroon" title="c3">x</font> be    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</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">y</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  holds <br/> ( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c3">x</font>,<font color="Olive" title="b1">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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Maroon" title="c2">R</font> iff ( <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Olive" title="b1">y</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Olive" title="b1">y</font> &amp; <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">x</font> <a href="orders_2.html#NR4" title="ORDERS_2:NR.4">&gt;</a> <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b1">y</font> ) )</span><br/><span class="kw">let </span><font color="Maroon" title="c4">y</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"> ( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c4">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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Maroon" title="c2">R</font> iff ( <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c4">y</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c4">y</font> &amp; <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">x</font> <a href="orders_2.html#NR4" title="ORDERS_2:NR.4">&gt;</a> <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">y</font> ) )</span><br/>







<div><span class="kw">hereby </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="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c4">y</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c4">y</font> &amp; <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">x</font> <a href="orders_2.html#NR4" title="ORDERS_2:NR.4">&gt;</a> <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">y</font> implies <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c4">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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Maroon" title="c2">R</font> )</span>
<div class="add"><span class="kw">assume </span><a NAME="E1:77_1"/><span class="lab"><font color="Green" title="E35">A1</font></span>: 
<span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c4">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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Maroon" title="c2">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="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c4">y</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c4">y</font> &amp; <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">x</font> <a href="orders_2.html#NR4" title="ORDERS_2:NR.4">&gt;</a> <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">y</font> )</span><br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c5">R1</font> = <font color="Maroon" title="c2">R</font> as   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>  <a href="funct_1.html#NM1" title="FUNCT_1:NM.1">Function</a> ;<br/><span class="kw">consider </span><font color="Maroon" title="c6">a</font>, <font color="Maroon" title="c7">b</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c5">R1</font><span class="kw"> such that </span><br/><a NAME="E4:77_1"/><span class="lab"><font color="Green" title="E36">A2</font></span>: 
( <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c4">y</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c6">a</font>,<font color="Maroon" title="c7">b</font></span><a href="tarski.html#K4" title="TARSKI:func.4">]</a></span> &amp; <font color="Maroon" title="c6">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c7">b</font> &amp;  not <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c6">a</font> <a href="orders_2.html#R3" title="ORDERS_2:pred.3">&lt;=</a> <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c7">b</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:77_1"><span class="lab"><font color="Green" title="E35">A1</font></span></a></span>;<br/><a NAME="E5:77_1"/>
( <font color="Maroon" title="c3">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">a</font> &amp; <font color="Maroon" title="c4">y</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c7">b</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:77_1"><span class="lab"><font color="Green" title="E36">A2</font></span></a>, <a class="ref" href="xtuple_0.html#T1" onmouseover="rs('xtuple_0/T1')" onmouseout="rh()">XTUPLE_0:1</a></span>;<br/><span class="kw">hence </span><a NAME="E6:77_1"/>
( <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c4">y</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c4">y</font> &amp; <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">x</font> <a href="orders_2.html#NR4" title="ORDERS_2:NR.4">&gt;</a> <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">y</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:77_1"><span class="lab"><font color="Green" title="E36">A2</font></span></a>, <a class="ref" href="exchsort.html#T45" target="_self" onmouseover="rs('exchsort/T45')" onmouseout="rh()">Th45</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">thus </span><a NAME="E2:77"/>
( <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c4">y</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c2">R</font> &amp; <font color="Maroon" title="c3">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <font color="Maroon" title="c4">y</font> &amp; <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">x</font> <a href="orders_2.html#NR4" title="ORDERS_2:NR.4">&gt;</a> <font color="Maroon" title="c2">R</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">y</font> implies <span class="p1"><a href="tarski.html#K4" title="TARSKI:func.4">[</a><span class="default"><font color="Maroon" title="c3">x</font>,<font color="Maroon" title="c4">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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Maroon" title="c2">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"> verum</span><br/>


</div>
