let p be non NAT -defined autonomic FinPartState of ; for s1, s2 being State of SCM+FSA st NPP p c= s1 & NPP p c= s2 holds
for P1, P2 being the Instructions of SCM+FSA -valued ManySortedSet of NAT st ProgramPart p c= P1 & ProgramPart p c= P2 holds
for i being Element of NAT
for da being Int-Location
for loc being Element of NAT st CurInstr (P1,(Comput (P1,s1,i))) = da =0_goto loc & loc <> succ (IC (Comput (P1,s1,i))) holds
( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 )
let s1, s2 be State of SCM+FSA; ( NPP p c= s1 & NPP p c= s2 implies for P1, P2 being the Instructions of SCM+FSA -valued ManySortedSet of NAT st ProgramPart p c= P1 & ProgramPart p c= P2 holds
for i being Element of NAT
for da being Int-Location
for loc being Element of NAT st CurInstr (P1,(Comput (P1,s1,i))) = da =0_goto loc & loc <> succ (IC (Comput (P1,s1,i))) holds
( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 ) )
assume B1:
( NPP p c= s1 & NPP p c= s2 )
; for P1, P2 being the Instructions of SCM+FSA -valued ManySortedSet of NAT st ProgramPart p c= P1 & ProgramPart p c= P2 holds
for i being Element of NAT
for da being Int-Location
for loc being Element of NAT st CurInstr (P1,(Comput (P1,s1,i))) = da =0_goto loc & loc <> succ (IC (Comput (P1,s1,i))) holds
( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 )
let P1, P2 be the Instructions of SCM+FSA -valued ManySortedSet of NAT ; ( ProgramPart p c= P1 & ProgramPart p c= P2 implies for i being Element of NAT
for da being Int-Location
for loc being Element of NAT st CurInstr (P1,(Comput (P1,s1,i))) = da =0_goto loc & loc <> succ (IC (Comput (P1,s1,i))) holds
( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 ) )
assume A2:
( ProgramPart p c= P1 & ProgramPart p c= P2 )
; for i being Element of NAT
for da being Int-Location
for loc being Element of NAT st CurInstr (P1,(Comput (P1,s1,i))) = da =0_goto loc & loc <> succ (IC (Comput (P1,s1,i))) holds
( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 )
let i be Element of NAT ; for da being Int-Location
for loc being Element of NAT st CurInstr (P1,(Comput (P1,s1,i))) = da =0_goto loc & loc <> succ (IC (Comput (P1,s1,i))) holds
( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 )
let da be Int-Location ; for loc being Element of NAT st CurInstr (P1,(Comput (P1,s1,i))) = da =0_goto loc & loc <> succ (IC (Comput (P1,s1,i))) holds
( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 )
let loc be Element of NAT ; ( CurInstr (P1,(Comput (P1,s1,i))) = da =0_goto loc & loc <> succ (IC (Comput (P1,s1,i))) implies ( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 ) )
set I = CurInstr (P1,(Comput (P1,s1,i)));
set Cs1i = Comput (P1,s1,i);
set Cs2i = Comput (P2,s2,i);
set Cs1i1 = Comput (P1,s1,(i + 1));
set Cs2i1 = Comput (P2,s2,(i + 1));
A3: Comput (P1,s1,(i + 1)) =
Following (P1,(Comput (P1,s1,i)))
by EXTPRO_1:4
.=
Exec ((CurInstr (P1,(Comput (P1,s1,i)))),(Comput (P1,s1,i)))
;
A4: Comput (P2,s2,(i + 1)) =
Following (P2,(Comput (P2,s2,i)))
by EXTPRO_1:4
.=
Exec ((CurInstr (P2,(Comput (P2,s2,i)))),(Comput (P2,s2,i)))
;
IC in dom p
by AMISTD_5:6;
then
IC in dom (NPP p)
by COMPOS_1:179;
then A5:
( ((Comput (P1,s1,(i + 1))) | (dom (NPP p))) . (IC ) = (Comput (P1,s1,(i + 1))) . (IC ) & ((Comput (P2,s2,(i + 1))) | (dom (NPP p))) . (IC ) = (Comput (P2,s2,(i + 1))) . (IC ) )
by FUNCT_1:72;
assume that
A6:
CurInstr (P1,(Comput (P1,s1,i))) = da =0_goto loc
and
A7:
loc <> succ (IC (Comput (P1,s1,i)))
; ( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 )
A8:
CurInstr (P1,(Comput (P1,s1,i))) = CurInstr (P2,(Comput (P2,s2,i)))
by B1, AMISTD_5:7, A2;
A9:
now assume
(
(Comput (P2,s2,i)) . da = 0 &
(Comput (P1,s1,i)) . da <> 0 )
;
contradictionthen
(
(Comput (P2,s2,(i + 1))) . (IC ) = loc &
(Comput (P1,s1,(i + 1))) . (IC ) = succ (IC (Comput (P1,s1,i))) )
by A8, A3, A4, A6, SCMFSA_2:96;
hence
contradiction
by B1, A5, A7, EXTPRO_1:def 9, A2, B1;
verum end;
A10:
(Comput (P1,s1,(i + 1))) | (dom (NPP p)) = (Comput (P2,s2,(i + 1))) | (dom (NPP p))
by B1, EXTPRO_1:def 9, A2, B1;
now assume
(
(Comput (P1,s1,i)) . da = 0 &
(Comput (P2,s2,i)) . da <> 0 )
;
contradictionthen
(
(Comput (P1,s1,(i + 1))) . (IC ) = loc &
(Comput (P2,s2,(i + 1))) . (IC ) = succ (IC (Comput (P2,s2,i))) )
by A8, A3, A4, A6, SCMFSA_2:96;
hence
contradiction
by B1, A5, A10, A7, AMISTD_5:7, A2;
verum end;
hence
( (Comput (P1,s1,i)) . da = 0 iff (Comput (P2,s2,i)) . da = 0 )
by A9; verum