begin
theorem
canceled;
theorem Th2:
theorem Th3:
theorem Th4:
theorem
canceled;
theorem
theorem
begin
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
theorem
begin
theorem
canceled;
theorem
canceled;
theorem Th18:
theorem
theorem Th20:
theorem
canceled;
theorem
theorem
canceled;
Lm1:
for a being Int_position
for p being PartState of SCMPDS st a in dom p holds
a in dom (NPP p)
theorem
for
P1,
P2 being the
Instructions of
SCMPDS -valued ManySortedSet of
NAT for
p being non
NAT -defined autonomic FinPartState of
for
s1,
s2 being
State of
SCMPDS st
NPP p c= s1 &
NPP p c= s2 &
ProgramPart p c= P1 &
ProgramPart p c= P2 holds
for
i being
Element of
NAT for
k1,
k2 being
Integer for
a,
b being
Int_position st
CurInstr (
P1,
(Comput (P1,s1,i)))
= (
a,
k1)
:= (
b,
k2) &
a in dom p &
DataLoc (
((Comput (P1,s1,i)) . a),
k1)
in dom p holds
(Comput (P1,s1,i)) . (DataLoc (((Comput (P1,s1,i)) . b),k2)) = (Comput (P2,s2,i)) . (DataLoc (((Comput (P2,s2,i)) . b),k2))
theorem
for
P1,
P2 being the
Instructions of
SCMPDS -valued ManySortedSet of
NAT for
p being non
NAT -defined autonomic FinPartState of
for
s1,
s2 being
State of
SCMPDS st
NPP p c= s1 &
NPP p c= s2 &
ProgramPart p c= P1 &
ProgramPart p c= P2 holds
for
i being
Element of
NAT for
k1,
k2 being
Integer for
a,
b being
Int_position st
CurInstr (
P1,
(Comput (P1,s1,i)))
= AddTo (
a,
k1,
b,
k2) &
a in dom p &
DataLoc (
((Comput (P1,s1,i)) . a),
k1)
in dom p holds
(Comput (P1,s1,i)) . (DataLoc (((Comput (P1,s1,i)) . b),k2)) = (Comput (P2,s2,i)) . (DataLoc (((Comput (P2,s2,i)) . b),k2))
theorem
for
P1,
P2 being the
Instructions of
SCMPDS -valued ManySortedSet of
NAT for
p being non
NAT -defined autonomic FinPartState of
for
s1,
s2 being
State of
SCMPDS st
NPP p c= s1 &
NPP p c= s2 &
ProgramPart p c= P1 &
ProgramPart p c= P2 holds
for
i being
Element of
NAT for
k1,
k2 being
Integer for
a,
b being
Int_position st
CurInstr (
P1,
(Comput (P1,s1,i)))
= SubFrom (
a,
k1,
b,
k2) &
a in dom p &
DataLoc (
((Comput (P1,s1,i)) . a),
k1)
in dom p holds
(Comput (P1,s1,i)) . (DataLoc (((Comput (P1,s1,i)) . b),k2)) = (Comput (P2,s2,i)) . (DataLoc (((Comput (P2,s2,i)) . b),k2))
theorem
for
P1,
P2 being the
Instructions of
SCMPDS -valued ManySortedSet of
NAT for
p being non
NAT -defined autonomic FinPartState of
for
s1,
s2 being
State of
SCMPDS st
NPP p c= s1 &
NPP p c= s2 &
ProgramPart p c= P1 &
ProgramPart p c= P2 holds
for
i being
Element of
NAT for
k1,
k2 being
Integer for
a,
b being
Int_position st
CurInstr (
P1,
(Comput (P1,s1,i)))
= MultBy (
a,
k1,
b,
k2) &
a in dom p &
DataLoc (
((Comput (P1,s1,i)) . a),
k1)
in dom p holds
((Comput (P1,s1,i)) . (DataLoc (((Comput (P1,s1,i)) . a),k1))) * ((Comput (P1,s1,i)) . (DataLoc (((Comput (P1,s1,i)) . b),k2))) = ((Comput (P2,s2,i)) . (DataLoc (((Comput (P2,s2,i)) . a),k1))) * ((Comput (P2,s2,i)) . (DataLoc (((Comput (P2,s2,i)) . b),k2)))
theorem
for
P1,
P2 being the
Instructions of
SCMPDS -valued ManySortedSet of
NAT for
p being non
NAT -defined autonomic FinPartState of
for
s1,
s2 being
State of
SCMPDS st
NPP p c= s1 &
NPP p c= s2 &
ProgramPart p c= P1 &
ProgramPart p c= P2 holds
for
i,
m being
Element of
NAT for
a being
Int_position for
k1,
k2 being
Integer st
CurInstr (
P1,
(Comput (P1,s1,i)))
= (
a,
k1)
<>0_goto k2 &
m = IC (Comput (P1,s1,i)) &
m + k2 >= 0 &
k2 <> 1 holds
(
(Comput (P1,s1,i)) . (DataLoc (((Comput (P1,s1,i)) . a),k1)) = 0 iff
(Comput (P2,s2,i)) . (DataLoc (((Comput (P2,s2,i)) . a),k1)) = 0 )
theorem
for
P1,
P2 being the
Instructions of
SCMPDS -valued ManySortedSet of
NAT for
p being non
NAT -defined autonomic FinPartState of
for
s1,
s2 being
State of
SCMPDS st
NPP p c= s1 &
NPP p c= s2 &
ProgramPart p c= P1 &
ProgramPart p c= P2 holds
for
i,
m being
Element of
NAT for
a being
Int_position for
k1,
k2 being
Integer st
CurInstr (
P1,
(Comput (P1,s1,i)))
= (
a,
k1)
<=0_goto k2 &
m = IC (Comput (P1,s1,i)) &
m + k2 >= 0 &
k2 <> 1 holds
(
(Comput (P1,s1,i)) . (DataLoc (((Comput (P1,s1,i)) . a),k1)) > 0 iff
(Comput (P2,s2,i)) . (DataLoc (((Comput (P2,s2,i)) . a),k1)) > 0 )
theorem
for
P1,
P2 being the
Instructions of
SCMPDS -valued ManySortedSet of
NAT for
p being non
NAT -defined autonomic FinPartState of
for
s1,
s2 being
State of
SCMPDS st
NPP p c= s1 &
NPP p c= s2 &
ProgramPart p c= P1 &
ProgramPart p c= P2 holds
for
i,
m being
Element of
NAT for
a being
Int_position for
k1,
k2 being
Integer st
CurInstr (
P1,
(Comput (P1,s1,i)))
= (
a,
k1)
>=0_goto k2 &
m = IC (Comput (P1,s1,i)) &
m + k2 >= 0 &
k2 <> 1 holds
(
(Comput (P1,s1,i)) . (DataLoc (((Comput (P1,s1,i)) . a),k1)) < 0 iff
(Comput (P2,s2,i)) . (DataLoc (((Comput (P2,s2,i)) . a),k1)) < 0 )