<?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="funct_1.html#NM1" title="FUNCT_1:NM.1">Function</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   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><br/>  for <font color="Olive" title="b2">E</font> being    <a href="algspec1.html#M2" title="ALGSPEC1:mode.2">Extension</a> of <font color="Olive" title="b1">S</font>  st <font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font> <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Olive" title="b2">E</font> holds <br/><font color="Olive" title="b2">E</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>) is    <a href="algspec1.html#M2" title="ALGSPEC1:mode.2">Extension</a> of <font color="Olive" title="b1">S</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>)</span><br/><span class="kw">let </span><font color="Maroon" title="c3">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" 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">E</font> being    <a href="algspec1.html#M2" title="ALGSPEC1:mode.2">Extension</a> of <font color="Maroon" title="c3">S</font>  st <font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font> <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Olive" title="b1">E</font> holds <br/><font color="Olive" title="b1">E</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>) is    <a href="algspec1.html#M2" title="ALGSPEC1:mode.2">Extension</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>)</span><br/><span class="kw">let </span><font color="Maroon" title="c4">E</font> be    <a href="algspec1.html#M2" title="ALGSPEC1:mode.2">Extension</a> of <font color="Maroon" title="c3">S</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="c1">f</font>,<font color="Maroon" title="c2">g</font> <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Maroon" title="c4">E</font> implies <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>) is    <a href="algspec1.html#M2" title="ALGSPEC1:mode.2">Extension</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>) )</span><br/>







