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

<span class="kw">let </span><font color="Maroon" title="c1">f</font>, <font color="Maroon" title="c2">g</font> be   <a href="valued_0.html#V3" title="VALUED_0:attr.3">real-valued</a>  <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</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">P</font> being   <a href="funct_2.html#NM2" title="FUNCT_2:NM.2">Permutation</a> of <span class="p1">(<span class="default"><a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">g</font></span>)</span>  st <font color="Maroon" title="c1">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">g</font> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Olive" title="b1">P</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">g</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 1 holds <br/> <a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Olive" title="b1">P</font></span><br/><span class="kw">let </span><font color="Maroon" title="c3">P</font> be   <a href="funct_2.html#NM2" title="FUNCT_2:NM.2">Permutation</a> of <span class="p1">(<span class="default"><a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">g</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"> ( <font color="Maroon" title="c1">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">g</font> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">g</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 1 implies  <a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font> )</span><br/>



<span class="kw">assume </span><span class="kw">that </span><br/><a NAME="E1:35"/><span class="lab"><font color="Green" title="E20">A1</font></span>: 
<font color="Maroon" title="c1">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c2">g</font> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font>
 <span class="kw">and </span><br/><a NAME="E2:35"/><span class="lab"><font color="Green" title="E21">A2</font></span>: 
 <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Maroon" title="c2">g</font> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 1
 ; <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="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font></span><br/>

<a NAME="E3:35"/><span class="lab"><font color="Green" title="E22">A3</font></span>: 
 <a href="rvsum_1.html#K1" title="RVSUM_1:func.1">rng</a> <font color="Maroon" title="c3">P</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">g</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_2.html#D3" onmouseover="rs('funct_2/D3')" onmouseout="rh()">FUNCT_2:def 3</a></span>;<br/>
<a NAME="E4:35"/><span class="lab"><font color="Green" title="E23">A4</font></span>: 
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">g</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="valued_1.html#T8" onmouseover="rs('valued_1/T8')" onmouseout="rh()">VALUED_1:8</a></span>;<br/>
<a NAME="E5:35"/><span class="kw">then </span><span class="lab"><font color="Green" title="E24">A5</font></span>: 
 <a href="rvsum_1.html#K1" title="RVSUM_1:func.1">rng</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="rvsum_1.html#K1" title="RVSUM_1:func.1">rng</a> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:35"><span class="lab"><font color="Green" title="E22">A3</font></span></a>, <a class="ref" href="relat_1.html#T28" onmouseover="rs('relat_1/T28')" onmouseout="rh()">RELAT_1:28</a></span>;<br/>
<a NAME="E6:35"/><span class="lab"><font color="Green" title="E25">A6</font></span>: 
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">g</font> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:35"><span class="lab"><font color="Green" title="E20">A1</font></span></a>, <a class="ref" href="valued_1.html#T8" onmouseover="rs('valued_1/T8')" onmouseout="rh()">VALUED_1:8</a></span>;<br/>
<a NAME="E7:35"/><span class="kw">then </span><span class="lab"><font color="Green" title="E26">A7</font></span>: 
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c3">P</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:35"><span class="lab"><font color="Green" title="E22">A3</font></span></a>, <a class="ref" href="relat_1.html#T27" onmouseover="rs('relat_1/T27')" onmouseout="rh()">RELAT_1:27</a></span>;<br/>
<a NAME="E8:35"/><span class="kw">then </span><span class="lab"><font color="Green" title="E27">A8</font></span>: 
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:35"><span class="lab"><font color="Green" title="E22">A3</font></span></a>, <a class="txt" href="#E4:35"><span class="lab"><font color="Green" title="E23">A4</font></span></a>, <a class="ref" href="relat_1.html#T27" onmouseover="rs('relat_1/T27')" onmouseout="rh()">RELAT_1:27</a></span>;<br/>
<a NAME="E9:35"/><span class="lab"><font color="Green" title="E28">A9</font></span>: 
 <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">g</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</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">g</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="E10:35"/><span class="kw">then </span>
 <a href="relat_1.html#NK1" title="RELAT_1:NK.1">dom</a> <font color="Maroon" title="c3">P</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K4" title="FINSEQ_1:func.4">dom</a> <font color="Maroon" title="c2">g</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:35"><span class="lab"><font color="Green" title="E21">A2</font></span></a>, <a class="ref" href="funct_2.html#D1" onmouseover="rs('funct_2/D1')" onmouseout="rh()">FUNCT_2:def 1</a></span>;<br/>
