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

<span class="kw">let </span><font color="Maroon" title="c1">S</font> be   <a href="fomodel1.html#NM2" title="FOMODEL1:NM.2">Language</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">l1</font>, <font color="Olive" title="b2">l2</font> being   <a href="fomodel1.html#V4" title="FOMODEL1:attr.4">literal</a>  <a href="fomodel1.html#NM1" title="FOMODEL1:NM.1">Element</a> of <font color="Maroon" title="c1">S</font><br/>  for <font color="Olive" title="b3">t</font> being   <a href="fomodel1.html#V13" title="FOMODEL1:attr.13">termal</a>  <a href="fomodel1.html#NM3" title="FOMODEL1:NM.3">string</a> of <font color="Maroon" title="c1">S</font> holds   <a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <span class="p1">(<span class="default">(<font color="Olive" title="b1">l1</font>,<font color="Olive" title="b2">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Olive" title="b3">t</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Olive" title="b1">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Olive" title="b2">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Olive" title="b3">t</font></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c2">l1</font>, <font color="Maroon" title="c3">l2</font> be   <a href="fomodel1.html#V4" title="FOMODEL1:attr.4">literal</a>  <a href="fomodel1.html#NM1" title="FOMODEL1:NM.1">Element</a> of <font color="Maroon" title="c1">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">  for <font color="Olive" title="b1">t</font> being   <a href="fomodel1.html#V13" title="FOMODEL1:attr.13">termal</a>  <a href="fomodel1.html#NM3" title="FOMODEL1:NM.3">string</a> of <font color="Maroon" title="c1">S</font> holds   <a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <span class="p1">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Olive" title="b1">t</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Olive" title="b1">t</font></span>)</span></span><br/><span class="kw">let </span><font color="Maroon" title="c4">t</font> be   <a href="fomodel1.html#V13" title="FOMODEL1:attr.13">termal</a>  <a href="fomodel1.html#NM3" title="FOMODEL1:NM.3">string</a> of <font color="Maroon" title="c1">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">  <a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <span class="p1">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span></span><br/>







