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

<b>let </b><font color="Maroon" title="c3">s</font> be   <a href="ami_1.html#NM5" title="AMI_1:NM.5">State</a> of <a href="scmpds_2.html#K1" title="SCMPDS_2:func.1">SCMPDS</a> ;<br/><b>let </b><font color="Maroon" title="c4">I</font> be  <a href="scmpds_4.html#V2" title="SCMPDS_4:attr.2">parahalting</a> <a href="scmpds_4.html#V3" title="SCMPDS_4:attr.3">shiftable</a> <a href="scmpds_5.html#V3" title="SCMPDS_5:attr.3">No-StopCode</a> <a href="scmpds_4.html#NM1" title="SCMPDS_4:NM.1">Program-block</a>;<br/><b>let </b><font color="Maroon" title="c5">a</font> be    <a href="scmpds_2.html#M1" title="SCMPDS_2:mode.1">Int_position</a> ;<br/><b>let </b><font color="Maroon" title="c6">k1</font> be   <a href="int_1.html#NM1" title="INT_1:NM.1">Integer</a>;<br/>







<b>set </b><font color="Maroon" title="c7">IF</font> =  <a href="scmpds_6.html#K5" title="SCMPDS_6:func.5">if=0</a> <font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">k1</font>,<font color="Maroon" title="c4">I</font>;<br/>
<a NAME="E1:77"/><i><font color="Green" title="E59">A1</font></i>: 
( <font color="Maroon" title="c4">I</font> <a href="scmpds_6.html#R1" title="SCMPDS_6:pred.1">is_closed_on</a> <font color="Maroon" title="c3">s</font> &amp; <font color="Maroon" title="c4">I</font> <a href="scmpds_6.html#R2" title="SCMPDS_6:pred.2">is_halting_on</a> <font color="Maroon" title="c3">s</font> )
 
