let g be FinSeq-Location ; for c being Int-Location
for s being State of SCM+FSA holds
( (Exec ((g :=<0,...,0> c),s)) . (IC ) = succ (IC s) & ex k being Element of NAT st
( k = abs (s . c) & (Exec ((g :=<0,...,0> c),s)) . g = k |-> 0 ) & ( for b being Int-Location holds (Exec ((g :=<0,...,0> c),s)) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec ((g :=<0,...,0> c),s)) . f = s . f ) )
let c be Int-Location ; for s being State of SCM+FSA holds
( (Exec ((g :=<0,...,0> c),s)) . (IC ) = succ (IC s) & ex k being Element of NAT st
( k = abs (s . c) & (Exec ((g :=<0,...,0> c),s)) . g = k |-> 0 ) & ( for b being Int-Location holds (Exec ((g :=<0,...,0> c),s)) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec ((g :=<0,...,0> c),s)) . f = s . f ) )
let s be State of SCM+FSA; ( (Exec ((g :=<0,...,0> c),s)) . (IC ) = succ (IC s) & ex k being Element of NAT st
( k = abs (s . c) & (Exec ((g :=<0,...,0> c),s)) . g = k |-> 0 ) & ( for b being Int-Location holds (Exec ((g :=<0,...,0> c),s)) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec ((g :=<0,...,0> c),s)) . f = s . f ) )
reconsider p = g as Element of SCM+FSA-Data*-Loc by Def5;
reconsider ml = c as Element of SCM+FSA-Data-Loc by Def4;
reconsider I = g :=<0,...,0> c as Element of SCM+FSA-Instr ;
reconsider S = s as SCM+FSA-State by CARD_3:107;
reconsider J = 12 as Element of Segm 13 by NAT_1:44;
InsCode I = 12
by RECDEF_2:def 1;
then consider F being FinSequence of INT , k being Element of NAT such that
A1:
k = abs (S . (I int_addr3))
and
A2:
F = k |-> 0
and
A3:
SCM+FSA-Exec-Res (I,S) = SCM+FSA-Chg ((SCM+FSA-Chg (S,(I coll_addr2),F)),(succ (IC S)))
by SCMFSA_1:def 15;
set S1 = SCM+FSA-Chg (S,(I coll_addr2),F);
A4:
Exec ((g :=<0,...,0> c),s) = SCM+FSA-Chg ((SCM+FSA-Chg (S,(I coll_addr2),F)),(succ (IC S)))
by A3, SCMFSA_1:def 16;
hence
(Exec ((g :=<0,...,0> c),s)) . (IC ) = succ (IC s)
by Th7, SCMFSA_1:19; ( ex k being Element of NAT st
( k = abs (s . c) & (Exec ((g :=<0,...,0> c),s)) . g = k |-> 0 ) & ( for b being Int-Location holds (Exec ((g :=<0,...,0> c),s)) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec ((g :=<0,...,0> c),s)) . f = s . f ) )
A5:
( I = [J,{},<*ml,p*>] & I `3_3 = <*ml,p*> )
by RECDEF_2:def 3;
then A6:
I coll_addr2 = p
by SCMFSA_1:def 13;
hereby ( ( for b being Int-Location holds (Exec ((g :=<0,...,0> c),s)) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec ((g :=<0,...,0> c),s)) . f = s . f ) )
take k =
k;
( k = abs (s . c) & (Exec ((g :=<0,...,0> c),s)) . g = k |-> 0 )thus
k = abs (s . c)
by A5, A1, SCMFSA_1:def 12;
(Exec ((g :=<0,...,0> c),s)) . g = k |-> 0thus (Exec ((g :=<0,...,0> c),s)) . g =
(SCM+FSA-Chg (S,(I coll_addr2),F)) . p
by A4, SCMFSA_1:21
.=
k |-> 0
by A2, A6, SCMFSA_1:27
;
verum
end;
let f be FinSeq-Location ; ( f <> g implies (Exec ((g :=<0,...,0> c),s)) . f = s . f )
assume A7:
f <> g
; (Exec ((g :=<0,...,0> c),s)) . f = s . f
reconsider q = f as Element of SCM+FSA-Data*-Loc by Def5;
thus (Exec ((g :=<0,...,0> c),s)) . f =
(SCM+FSA-Chg (S,(I coll_addr2),F)) . q
by A4, SCMFSA_1:21
.=
s . f
by A6, A7, SCMFSA_1:28
; verum