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

<span class="kw">let </span><font color="Maroon" title="c1">C</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">f</font> being   <a href="partfun1.html#NM1" title="PARTFUN1:NM.1">PartFunc</a> of <font color="Maroon" title="c1">C</font>,<a href="numbers.html#K1" title="NUMBERS:func.1">REAL</a> holds   <a href="rfunct_3.html#K19" title="RFUNCT_3:func.19">max-</a> <font color="Olive" title="b1">f</font> <a href="relset_1.html#R2" title="RELSET_1:pred.2">=</a>  <a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p1">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Olive" title="b1">f</font></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c2">f</font> be   <a href="partfun1.html#NM1" title="PARTFUN1:NM.1">PartFunc</a> of <font color="Maroon" title="c1">C</font>,<a href="numbers.html#K1" title="NUMBERS:func.1">REAL</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="rfunct_3.html#K19" title="RFUNCT_3:func.19">max-</a> <font color="Maroon" title="c2">f</font> <a href="relset_1.html#R2" title="RELSET_1:pred.2">=</a>  <a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p1">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span></span><br/>



<a NAME="E1:27"/>
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p2">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="rfunct_3.html#D10" onmouseover="rs('rfunct_3/D10')" onmouseout="rh()">RFUNCT_3:def 10</a></span>;<br/>
<a NAME="E2:27"/><span class="kw">then </span><span class="lab"><font color="Green" title="E27">A1</font></span>: 
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p2">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c2">f</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="E3:27"/><span class="lab"><font color="Green" title="E28">A2</font></span>: 
 <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><a href="rfunct_3.html#K19" title="RFUNCT_3:func.19">max-</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c2">f</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="rfunct_3.html#D11" onmouseover="rs('rfunct_3/D11')" onmouseout="rh()">RFUNCT_3:def 11</a></span>;<br/>
<a NAME="E4:27"/>
 for <font color="Olive" title="b1">x1</font> being    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c1">C</font>  st <font color="Olive" title="b1">x1</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c2">f</font> holds <br/><span class="p1">(<span class="default"><a href="rfunct_3.html#K19" title="RFUNCT_3:func.19">max-</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p2">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">x1</font>
 
<div><a class="txt" onmouseover="tooltip.show('hs2',this)" onmouseout="tooltip.hide()" onclick="hs2(this)" href="javascript:()" title="27_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c3">x1</font> be    <a href="subset_1.html#M1" title="SUBSET_1:mode.1">Element</a> of <font color="Maroon" title="c1">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">x1</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c2">f</font> implies <span class="p1">(<span class="default"><a href="rfunct_3.html#K19" title="RFUNCT_3:func.19">max-</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p2">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font> )</span><br/>

<span class="kw">assume </span><a NAME="E1:27_1"/><span class="lab"><font color="Green" title="E29">A3</font></span>: 
<font color="Maroon" title="c3">x1</font> <a href="tarski.html#R2" title="TARSKI:pred.2">in</a>  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <font color="Maroon" title="c2">f</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="rfunct_3.html#K19" title="RFUNCT_3:func.19">max-</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p2">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font></span><br/>

<span class="kw">then </span><span class="lab"><font color="Green" title="E30">A4</font></span>: <span class="p1">(<span class="default"><a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p2">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font> = 
 <a href="rfunct_3.html#K1" title="RFUNCT_3:func.1">max+</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:27"><span class="lab"><font color="Green" title="E27">A1</font></span></a>, <a class="ref" href="rfunct_3.html#D10" onmouseover="rs('rfunct_3/D10')" onmouseout="rh()">RFUNCT_3:def 10</a></span>
<br/>.= 
 <a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font></span>)</span>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>)
<span class="kw">by</span> <span class="lab"><a class="ref" href="rfunct_3.html#D1" onmouseover="rs('rfunct_3/D1')" onmouseout="rh()">RFUNCT_3:def 1</a></span>
<br/>.= 
 <a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font></span>)</span></span>)</span>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>)
<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/>
<span class="p1">(<span class="default"><a href="rfunct_3.html#K19" title="RFUNCT_3:func.19">max-</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font> = 
 <a href="rfunct_3.html#K2" title="RFUNCT_3:func.2">max-</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:27"><span class="lab"><font color="Green" title="E28">A2</font></span></a>, <a class="txt" href="#E1:27_1"><span class="lab"><font color="Green" title="E29">A3</font></span></a>, <a class="ref" href="rfunct_3.html#D11" onmouseover="rs('rfunct_3/D11')" onmouseout="rh()">RFUNCT_3:def 11</a></span>
<br/>.= 
 <a href="xxreal_0.html#K4" title="XXREAL_0:func.4">max</a> (<span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> <span class="p2">(<span class="default"><font color="Maroon" title="c2">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font></span>)</span></span>)</span>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>)
<span class="kw">by</span> <span class="lab"><a class="ref" href="rfunct_3.html#D2" onmouseover="rs('rfunct_3/D2')" onmouseout="rh()">RFUNCT_3:def 2</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E4:27_1"/>
<span class="p1">(<span class="default"><a href="rfunct_3.html#K19" title="RFUNCT_3:func.19">max-</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p2">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">x1</font>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:27_1"><span class="lab"><font color="Green" title="E30">A4</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="E5:27"/>
 <a href="rfunct_3.html#K19" title="RFUNCT_3:func.19">max-</a> <font color="Maroon" title="c2">f</font> <a href="relset_1.html#R2" title="RELSET_1:pred.2">=</a>  <a href="rfunct_3.html#K18" title="RFUNCT_3:func.18">max+</a> <span class="p1">(<span class="default"><a href="valued_1.html#K32" title="VALUED_1:func.32">-</a> <font color="Maroon" title="c2">f</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E3:27"><span class="lab"><font color="Green" title="E28">A2</font></span></a>, <a class="txt" href="#E2:27"><span class="lab"><font color="Green" title="E27">A1</font></span></a>, <a class="ref" href="partfun1.html#T5" onmouseover="rs('partfun1/T5')" onmouseout="rh()">PARTFUN1:5</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>