<b>by </b><i><a class="ref" href="scmpds_6.html#T34" target="_self" title="SCMPDS_6:th.34">Th34</a>, <a class="ref" href="scmpds_6.html#T35" target="_self" title="SCMPDS_6:th.35">Th35</a></i>;<br/>
<div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="77_1"><b>per </b></a><a class="txt" onclick="hs(this)" href="javascript:()"><b>cases </b></a><span class="hide"><a NAME="E1:77_1"/>
( <font color="Maroon" title="c3">s</font> <a href="scmpds_2.html#K2" title="SCMPDS_2:func.2">.</a> <span class="p1">(<span class="default"><a href="scmpds_2.html#K3" title="SCMPDS_2:func.3">DataLoc</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">s</font> <a href="scmpds_2.html#K2" title="SCMPDS_2:func.2">.</a> <font color="Maroon" title="c5">a</font></span>)</span>,<font color="Maroon" title="c6">k1</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  or <font color="Maroon" title="c3">s</font> <a href="scmpds_2.html#K2" title="SCMPDS_2:func.2">.</a> <span class="p1">(<span class="default"><a href="scmpds_2.html#K3" title="SCMPDS_2:func.3">DataLoc</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">s</font> <a href="scmpds_2.html#K2" title="SCMPDS_2:func.2">.</a> <font color="Maroon" title="c5">a</font></span>)</span>,<font color="Maroon" title="c6">k1</font></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a>  )
 </span>;<br/><div class="add"><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="77_1_1"><b>suppose </b></a><a NAME="E1:77_1_1"/>
<font color="Maroon" title="c3">s</font> <a href="scmpds_2.html#K2" title="SCMPDS_2:func.2">.</a> <span class="p1">(<span class="default"><a href="scmpds_2.html#K3" title="SCMPDS_2:func.3">DataLoc</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">s</font> <a href="scmpds_2.html#K2" title="SCMPDS_2:func.2">.</a> <font color="Maroon" title="c5">a</font></span>)</span>,<font color="Maroon" title="c6">k1</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ;<br/><div class="add"><a NAME="E2:77_1_1"/><b>then </b>
 <a href="scmpds_4.html#K9" title="SCMPDS_4:func.9">IExec</a> <span class="p1">(<span class="default"><a href="scmpds_6.html#K5" title="SCMPDS_6:func.5">if=0</a> <font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">k1</font>,<font color="Maroon" title="c4">I</font></span>)</span>,<font color="Maroon" title="c3">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <span class="p1">(<span class="default"><a href="scmpds_4.html#K9" title="SCMPDS_4:func.9">IExec</a> <font color="Maroon" title="c4">I</font>,<font color="Maroon" title="c3">s</font></span>)</span> <a href="ami_1.html#K34" title="AMI_1:func.34">+*</a> <span class="p1">(<span class="default"><a href="ami_1.html#K27" title="AMI_1:func.27">Start-At</a> <span class="p2">(<span class="default"><a href="scmpds_3.html#K2" title="SCMPDS_3:func.2">inspos</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><a href="card_1.html#K5" title="CARD_1:func.5">card</a> <font color="Maroon" title="c4">I</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> 1</span>)</span></span>)</span></span>)</span>
 <b>by </b><i><a class="txt" href="scmpds_6.html#E1:77"><i><font color="Green" title="E59">A1</font></i></a>, <a class="ref" href="scmpds_6.html#T64" target="_self" title="SCMPDS_6:th.64">Th64</a></i>;<br/><b>hence </b><a NAME="E3:77_1_1"/>
 <a href="ami_1.html#K7" title="AMI_1:func.7">IC</a> <span class="p1">(<span class="default"><a href="scmpds_4.html#K9" title="SCMPDS_4:func.9">IExec</a> <span class="p2">(<span class="default"><a href="scmpds_6.html#K5" title="SCMPDS_6:func.5">if=0</a> <font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">k1</font>,<font color="Maroon" title="c4">I</font></span>)</span>,<font color="Maroon" title="c3">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="scmpds_3.html#K2" title="SCMPDS_3:func.2">inspos</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="card_1.html#K5" title="CARD_1:func.5">card</a> <font color="Maroon" title="c4">I</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> 1</span>)</span>
 <b>by </b><i><a class="ref" href="ami_1.html#T111" title="AMI_1:th.111">AMI_1:111</a></i>;<br/></div><b>end;</b></div><div><a class="txt" onclick="hsNdiv(this)" href="javascript:()" title="77_1_2"><b>suppose </b></a><a NAME="E1:77_1_2"/>
<font color="Maroon" title="c3">s</font> <a href="scmpds_2.html#K2" title="SCMPDS_2:func.2">.</a> <span class="p1">(<span class="default"><a href="scmpds_2.html#K3" title="SCMPDS_2:func.3">DataLoc</a> <span class="p2">(<span class="default"><font color="Maroon" title="c3">s</font> <a href="scmpds_2.html#K2" title="SCMPDS_2:func.2">.</a> <font color="Maroon" title="c5">a</font></span>)</span>,<font color="Maroon" title="c6">k1</font></span>)</span> <a href="hidden.html#NR2" title="HIDDEN:NR.2">&lt;&gt;</a>  <a href="numbers.html#K6" title="NUMBERS:func.6">0</a> 
 ;<br/><div class="add"><a NAME="E2:77_1_2"/><b>then </b>
 <a href="scmpds_4.html#K9" title="SCMPDS_4:func.9">IExec</a> <span class="p1">(<span class="default"><a href="scmpds_6.html#K5" title="SCMPDS_6:func.5">if=0</a> <font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">k1</font>,<font color="Maroon" title="c4">I</font></span>)</span>,<font color="Maroon" title="c3">s</font> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a> <font color="Maroon" title="c3">s</font> <a href="ami_1.html#K34" title="AMI_1:func.34">+*</a> <span class="p1">(<span class="default"><a href="ami_1.html#K27" title="AMI_1:func.27">Start-At</a> <span class="p2">(<span class="default"><a href="scmpds_3.html#K2" title="SCMPDS_3:func.2">inspos</a> <span class="p3">(<span class="default"><span class="p4">(<span class="default"><a href="card_1.html#K5" title="CARD_1:func.5">card</a> <font color="Maroon" title="c4">I</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> 1</span>)</span></span>)</span></span>)</span>
 <b>by </b><i><a class="ref" href="scmpds_6.html#T65" target="_self" title="SCMPDS_6:th.65">Th65</a></i>;<br/><b>hence </b><a NAME="E3:77_1_2"/>
 <a href="ami_1.html#K7" title="AMI_1:func.7">IC</a> <span class="p1">(<span class="default"><a href="scmpds_4.html#K9" title="SCMPDS_4:func.9">IExec</a> <span class="p2">(<span class="default"><a href="scmpds_6.html#K5" title="SCMPDS_6:func.5">if=0</a> <font color="Maroon" title="c5">a</font>,<font color="Maroon" title="c6">k1</font>,<font color="Maroon" title="c4">I</font></span>)</span>,<font color="Maroon" title="c3">s</font></span>)</span> <a href="hidden.html#R1" title="HIDDEN:pred.1">=</a>  <a href="scmpds_3.html#K2" title="SCMPDS_3:func.2">inspos</a> <span class="p1">(<span class="default"><span class="p2">(<span class="default"><a href="card_1.html#K5" title="CARD_1:func.5">card</a> <font color="Maroon" title="c4">I</font></span>)</span> <a href="nat_1.html#K2" title="NAT_1:func.2">+</a> 1</span>)</span>
 <b>by </b><i><a class="ref" href="ami_1.html#T111" title="AMI_1:th.111">AMI_1:111</a></i>;<br/></div><b>end;</b></div></div><b>end;</b></div>

</div>
