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

<b>set </b><font color="Maroon" title="c4">AL</font> = <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="msafree.html#K8" title="MSAFREE:func.8">FreeSort</a> <font color="Maroon" title="c2">X</font></span>)</span> <a href="pboole.html#K6" title="PBOOLE:func.6">#</a> </span>)</span> <a href="pboole.html#K7" title="PBOOLE:func.7">*</a> the <a href="msualg_1.html#U1" title="MSUALG_1:sel.1">Arity</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font>;<br/>
<b>set </b><font color="Maroon" title="c5">AX</font> = <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="msafree.html#K8" title="MSAFREE:func.8">FreeSort</a> <font color="Maroon" title="c2">X</font></span>)</span> <a href="pboole.html#K7" title="PBOOLE:func.7">*</a> the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font>;<br/>
<b>set </b><font color="Maroon" title="c6">D</font> =  <a href="msafree.html#K5" title="MSAFREE:func.5">DTConMSA</a> <font color="Maroon" title="c2">X</font>;<br/>
<b>let </b><font color="Maroon" title="c7">f</font>, <font color="Maroon" title="c8">g</font> be   <a href="funct_2.html#NM1" title="FUNCT_2:NM.1">Function</a> of <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="msafree.html#K8" title="MSAFREE:func.8">FreeSort</a> <font color="Maroon" title="c2">X</font></span>)</span> <a href="pboole.html#K6" title="PBOOLE:func.6">#</a> </span>)</span> <a href="pboole.html#K7" title="PBOOLE:func.7">*</a> the <a href="msualg_1.html#U1" title="MSUALG_1:sel.1">Arity</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font>,<span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="msafree.html#K8" title="MSAFREE:func.8">FreeSort</a> <font color="Maroon" title="c2">X</font></span>)</span> <a href="pboole.html#K7" title="PBOOLE:func.7">*</a> the <a href="msualg_1.html#U2" title="MSUALG_1:sel.2">ResultSort</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font>; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> ( ( for <font color="Olive" title="b1">p</font> being   <a href="trees_4.html#M1" title="TREES_4:mode.1">FinSequence</a> of  <a href="dtconstr.html#K4" title="DTCONSTR:func.4">TS</a> <span class="p1">(<span class="default"><a href="msafree.html#K5" title="MSAFREE:func.5">DTConMSA</a> <font color="Maroon" title="c2">X</font></span>)</span>  st  <a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font> <a href="lang1.html#R1" title="LANG1:pred.1">==&gt;</a>  <a href="dtconstr.html#K1" title="DTCONSTR:func.1">roots</a> <font color="Olive" title="b1">p</font> holds <br/><font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font></span>)</span> <a href="trees_4.html#K12" title="TREES_4:func.12">-tree</a> <font color="Olive" title="b1">p</font> ) &amp; ( for <font color="Olive" title="b1">p</font> being   <a href="trees_4.html#M1" title="TREES_4:mode.1">FinSequence</a> of  <a href="dtconstr.html#K4" title="DTCONSTR:func.4">TS</a> <span class="p1">(<span class="default"><a href="msafree.html#K5" title="MSAFREE:func.5">DTConMSA</a> <font color="Maroon" title="c2">X</font></span>)</span>  st  <a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font> <a href="lang1.html#R1" title="LANG1:pred.1">==&gt;</a>  <a href="dtconstr.html#K1" title="DTCONSTR:func.1">roots</a> <font color="Olive" title="b1">p</font> holds <br/><font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font></span>)</span> <a href="trees_4.html#K12" title="TREES_4:func.12">-tree</a> <font color="Olive" title="b1">p</font> ) implies <font color="Maroon" title="c7">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">g</font> )</span><br/>

