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

<span class="kw">let </span><font color="Maroon" title="c1">S</font> be   non  <a href="struct_0.html#V11" title="STRUCT_0:attr.11">void</a>  <a href="catalg_1.html#NM1" title="CATALG_1:NM.1">Signature</a>; <a class="txt" 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="funct_1.html#NM1" title="FUNCT_1:NM.1">Function</a> holds  <font color="Olive" title="b1">f</font>, <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Maroon" title="c1">S</font></span><br/><span class="kw">let </span><font color="Maroon" title="c2">f</font> be   <a href="funct_1.html#NM1" title="FUNCT_1:NM.1">Function</a>; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> <font color="Maroon" title="c2">f</font>, <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Maroon" title="c1">S</font></span><br/>



<span class="kw">reconsider </span><font color="Maroon" title="c3">g</font> =  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  as   <a href="funct_1.html#NM1" title="FUNCT_1:NM.1">Function</a> ;<br/>
<a NAME="E2:33"/>
<font color="Maroon" title="c2">f</font>,<font color="Maroon" title="c3">g</font> <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Maroon" title="c1">S</font>
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="33_1"><span class="kw">proof </span></a><div class="add">

<span class="kw">let </span><font color="Maroon" title="c4">o1</font>, <font color="Maroon" title="c5">o2</font> be   <a href="msualg_1.html#NM2" title="MSUALG_1:NM.2">OperSymbol</a> of <font color="Maroon" title="c1">S</font>; <span class="comment"><font color="firebrick">:: according to </font></span><a class="ref" href="algspec1.html#D3" target="_self" title="ALGSPEC1:def.3">ALGSPEC1:def 3</a> <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c3">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">o1</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="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c3">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">o2</font> implies ( <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K1" title="MSUALG_1:func.1">the_arity_of</a> <font color="Maroon" title="c4">o1</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K1" title="MSUALG_1:func.1">the_arity_of</a> <font color="Maroon" title="c5">o2</font></span>)</span> &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c4">o1</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c5">o2</font></span>)</span> ) )</span><br/>

<a NAME="E1:33_1"/><span class="lab"><font color="Green" title="E27">A1</font></span>: 
<span class="p1">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c3">g</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c1">S</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_4.html#T21" title="FUNCT_4:th.21">FUNCT_4:21</a></span>;<br/>
<span class="kw">assume </span><a NAME="E2:33_1"/>
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c3">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c4">o1</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="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c3">g</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c5">o2</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> ( <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K1" title="MSUALG_1:func.1">the_arity_of</a> <font color="Maroon" title="c4">o1</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K1" title="MSUALG_1:func.1">the_arity_of</a> <font color="Maroon" title="c5">o2</font></span>)</span> &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c4">o1</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c5">o2</font></span>)</span> )</span><br/>

<span class="kw">then </span><font color="Maroon" title="c4">o1</font> = 
<span class="p1">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c5">o2</font>
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:33_1"><span class="lab"><font color="Green" title="E27">A1</font></span></a>, <a class="ref" href="funct_1.html#T17" title="FUNCT_1:th.17">FUNCT_1:17</a></span>
<br/>.= 
<font color="Maroon" title="c5">o2</font>
<span class="kw">by</span> <span class="lab"><a class="ref" href="funct_1.html#T17" title="FUNCT_1:th.17">FUNCT_1:17</a></span>
;<br/>
<span class="kw">hence </span><a NAME="E4:33_1"/>
( <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K1" title="MSUALG_1:func.1">the_arity_of</a> <font color="Maroon" title="c4">o1</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K1" title="MSUALG_1:func.1">the_arity_of</a> <font color="Maroon" title="c5">o2</font></span>)</span> &amp; <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c4">o1</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="partfun1.html#K6" title="PARTFUN1:func.6">id</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_4.html#K1" title="FUNCT_4:func.1">+*</a> <font color="Maroon" title="c2">f</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="msualg_1.html#K2" title="MSUALG_1:func.2">the_result_sort_of</a> <font color="Maroon" title="c5">o2</font></span>)</span> )
 ; <a class="txt" 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:33"/>
<font color="Maroon" title="c2">f</font>, <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Maroon" title="c1">S</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><span class="comment"><font color="firebrick">::  thesis: </font></span></a><span class="hide"> verum</span><br/>


</div>
