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

<span class="kw">let </span><font color="Maroon" title="c1">A</font> be    <a href="orders_2.html#L1" title="ORDERS_2:struct.1">RelStr</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">s</font> being   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <font color="Maroon" title="c1">A</font> holds <br/> ( <font color="Olive" title="b1">s</font> is  <a href="orders_5.html#V5" title="ORDERS_5:attr.5">ascending</a>  iff  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Olive" title="b1">s</font> is  <a href="orders_5.html#V7" title="ORDERS_5:attr.7">descending</a>  )</span><br/><span class="kw">let </span><font color="Maroon" title="c2">s</font> be   <a href="struct_0.html#NM7" title="STRUCT_0:NM.7">FinSequence</a> of <font color="Maroon" title="c1">A</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">s</font> is  <a href="orders_5.html#V5" title="ORDERS_5:attr.5">ascending</a>  iff  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font> is  <a href="orders_5.html#V7" title="ORDERS_5:attr.7">descending</a>  )</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"> (  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font> is  <a href="orders_5.html#V7" title="ORDERS_5:attr.7">descending</a>  implies <font color="Maroon" title="c2">s</font> is  <a href="orders_5.html#V5" title="ORDERS_5:attr.5">ascending</a>  )</span>
<div class="add"><span class="kw">assume </span><a NAME="E1:143_1"/><span class="lab"><font color="Green" title="E54">A1</font></span>: 
<font color="Maroon" title="c2">s</font> is  <a href="orders_5.html#V5" title="ORDERS_5:attr.5">ascending</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">  <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font> is  <a href="orders_5.html#V7" title="ORDERS_5:attr.7">descending</a> </span><br/><div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="143_1_1"><span class="kw">now </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">n</font>, <font color="Olive" title="b2">m</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> &amp; <font color="Olive" title="b2">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> &amp; <font color="Olive" title="b1">n</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Olive" title="b2">m</font> holds <br/><span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b2">m</font> <a href="orders_5.html#R3" title="ORDERS_5:pred.3">&lt;~</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b1">n</font></span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c3">n</font>, <font color="Maroon" title="c4">m</font> be   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">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"> ( <font color="Maroon" title="c3">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> &amp; <font color="Maroon" title="c4">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> &amp; <font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c4">m</font> implies <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">m</font> <a href="orders_5.html#R3" title="ORDERS_5:pred.3">&lt;~</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">n</font> )</span><br/><span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:143_1_1"/><span class="lab"><font color="Green" title="E55">A2</font></span>: 
( <font color="Maroon" title="c3">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> &amp; <font color="Maroon" title="c4">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> )
 <span class="kw">and </span><br/><a NAME="E2:143_1_1"/><span class="lab"><font color="Green" title="E56">A3</font></span>: 
