begin
theorem
theorem
begin
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
theorem
begin
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
Lm1:
for da being Int-Location
for p being PartState of SCM+FSA st da in dom p holds
da in dom (NPP p)
Lm2:
for fa being FinSeq-Location
for p being PartState of SCM+FSA st fa in dom p holds
fa in dom (NPP p)
theorem
for
p being 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,
db being
Int-Location st
CurInstr (
P1,
(Comput (P1,s1,i)))
= da := db &
da in dom p holds
(Comput (P1,s1,i)) . db = (Comput (P2,s2,i)) . db
theorem
for
p being 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,
db being
Int-Location st
CurInstr (
P1,
(Comput (P1,s1,i)))
= AddTo (
da,
db) &
da in dom p holds
((Comput (P1,s1,i)) . da) + ((Comput (P1,s1,i)) . db) = ((Comput (P2,s2,i)) . da) + ((Comput (P2,s2,i)) . db)
theorem
for
p being 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,
db being
Int-Location st
CurInstr (
P1,
(Comput (P1,s1,i)))
= SubFrom (
da,
db) &
da in dom p holds
((Comput (P1,s1,i)) . da) - ((Comput (P1,s1,i)) . db) = ((Comput (P2,s2,i)) . da) - ((Comput (P2,s2,i)) . db)
theorem
for
p being 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,
db being
Int-Location st
CurInstr (
P1,
(Comput (P1,s1,i)))
= MultBy (
da,
db) &
da in dom p holds
((Comput (P1,s1,i)) . da) * ((Comput (P1,s1,i)) . db) = ((Comput (P2,s2,i)) . da) * ((Comput (P2,s2,i)) . db)
theorem
for
p being 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,
db being
Int-Location st
CurInstr (
P1,
(Comput (P1,s1,i)))
= Divide (
da,
db) &
da in dom p &
da <> db holds
((Comput (P1,s1,i)) . da) div ((Comput (P1,s1,i)) . db) = ((Comput (P2,s2,i)) . da) div ((Comput (P2,s2,i)) . db)
theorem
for
p being 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,
db being
Int-Location st
CurInstr (
P1,
(Comput (P1,s1,i)))
= Divide (
da,
db) &
db in dom p holds
((Comput (P1,s1,i)) . da) mod ((Comput (P1,s1,i)) . db) = ((Comput (P2,s2,i)) . da) mod ((Comput (P2,s2,i)) . db)
theorem
for
p being 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 )
theorem
for
p being 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 )
theorem
for
p being 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,
db being
Int-Location for
f being
FinSeq-Location st
CurInstr (
P1,
(Comput (P1,s1,i)))
= da := (
f,
db) &
da in dom p holds
for
k1,
k2 being
Element of
NAT st
k1 = abs ((Comput (P1,s1,i)) . db) &
k2 = abs ((Comput (P2,s2,i)) . db) holds
((Comput (P1,s1,i)) . f) /. k1 = ((Comput (P2,s2,i)) . f) /. k2
theorem
for
p being 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,
db being
Int-Location for
f being
FinSeq-Location st
CurInstr (
P1,
(Comput (P1,s1,i)))
= (
f,
db)
:= da &
f in dom p holds
for
k1,
k2 being
Element of
NAT st
k1 = abs ((Comput (P1,s1,i)) . db) &
k2 = abs ((Comput (P2,s2,i)) . db) holds
((Comput (P1,s1,i)) . f) +* (
k1,
((Comput (P1,s1,i)) . da))
= ((Comput (P2,s2,i)) . f) +* (
k2,
((Comput (P2,s2,i)) . da))
theorem
theorem
for
p being 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
f being
FinSeq-Location st
CurInstr (
P1,
(Comput (P1,s1,i)))
= f :=<0,...,0> da &
f in dom p holds
for
k1,
k2 being
Element of
NAT st
k1 = abs ((Comput (P1,s1,i)) . da) &
k2 = abs ((Comput (P2,s2,i)) . da) holds
k1 |-> 0 = k2 |-> 0