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

<span class="kw">reconsider </span><font color="Maroon" title="c3">C</font> = <span class="p1"><a href="afinsq_1.html#K5" title="AFINSQ_1:func.5">&lt;%</a><span class="default"><font color="Maroon" title="c2">R</font></span><a href="afinsq_1.html#K5" title="AFINSQ_1:func.5">%&gt;</a></span> as   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>   <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#NM1" title="EXCHSORT:NM.1">array</a> ;<br/>
<span class="kw">take </span>
<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> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="exchsort.html#K1" title="EXCHSORT:func.1">base-</a> <font color="Maroon" title="c3">C</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">R</font> &amp; (  for <font color="Olive" title="b1">a</font> being   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</a>  st <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> holds <br/><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> is   <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 <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> &amp;  <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> holds <br/> ex <font color="Olive" title="b2">R</font> being   <a href="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</font> ex <font color="Olive" title="b3">x</font>, <font color="Olive" title="b4">y</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  st <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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Olive" title="b2">R</font> &amp; <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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">R</font> &amp; <font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Olive" title="b1">a</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="funct_7.html#K9" title="FUNCT_7:func.9">Swap</a> (<font color="Olive" title="b2">R</font>,<font color="Olive" title="b3">x</font>,<font color="Olive" title="b4">y</font>) ) ) )</span><br/>

<a NAME="E2:114_1_1"/><span class="lab"><font color="Green" title="E63">A1</font></span>: 
(  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c3">C</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> 1 &amp;  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="card_1.html#K5" title="CARD_1:func.5">Segm</a> 1 )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="afinsq_1.html#D4" onmouseover="rs('afinsq_1/D4')" onmouseout="rh()">AFINSQ_1:def 4</a>, <a class="ref" href="nat_1.html#T44" onmouseover="rs('nat_1/T44')" onmouseout="rh()">NAT_1:44</a></span>;<br/>
<a NAME="E3:114_1_1"/><span class="kw">then </span>
 <a href="exchsort.html#K1" title="EXCHSORT:func.1">base-</a> <font color="Maroon" title="c3">C</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="exchsort.html#D4" target="_self" onmouseover="rs('exchsort/D4')" onmouseout="rh()">Def4</a></span>;<br/>
<span class="kw">hence </span><a NAME="E4:114_1_1"/>
<font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="exchsort.html#K1" title="EXCHSORT:func.1">base-</a> <font color="Maroon" title="c3">C</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</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"> ( (  for <font color="Olive" title="b1">a</font> being   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</a>  st <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> holds <br/><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> is   <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 <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> &amp;  <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> holds <br/> ex <font color="Olive" title="b2">R</font> being   <a href="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</font> ex <font color="Olive" title="b3">x</font>, <font color="Olive" title="b4">y</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  st <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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Olive" title="b2">R</font> &amp; <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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">R</font> &amp; <font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Olive" title="b1">a</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="funct_7.html#K9" title="FUNCT_7:func.9">Swap</a> (<font color="Olive" title="b2">R</font>,<font color="Olive" title="b3">x</font>,<font color="Olive" title="b4">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">  for <font color="Olive" title="b1">a</font> being   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</a>  st <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> &amp;  <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> holds <br/> ex <font color="Olive" title="b2">R</font> being   <a href="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</font> ex <font color="Olive" title="b3">x</font>, <font color="Olive" title="b4">y</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  st <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>  <a href="exchsort.html#K6" title="EXCHSORT:func.6">inversions</a> <font color="Olive" title="b2">R</font> &amp; <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> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">R</font> &amp; <font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Olive" title="b1">a</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="funct_7.html#K9" title="FUNCT_7:func.9">Swap</a> (<font color="Olive" title="b2">R</font>,<font color="Olive" title="b3">x</font>,<font color="Olive" title="b4">y</font>) )</span>
<div class="add"><span class="kw">let </span><font color="Maroon" title="c4">a</font> be   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</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"> ( <font color="Maroon" title="c4">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> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">a</font> is   <a href="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</font> )</span><br/><span class="kw">assume </span><a NAME="E1:114_1_1_1"/>
<font color="Maroon" title="c4">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> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">a</font> is   <a href="exchsort.html#NM3" title="EXCHSORT:NM.3">array</a> of <font color="Maroon" title="c1">O</font></span><br/><a NAME="E2:114_1_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a> 
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:114_1_1"><span class="lab"><font color="Green" title="E63">A1</font></span></a>, <a class="ref" href="ordinal3.html#T15" onmouseover="rs('ordinal3/T15')" onmouseout="rh()">ORDINAL3:15</a>, <a class="ref" href="tarski.html#D1" onmouseover="rs('tarski/D1')" onmouseout="rh()">TARSKI:def 1</a></span>;<br/><span class="kw">hence </span><a NAME="E3:114_1_1_1"/>
<font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">a</font> is   <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"> verum</span><br/></div>
<span class="kw">end;</span></div>

<span class="kw">let </span><font color="Maroon" title="c4">a</font> be   <a href="ordinal1.html#NM3" title="ORDINAL1:NM.3">Ordinal</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"> ( <font color="Maroon" title="c4">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> &amp;  <a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Maroon" title="c4">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  ex <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> ex <font color="Olive" title="b2">x</font>, <font color="Olive" title="b3">y</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  st <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> &amp; <font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">R</font> &amp; <font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Maroon" title="c4">a</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="funct_7.html#K9" title="FUNCT_7:func.9">Swap</a> (<font color="Olive" title="b1">R</font>,<font color="Olive" title="b2">x</font>,<font color="Olive" title="b3">y</font>) ) )</span><br/>

<span class="kw">assume </span><a NAME="E6:114_1_1"/>
( <font color="Maroon" title="c4">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> &amp;  <a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Maroon" title="c4">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">  ex <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> ex <font color="Olive" title="b2">x</font>, <font color="Olive" title="b3">y</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  st <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> &amp; <font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">R</font> &amp; <font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Maroon" title="c4">a</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="funct_7.html#K9" title="FUNCT_7:func.9">Swap</a> (<font color="Olive" title="b1">R</font>,<font color="Olive" title="b2">x</font>,<font color="Olive" title="b3">y</font>) )</span><br/>

<span class="kw">hence </span><a NAME="E7:114_1_1"/>
 ex <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> ex <font color="Olive" title="b2">x</font>, <font color="Olive" title="b3">y</font> being    <a href="hidden.html#M2" title="HIDDEN:mode.2">set</a>  st <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> &amp; <font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">R</font> &amp; <font color="Maroon" title="c3">C</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="ordinal1.html#K1" title="ORDINAL1:func.1">succ</a> <font color="Maroon" title="c4">a</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="funct_7.html#K9" title="FUNCT_7:func.9">Swap</a> (<font color="Olive" title="b1">R</font>,<font color="Olive" title="b2">x</font>,<font color="Olive" title="b3">y</font>) )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:114_1_1"><span class="lab"><font color="Green" title="E63">A1</font></span></a>, <a class="ref" href="ordinal3.html#T15" onmouseover="rs('ordinal3/T15')" onmouseout="rh()">ORDINAL3:15</a>, <a class="ref" href="tarski.html#D1" onmouseover="rs('tarski/D1')" onmouseout="rh()">TARSKI:def 1</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>
