let g be FinSeq-Location ; for a, c being Int-Location
for s being State of SCM+FSA holds
( (Exec (g,a := c),s) . (IC SCM+FSA ) = succ (IC s) & ex k being Element of NAT st
( k = abs (s . a) & (Exec (g,a := c),s) . g = (s . g) +* k,(s . c) ) & ( for b being Int-Location holds (Exec (g,a := c),s) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec (g,a := c),s) . f = s . f ) )
let a, c be Int-Location ; for s being State of SCM+FSA holds
( (Exec (g,a := c),s) . (IC SCM+FSA ) = succ (IC s) & ex k being Element of NAT st
( k = abs (s . a) & (Exec (g,a := c),s) . g = (s . g) +* k,(s . c) ) & ( for b being Int-Location holds (Exec (g,a := c),s) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec (g,a := c),s) . f = s . f ) )
let s be State of SCM+FSA ; ( (Exec (g,a := c),s) . (IC SCM+FSA ) = succ (IC s) & ex k being Element of NAT st
( k = abs (s . a) & (Exec (g,a := c),s) . g = (s . g) +* k,(s . c) ) & ( for b being Int-Location holds (Exec (g,a := c),s) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec (g,a := c),s) . f = s . f ) )
reconsider p = g as Element of SCM+FSA-Data*-Loc by Def5;
reconsider mk = a, ml = c as Element of SCM+FSA-Data-Loc by Def4;
reconsider I = g,a := c as Element of SCM+FSA-Instr ;
reconsider S = s as SCM+FSA-State by PBOOLE:155;
reconsider J = 10 as Element of Segm 13 by NAT_1:45;
InsCode I = 10
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_addr2 ))
and
A2:
F = (S . (I coll_addr1 )) +* k,(S . (I int_addr1 ))
and
A3:
SCM+FSA-Exec-Res I,S = SCM+FSA-Chg (SCM+FSA-Chg S,(I coll_addr1 ),F),(succ (IC S))
by SCMFSA_1:def 17;
set S1 = SCM+FSA-Chg S,(I coll_addr1 ),F;
A4:
Exec (g,a := c),s = SCM+FSA-Chg (SCM+FSA-Chg S,(I coll_addr1 ),F),(succ (IC S))
by A3, SCMFSA_1:def 18;
hence
(Exec (g,a := c),s) . (IC SCM+FSA ) = succ (IC s)
by Th7, SCMFSA_1:20; ( ex k being Element of NAT st
( k = abs (s . a) & (Exec (g,a := c),s) . g = (s . g) +* k,(s . c) ) & ( for b being Int-Location holds (Exec (g,a := c),s) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec (g,a := c),s) . f = s . f ) )
A5:
( I = [J,{} ,<*ml,p,mk*>] & I `3_3 = <*ml,p,mk*> )
by RECDEF_2:def 3;
then A6:
I coll_addr1 = p
by SCMFSA_1:def 12;
A7:
I int_addr1 = ml
by A5, SCMFSA_1:def 10;
hereby ( ( for b being Int-Location holds (Exec (g,a := c),s) . b = s . b ) & ( for f being FinSeq-Location st f <> g holds
(Exec (g,a := c),s) . f = s . f ) )
take k =
k;
( k = abs (s . a) & (Exec (g,a := c),s) . g = (s . g) +* k,(s . c) )thus
k = abs (s . a)
by A5, A1, SCMFSA_1:def 11;
(Exec (g,a := c),s) . g = (s . g) +* k,(s . c)thus (Exec (g,a := c),s) . g =
(SCM+FSA-Chg S,(I coll_addr1 ),F) . p
by A4, SCMFSA_1:22
.=
(s . g) +* k,
(s . c)
by A2, A7, A6, SCMFSA_1:29
;
verum
end;
let f be FinSeq-Location ; ( f <> g implies (Exec (g,a := c),s) . f = s . f )
assume A8:
f <> g
; (Exec (g,a := c),s) . f = s . f
reconsider q = f as Element of SCM+FSA-Data*-Loc by Def5;
thus (Exec (g,a := c),s) . f =
(SCM+FSA-Chg S,(I coll_addr1 ),F) . q
by A4, SCMFSA_1:22
.=
s . f
by A6, A8, SCMFSA_1:30
; verum