theorem
for
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
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
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
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
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
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
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
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
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
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
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
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
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
Nat for
da being
Int-Location for
loc being
Nat st
CurInstr (
P1,
(Comput (P1,s1,i)))
= da =0_goto loc &
loc <> (IC (Comput (P1,s1,i))) + 1 holds
(
(Comput (P1,s1,i)) . da = 0 iff
(Comput (P2,s2,i)) . da = 0 )
theorem
for
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
Nat for
da being
Int-Location for
loc being
Nat st
CurInstr (
P1,
(Comput (P1,s1,i)))
= da >0_goto loc &
loc <> (IC (Comput (P1,s1,i))) + 1 holds
(
(Comput (P1,s1,i)) . da > 0 iff
(Comput (P2,s2,i)) . da > 0 )
theorem
for
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
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 = |.((Comput (P1,s1,i)) . db).| &
k2 = |.((Comput (P2,s2,i)) . db).| holds
((Comput (P1,s1,i)) . f) /. k1 = ((Comput (P2,s2,i)) . f) /. k2
theorem
for
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
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
Nat st
k1 = |.((Comput (P1,s1,i)) . db).| &
k2 = |.((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
for
q being
NAT -defined the
InstructionsF of
SCM+FSA -valued finite non
halt-free Function for
p being non
empty b1 -autonomic FinPartState of
SCM+FSA for
s1,
s2 being
State of
SCM+FSA st
p c= s1 &
p c= s2 holds
for
P1,
P2 being
Instruction-Sequence of
SCM+FSA st
q c= P1 &
q c= P2 holds
for
i being
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
Nat st
k1 = |.((Comput (P1,s1,i)) . da).| &
k2 = |.((Comput (P2,s2,i)) . da).| holds
k1 |-> 0 = k2 |-> 0