begin
:: deftheorem Def2 defines FirstLoc AMISTD_3:def 1 :
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem
canceled;
theorem Th21:
theorem
theorem Th23:
theorem
:: deftheorem defines LocNums AMISTD_3:def 2 :
theorem Th25:
theorem Th26:
theorem Th27:
theorem Th28:
theorem Th29:
theorem
definition
set Z =
NAT ;
let N be non
empty with_non-empty_elements set ;
let S be non
empty stored-program IC-Ins-separated definite standard AMI-Struct of
N;
let M be
Subset of
NAT ;
deffunc H1(
set )
-> Element of
NAT =
il. S,
((canonical_isomorphism_of (RelIncl (order_type_of (RelIncl (LocNums M,S)))),(RelIncl (LocNums M,S))) . $1);
func LocSeq M,
S -> T-Sequence of
NAT means :
Def4:
(
dom it = card M & ( for
m being
set st
m in card M holds
it . m = il. S,
((canonical_isomorphism_of (RelIncl (order_type_of (RelIncl (LocNums M,S)))),(RelIncl (LocNums M,S))) . m) ) );
existence
ex b1 being T-Sequence of NAT st
( dom b1 = card M & ( for m being set st m in card M holds
b1 . m = il. S,((canonical_isomorphism_of (RelIncl (order_type_of (RelIncl (LocNums M,S)))),(RelIncl (LocNums M,S))) . m) ) )
uniqueness
for b1, b2 being T-Sequence of NAT st dom b1 = card M & ( for m being set st m in card M holds
b1 . m = il. S,((canonical_isomorphism_of (RelIncl (order_type_of (RelIncl (LocNums M,S)))),(RelIncl (LocNums M,S))) . m) ) & dom b2 = card M & ( for m being set st m in card M holds
b2 . m = il. S,((canonical_isomorphism_of (RelIncl (order_type_of (RelIncl (LocNums M,S)))),(RelIncl (LocNums M,S))) . m) ) holds
b1 = b2
end;
:: deftheorem Def4 defines LocSeq AMISTD_3:def 3 :
theorem
definition
let N be non
empty with_non-empty_elements set ;
let S be non
empty stored-program IC-Ins-separated definite standard AMI-Struct of
N;
let M be
NAT -defined the
Instructions of
S -valued FinPartState of ;
func ExecTree M -> DecoratedTree of
NAT means :
Def5:
(
it . {} = FirstLoc M & ( for
t being
Element of
dom it holds
(
succ t = { (t ^ <*k*>) where k is Element of NAT : k in card (NIC (M /. (it . t)),(it . t)) } & ( for
m being
Element of
NAT st
m in card (NIC (M /. (it . t)),(it . t)) holds
it . (t ^ <*m*>) = (LocSeq (NIC (M /. (it . t)),(it . t)),S) . m ) ) ) );
existence
ex b1 being DecoratedTree of NAT st
( b1 . {} = FirstLoc M & ( for t being Element of dom b1 holds
( succ t = { (t ^ <*k*>) where k is Element of NAT : k in card (NIC (M /. (b1 . t)),(b1 . t)) } & ( for m being Element of NAT st m in card (NIC (M /. (b1 . t)),(b1 . t)) holds
b1 . (t ^ <*m*>) = (LocSeq (NIC (M /. (b1 . t)),(b1 . t)),S) . m ) ) ) )
uniqueness
for b1, b2 being DecoratedTree of NAT st b1 . {} = FirstLoc M & ( for t being Element of dom b1 holds
( succ t = { (t ^ <*k*>) where k is Element of NAT : k in card (NIC (M /. (b1 . t)),(b1 . t)) } & ( for m being Element of NAT st m in card (NIC (M /. (b1 . t)),(b1 . t)) holds
b1 . (t ^ <*m*>) = (LocSeq (NIC (M /. (b1 . t)),(b1 . t)),S) . m ) ) ) & b2 . {} = FirstLoc M & ( for t being Element of dom b2 holds
( succ t = { (t ^ <*k*>) where k is Element of NAT : k in card (NIC (M /. (b2 . t)),(b2 . t)) } & ( for m being Element of NAT st m in card (NIC (M /. (b2 . t)),(b2 . t)) holds
b2 . (t ^ <*m*>) = (LocSeq (NIC (M /. (b2 . t)),(b2 . t)),S) . m ) ) ) holds
b1 = b2
end;
:: deftheorem Def5 defines ExecTree AMISTD_3:def 4 :
theorem