let a, b be Data-Location ; :: thesis: for s being State of SCM holds
( (Exec (a := b),s) . (IC SCM ) = Next & (Exec (a := b),s) . a = s . b & ( for c being Data-Location st c <> a holds
(Exec (a := b),s) . c = s . c ) )
let s be State of SCM ; :: thesis: ( (Exec (a := b),s) . (IC SCM ) = Next & (Exec (a := b),s) . a = s . b & ( for c being Data-Location st c <> a holds
(Exec (a := b),s) . c = s . c ) )
reconsider mk = a, ml = b as Element of SCM-Data-Loc by Def2;
reconsider I = a := b as Element of SCM-Instr ;
reconsider S = s as SCM-State ;
set S1 = SCM-Chg S,(I address_1 ),(S . (I address_2 ));
reconsider i = 1 as Element of Segm 9 by GR_CY_1:10;
A1:
I = [i,<*mk,ml*>]
;
A2: Exec (a := b),s =
SCM-Exec-Res I,S
by AMI_2:def 17
.=
SCM-Chg (SCM-Chg S,(I address_1 ),(S . (I address_2 ))),(succ (IC S))
by A1, AMI_2:def 16
;
A3:
( I address_1 = mk & I address_2 = ml )
by A1, AMI_2:23;
thus
(Exec (a := b),s) . (IC SCM ) = Next
by A2, Th4, AMI_2:16; :: thesis: ( (Exec (a := b),s) . a = s . b & ( for c being Data-Location st c <> a holds
(Exec (a := b),s) . c = s . c ) )
thus (Exec (a := b),s) . a =
(SCM-Chg S,(I address_1 ),(S . (I address_2 ))) . mk
by A2, AMI_2:17
.=
s . b
by A3, AMI_2:20
; :: thesis: for c being Data-Location st c <> a holds
(Exec (a := b),s) . c = s . c
let c be Data-Location ; :: thesis: ( c <> a implies (Exec (a := b),s) . c = s . c )
reconsider mn = c as Element of SCM-Data-Loc by Def2;
assume A4:
c <> a
; :: thesis: (Exec (a := b),s) . c = s . c
thus (Exec (a := b),s) . c =
(SCM-Chg S,(I address_1 ),(S . (I address_2 ))) . mn
by A2, AMI_2:17
.=
s . c
by A3, A4, AMI_2:21
; :: thesis: verum