<b>assume </b><b>that </b><br/><a NAME="E1:31_1_2"/><i><font color="Green" title="E19">A6</font></i>: 
for <font color="Olive" title="b1">p</font> being   <a href="trees_4.html#M1" title="TREES_4:mode.1">FinSequence</a> of  <a href="dtconstr.html#K4" title="DTCONSTR:func.4">TS</a> <span class="p1">(<span class="default"><a href="msafree.html#K5" title="MSAFREE:func.5">DTConMSA</a> <font color="Maroon" title="c2">X</font></span>)</span>  st  <a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font> <a href="lang1.html#R1" title="LANG1:pred.1">==&gt;</a>  <a href="dtconstr.html#K1" title="DTCONSTR:func.1">roots</a> <font color="Olive" title="b1">p</font> holds <br/><font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font></span>)</span> <a href="trees_4.html#K12" title="TREES_4:func.12">-tree</a> <font color="Olive" title="b1">p</font>
 <b>and </b><br/><a NAME="E2:31_1_2"/><i><font color="Green" title="E20">A7</font></i>: 
for <font color="Olive" title="b1">p</font> being   <a href="trees_4.html#M1" title="TREES_4:mode.1">FinSequence</a> of  <a href="dtconstr.html#K4" title="DTCONSTR:func.4">TS</a> <span class="p1">(<span class="default"><a href="msafree.html#K5" title="MSAFREE:func.5">DTConMSA</a> <font color="Maroon" title="c2">X</font></span>)</span>  st  <a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font> <a href="lang1.html#R1" title="LANG1:pred.1">==&gt;</a>  <a href="dtconstr.html#K1" title="DTCONSTR:func.1">roots</a> <font color="Olive" title="b1">p</font> holds <br/><font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font></span>)</span> <a href="trees_4.html#K12" title="TREES_4:func.12">-tree</a> <font color="Olive" title="b1">p</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> <font color="Maroon" title="c7">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">g</font></span><br/>

<a NAME="E3:31_1_2"/><i><font color="Green" title="E21">A8</font></i>: 
(  <a href="relset_1.html#K4" title="RELSET_1:func.4">dom</a> <font color="Maroon" title="c7">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="msafree.html#K8" title="MSAFREE:func.8">FreeSort</a> <font color="Maroon" title="c2">X</font></span>)</span> <a href="pboole.html#K6" title="PBOOLE:func.6">#</a> </span>)</span> <a href="pboole.html#K7" title="PBOOLE:func.7">*</a> the <a href="msualg_1.html#U1" title="MSUALG_1:sel.1">Arity</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font> &amp;  <a href="relset_1.html#K4" title="RELSET_1:func.4">dom</a> <font color="Maroon" title="c8">g</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="msafree.html#K8" title="MSAFREE:func.8">FreeSort</a> <font color="Maroon" title="c2">X</font></span>)</span> <a href="pboole.html#K6" title="PBOOLE:func.6">#</a> </span>)</span> <a href="pboole.html#K7" title="PBOOLE:func.7">*</a> the <a href="msualg_1.html#U1" title="MSUALG_1:sel.1">Arity</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font> )
 
<b>by </b><i><a class="ref" href="funct_2.html#D1" title="FUNCT_2:def.1">FUNCT_2:def 1</a></i>;<br/>
<a NAME="E4:31_1_2"/>
for <font color="Olive" title="b1">x</font> being   <a href="hidden.html#M1" title="HIDDEN:mode.1">set</a>   st <font color="Olive" title="b1">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="msafree.html#K8" title="MSAFREE:func.8">FreeSort</a> <font color="Maroon" title="c2">X</font></span>)</span> <a href="pboole.html#K6" title="PBOOLE:func.6">#</a> </span>)</span> <a href="pboole.html#K7" title="PBOOLE:func.7">*</a> the <a href="msualg_1.html#U1" title="MSUALG_1:sel.1">Arity</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font> holds <br/><font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b1">x</font>
 
<div><a class="txt" onclick="hs2(this)" href="javascript:()" title="31_1_2_1"><b>proof </b></a><div class="add">