<a NAME="E11:35"/><span class="kw">then </span>
<span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font> is   <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</a>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:35"><span class="lab"><font color="Green" title="E28">A9</font></span></a>, <a class="txt" href="#E7:35"><span class="lab"><font color="Green" title="E26">A7</font></span></a>, <a class="txt" href="#E8:35"><span class="lab"><font color="Green" title="E27">A8</font></span></a>, <a class="ref" href="finseq_1.html#D2" onmouseover="rs('finseq_1/D2')" onmouseout="rh()">FINSEQ_1:def 2</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c4">k</font> = <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font> as    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#K1" title="NUMBERS:func.1">REAL</a>  <span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:35"><span class="lab"><font color="Green" title="E24">A5</font></span></a>, <a class="ref" href="finseq_1.html#D4" onmouseover="rs('finseq_1/D4')" onmouseout="rh()">FINSEQ_1:def 4</a></span>;<br/>
<a NAME="E13:35"/>
 for <font color="Olive" title="b1">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b1">i</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="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> holds <br/><span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">k</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">i</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="35_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c5">i</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="c5">i</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="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> implies <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">k</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font> )</span><br/>

<span class="kw">assume </span><a NAME="E1:35_1"/><span class="lab"><font color="Green" title="E29">A10</font></span>: 
<font color="Maroon" title="c5">i</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="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</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"> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">k</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font></span><br/>

<span class="kw">reconsider </span><font color="Maroon" title="c6">j</font> = <font color="Maroon" title="c3">P</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font> as   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> ;<br/>
<span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font> = 
 <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="rvsum_1.html#T17" onmouseover="rs('rvsum_1/T17')" onmouseout="rh()">RVSUM_1:17</a></span>
<br/>.= 
 <a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">P</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:35"><span class="lab"><font color="Green" title="E20">A1</font></span></a>, <a class="txt" href="#E6:35"><span class="lab"><font color="Green" title="E25">A6</font></span></a>, <a class="txt" href="#E1:35_1"><span class="lab"><font color="Green" title="E29">A10</font></span></a>, <a class="ref" href="funct_1.html#T12" onmouseover="rs('funct_1/T12')" onmouseout="rh()">FUNCT_1:12</a></span>
<br/>.= 
<span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c6">j</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="rvsum_1.html#T17" onmouseover="rs('rvsum_1/T17')" onmouseout="rh()">RVSUM_1:17</a></span>
<br/>.= 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:35"><span class="lab"><font color="Green" title="E27">A8</font></span></a>, <a class="txt" href="#E1:35_1"><span class="lab"><font color="Green" title="E29">A10</font></span></a>, <a class="ref" href="funct_1.html#T12" onmouseover="rs('funct_1/T12')" onmouseout="rh()">FUNCT_1:12</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E4:35_1"/>
<span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c4">k</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">i</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">hence </span><a NAME="E14:35"/>
 <a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c1">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rvsum_1.html#K6" title="RVSUM_1:func.6">-</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <font color="Maroon" title="c3">P</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E8:35"><span class="lab"><font color="Green" title="E27">A8</font></span></a>, <a class="ref" href="finseq_1.html#T13" onmouseover="rs('finseq_1/T13')" onmouseout="rh()">FINSEQ_1:13</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>
