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

<span class="kw">let </span><font color="Maroon" title="c1">D</font> be   non  <a href="xboole_0.html#V1" title="XBOOLE_0:attr.1">empty</a>   <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">  for <font color="Olive" title="b1">m</font>, <font color="Olive" title="b2">n</font>, <font color="Olive" title="b3">i</font>, <font color="Olive" title="b4">j</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</a> <br/>  for <font color="Olive" title="b5">A</font> being   <a href="matrix_0.html#NM2" title="MATRIX_0:NM.2">Matrix</a> of <font color="Olive" title="b1">m</font>,<font color="Olive" title="b2">n</font>,<font color="Maroon" title="c1">D</font> holds   <a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Olive" title="b5">A</font>,<font color="Olive" title="b3">i</font>,<font color="Olive" title="b4">j</font>) is   <a href="matrix_0.html#NM2" title="MATRIX_0:NM.2">Matrix</a> of <font color="Olive" title="b1">m</font>,<font color="Olive" title="b2">n</font>,<font color="Maroon" title="c1">D</font></span><br/><span class="kw">let </span><font color="Maroon" title="c2">m</font>, <font color="Maroon" title="c3">n</font>, <font color="Maroon" title="c4">i</font>, <font color="Maroon" title="c5">j</font> be    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of  <a href="numbers.html#NK1" title="NUMBERS:NK.1">NAT</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">A</font> being   <a href="matrix_0.html#NM2" title="MATRIX_0:NM.2">Matrix</a> of <font color="Maroon" title="c2">m</font>,<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c1">D</font> holds   <a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Olive" title="b1">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>) is   <a href="matrix_0.html#NM2" title="MATRIX_0:NM.2">Matrix</a> of <font color="Maroon" title="c2">m</font>,<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c1">D</font></span><br/><span class="kw">let </span><font color="Maroon" title="c6">A</font> be   <a href="matrix_0.html#NM2" title="MATRIX_0:NM.2">Matrix</a> of <font color="Maroon" title="c2">m</font>,<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c1">D</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">  <a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>) is   <a href="matrix_0.html#NM2" title="MATRIX_0:NM.2">Matrix</a> of <font color="Maroon" title="c2">m</font>,<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c1">D</font></span><br/>





<a NAME="E1:47"/><span class="lab"><font color="Green" title="E38">A1</font></span>: 
 for <font color="Olive" title="b1">p</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Maroon" title="c1">D</font>  st <font color="Olive" title="b1">p</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <span class="p1">(<span class="default"><a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>)</span>)</span> holds <br/> <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">n</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="47_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c7">p</font> be    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Maroon" title="c1">D</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="c7">p</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <span class="p1">(<span class="default"><a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>)</span>)</span> implies  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">n</font> )</span><br/>

<a NAME="E1:47_1"/><span class="lab"><font color="Green" title="E39">A2</font></span>: 
 <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <span class="p1">(<span class="default"><a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>)</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c6">A</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_7.html#T22" onmouseover="rs('finseq_7/T22')" onmouseout="rh()">FINSEQ_7:22</a></span>;<br/>
<span class="kw">assume </span><a NAME="E2:47_1"/>
<font color="Maroon" title="c7">p</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <span class="p1">(<span class="default"><a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>)</span>)</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">  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">n</font></span><br/>

<span class="kw">hence </span><a NAME="E3:47_1"/>
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c7">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:47_1"><span class="lab"><font color="Green" title="E39">A2</font></span></a>, <a class="ref" href="matrix_0.html#D2" onmouseover="rs('matrix_0/D2')" onmouseout="rh()">MATRIX_0:def 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>
<a NAME="E2:47"/>
 <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <span class="p1">(<span class="default"><a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>)</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <font color="Maroon" title="c6">A</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_7.html#T22" onmouseover="rs('finseq_7/T22')" onmouseout="rh()">FINSEQ_7:22</a></span>;<br/>
<a NAME="E3:47"/><span class="kw">then </span>
 ex <font color="Olive" title="b1">n3</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> st <br/> for <font color="Olive" title="b2">x</font> being    <a href="hidden.html#M1" title="HIDDEN:mode.1">object</a>   st <font color="Olive" title="b2">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a>  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <span class="p1">(<span class="default"><a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>)</span>)</span> holds <br/> ex <font color="Olive" title="b3">p</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of <font color="Maroon" title="c1">D</font> st <br/>( <font color="Olive" title="b2">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b3">p</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b3">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b1">n3</font> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="matrix_0.html#T9" onmouseover="rs('matrix_0/T9')" onmouseout="rh()">MATRIX_0:9</a></span>;<br/>
<a NAME="E4:47"/><span class="kw">then </span><span class="lab"><font color="Green" title="E39">A3</font></span>: 
 <a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>) is   <a href="matrix_0.html#NM1" title="MATRIX_0:NM.1">Matrix</a> of <font color="Maroon" title="c1">D</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="matrix_0.html#T9" onmouseover="rs('matrix_0/T9')" onmouseout="rh()">MATRIX_0:9</a></span>;<br/>
<a NAME="E5:47"/>
(  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c6">A</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">m</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>)</span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c6">A</font> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_7.html#T18" onmouseover="rs('finseq_7/T18')" onmouseout="rh()">FINSEQ_7:18</a>, <a class="ref" href="matrix_0.html#D2" onmouseover="rs('matrix_0/D2')" onmouseout="rh()">MATRIX_0:def 2</a></span>;<br/>
<span class="kw">hence </span><a NAME="E6:47"/>
 <a href="finseq_7.html#K2" title="FINSEQ_7:func.2">Swap</a> (<font color="Maroon" title="c6">A</font>,<font color="Maroon" title="c4">i</font>,<font color="Maroon" title="c5">j</font>) is   <a href="matrix_0.html#NM2" title="MATRIX_0:NM.2">Matrix</a> of <font color="Maroon" title="c2">m</font>,<font color="Maroon" title="c3">n</font>,<font color="Maroon" title="c1">D</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:47"><span class="lab"><font color="Green" title="E39">A3</font></span></a>, <a class="txt" href="#E1:47"><span class="lab"><font color="Green" title="E38">A1</font></span></a>, <a class="ref" href="matrix_0.html#D2" onmouseover="rs('matrix_0/D2')" onmouseout="rh()">MATRIX_0:def 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>
