theorem Th16:
for
s being
State of
SCM+FSA for
a being
read-write Int-Location for
bb,
cc being
Int-Location for
k being
Nat for
p being
Instruction-Sequence of
SCM+FSA for
Ig being
really-closed good MacroInstruction of
SCM+FSA st
((StepForUp (a,bb,cc,Ig,p,s)) . k) . (intloc 0) = 1 &
Ig is_halting_on (StepForUp (a,bb,cc,Ig,p,s)) . k,
p +* (while>0 ((1 -stRWNotIn ({a,bb,cc} \/ (UsedILoc Ig))),((Ig ";" (AddTo (a,(intloc 0)))) ";" (SubFrom ((1 -stRWNotIn ({a,bb,cc} \/ (UsedILoc Ig))),(intloc 0)))))) holds
((StepForUp (a,bb,cc,Ig,p,s)) . (k + 1)) . (intloc 0) = 1