<b>let </b><font color="Maroon" title="c9">x</font> be    <a href="hidden.html#M1" title="HIDDEN:mode.1">set</a> ; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> ( <font color="Maroon" title="c9">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="msafree.html#K8" title="MSAFREE:func.8">FreeSort</a> <font color="Maroon" title="c2">X</font></span>)</span> <a href="pboole.html#K6" title="PBOOLE:func.6">#</a> </span>)</span> <a href="pboole.html#K7" title="PBOOLE:func.7">*</a> the <a href="msualg_1.html#U1" title="MSUALG_1:sel.1">Arity</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font> implies <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">x</font> )</span><br/>

<b>assume </b><a NAME="E1:31_1_2_1"/><i><font color="Green" title="E22">A9</font></i>: 
<font color="Maroon" title="c9">x</font> <a href="hidden.html#R2" title="HIDDEN:pred.2">in</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><a href="msafree.html#K8" title="MSAFREE:func.8">FreeSort</a> <font color="Maroon" title="c2">X</font></span>)</span> <a href="pboole.html#K6" title="PBOOLE:func.6">#</a> </span>)</span> <a href="pboole.html#K7" title="PBOOLE:func.7">*</a> the <a href="msualg_1.html#U1" title="MSUALG_1:sel.1">Arity</a> of <font color="Maroon" title="c1">S</font></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c3">o</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">x</font></span><br/>

<b>then reconsider </b><font color="Maroon" title="c10">p</font> = <font color="Maroon" title="c9">x</font> as    <a href="trees_4.html#M1" title="TREES_4:mode.1">FinSequence</a> of  <a href="dtconstr.html#K4" title="DTCONSTR:func.4">TS</a> <span class="p1">(<span class="default"><a href="msafree.html#K5" title="MSAFREE:func.5">DTConMSA</a> <font color="Maroon" title="c2">X</font></span>)</span> <b>by </b><i><a class="ref" href="msafree.html#T8" target="_self" title="MSAFREE:th.8">Th8</a></i>;<br/>
<a NAME="E3:31_1_2_1"/>
 <a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font> <a href="lang1.html#R1" title="LANG1:pred.1">==&gt;</a>  <a href="dtconstr.html#K1" title="DTCONSTR:func.1">roots</a> <font color="Maroon" title="c10">p</font>
 
<b>by </b><i><a class="txt" href="#E1:31_1_2_1"><i><font color="Green" title="E22">A9</font></i></a>, <a class="ref" href="msafree.html#T10" target="_self" title="MSAFREE:th.10">Th10</a></i>;<br/>
<a NAME="E4:31_1_2_1"/><b>then </b>
( <font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font></span>)</span> <a href="trees_4.html#K12" title="TREES_4:func.12">-tree</a> <font color="Maroon" title="c10">p</font> &amp; <font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c10">p</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="msafree.html#K6" title="MSAFREE:func.6">Sym</a> <font color="Maroon" title="c3">o</font>,<font color="Maroon" title="c2">X</font></span>)</span> <a href="trees_4.html#K12" title="TREES_4:func.12">-tree</a> <font color="Maroon" title="c10">p</font> )
 
<b>by </b><i><a class="txt" href="#E1:31_1_2"><i><font color="Green" title="E19">A6</font></i></a>, <a class="txt" href="#E2:31_1_2"><i><font color="Green" title="E20">A7</font></i></a></i>;<br/>
<b>hence </b><a NAME="E5:31_1_2_1"/>
<font color="Maroon" title="c7">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">x</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c9">x</font>
 ; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> verum</span><br/>


</div><b>end;</b></div>
<b>hence </b><a NAME="E5:31_1_2"/>
<font color="Maroon" title="c7">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c8">g</font>
 <b>by </b><i><a class="txt" href="#E3:31_1_2"><i><font color="Green" title="E21">A8</font></i></a>, <a class="ref" href="funct_1.html#T9" title="FUNCT_1:th.9">FUNCT_1:9</a></i>; <a class="txt" onclick="hs(this)" href="javascript:()"><i><font color="Red">::  thesis: </font></i></a><span class="hide"> verum</span><br/>


</div>
