:: AMI_2 semantic presentation
:: deftheorem AMI_2:def 1 :
canceled;
:: deftheorem defines SCM-Data-Loc AMI_2:def 2 :
:: deftheorem defines SCM-Instr-Loc AMI_2:def 3 :
definition
func SCM-Instr -> Subset of
[:(Segm 9),(((union {INT }) \/ NAT ) * ):] equals :: AMI_2:def 4
(({[SCM-Halt ,{} ]} \/ { [J,<*a*>] where J is Element of Segm 9, a is Element of SCM-Instr-Loc : J = 6 } ) \/ { [K,<*a1,b1*>] where K is Element of Segm 9, a1 is Element of SCM-Instr-Loc , b1 is Element of SCM-Data-Loc : K in {7,8} } ) \/ { [I,<*b,c*>] where I is Element of Segm 9, b, c is Element of SCM-Data-Loc : I in {1,2,3,4,5} } ;
coherence
(({[SCM-Halt ,{} ]} \/ { [J,<*a*>] where J is Element of Segm 9, a is Element of SCM-Instr-Loc : J = 6 } ) \/ { [K,<*a1,b1*>] where K is Element of Segm 9, a1 is Element of SCM-Instr-Loc , b1 is Element of SCM-Data-Loc : K in {7,8} } ) \/ { [I,<*b,c*>] where I is Element of Segm 9, b, c is Element of SCM-Data-Loc : I in {1,2,3,4,5} } is Subset of [:(Segm 9),(((union {INT }) \/ NAT ) * ):]
end;
:: deftheorem defines SCM-Instr AMI_2:def 4 :
SCM-Instr = (({[SCM-Halt ,{} ]} \/ { [J,<*a*>] where J is Element of Segm 9, a is Element of SCM-Instr-Loc : J = 6 } ) \/ { [K,<*a1,b1*>] where K is Element of Segm 9, a1 is Element of SCM-Instr-Loc , b1 is Element of SCM-Data-Loc : K in {7,8} } ) \/ { [I,<*b,c*>] where I is Element of Segm 9, b, c is Element of SCM-Data-Loc : I in {1,2,3,4,5} } ;
theorem :: AMI_2:1
canceled;
theorem :: AMI_2:2
theorem :: AMI_2:3
theorem :: AMI_2:4
theorem :: AMI_2:5
:: deftheorem Def5 defines SCM-OK AMI_2:def 5 :
theorem Th6: :: AMI_2:6
theorem Th7: :: AMI_2:7
theorem Th8: :: AMI_2:8
theorem Th9: :: AMI_2:9
theorem Th10: :: AMI_2:10
theorem Th11: :: AMI_2:11
theorem :: AMI_2:12
theorem Th13: :: AMI_2:13
theorem Th14: :: AMI_2:14
theorem :: AMI_2:15
:: deftheorem defines IC AMI_2:def 6 :
:: deftheorem defines SCM-Chg AMI_2:def 7 :
theorem :: AMI_2:16
theorem :: AMI_2:17
theorem :: AMI_2:18
:: deftheorem defines SCM-Chg AMI_2:def 8 :
theorem :: AMI_2:19
theorem :: AMI_2:20
theorem :: AMI_2:21
theorem :: AMI_2:22
:: deftheorem Def9 defines address_1 AMI_2:def 9 :
:: deftheorem Def10 defines address_2 AMI_2:def 10 :
theorem :: AMI_2:23
:: deftheorem Def11 defines jump_address AMI_2:def 11 :
theorem :: AMI_2:24
definition
let x be
Element of
SCM-Instr ;
given mk being
Element of
SCM-Instr-Loc ,
ml being
Element of
SCM-Data-Loc ,
I being
Element of
Segm 9
such that A1:
x = [I,<*mk,ml*>]
;
func x cjump_address -> Element of
SCM-Instr-Loc means :
Def12:
:: AMI_2:def 12
ex
mk being
Element of
SCM-Instr-Loc ex
ml being
Element of
SCM-Data-Loc st
(
<*mk,ml*> = x `2 &
it = <*mk,ml*> /. 1 );
existence
ex b1, mk being Element of SCM-Instr-Loc ex ml being Element of SCM-Data-Loc st
( <*mk,ml*> = x `2 & b1 = <*mk,ml*> /. 1 )
correctness
uniqueness
for b1, b2 being Element of SCM-Instr-Loc st ex mk being Element of SCM-Instr-Loc ex ml being Element of SCM-Data-Loc st
( <*mk,ml*> = x `2 & b1 = <*mk,ml*> /. 1 ) & ex mk being Element of SCM-Instr-Loc ex ml being Element of SCM-Data-Loc st
( <*mk,ml*> = x `2 & b2 = <*mk,ml*> /. 1 ) holds
b1 = b2;
;
func x cond_address -> Element of
SCM-Data-Loc means :
Def13:
:: AMI_2:def 13
ex
mk being
Element of
SCM-Instr-Loc ex
ml being
Element of
SCM-Data-Loc st
(
<*mk,ml*> = x `2 &
it = <*mk,ml*> /. 2 );
existence
ex b1 being Element of SCM-Data-Loc ex mk being Element of SCM-Instr-Loc ex ml being Element of SCM-Data-Loc st
( <*mk,ml*> = x `2 & b1 = <*mk,ml*> /. 2 )
correctness
uniqueness
for b1, b2 being Element of SCM-Data-Loc st ex mk being Element of SCM-Instr-Loc ex ml being Element of SCM-Data-Loc st
( <*mk,ml*> = x `2 & b1 = <*mk,ml*> /. 2 ) & ex mk being Element of SCM-Instr-Loc ex ml being Element of SCM-Data-Loc st
( <*mk,ml*> = x `2 & b2 = <*mk,ml*> /. 2 ) holds
b1 = b2;
;
end;
:: deftheorem Def12 defines cjump_address AMI_2:def 12 :
:: deftheorem Def13 defines cond_address AMI_2:def 13 :
theorem :: AMI_2:25