:: AMI_5 semantic presentation
theorem Th1: :: AMI_5:1
canceled;
theorem Th2: :: AMI_5:2
canceled;
theorem Th3: :: AMI_5:3
canceled;
theorem Th4: :: AMI_5:4
canceled;
theorem Th5: :: AMI_5:5
canceled;
theorem Th6: :: AMI_5:6
canceled;
theorem Th7: :: AMI_5:7
canceled;
theorem Th8: :: AMI_5:8
canceled;
theorem Th9: :: AMI_5:9
canceled;
theorem Th10: :: AMI_5:10
canceled;
theorem Th11: :: AMI_5:11
canceled;
theorem Th12: :: AMI_5:12
canceled;
theorem Th13: :: AMI_5:13
canceled;
theorem Th14: :: AMI_5:14
canceled;
theorem Th15: :: AMI_5:15
theorem Th16: :: AMI_5:16
theorem Th17: :: AMI_5:17
canceled;
theorem Th18: :: AMI_5:18
theorem Th19: :: AMI_5:19
theorem Th20: :: AMI_5:20
theorem Th21: :: AMI_5:21
canceled;
theorem Th22: :: AMI_5:22
theorem Th23: :: AMI_5:23
theorem Th24: :: AMI_5:24
theorem Th25: :: AMI_5:25
theorem Th26: :: AMI_5:26
theorem Th27: :: AMI_5:27
theorem Th28: :: AMI_5:28
theorem Th29: :: AMI_5:29
theorem Th30: :: AMI_5:30
theorem Th31: :: AMI_5:31
theorem Th32: :: AMI_5:32
theorem Th33: :: AMI_5:33
theorem Th34: :: AMI_5:34
theorem Th35: :: AMI_5:35
:: deftheorem Def1 defines InsCode AMI_5:def 1 :
:: deftheorem Def2 defines @ AMI_5:def 2 :
:: deftheorem Def3 defines @ AMI_5:def 3 :
:: deftheorem Def4 defines @ AMI_5:def 4 :
theorem Th36: :: AMI_5:36
theorem Th37: :: AMI_5:37
theorem Th38: :: AMI_5:38
theorem Th39: :: AMI_5:39
theorem Th40: :: AMI_5:40
theorem Th41: :: AMI_5:41
theorem Th42: :: AMI_5:42
theorem Th43: :: AMI_5:43
theorem Th44: :: AMI_5:44
theorem Th45: :: AMI_5:45
theorem Th46: :: AMI_5:46
proof
let c
1 be
Instruction of
SCM ;
assume E18:
InsCode c
1 = 0
;
E19:
now
assume
c
1 in { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Data-Loc , B is Element of SCM-Data-Loc : b1 in {1,2,3,4,5} }
;
then consider c
2 being
Element of
Segm 9, c
3, c
4 being
Element of
SCM-Data-Loc such that E20:
c
1 = [c2,<*c3,c4*>]
and E21:
c
2 in {1,2,3,4,5}
;
InsCode c
1 =
c
1 `1
.=
c
2
by E20, MCART_1:7
;
hence
not verum
by E18, E21, ENUMSET1:def 3;
end;
E20:
now
assume
c
1 in { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc , B is Element of SCM-Data-Loc : b1 in {7,8} }
;
then consider c
2 being
Element of
Segm 9, c
3 being
Element of
SCM-Instr-Loc , c
4 being
Element of
SCM-Data-Loc such that E21:
c
1 = [c2,<*c3,c4*>]
and E22:
c
2 in {7,8}
;
InsCode c
1 =
c
1 `1
.=
c
2
by E21, MCART_1:7
;
hence
not verum
by E18, E22, TARSKI:def 2;
end;
c
1 in ({[SCM-Halt ,{} ]} \/ { [b1,<*b2*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc : b1 = 6 } ) \/ { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc , B is Element of SCM-Data-Loc : b1 in {7,8} }
by E19, AMI_2:def 4, AMI_3:def 1, XBOOLE_0:def 2;
then
c
1 in {[SCM-Halt ,{} ]} \/ { [b1,<*b2*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc : b1 = 6 }
by E20, XBOOLE_0:def 2;
then
c
1 in {[SCM-Halt ,{} ]}
by E21, XBOOLE_0:def 2;
hence
c
1 = halt SCM
by AMI_2:def 1, AMI_3:71, TARSKI:def 1;
end;
theorem Th47: :: AMI_5:47
proof
let c
1 be
Instruction of
SCM ;
assume E19:
InsCode c
1 = 1
;
E20:
not c
1 in {[SCM-Halt ,{} ]}
by E19, Th37, AMI_2:def 1, AMI_3:71, TARSKI:def 1;
E21:
now
assume
c
1 in { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc , B is Element of SCM-Data-Loc : b1 in {7,8} }
;
then consider c
2 being
Element of
Segm 9, c
3 being
Element of
SCM-Instr-Loc , c
4 being
Element of
SCM-Data-Loc such that E22:
c
1 = [c2,<*c3,c4*>]
and E23:
c
2 in {7,8}
;
InsCode c
1 =
c
1 `1
.=
c
2
by E22, MCART_1:7
;
hence
not verum
by E19, E23, TARSKI:def 2;
end;
then
not c
1 in {[SCM-Halt ,{} ]} \/ { [b1,<*b2*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc : b1 = 6 }
by E20, XBOOLE_0:def 2;
then
not c
1 in ({[SCM-Halt ,{} ]} \/ { [b1,<*b2*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc : b1 = 6 } ) \/ { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc , B is Element of SCM-Data-Loc : b1 in {7,8} }
by E21, XBOOLE_0:def 2;
then
c
1 in { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Data-Loc , B is Element of SCM-Data-Loc : b1 in {1,2,3,4,5} }
by AMI_2:def 4, AMI_3:def 1, XBOOLE_0:def 2;
then consider c
2 being
Element of
Segm 9, c
3, c
4 being
Element of
SCM-Data-Loc such that E22:
c
1 = [c2,<*c3,c4*>]
and
c
2 in {1,2,3,4,5}
;
E23:
InsCode c
1 =
c
1 `1
.=
c
2
by E22, MCART_1:7
;
reconsider c
5 = c
3 @ , c
6 = c
4 @ as
Data-Location ;
take
c
5
;
take
c
6
;
thus
c
1 = c
5 := c
6
by E19, E22, E23;
end;
theorem Th48: :: AMI_5:48
proof
let c
1 be
Instruction of
SCM ;
assume E20:
InsCode c
1 = 2
;
E21:
not c
1 in {[SCM-Halt ,{} ]}
by E20, Th37, AMI_2:def 1, AMI_3:71, TARSKI:def 1;
E22:
now
assume
c
1 in { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc , B is Element of SCM-Data-Loc : b1 in {7,8} }
;
then consider c
2 being
Element of
Segm 9, c
3 being
Element of
SCM-Instr-Loc , c
4 being
Element of
SCM-Data-Loc such that E23:
c
1 = [c2,<*c3,c4*>]
and E24:
c
2 in {7,8}
;
InsCode c
1 =
c
1 `1
.=
c
2
by E23, MCART_1:7
;
hence
not verum
by E20, E24, TARSKI:def 2;
end;
then
not c
1 in {[SCM-Halt ,{} ]} \/ { [b1,<*b2*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc : b1 = 6 }
by E21, XBOOLE_0:def 2;
then
not c
1 in ({[SCM-Halt ,{} ]} \/ { [b1,<*b2*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc : b1 = 6 } ) \/ { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc , B is Element of SCM-Data-Loc : b1 in {7,8} }
by E22, XBOOLE_0:def 2;
then
c
1 in { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Data-Loc , B is Element of SCM-Data-Loc : b1 in {1,2,3,4,5} }
by AMI_2:def 4, AMI_3:def 1, XBOOLE_0:def 2;
then consider c
2 being
Element of
Segm 9, c
3, c
4 being
Element of
SCM-Data-Loc such that E23:
c
1 = [c2,<*c3,c4*>]
and
c
2 in {1,2,3,4,5}
;
E24:
InsCode c
1 =
c
1 `1
.=
c
2
by E23, MCART_1:7
;
reconsider c
5 = c
3 @ , c
6 = c
4 @ as
Data-Location ;
take
c
5
;
take
c
6
;
thus
c
1 = AddTo c
5,c
6
by E20, E23, E24;
end;
theorem Th49: :: AMI_5:49
proof
let c
1 be
Instruction of
SCM ;
assume E21:
InsCode c
1 = 3
;
E22:
not c
1 in {[SCM-Halt ,{} ]}
by E21, Th37, AMI_2:def 1, AMI_3:71, TARSKI:def 1;
E23:
now
assume
c
1 in { [b1,<*b2,b3*>] where B is Element of Segm 9, B is Element of SCM-Instr-Loc , B is Element of SCM-Data-Loc : b1 in {7,8} }
;
then consider c
2 being
Element of
Segm 9, c
3 being
Element of
SCM-Instr-Loc , c
4 being
Element of
SCM-Data-Loc such that E24:
c
1 = [c2,<*c3,c4*>]
and E25:
c
2 in {7,8}
;
InsCode c
1 =
c
1 `1
.=
c
2
by E24, MCART_1:7
;
hence
not verum
by E21, E25, TARSKI:def 2;
end;