:: AMISTD_2 semantic presentation
Lemma1:
for b1 being Relation st dom b1 <> {} holds
b1 <> {}
by RELAT_1:60;
theorem Th1: :: AMISTD_2:1
theorem Th2: :: AMISTD_2:2
theorem Th3: :: AMISTD_2:3
theorem Th4: :: AMISTD_2:4
:: deftheorem Def1 defines PA AMISTD_2:def 1 :
theorem Th5: :: AMISTD_2:5
theorem Th6: :: AMISTD_2:6
:: deftheorem Def2 defines product-like AMISTD_2:def 2 :
theorem Th7: :: AMISTD_2:7
theorem Th8: :: AMISTD_2:8
theorem Th9: :: AMISTD_2:9
theorem Th10: :: AMISTD_2:10
Lemma11:
for b1 being natural number holds - 1 < b1
Lemma12:
for b1 being natural number
for b2, b3, b4 being Nat st 1 <= b2 & 2 <= b3 & not b1 < b2 - 1 & not ( b2 <= b1 & b1 <= (b2 + b3) - 3 ) & not b1 = (b2 + b3) - 2 & not (b2 + b3) - 2 < b1 holds
b1 = b2 - 1
theorem Th11: :: AMISTD_2:11
theorem Th12: :: AMISTD_2:12
theorem Th13: :: AMISTD_2:13
theorem Th14: :: AMISTD_2:14
theorem Th15: :: AMISTD_2:15
:: deftheorem Def3 defines AddressPart AMISTD_2:def 3 :
theorem Th16: :: AMISTD_2:16
:: deftheorem Def4 defines homogeneous AMISTD_2:def 4 :
theorem Th17: :: AMISTD_2:17
:: deftheorem Def5 defines AddressParts AMISTD_2:def 5 :
:: deftheorem Def6 defines with_explicit_jumps AMISTD_2:def 6 :
:: deftheorem Def7 defines without_implicit_jumps AMISTD_2:def 7 :
:: deftheorem Def8 defines with_explicit_jumps AMISTD_2:def 8 :
:: deftheorem Def9 defines without_implicit_jumps AMISTD_2:def 9 :
:: deftheorem Def10 defines with-non-trivial-Instruction-Locations AMISTD_2:def 10 :
theorem Th18: :: AMISTD_2:18
:: deftheorem Def11 defines regular AMISTD_2:def 11 :
theorem Th19: :: AMISTD_2:19
theorem Th20: :: AMISTD_2:20
theorem Th21: :: AMISTD_2:21
:: deftheorem Def12 defines ins-loc-free AMISTD_2:def 12 :
theorem Th22: :: AMISTD_2:22
theorem Th23: :: AMISTD_2:23
theorem Th24: :: AMISTD_2:24
:: deftheorem Def13 defines Stop AMISTD_2:def 13 :
Lemma35:
for b1 being with_non-empty_elements set
for b2 being non empty non void halting IC-Ins-separated definite standard AMI-Struct of b1 holds (Stop b2) . (il. b2,0) = halt b2
by CQC_LANG:6;
theorem Th25: :: AMISTD_2:25
theorem Th26: :: AMISTD_2:26
Lemma38:
for b1 being with_non-empty_elements set
for b2 being non empty non void halting IC-Ins-separated definite standard AMI-Struct of b1 holds (card (Stop b2)) -' 1 = 0
theorem Th27: :: AMISTD_2:27
:: deftheorem Def14 defines IncAddr AMISTD_2:def 14 :
theorem Th28: :: AMISTD_2:28
theorem Th29: :: AMISTD_2:29
theorem Th30: :: AMISTD_2:30
theorem Th31: :: AMISTD_2:31
theorem Th32: :: AMISTD_2:32
theorem Th33: :: AMISTD_2:33
theorem Th34: :: AMISTD_2:34
theorem Th35: :: AMISTD_2:35
theorem Th36: :: AMISTD_2:36
theorem Th37: :: AMISTD_2:37
definition
let c1 be
with_non-empty_elements set ;
let c2 be non
empty non
void IC-Ins-separated definite standard regular AMI-Struct of
c1;
let c3 be
programmed FinPartState of
c2;
let c4 be
natural number ;
E49:
dom c3 c= the
Instruction-Locations of
c2
by AMI_3:def 13;
func IncAddr c3,
c4 -> FinPartState of
a2 means :
Def15:
:: AMISTD_2:def 15
(
dom a5 = dom a3 & ( for
b1 being
natural number st
il. a2,
b1 in dom a3 holds
a5 . (il. a2,b1) = IncAddr (pi a3,(il. a2,b1)),
a4 ) );
existence
ex b1 being FinPartState of c2 st
( dom b1 = dom c3 & ( for b2 being natural number st il. c2,b2 in dom c3 holds
b1 . (il. c2,b2) = IncAddr (pi c3,(il. c2,b2)),c4 ) )
uniqueness
for b1, b2 being FinPartState of c2 st dom b1 = dom c3 & ( for b3 being natural number st il. c2,b3 in dom c3 holds
b1 . (il. c2,b3) = IncAddr (pi c3,(il. c2,b3)),c4 ) & dom b2 = dom c3 & ( for b3 being natural number st il. c2,b3 in dom c3 holds
b2 . (il. c2,b3) = IncAddr (pi c3,(il. c2,b3)),c4 ) holds
b1 = b2
end;
:: deftheorem Def15 defines IncAddr AMISTD_2:def 15 :
theorem Th38: :: AMISTD_2:38
theorem Th39: :: AMISTD_2:39
definition
let c1 be
with_non-empty_elements set ;
let c2 be non
empty non
void IC-Ins-separated definite standard AMI-Struct of
c1;
let c3 be
FinPartState of
c2;
let c4 be
natural number ;
func Shift c3,
c4 -> FinPartState of
a2 means :
Def16:
:: AMISTD_2:def 16
(
dom a5 = { (il. a2,(b1 + a4)) where B is Nat : il. a2,b1 in dom a3 } & ( for
b1 being
Nat st
il. a2,
b1 in dom a3 holds
a5 . (il. a2,(b1 + a4)) = a3 . (il. a2,b1) ) );
existence
ex b1 being FinPartState of c2 st
( dom b1 = { (il. c2,(b2 + c4)) where B is Nat : il. c2,b2 in dom c3 } & ( for b2 being Nat st il. c2,b2 in dom c3 holds
b1 . (il. c2,(b2 + c4)) = c3 . (il. c2,b2) ) )
uniqueness
for b1, b2 being FinPartState of c2 st dom b1 = { (il. c2,(b3 + c4)) where B is Nat : il. c2,b3 in dom c3 } & ( for b3 being Nat st il. c2,b3 in dom c3 holds
b1 . (il. c2,(b3 + c4)) = c3 . (il. c2,b3) ) & dom b2 = { (il. c2,(b3 + c4)) where B is Nat : il. c2,b3 in dom c3 } & ( for b3 being Nat st il. c2,b3 in dom c3 holds
b2 . (il. c2,(b3 + c4)) = c3 . (il. c2,b3) ) holds
b1 = b2
end;
:: deftheorem Def16 defines Shift AMISTD_2:def 16 :
theorem Th40: :: AMISTD_2:40
theorem Th41: :: AMISTD_2:41
theorem Th42: :: AMISTD_2:42
theorem Th43: :: AMISTD_2:43
:: deftheorem Def17 defines IC-good AMISTD_2:def 17 :
:: deftheorem Def18 defines IC-good AMISTD_2:def 18 :
:: deftheorem Def19 defines Exec-preserving AMISTD_2:def 19 :
:: deftheorem Def20 defines Exec-preserving AMISTD_2:def 20 :
theorem Th44: :: AMISTD_2:44
theorem Th45: :: AMISTD_2:45
theorem Th46: :: AMISTD_2:46
:: deftheorem Def21 defines CutLastLoc AMISTD_2:def 21 :
Lemma62:
for b1 being with_non-empty_elements set
for b2 being non empty non void IC-Ins-separated definite standard AMI-Struct of b1
for b3 being non empty programmed FinPartState of b2 holds CutLastLoc b3 c= b3
by XBOOLE_1:36;
theorem Th47: :: AMISTD_2:47
theorem Th48: :: AMISTD_2:48
theorem Th49: :: AMISTD_2:49
theorem Th50: :: AMISTD_2:50
theorem Th51: :: AMISTD_2:51
:: deftheorem Def22 defines ';' AMISTD_2:def 22 :
Lemma68:
for b1 being with_non-empty_elements set
for b2 being non empty non void IC-Ins-separated definite standard regular AMI-Struct of b1
for b3, b4 being non empty programmed FinPartState of b2 holds dom (b3 ';' b4) = (dom (CutLastLoc b3)) \/ (dom (Shift (IncAddr b4,((card b3) -' 1)),((card b3) -' 1)))
by FUNCT_4:def 1;
theorem Th52: :: AMISTD_2:52
theorem Th53: :: AMISTD_2:53
theorem Th54: :: AMISTD_2:54
theorem Th55: :: AMISTD_2:55
theorem Th56: :: AMISTD_2:56
theorem Th57: :: AMISTD_2:57
theorem Th58: :: AMISTD_2:58
theorem Th59: :: AMISTD_2:59
theorem Th60: :: AMISTD_2:60
theorem Th61: :: AMISTD_2:61