let s be State of SCMPDS ; for I being halt-free shiftable Program of SCMPDS
for a, x, y being Int_position
for i, c being Integer st card I > 0 & s . x >= c + (s . (DataLoc (s . a),i)) & ( for t being State of SCMPDS st t . x >= c + (t . (DataLoc (s . a),i)) & t . y = s . y & t . a = s . a & t . (DataLoc (s . a),i) > 0 holds
( (IExec I,t) . a = t . a & I is_closed_on t & I is_halting_on t & (IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) & (IExec I,t) . x >= c + ((IExec I,t) . (DataLoc (s . a),i)) & (IExec I,t) . y = t . y ) ) holds
( while>0 a,i,I is_closed_on s & while>0 a,i,I is_halting_on s & ( s . (DataLoc (s . a),i) > 0 implies IExec (while>0 a,i,I),s = IExec (while>0 a,i,I),(IExec I,s) ) )
let I be halt-free shiftable Program of SCMPDS ; for a, x, y being Int_position
for i, c being Integer st card I > 0 & s . x >= c + (s . (DataLoc (s . a),i)) & ( for t being State of SCMPDS st t . x >= c + (t . (DataLoc (s . a),i)) & t . y = s . y & t . a = s . a & t . (DataLoc (s . a),i) > 0 holds
( (IExec I,t) . a = t . a & I is_closed_on t & I is_halting_on t & (IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) & (IExec I,t) . x >= c + ((IExec I,t) . (DataLoc (s . a),i)) & (IExec I,t) . y = t . y ) ) holds
( while>0 a,i,I is_closed_on s & while>0 a,i,I is_halting_on s & ( s . (DataLoc (s . a),i) > 0 implies IExec (while>0 a,i,I),s = IExec (while>0 a,i,I),(IExec I,s) ) )
let a, x1, y1 be Int_position ; for i, c being Integer st card I > 0 & s . x1 >= c + (s . (DataLoc (s . a),i)) & ( for t being State of SCMPDS st t . x1 >= c + (t . (DataLoc (s . a),i)) & t . y1 = s . y1 & t . a = s . a & t . (DataLoc (s . a),i) > 0 holds
( (IExec I,t) . a = t . a & I is_closed_on t & I is_halting_on t & (IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) & (IExec I,t) . x1 >= c + ((IExec I,t) . (DataLoc (s . a),i)) & (IExec I,t) . y1 = t . y1 ) ) holds
( while>0 a,i,I is_closed_on s & while>0 a,i,I is_halting_on s & ( s . (DataLoc (s . a),i) > 0 implies IExec (while>0 a,i,I),s = IExec (while>0 a,i,I),(IExec I,s) ) )
let i, c be Integer; ( card I > 0 & s . x1 >= c + (s . (DataLoc (s . a),i)) & ( for t being State of SCMPDS st t . x1 >= c + (t . (DataLoc (s . a),i)) & t . y1 = s . y1 & t . a = s . a & t . (DataLoc (s . a),i) > 0 holds
( (IExec I,t) . a = t . a & I is_closed_on t & I is_halting_on t & (IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) & (IExec I,t) . x1 >= c + ((IExec I,t) . (DataLoc (s . a),i)) & (IExec I,t) . y1 = t . y1 ) ) implies ( while>0 a,i,I is_closed_on s & while>0 a,i,I is_halting_on s & ( s . (DataLoc (s . a),i) > 0 implies IExec (while>0 a,i,I),s = IExec (while>0 a,i,I),(IExec I,s) ) ) )
set b = DataLoc (s . a),i;
assume A1:
card I > 0
; ( not s . x1 >= c + (s . (DataLoc (s . a),i)) or ex t being State of SCMPDS st
( t . x1 >= c + (t . (DataLoc (s . a),i)) & t . y1 = s . y1 & t . a = s . a & t . (DataLoc (s . a),i) > 0 & not ( (IExec I,t) . a = t . a & I is_closed_on t & I is_halting_on t & (IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) & (IExec I,t) . x1 >= c + ((IExec I,t) . (DataLoc (s . a),i)) & (IExec I,t) . y1 = t . y1 ) ) or ( while>0 a,i,I is_closed_on s & while>0 a,i,I is_halting_on s & ( s . (DataLoc (s . a),i) > 0 implies IExec (while>0 a,i,I),s = IExec (while>0 a,i,I),(IExec I,s) ) ) )
assume
s . x1 >= c + (s . (DataLoc (s . a),i))
; ( ex t being State of SCMPDS st
( t . x1 >= c + (t . (DataLoc (s . a),i)) & t . y1 = s . y1 & t . a = s . a & t . (DataLoc (s . a),i) > 0 & not ( (IExec I,t) . a = t . a & I is_closed_on t & I is_halting_on t & (IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) & (IExec I,t) . x1 >= c + ((IExec I,t) . (DataLoc (s . a),i)) & (IExec I,t) . y1 = t . y1 ) ) or ( while>0 a,i,I is_closed_on s & while>0 a,i,I is_halting_on s & ( s . (DataLoc (s . a),i) > 0 implies IExec (while>0 a,i,I),s = IExec (while>0 a,i,I),(IExec I,s) ) ) )
then A2:
for x being Int_position st x in {x1} holds
s . x >= c + (s . (DataLoc (s . a),i))
by TARSKI:def 1;
assume A3:
for t being State of SCMPDS st t . x1 >= c + (t . (DataLoc (s . a),i)) & t . y1 = s . y1 & t . a = s . a & t . (DataLoc (s . a),i) > 0 holds
( (IExec I,t) . a = t . a & I is_closed_on t & I is_halting_on t & (IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) & (IExec I,t) . x1 >= c + ((IExec I,t) . (DataLoc (s . a),i)) & (IExec I,t) . y1 = t . y1 )
; ( while>0 a,i,I is_closed_on s & while>0 a,i,I is_halting_on s & ( s . (DataLoc (s . a),i) > 0 implies IExec (while>0 a,i,I),s = IExec (while>0 a,i,I),(IExec I,s) ) )
now let t be
State of
SCMPDS ;
( ( for x being Int_position st x in {x1} holds
t . x >= c + (t . (DataLoc (s . a),i)) ) & ( for x being Int_position st x in {y1} holds
t . x = s . x ) & t . a = s . a & t . (DataLoc (s . a),i) > 0 implies ( (IExec I,t) . a = t . a & I is_closed_on t & I is_halting_on t & (IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) & ( for x being Int_position st x in {x1} holds
(IExec I,t) . x >= c + ((IExec I,t) . (DataLoc (s . a),i)) ) & ( for x being Int_position st x in {y1} holds
(IExec I,t) . x = t . x ) ) )assume that A4:
for
x being
Int_position st
x in {x1} holds
t . x >= c + (t . (DataLoc (s . a),i))
and A5:
for
x being
Int_position st
x in {y1} holds
t . x = s . x
and A6:
t . a = s . a
and A7:
t . (DataLoc (s . a),i) > 0
;
( (IExec I,t) . a = t . a & I is_closed_on t & I is_halting_on t & (IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) & ( for x being Int_position st x in {x1} holds
(IExec I,t) . x >= c + ((IExec I,t) . (DataLoc (s . a),i)) ) & ( for x being Int_position st x in {y1} holds
(IExec I,t) . x = t . x ) )
y1 in {y1}
by TARSKI:def 1;
then A8:
t . y1 = s . y1
by A5;
x1 in {x1}
by TARSKI:def 1;
then A9:
t . x1 >= c + (t . (DataLoc (s . a),i))
by A4;
hence
(
(IExec I,t) . a = t . a &
I is_closed_on t &
I is_halting_on t &
(IExec I,t) . (DataLoc (s . a),i) < t . (DataLoc (s . a),i) )
by A3, A6, A7, A8;
( ( for x being Int_position st x in {x1} holds
(IExec I,t) . x >= c + ((IExec I,t) . (DataLoc (s . a),i)) ) & ( for x being Int_position st x in {y1} holds
(IExec I,t) . x = t . x ) )hereby for x being Int_position st x in {y1} holds
(IExec I,t) . x = t . x
let x be
Int_position ;
( x in {x1} implies (IExec I,t) . x >= c + ((IExec I,t) . (DataLoc (s . a),i)) )assume A10:
x in {x1}
;
(IExec I,t) . x >= c + ((IExec I,t) . (DataLoc (s . a),i))
(IExec I,t) . x1 >= c + ((IExec I,t) . (DataLoc (s . a),i))
by A3, A6, A7, A9, A8;
hence
(IExec I,t) . x >= c + ((IExec I,t) . (DataLoc (s . a),i))
by A10, TARSKI:def 1;
verum
end; end;
hence
( while>0 a,i,I is_closed_on s & while>0 a,i,I is_halting_on s & ( s . (DataLoc (s . a),i) > 0 implies IExec (while>0 a,i,I),s = IExec (while>0 a,i,I),(IExec I,s) ) )
by A1, A2, SCMPDS_8:27; verum