<?xml version="1.0"?>
<div><span class="kw">theorem </span><span class="lab"><font color="Green" title="E21">Th16</font></span>: <a NAME="T16"><span class="comment"><font color="firebrick">:: SCPISORT:16</font></span><br/></a><div class="add"> for <font color="Olive" title="b1">P</font> being   <a href="compos_1.html#NM2" title="COMPOS_1:NM.2">Instruction-Sequence</a> of <a href="scmpds_2.html#K1" title="SCMPDS_2:func.1">SCMPDS</a><br/>  for <font color="Olive" title="b2">s</font> being   <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  <a href="memstr_0.html#V5" title="MEMSTR_0:attr.5">-started</a>  <a href="memstr_0.html#NM2" title="MEMSTR_0:NM.2">State</a> of <a href="scmpds_2.html#K1" title="SCMPDS_2:func.1">SCMPDS</a><br/>  for <font color="Olive" title="b3">f</font>, <font color="Olive" title="b4">g</font> being    <a href="finseq_1.html#M2" title="FINSEQ_1:mode.2">FinSequence</a> of  <a href="numbers.html#K4" title="NUMBERS:func.4">INT</a> <br/>  for <font color="Olive" title="b5">k0</font>, <font color="Olive" title="b6">k</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b2">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 4</span>)</span> <a href="xxreal_0.html#NR2" title="XXREAL_0:NR.2">&gt;=</a> 7 <a href="xcmplx_0.html#K2" title="XCMPLX_0:func.2">+</a> <span class="p1">(<span class="default"><font color="Olive" title="b2">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p2">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 6</span>)</span></span>)</span> &amp; <font color="Olive" title="b2">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K5" title="NUMBERS:func.5">0</a>  &amp; <font color="Olive" title="b6">k</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b2">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p1">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 6</span>)</span> &amp; <font color="Olive" title="b5">k0</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><font color="Olive" title="b2">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p3">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 4</span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> <span class="p2">(<span class="default"><font color="Olive" title="b2">s</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <span class="p3">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 6</span>)</span></span>)</span></span>)</span> <a href="xcmplx_0.html#K6" title="XCMPLX_0:func.6">-</a> 1 &amp; <font color="Olive" title="b3">f</font> <a href="scpisort.html#R1" title="SCPISORT:pred.1">is_FinSequence_on</a> <font color="Olive" title="b2">s</font>,<font color="Olive" title="b5">k0</font> &amp; <font color="Olive" title="b4">g</font> <a href="scpisort.html#R1" title="SCPISORT:pred.1">is_FinSequence_on</a>  <a href="scmpds_4.html#K6" title="SCMPDS_4:func.6">IExec</a> (<span class="p1">(<span class="default"><a href="scmpds_8.html#K2" title="SCMPDS_8:func.2">while&gt;0</a> (<a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a>,6,<span class="p2">(<span class="default"><span class="p3">(<span class="default"><span class="p4">(<span class="default">(<a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a>,5) <a href="scmpds_2.html#K16" title="SCMPDS_2:func.16">:=</a> (<span class="p5">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 4</span>)</span>,<span class="p5">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1</span>)</span>)</span>)</span> <a href="scmpds_4.html#K4" title="SCMPDS_4:func.4">';'</a> <span class="p4">(<span class="default"><a href="scmpds_2.html#K13" title="SCMPDS_2:func.13">SubFrom</a> (<a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a>,5,<span class="p5">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 4</span>)</span>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>)</span>)</span></span>)</span> <a href="scmpds_4.html#K1" title="SCMPDS_4:func.1">';'</a> <span class="p3">(<span class="default"><a href="scmpds_6.html#K3" title="SCMPDS_6:func.3">if&gt;0</a> (<a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a>,5,<span class="p4">(<span class="default"><span class="p5">(<span class="default"><span class="p0">(<span class="default"><span class="p1">(<span class="default"><span class="p2">(<span class="default">(<a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a>,5) <a href="scmpds_2.html#K16" title="SCMPDS_2:func.16">:=</a> (<span class="p3">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 4</span>)</span>,<span class="p3">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1</span>)</span>)</span>)</span> <a href="scmpds_4.html#K4" title="SCMPDS_4:func.4">';'</a> <span class="p2">(<span class="default">(<span class="p3">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 4</span>)</span>,<span class="p3">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1</span>)</span>) <a href="scmpds_2.html#K16" title="SCMPDS_2:func.16">:=</a> (<span class="p3">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 4</span>)</span>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>)</span>)</span></span>)</span> <a href="scmpds_4.html#K3" title="SCMPDS_4:func.3">';'</a> <span class="p1">(<span class="default">(<span class="p2">(<span class="default"><a href="scmp_gcd.html#K1" title="SCMP_GCD:func.1">intpos</a> 4</span>)</span>,<a href="numbers.html#K5" title="NUMBERS:func.5">0</a>) <a href="scmpds_2.html#K16" title="SCMPDS_2:func.16">:=</a> (<a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a>,5)</span>)</span></span>)</span> <a href="scmpds_4.html#K3" title="SCMPDS_4:func.3">';'</a> <span class="p0">(<span class="default"><a href="scmpds_2.html#K11" title="SCMPDS_2:func.11">AddTo</a> (<a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a>,4,<span class="p1">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1</span>)</span>)</span>)</span></span>)</span> <a href="scmpds_4.html#K3" title="SCMPDS_4:func.3">';'</a> <span class="p5">(<span class="default"><a href="scmpds_2.html#K11" title="SCMPDS_2:func.11">AddTo</a> (<a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a>,6,<span class="p0">(<span class="default"><a href="xcmplx_0.html#K4" title="XCMPLX_0:func.4">-</a> 1</span>)</span>)</span>)</span></span>)</span>,<span class="p4">(<span class="default"><a href="compos_1.html#K9" title="COMPOS_1:func.9">Load</a> <span class="p5">(<span class="default">(<a href="scmp_gcd.html#K2" title="SCMP_GCD:func.2">GBP</a>,6) <a href="scmpds_2.html#K10" title="SCMPDS_2:func.10">:=</a> <a href="numbers.html#K5" title="NUMBERS:func.5">0</a></span>)</span></span>)</span>)</span>)</span></span>)</span>)</span>)</span>,<font color="Olive" title="b1">P</font>,<font color="Olive" title="b2">s</font>),<font color="Olive" title="b5">k0</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b3">f</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b4">g</font> &amp;  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b3">f</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Olive" title="b6">k</font> &amp; <font color="Olive" title="b3">f</font> <a href="finseq_6.html#R1" title="FINSEQ_6:pred.1">is_non_decreasing_on</a> 1,<font color="Olive" title="b6">k</font> holds <br/>( <font color="Olive" title="b3">f</font>,<font color="Olive" title="b4">g</font> <a href="classes1.html#R2" title="CLASSES1:pred.2">are_fiberwise_equipotent</a>  &amp; <font color="Olive" title="b4">g</font> <a href="finseq_6.html#R1" title="FINSEQ_6:pred.1">is_non_decreasing_on</a> 1,<font color="Olive" title="b6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; (  for <font color="Olive" title="b7">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st <font color="Olive" title="b7">i</font> <a href="xxreal_0.html#NR4" title="XXREAL_0:NR.4">&gt;</a> <font color="Olive" title="b6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; <font color="Olive" title="b7">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a>  <a href="finseq_1.html#K3" title="FINSEQ_1:func.3">len</a> <font color="Olive" title="b3">f</font> holds <br/><font color="Olive" title="b3">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b7">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b4">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b7">i</font> ) &amp; (  for <font color="Olive" title="b7">i</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a>  st 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b7">i</font> &amp; <font color="Olive" title="b7">i</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 holds <br/> ex <font color="Olive" title="b8">j</font> being   <a href="ordinal1.html#NM6" title="ORDINAL1:NM.6">Nat</a> st <br/>( 1 <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b8">j</font> &amp; <font color="Olive" title="b8">j</font> <a href="xxreal_0.html#R1" title="XXREAL_0:pred.1">&lt;=</a> <font color="Olive" title="b6">k</font> <a href="nat_1.html#K1" title="NAT_1:func.1">+</a> 1 &amp; <font color="Olive" title="b4">g</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b7">i</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Olive" title="b3">f</font> <a href="funct_1.html#K1" title="FUNCT_1:func.1">.</a> <font color="Olive" title="b8">j</font> ) ) )</div></div>
