let R be good Ring; :: thesis: for r being Element of R
for a being Data-Location of R
for s being State of (SCM R) holds
( (Exec (a := r),s) . (IC (SCM R)) = Next & (Exec (a := r),s) . a = r & ( for c being Data-Location of R st c <> a holds
(Exec (a := r),s) . c = s . c ) )
let r be Element of R; :: thesis: for a being Data-Location of R
for s being State of (SCM R) holds
( (Exec (a := r),s) . (IC (SCM R)) = Next & (Exec (a := r),s) . a = r & ( for c being Data-Location of R st c <> a holds
(Exec (a := r),s) . c = s . c ) )
let a be Data-Location of R; :: thesis: for s being State of (SCM R) holds
( (Exec (a := r),s) . (IC (SCM R)) = Next & (Exec (a := r),s) . a = r & ( for c being Data-Location of R st c <> a holds
(Exec (a := r),s) . c = s . c ) )
let s be State of (SCM R); :: thesis: ( (Exec (a := r),s) . (IC (SCM R)) = Next & (Exec (a := r),s) . a = r & ( for c being Data-Location of R st c <> a holds
(Exec (a := r),s) . c = s . c ) )
reconsider I = a := r as Element of SCM-Instr R by Def1;
reconsider S = s as SCM-State of R by Def1;
set S1 = SCM-Chg S,(I const_address ),(I const_value );
reconsider i = 5 as Element of Segm 8 by GR_CY_1:10;
A1:
I = [i,<*a,r*>]
;
A2:
IC s = IC S
by Def1;
A3:
a is Element of SCM-Data-Loc
by Th1;
A4: Exec (a := r),s =
SCM-Exec-Res I,S
by Th12
.=
SCM-Chg (SCM-Chg S,(I const_address ),(I const_value )),(succ (IC S))
by A3, SCMRING1:def 14
;
A5:
( I const_address = a & I const_value = r )
by A1, A3, SCMRING1:20;
thus (Exec (a := r),s) . (IC (SCM R)) =
(Exec (a := r),s) . NAT
by Def1
.=
Next
by A2, A4, SCMRING1:10
; :: thesis: ( (Exec (a := r),s) . a = r & ( for c being Data-Location of R st c <> a holds
(Exec (a := r),s) . c = s . c ) )
thus (Exec (a := r),s) . a =
(SCM-Chg S,(I const_address ),(I const_value )) . a
by A3, A4, SCMRING1:11
.=
r
by A5, SCMRING1:14
; :: thesis: for c being Data-Location of R st c <> a holds
(Exec (a := r),s) . c = s . c
let c be Data-Location of R; :: thesis: ( c <> a implies (Exec (a := r),s) . c = s . c )
assume A6:
c <> a
; :: thesis: (Exec (a := r),s) . c = s . c
A7:
c is Element of SCM-Data-Loc
by Th1;
hence (Exec (a := r),s) . c =
(SCM-Chg S,(I const_address ),(I const_value )) . c
by A4, SCMRING1:11
.=
s . c
by A5, A6, A7, SCMRING1:15
;
:: thesis: verum