<span class="kw">set </span><font color="Maroon" title="c5">f9</font> =  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c1">f</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c6">g9</font> =  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c7">gg</font> =  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c8">T</font> = <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>);<br/>
<a NAME="E1:58"/><span class="lab"><font color="Green" title="E44">A1</font></span>: 
 the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <span class="p1">(<span class="default"> the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="pboole.html#R8" title="PBOOLE:pred.8">=</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="algspec1.html#T11" target="_self" onmouseover="rs('algspec1/T11')" onmouseout="rh()">Th11</a></span>;<br/>
<span class="kw">assume </span><a NAME="E2:58"/><span class="lab"><font color="Green" title="E45">A2</font></span>: 
<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font> <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Maroon" title="c4">E</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="c4">E</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>) is    <a href="algspec1.html#M2" title="ALGSPEC1:mode.2">Extension</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>)</span><br/>

<a NAME="E3:58"/><span class="kw">then </span>
<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font> <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Maroon" title="c3">S</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="algspec1.html#T52" target="_self" onmouseover="rs('algspec1/T52')" onmouseout="rh()">Th52</a></span>;<br/>
<a NAME="E4:58"/><span class="kw">then </span>
 the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c1">f</font>, the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font> <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Maroon" title="c3">S</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="algspec1.html#T30" target="_self" onmouseover="rs('algspec1/T30')" onmouseout="rh()">Th30</a></span>;<br/>
<a NAME="E5:58"/><span class="kw">then </span><span class="lab"><font color="Green" title="E46">A3</font></span>: 
<font color="Maroon" title="c1">f</font>, the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font> <a href="algspec1.html#R1" title="ALGSPEC1:pred.1">form_a_replacement_in</a> <font color="Maroon" title="c3">S</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E1:58"><span class="lab"><font color="Green" title="E44">A1</font></span></a>, <a class="ref" href="algspec1.html#T30" target="_self" onmouseover="rs('algspec1/T30')" onmouseout="rh()">Th30</a></span>;<br/>
<a NAME="E6:58"/><span class="lab"><font color="Green" title="E47">A4</font></span>: 
<font color="Maroon" title="c3">S</font> is    <a href="instalg1.html#M1" title="INSTALG1:mode.1">Subsignature</a> of <font color="Maroon" title="c4">E</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="algspec1.html#D5" target="_self" onmouseover="rs('algspec1/D5')" onmouseout="rh()">Def5</a></span>;<br/>
<a NAME="E7:58"/><span class="kw">then </span><span class="lab"><font color="Green" title="E48">A5</font></span>: 
<span class="p1">(<span class="default"> the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="relat_1.html#K5" title="RELAT_1:func.5">|</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font>
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="algspec1.html#T17" target="_self" onmouseover="rs('algspec1/T17')" onmouseout="rh()">Th17</a>, <a class="ref" href="instalg1.html#T10" onmouseover="rs('instalg1/T10')" onmouseout="rh()">INSTALG1:10</a></span>;<br/>
<a NAME="E8:58"/>
 the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c1">f</font>, the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font> <a href="pua2mss1.html#R3" title="PUA2MSS1:pred.3">form_morphism_between</a> <font color="Maroon" title="c4">E</font>,<font color="Maroon" title="c4">E</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:58"><span class="lab"><font color="Green" title="E45">A2</font></span></a>, <a class="ref" href="algspec1.html#T40" target="_self" onmouseover="rs('algspec1/T40')" onmouseout="rh()">Th40</a></span>;<br/>
<a NAME="E9:58"/><span class="kw">then </span><span class="lab"><font color="Green" title="E49">A6</font></span>: 
<font color="Maroon" title="c3">S</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<span class="p1">(<span class="default"><span class="p2">(<span class="default"> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="relat_1.html#K5" title="RELAT_1:func.5">|</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c3">S</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"> the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="relat_1.html#K5" title="RELAT_1:func.5">|</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font></span>)</span>) is    <a href="instalg1.html#M1" title="INSTALG1:mode.1">Subsignature</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:58"><span class="lab"><font color="Green" title="E47">A4</font></span></a>, <a class="ref" href="algspec1.html#T39" target="_self" onmouseover="rs('algspec1/T39')" onmouseout="rh()">Th39</a>, <a class="ref" href="instalg1.html#T18" onmouseover="rs('instalg1/T18')" onmouseout="rh()">INSTALG1:18</a></span>;<br/>
<a NAME="E10:58"/>
<span class="p1">(<span class="default"> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="relat_1.html#K5" title="RELAT_1:func.5">|</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c3">S</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c1">f</font>
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:58"><span class="lab"><font color="Green" title="E47">A4</font></span></a>, <a class="ref" href="algspec1.html#T17" target="_self" onmouseover="rs('algspec1/T17')" onmouseout="rh()">Th17</a>, <a class="ref" href="instalg1.html#T10" onmouseover="rs('instalg1/T10')" onmouseout="rh()">INSTALG1:10</a></span>;<br/>
<a NAME="E11:58"/><span class="kw">then </span>
<font color="Maroon" title="c3">S</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<span class="p1">(<span class="default"><span class="p2">(<span class="default"> the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c1">f</font></span>)</span> <a href="relat_1.html#K5" title="RELAT_1:func.5">|</a>  the <a href="struct_0.html#U1" title="STRUCT_0:sel.1">carrier</a> of <font color="Maroon" title="c3">S</font></span>)</span>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"> the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font></span>)</span> <a href="relat_1.html#K5" title="RELAT_1:func.5">|</a>  the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font></span>)</span>) <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<span class="p1">(<span class="default"> the <a href="struct_0.html#U4" title="STRUCT_0:sel.4">carrier'</a> of <font color="Maroon" title="c3">S</font> <a href="algspec1.html#K1" title="ALGSPEC1:func.1">-indexing</a> <font color="Maroon" title="c2">g</font></span>)</span>)
 
<span class="kw">by</span> <span class="lab"><a class="txt" href="#E5:58"><span class="lab"><font color="Green" title="E46">A3</font></span></a>, <a class="txt" href="#E7:58"><span class="lab"><font color="Green" title="E48">A5</font></span></a>, <a class="ref" href="algspec1.html#T43" target="_self" onmouseover="rs('algspec1/T43')" onmouseout="rh()">Th43</a></span>;<br/>
<span class="kw">hence </span><a NAME="E12:58"/>
<font color="Maroon" title="c3">S</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>) is    <a href="instalg1.html#M1" title="INSTALG1:mode.1">Subsignature</a> of <font color="Maroon" title="c4">E</font> <a href="algspec1.html#K2" title="ALGSPEC1:func.2">with-replacement</a> (<font color="Maroon" title="c1">f</font>,<font color="Maroon" title="c2">g</font>)
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E2:58"><span class="lab"><font color="Green" title="E45">A2</font></span></a>, <a class="txt" href="#E9:58"><span class="lab"><font color="Green" title="E49">A6</font></span></a>, <a class="ref" href="algspec1.html#T44" target="_self" onmouseover="rs('algspec1/T44')" onmouseout="rh()">Th44</a>, <a class="ref" href="algspec1.html#T52" target="_self" onmouseover="rs('algspec1/T52')" onmouseout="rh()">Th52</a></span>; <span class="comment"><font color="firebrick">:: according to </font></span><a class="ref" href="algspec1.html#D5" target="_self" onmouseover="rs('algspec1/D5')" onmouseout="rh()">ALGSPEC1:def 5</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>