<span class="kw">set </span><font color="Maroon" title="c5">s</font> = <font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c6">newt</font> = (<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c7">ST</font> =  <a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c8">F</font> = <font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K22" title="FOMODEL1:func.22">-firstChar</a> ;<br/>
<span class="kw">set </span><font color="Maroon" title="c9">C</font> = <font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K21" title="FOMODEL1:func.21">-multiCat</a> ;<br/>
<span class="kw">set </span><font color="Maroon" title="c10">ST2</font> =  <a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <span class="p1">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span>;<br/>
<span class="kw">set </span><font color="Maroon" title="c11">SS</font> =  <a href="fomodel1.html#K1" title="FOMODEL1:func.1">AllSymbolsOf</a> <font color="Maroon" title="c1">S</font>;<br/>
<span class="kw">set </span><font color="Maroon" title="c12">TT</font> =  <a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font>;<br/>
<span class="kw">reconsider </span><font color="Maroon" title="c13">TTT</font> =  <a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font> as   <a href="subset_1.html#NM2" title="SUBSET_1:NM.2">Subset</a> of <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="fomodel1.html#K1" title="FOMODEL1:func.1">AllSymbolsOf</a> <font color="Maroon" title="c1">S</font></span>)</span> <a href="finseq_2.html#K3" title="FINSEQ_2:func.3">*</a></span>)</span> <span class="kw">by</span> <span class="lab"><a class="ref" href="xboole_1.html#T1" onmouseover="rs('xboole_1/T1')" onmouseout="rh()">XBOOLE_1:1</a></span>;<br/>
<a NAME="E2:125"/><span class="lab"><font color="Green" title="E53">A1</font></span>: 
(  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font> &amp;  <a href="relset_1.html#K1" title="RELSET_1:func.1">dom</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="partfun1.html#K2" title="PARTFUN1:func.2">|</a> <font color="Maroon" title="c13">TTT</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c13">TTT</font> &amp;  <a href="xtuple_0.html#K10" title="XTUPLE_0:func.10">rng</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="partfun1.html#K2" title="PARTFUN1:func.2">|</a> <span class="p2">(<span class="default"><a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font></span>)</span></span>)</span> <a href="tarski.html#R1" title="TARSKI:pred.1">c=</a>  <a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font> )
 
<span class="kw">by</span> <span class="lab"><a class="ref" href="relat_1.html#D19" onmouseover="rs('relat_1/D19')" onmouseout="rh()">RELAT_1:def 19</a>, <a class="ref" href="partfun1.html#D2" onmouseover="rs('partfun1/D2')" onmouseout="rh()">PARTFUN1:def 2</a></span>;<br/>
<span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c14">ss</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="partfun1.html#K2" title="PARTFUN1:func.2">|</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font></span>)</span> as   <a href="funct_2.html#NM1" title="FUNCT_2:NM.1">Function</a> of <span class="p1">(<span class="default"><a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font></span>)</span>,<span class="p1">(<span class="default"><a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font></span>)</span> <span class="kw">by</span> <span class="lab"><a class="ref" href="funct_2.html#T2" onmouseover="rs('funct_2/T2')" onmouseout="rh()">FUNCT_2:2</a></span>;<br/>
<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="125_1"><span class="kw">per </span></a><a class="txt" onmouseover="tooltip.show('hs',this)" onmouseout="tooltip.hide()" onclick="hs(this)" href="javascript:()"><span class="kw">cases </span></a><span class="hide"><a NAME="E1:125_1"/>
(  not <font color="Maroon" title="c4">t</font> is  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="fomodel1.html#V14" title="FOMODEL1:attr.14">-termal</a>  or <font color="Maroon" title="c4">t</font> is  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="fomodel1.html#V14" title="FOMODEL1:attr.14">-termal</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="125_1_1"><span class="kw">suppose </span></a><a NAME="E1:125_1_1"/>
 not <font color="Maroon" title="c4">t</font> is  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="fomodel1.html#V14" title="FOMODEL1:attr.14">-termal</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="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <span class="p1">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span></span><br/><div class="add"><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c15">s1</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K22" title="FOMODEL1:func.22">-firstChar</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c4">t</font> as   non  <a href="fomodel1.html#V4" title="FOMODEL1:attr.4">literal</a>   <a href="fomodel1.html#V10" title="FOMODEL1:attr.10">ofAtomicFormula</a>  <a href="fomodel1.html#NM1" title="FOMODEL1:NM.1">Element</a> of <font color="Maroon" title="c1">S</font> <span class="kw">by</span> <span class="lab"><a class="ref" href="fomodel1.html#T16" onmouseover="rs('fomodel1/T16')" onmouseout="rh()">FOMODEL1:16</a></span>;<br/><span class="kw">reconsider </span><font color="Maroon" title="c16">h</font> = (<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <span class="p1"><a href="fomodel1.html#K43" title="FOMODEL1:func.43">&lt;*</a><span class="default"><font color="Maroon" title="c15">s1</font></span><a href="fomodel1.html#K43" title="FOMODEL1:func.43">*&gt;</a></span> as   <a href="fomodel1.html#K1" title="FOMODEL1:func.1">AllSymbolsOf</a> <font color="Maroon" title="c1">S</font> <a href="relat_1.html#V5" title="RELAT_1:attr.5">-valued</a>  1 <a href="card_1.html#V3" title="CARD_1:attr.3">-element</a>  <a href="finseq_1.html#NM1" title="FINSEQ_1:NM.1">FinSequence</a> ;<br/><span class="kw">set </span><font color="Maroon" title="c17">s2</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K22" title="FOMODEL1:func.22">-firstChar</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span>;<br/><span class="kw">set </span><font color="Maroon" title="c18">n1</font> = <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><span class="p2">(<span class="default"><a href="fomodel1.html#K19" title="FOMODEL1:func.19">ar</a> <font color="Maroon" title="c15">s1</font></span>)</span></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span>;<br/><span class="kw">set </span><font color="Maroon" title="c19">n2</font> = <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><span class="p2">(<span class="default"><a href="fomodel1.html#K19" title="FOMODEL1:func.19">ar</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K22" title="FOMODEL1:func.22">-firstChar</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p4">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span></span>)</span></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span>;<br/><a NAME="E4:125_1_1"/>
<font color="Maroon" title="c14">ss</font> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="relat_1.html#T165" onmouseover="rs('relat_1/T165')" onmouseout="rh()">RELAT_1:165</a>, <a class="txt" href="#E2:125"><span class="lab"><font color="Green" title="E53">A1</font></span></a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c20">p</font> = <span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span> as  <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><span class="p2">(<span class="default"><a href="fomodel1.html#K19" title="FOMODEL1:func.19">ar</a> <font color="Maroon" title="c15">s1</font></span>)</span></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="card_1.html#V3" title="CARD_1:attr.3">-element</a>   <a href="fomodel0.html#M1" title="FOMODEL0:mode.1">FinSequence</a> of  <a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font> <span class="kw">by</span> <span class="lab"><a class="ref" href="fomodel0.html#T26" onmouseover="rs('fomodel0/T26')" onmouseout="rh()">FOMODEL0:26</a></span>;<br/><a NAME="E6:125_1_1"/><span class="lab"><font color="Green" title="E54">A2</font></span>: 
(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="fomodel1.html#K43" title="FOMODEL1:func.43">&lt;*</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K22" title="FOMODEL1:func.22">-firstChar</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p3">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span></span><a href="fomodel1.html#K43" title="FOMODEL1:func.43">*&gt;</a></span> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K21" title="FOMODEL1:func.21">-multiCat</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p2">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <span class="p3">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="fomodel1.html#D37" onmouseover="rs('fomodel1/D37')" onmouseout="rh()">FOMODEL1:def 37</a></span>;<br/><a NAME="E7:125_1_1"/>
<font color="Maroon" title="c4">t</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="fomodel1.html#K43" title="FOMODEL1:func.43">&lt;*</a><span class="default"><font color="Maroon" title="c15">s1</font></span><a href="fomodel1.html#K43" title="FOMODEL1:func.43">*&gt;</a></span> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K21" title="FOMODEL1:func.21">-multiCat</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p2">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="fomodel1.html#D37" onmouseover="rs('fomodel1/D37')" onmouseout="rh()">FOMODEL1:def 37</a></span>;<br/><span class="kw">then </span><span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <font color="Maroon" title="c4">t</font> = 
<span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p2"><a href="fomodel1.html#K43" title="FOMODEL1:func.43">&lt;*</a><span class="default"><font color="Maroon" title="c15">s1</font></span><a href="fomodel1.html#K43" title="FOMODEL1:func.43">*&gt;</a></span></span>)</span> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K21" title="FOMODEL1:func.21">-multiCat</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p3">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="fomodel0.html#T36" onmouseover="rs('fomodel0/T36')" onmouseout="rh()">FOMODEL0:36</a></span>
<br/>.= 
<font color="Maroon" title="c16">h</font> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K21" title="FOMODEL1:func.21">-multiCat</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p3">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="fomodel0.html#D22" onmouseover="rs('fomodel0/D22')" onmouseout="rh()">FOMODEL0:def 22</a></span>
<br/>.= 
<font color="Maroon" title="c16">h</font> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K21" title="FOMODEL1:func.21">-multiCat</a></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p3">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span></span>)</span>
<span class="kw">by</span> <span class="lab"><a class="ref" href="fomodel0.html#T37" onmouseover="rs('fomodel0/T37')" onmouseout="rh()">FOMODEL0:37</a></span>
;<br/><a NAME="E9:125_1_1"/><span class="kw">then </span><span class="lab"><font color="Green" title="E55">A3</font></span>: 
(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c16">h</font> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K21" title="FOMODEL1:func.21">-multiCat</a></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c20">p</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="fomodel0.html#D22" onmouseover="rs('fomodel0/D22')" onmouseout="rh()">FOMODEL0:def 22</a></span>;<br/><a NAME="E10:125_1_1"/><span class="kw">then </span>
( <font color="Maroon" title="c16">h</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="fomodel1.html#K43" title="FOMODEL1:func.43">&lt;*</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K22" title="FOMODEL1:func.22">-firstChar</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p3">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span></span><a href="fomodel1.html#K43" title="FOMODEL1:func.43">*&gt;</a></span> &amp; <font color="Maroon" title="c16">h</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="fomodel1.html#K43" title="FOMODEL1:func.43">&lt;*</a><span class="default"><font color="Maroon" title="c15">s1</font></span><a href="fomodel1.html#K43" title="FOMODEL1:func.43">*&gt;</a></span> )
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E6:125_1_1"><span class="lab"><font color="Green" title="E54">A2</font></span></a>, <a class="ref" href="fomodel0.html#T41" onmouseover="rs('fomodel0/T41')" onmouseout="rh()">FOMODEL0:41</a>, <a class="ref" href="fomodel0.html#T34" onmouseover="rs('fomodel0/T34')" onmouseout="rh()">FOMODEL0:34</a></span>;<br/><a NAME="E11:125_1_1"/><span class="kw">then </span>
( <font color="Maroon" title="c16">h</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c15">s1</font> &amp; <font color="Maroon" title="c16">h</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> 1 <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K22" title="FOMODEL1:func.22">-firstChar</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p1">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span> )
 <span class="kw">by</span> <span class="lab"><a class="ref" href="finseq_1.html#T40" onmouseover="rs('finseq_1/T40')" onmouseout="rh()">FINSEQ_1:40</a></span>;<br/><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c21">pp</font> = <font color="Maroon" title="c20">p</font> as  <span class="p1"><a href="int_2.html#K1" title="INT_2:func.1">|.</a><span class="default"><span class="p2">(<span class="default"><a href="fomodel1.html#K19" title="FOMODEL1:func.19">ar</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K22" title="FOMODEL1:func.22">-firstChar</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p4">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span></span>)</span></span><a href="int_2.html#K1" title="INT_2:func.1">.|</a></span> <a href="card_1.html#V3" title="CARD_1:attr.3">-element</a>   <a href="subset_1.html#M2" title="SUBSET_1:mode.2">Element</a> of <span class="p1">(<span class="default"><a href="fomodel1.html#K35" title="FOMODEL1:func.35">AllTermsOf</a> <font color="Maroon" title="c1">S</font></span>)</span> <a href="fomodel0.html#K3" title="FOMODEL0:func.3">*</a>  ;<br/><a NAME="E13:125_1_1"/>
(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1"><a href="fomodel1.html#K43" title="FOMODEL1:func.43">&lt;*</a><span class="default"><span class="p2">(<span class="default"><span class="p3">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K22" title="FOMODEL1:func.22">-firstChar</a></span>)</span> <a href="funct_2.html#K3" title="FUNCT_2:func.3">.</a> <span class="p3">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span></span>)</span></span><a href="fomodel1.html#K43" title="FOMODEL1:func.43">*&gt;</a></span> <a href="finseq_1.html#K7" title="FINSEQ_1:func.7">^</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Maroon" title="c1">S</font> <a href="fomodel1.html#K21" title="FOMODEL1:func.21">-multiCat</a></span>)</span> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Maroon" title="c21">pp</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="txt" href="#E9:125_1_1"><span class="lab"><font color="Green" title="E55">A3</font></span></a>, <a class="txt" href="#E6:125_1_1"><span class="lab"><font color="Green" title="E54">A2</font></span></a>, <a class="ref" href="fomodel0.html#T41" onmouseover="rs('fomodel0/T41')" onmouseout="rh()">FOMODEL0:41</a></span>;<br/><span class="kw">hence </span><a NAME="E14:125_1_1"/>
 <a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <span class="p1">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span>
 <span class="kw">by</span> <span class="lab"><a class="ref" href="fomodel1.html#D37" onmouseover="rs('fomodel1/D37')" onmouseout="rh()">FOMODEL1:def 37</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><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="125_1_2"><span class="kw">suppose </span></a><a NAME="E1:125_1_2"/>
<font color="Maroon" title="c4">t</font> is  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="fomodel1.html#V14" title="FOMODEL1:attr.14">-termal</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="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <span class="p1">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</font></span>)</span></span><br/><div class="add"><span class="kw">then </span><span class="kw">reconsider </span><font color="Maroon" title="c15">t0</font> = <font color="Maroon" title="c4">t</font> as   <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="fomodel1.html#V14" title="FOMODEL1:attr.14">-termal</a>  <a href="fomodel1.html#NM3" title="FOMODEL1:NM.3">string</a> of <font color="Maroon" title="c1">S</font> ;<br/><span class="kw">reconsider </span><font color="Maroon" title="c16">newt</font> = (<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c15">t0</font> as   <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="fomodel1.html#V14" title="FOMODEL1:attr.14">-termal</a>  <a href="fomodel1.html#NM3" title="FOMODEL1:NM.3">string</a> of <font color="Maroon" title="c1">S</font> ;<br/><a NAME="E4:125_1_2"/>
(  <a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c16">newt</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  &amp;  <a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c15">t0</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="xboole_0.html#K1" title="XBOOLE_0:func.1">{}</a>  )
 ;<br/><span class="kw">hence </span><a NAME="E5:125_1_2"/>
 <a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <span class="p1">(<span class="default">(<font color="Maroon" title="c2">l1</font>,<font color="Maroon" title="c3">l2</font>) <a href="fomodel3.html#K24" title="FOMODEL3:func.24">-SymbolSubstIn</a> <font color="Maroon" title="c4">t</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><font color="Maroon" title="c2">l1</font> <a href="fomodel0.html#K20" title="FOMODEL0:func.20">SubstWith</a> <font color="Maroon" title="c3">l2</font></span>)</span> <a href="funct_1.html#NK3" title="FUNCT_1:NK.3">*</a> <span class="p1">(<span class="default"><a href="fomodel1.html#K33" title="FOMODEL1:func.33">SubTerms</a> <font color="Maroon" title="c4">t</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"> verum</span><br/></div><span class="kw">end;</span></div></div><span class="kw">end;</span></div>

</div>
