<?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">C</font> being   <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="exchsort.html#V2" title="EXCHSORT:attr.2">-based</a>   <a href="exchsort.html#M2" title="EXCHSORT:mode.2">arr_computation</a> of <font color="Olive" title="b1">R</font>  st <font color="Olive" title="b1">R</font> is   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>  <a href="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</font> &amp; (  for <font color="Olive" title="b3">a</font> being   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</a>  st  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b3">a</font></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  holds <br/> <a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Olive" title="b3">a</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="b2">C</font> ) holds <br/><font color="Olive" title="b2">C</font> is  <a href="exchsort.html#V6" title="EXCHSORT:attr.6">complete</a> </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">C</font> being   <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="exchsort.html#V2" title="EXCHSORT:attr.2">-based</a>   <a href="exchsort.html#M2" title="EXCHSORT:mode.2">arr_computation</a> of <font color="Maroon" title="c2">R</font>  st <font color="Maroon" title="c2">R</font> is   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>  <a href="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</font> &amp; (  for <font color="Olive" title="b2">a</font> being   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</a>  st  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b2">a</font></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  holds <br/> <a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Olive" title="b2">a</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">C</font> ) holds <br/><font color="Olive" title="b1">C</font> is  <a href="exchsort.html#V6" title="EXCHSORT:attr.6">complete</a> </span><br/><span class="kw">let </span><font color="Maroon" title="c3">C</font> be   <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="exchsort.html#V2" title="EXCHSORT:attr.2">-based</a>   <a href="exchsort.html#M2" title="EXCHSORT:mode.2">arr_computation</a> of <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="c2">R</font> is   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>  <a href="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</font> &amp; (  for <font color="Olive" title="b1">a</font> being   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</a>  st  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">a</font></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  holds <br/> <a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Olive" title="b1">a</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="c3">C</font> ) implies <font color="Maroon" title="c3">C</font> is  <a href="exchsort.html#V6" title="EXCHSORT:attr.6">complete</a>  )</span><br/>





<span class="kw">assume </span><a NAME="E1:123"/>
<font color="Maroon" title="c2">R</font> is   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>  <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"> (  ex <font color="Olive" title="b1">a</font> being   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</a> st <br/>(  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">a</font></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  &amp;  not  <a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Olive" title="b1">a</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="c3">C</font> ) or <font color="Maroon" title="c3">C</font> is  <a href="exchsort.html#V6" title="EXCHSORT:attr.6">complete</a>  )</span><br/>

<a NAME="E2:123"/><span class="kw">then </span>
<font color="Maroon" title="c3">C</font> is  <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="exchsort.html#T76" target="_self" onmouseover="rs('exchsort/T76')" onmouseout="rh()">Th76</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c4">d</font> =  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c3">C</font> as   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>   <a href="finset_1.html#V1" title="FINSET_1:attr.1">finite</a>  <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</a> ;<br/>
<span class="kw">assume </span><a NAME="E4:123"/><span class="lab"><font color="Green" title="E66">A1</font></span>: 
 for <font color="Olive" title="b1">a</font> being   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</a>  st  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">a</font></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  holds <br/> <a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Olive" title="b1">a</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="c3">C</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">C</font> is  <a href="exchsort.html#V6" title="EXCHSORT:attr.6">complete</a> </span><br/>

<span class="kw">set </span><font color="Maroon" title="c5">u</font> =  <a href="tarski.html#K3" title="TARSKI:func.3">union</a> <font color="Maroon" title="c4">d</font>;<br/>
<span class="kw">consider </span><font color="Maroon" title="c6">n</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a><span class="kw"> such that </span><br/><a NAME="E6:123"/><span class="lab"><font color="Green" title="E67">A2</font></span>: 
<font color="Maroon" title="c4">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1
 <span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T6" onmouseover="rs('nat_1/T6')" onmouseout="rh()">NAT_1:6</a></span>;<br/>
<a NAME="E7:123"/>
<font color="Maroon" title="c4">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="card_1.html#K5" title="CARD_1:func.5">Segm</a> <span class="p1">(<span class="default"><font color="Maroon" title="c6">n</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1</span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:123"><span class="lab"><font color="Green" title="E67">A2</font></span></a></span>;<br/>
<a NAME="E8:123"/><span class="kw">then </span><span class="lab"><font color="Green" title="E68">A3</font></span>: 
<font color="Maroon" title="c4">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <span class="p1">(<span class="default"><a href="card_1.html#K5" title="CARD_1:func.5">Segm</a> <font color="Maroon" title="c6">n</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="nat_1.html#T38" onmouseover="rs('nat_1/T38')" onmouseout="rh()">NAT_1:38</a></span>;<br/>
<a NAME="E9:123"/><span class="kw">then </span><span class="lab"><font color="Green" title="E69">A4</font></span>: 
 <a href="tarski.html#K3" title="TARSKI:func.3">union</a> <font color="Maroon" title="c4">d</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c6">n</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="ordinal2.html#T2" onmouseover="rs('ordinal2/T2')" onmouseout="rh()">ORDINAL2:2</a></span>;<br/>
<a NAME="E10:123"/>
(  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <span class="p1">(<span class="default"><font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p2">(<span class="default"><a href="tarski.html#K3" title="TARSKI:func.3">union</a> <font color="Maroon" title="c4">d</font></span>)</span></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  implies <font color="Maroon" title="c4">d</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a> <font color="Maroon" title="c4">d</font> )
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:123"><span class="lab"><font color="Green" title="E66">A1</font></span></a>, <a class="txt" href="#E8:123"><span class="lab"><font color="Green" title="E68">A3</font></span></a>, <a class="txt" href="#E9:123"><span class="lab"><font color="Green" title="E69">A4</font></span></a></span>;<br/>
<span class="kw">hence </span><a NAME="E11:123"/>
 <a href="exchsort.html#K4" title="EXCHSORT:func.4">last</a> <font color="Maroon" title="c3">C</font> is  <a href="exchsort.html#V5" title="EXCHSORT:attr.5">ascending</a> 
 <span class="kw">by</span> <span class="lab"><a class="ref" href="exchsort.html#T48" target="_self" onmouseover="rs('exchsort/T48')" onmouseout="rh()">Th48</a></span>; <span class="comment"><font color="firebrick">:: according to </font></span><a class="ref" href="exchsort.html#D15" target="_self" onmouseover="rs('exchsort/D15')" onmouseout="rh()">EXCHSORT:def 15</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>