<font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c4">m</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">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">m</font> <a href="orders_5.html#R3" title="ORDERS_5:pred.3">&lt;~</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">n</font></span><br/><span class="kw">set </span><font color="Maroon" title="c5">l</font> =  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font>;<br/><a NAME="E3:143_1_1"/><span class="lab"><font color="Green" title="E57">A4</font></span>: 
( <font color="Maroon" title="c3">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> &amp; <font color="Maroon" title="c4">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:143_1_1"><span class="lab"><font color="Green" title="E55">A2</font></span></a>, <a class="ref" href="finseq_5.html#T57" onmouseover="rs('finseq_5/T57')" onmouseout="rh()">FINSEQ_5:57</a></span>;<br/><a NAME="E4:143_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E58">A5</font></span>: 
( <font color="Maroon" title="c3">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> &amp; <font color="Maroon" title="c4">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#D3" onmouseover="rs('finseq_1/D3')" onmouseout="rh()">FINSEQ_1:def 3</a></span>;<br/><a NAME="E5:143_1_1"/><span class="kw">then </span>
( <font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font> &amp; <font color="Maroon" title="c4">m</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T1" onmouseover="rs('finseq_1/T1')" onmouseout="rh()">FINSEQ_1:1</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c6">a</font> = <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1, <font color="Maroon" title="c7">b</font> = <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 as   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_5.html#T1" onmouseover="rs('finseq_5/T1')" onmouseout="rh()">FINSEQ_5:1</a></span>;<br/><a NAME="E7:143_1_1"/>
( <font color="Maroon" title="c6">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> &amp; <font color="Maroon" title="c7">b</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:143_1_1"><span class="lab"><font color="Green" title="E58">A5</font></span></a>, <a class="ref" href="finseq_5.html#T2" onmouseover="rs('finseq_5/T2')" onmouseout="rh()">FINSEQ_5:2</a></span>;<br/><a NAME="E8:143_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E59">A6</font></span>: 
( <font color="Maroon" title="c6">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> &amp; <font color="Maroon" title="c7">b</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#D3" onmouseover="rs('finseq_1/D3')" onmouseout="rh()">FINSEQ_1:def 3</a></span>;<br/><span class="lab"><font color="Green" title="E60">A7</font></span>: <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c7">b</font> = 
<font color="Maroon" title="c2">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">b</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:143_1_1"><span class="lab"><font color="Green" title="E59">A6</font></span></a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">m</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:143_1_1"><span class="lab"><font color="Green" title="E57">A4</font></span></a>, <a class="ref" href="finseq_5.html#T58" onmouseover="rs('finseq_5/T58')" onmouseout="rh()">FINSEQ_5:58</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">m</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:143_1_1"><span class="lab"><font color="Green" title="E55">A2</font></span></a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>
;<br/><span class="lab"><font color="Green" title="E61">A8</font></span>: <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c6">a</font> = 
<font color="Maroon" title="c2">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">a</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:143_1_1"><span class="lab"><font color="Green" title="E59">A6</font></span></a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">n</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:143_1_1"><span class="lab"><font color="Green" title="E57">A4</font></span></a>, <a class="ref" href="finseq_5.html#T58" onmouseover="rs('finseq_5/T58')" onmouseout="rh()">FINSEQ_5:58</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">n</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:143_1_1"><span class="lab"><font color="Green" title="E55">A2</font></span></a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>
;<br/><a NAME="E11:143_1_1"/>
( <font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">n</font> &amp; <font color="Maroon" title="c7">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">m</font> )
 ;<br/><a NAME="E12:143_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c7">b</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c6">a</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:143_1_1"><span class="lab"><font color="Green" title="E56">A3</font></span></a>, <a class="ref" href="xreal_1.html#T15" onmouseover="rs('xreal_1/T15')" onmouseout="rh()">XREAL_1:15</a></span>;<br/><a NAME="E13:143_1_1"/><span class="kw">then </span>
<font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c7">b</font> <a href="orders_5.html#R3" title="ORDERS_5:pred.3">&lt;~</a> <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c6">a</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:143_1"><span class="lab"><font color="Green" title="E54">A1</font></span></a>, <a class="txt" href="#E8:143_1_1"><span class="lab"><font color="Green" title="E59">A6</font></span></a></span>;<br/><span class="kw">hence </span><a NAME="E14:143_1_1"/>
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">m</font> <a href="orders_5.html#R3" title="ORDERS_5:pred.3">&lt;~</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">n</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:143_1_1"><span class="lab"><font color="Green" title="E60">A7</font></span></a>, <a class="txt" href="#E10:143_1_1"><span class="lab"><font color="Green" title="E61">A8</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><span class="kw">end;</span></div><span class="kw">hence </span><a NAME="E3:143_1"/>
 <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font> is  <a href="orders_5.html#V7" title="ORDERS_5:attr.7">descending</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>
<span class="kw">end;</span></div>

<span class="kw">assume </span><a NAME="E2:143"/><span class="lab"><font color="Green" title="E54">A9</font></span>: 
 <a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font> is  <a href="orders_5.html#V7" title="ORDERS_5:attr.7">descending</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="c2">s</font> is  <a href="orders_5.html#V5" title="ORDERS_5:attr.5">ascending</a> </span><br/>

<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="143_2"><span class="kw">now </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">n</font>, <font color="Olive" title="b2">m</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> &amp; <font color="Olive" title="b2">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> &amp; <font color="Olive" title="b1">n</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Olive" title="b2">m</font> holds <br/><font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b1">n</font> <a href="orders_5.html#R3" title="ORDERS_5:pred.3">&lt;~</a> <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Olive" title="b2">m</font></span></a><div class="add"><span class="kw">let </span><font color="Maroon" title="c3">n</font>, <font color="Maroon" title="c4">m</font> be   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">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"> ( <font color="Maroon" title="c3">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> &amp; <font color="Maroon" title="c4">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> &amp; <font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c4">m</font> implies <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">n</font> <a href="orders_5.html#R3" title="ORDERS_5:pred.3">&lt;~</a> <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">m</font> )</span><br/><span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:143_2"/><span class="lab"><font color="Green" title="E55">A10</font></span>: 
( <font color="Maroon" title="c3">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> &amp; <font color="Maroon" title="c4">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> )
 <span class="kw">and </span><br/><a NAME="E2:143_2"/><span class="lab"><font color="Green" title="E56">A11</font></span>: 
<font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c4">m</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">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">n</font> <a href="orders_5.html#R3" title="ORDERS_5:pred.3">&lt;~</a> <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">m</font></span><br/><span class="kw">set </span><font color="Maroon" title="c5">l</font> =  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span>;<br/><a NAME="E3:143_2"/>
( <font color="Maroon" title="c3">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> &amp; <font color="Maroon" title="c4">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:143_2"><span class="lab"><font color="Green" title="E55">A10</font></span></a>, <a class="ref" href="finseq_5.html#T57" onmouseover="rs('finseq_5/T57')" onmouseout="rh()">FINSEQ_5:57</a></span>;<br/><a NAME="E4:143_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E57">A12</font></span>: 
( <font color="Maroon" title="c3">n</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p2">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> &amp; <font color="Maroon" title="c4">m</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p2">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#D3" onmouseover="rs('finseq_1/D3')" onmouseout="rh()">FINSEQ_1:def 3</a></span>;<br/><a NAME="E5:143_2"/><span class="kw">then </span>
( <font color="Maroon" title="c3">n</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> &amp; <font color="Maroon" title="c4">m</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T1" onmouseover="rs('finseq_1/T1')" onmouseout="rh()">FINSEQ_1:1</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c6">a</font> = <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p3">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">n</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1, <font color="Maroon" title="c7">b</font> = <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p3">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">m</font></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1 as   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_5.html#T1" onmouseover="rs('finseq_5/T1')" onmouseout="rh()">FINSEQ_5:1</a></span>;<br/><a NAME="E7:143_2"/><span class="lab"><font color="Green" title="E58">A13</font></span>: 
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_5.html#T57" onmouseover="rs('finseq_5/T57')" onmouseout="rh()">FINSEQ_5:57</a></span>;<br/><a NAME="E8:143_2"/>
( <font color="Maroon" title="c6">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p2">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> &amp; <font color="Maroon" title="c7">b</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K2" title="FINSEQ_1:func.2">Seg</a> <span class="p1">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p2">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E4:143_2"><span class="lab"><font color="Green" title="E57">A12</font></span></a>, <a class="ref" href="finseq_5.html#T2" onmouseover="rs('finseq_5/T2')" onmouseout="rh()">FINSEQ_5:2</a></span>;<br/><a NAME="E9:143_2"/><span class="kw">then </span><span class="lab"><font color="Green" title="E59">A14</font></span>: 
( <font color="Maroon" title="c6">a</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> &amp; <font color="Maroon" title="c7">b</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">s</font> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:143_2"><span class="lab"><font color="Green" title="E58">A13</font></span></a>, <a class="ref" href="finseq_1.html#D3" onmouseover="rs('finseq_1/D3')" onmouseout="rh()">FINSEQ_1:def 3</a></span>;<br/><span class="lab"><font color="Green" title="E60">A15</font></span>: <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">n</font> = 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <span class="p2">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">n</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:143_2"><span class="lab"><font color="Green" title="E55">A10</font></span></a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">a</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:143_2"><span class="lab"><font color="Green" title="E58">A13</font></span></a>, <a class="txt" href="#E1:143_2"><span class="lab"><font color="Green" title="E55">A10</font></span></a>, <a class="ref" href="finseq_5.html#T58" onmouseover="rs('finseq_5/T58')" onmouseout="rh()">FINSEQ_5:58</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c6">a</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:143_2"><span class="lab"><font color="Green" title="E59">A14</font></span></a>, <a class="txt" href="#E7:143_2"><span class="lab"><font color="Green" title="E58">A13</font></span></a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>
;<br/><span class="lab"><font color="Green" title="E61">A16</font></span>: <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">m</font> = 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <span class="p2">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">m</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:143_2"><span class="lab"><font color="Green" title="E55">A10</font></span></a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c7">b</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E7:143_2"><span class="lab"><font color="Green" title="E58">A13</font></span></a>, <a class="txt" href="#E1:143_2"><span class="lab"><font color="Green" title="E55">A10</font></span></a>, <a class="ref" href="finseq_5.html#T58" onmouseover="rs('finseq_5/T58')" onmouseout="rh()">FINSEQ_5:58</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span> <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="#E9:143_2"><span class="lab"><font color="Green" title="E59">A14</font></span></a>, <a class="txt" href="#E7:143_2"><span class="lab"><font color="Green" title="E58">A13</font></span></a>, <a class="ref" href="partfun1.html#D6" onmouseover="rs('partfun1/D6')" onmouseout="rh()">PARTFUN1:def 6</a></span>
;<br/><a NAME="E12:143_2"/>
( <font color="Maroon" title="c6">a</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p3">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c3">n</font> &amp; <font color="Maroon" title="c7">b</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <span class="p3">(<span class="default"><a href="finseq_5.html#K4" title="FINSEQ_5:func.4">Rev</a> <font color="Maroon" title="c2">s</font></span>)</span></span>)</span> <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> 1</span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <font color="Maroon" title="c4">m</font> )
 ;<br/><a NAME="E13:143_2"/><span class="kw">then </span>
<font color="Maroon" title="c7">b</font> <a href="xxreal_0.html#NR3" title="XXREAL_0:NR.3">&lt;</a> <font color="Maroon" title="c6">a</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:143_2"><span class="lab"><font color="Green" title="E56">A11</font></span></a>, <a class="ref" href="xreal_1.html#T15" onmouseover="rs('xreal_1/T15')" onmouseout="rh()">XREAL_1:15</a></span>;<br/><span class="kw">hence </span><a NAME="E14:143_2"/>
<font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c3">n</font> <a href="orders_5.html#R3" title="ORDERS_5:pred.3">&lt;~</a> <font color="Maroon" title="c2">s</font> <a href="partfun1.html#K7" title="PARTFUN1:func.7">/.</a> <font color="Maroon" title="c4">m</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E10:143_2"><span class="lab"><font color="Green" title="E60">A15</font></span></a>, <a class="txt" href="#E11:143_2"><span class="lab"><font color="Green" title="E61">A16</font></span></a>, <a class="txt" href="#E2:143"><span class="lab"><font color="Green" title="E54">A9</font></span></a>, <a class="txt" href="#E7:143_2"><span class="lab"><font color="Green" title="E58">A13</font></span></a>, <a class="txt" href="#E9:143_2"><span class="lab"><font color="Green" title="E59">A14</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><span class="kw">end;</span></div>
<span class="kw">hence </span><a NAME="E4:143"/>
<font color="Maroon" title="c2">s</font> is  <a href="orders_5.html#V5" title="ORDERS_5:attr.5">ascending</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>
