:: SCMFSA8C semantic presentation
:: Showing IDV graph ... (Click the Palm Trees again to close it)
theorem :: SCMFSA8C:1
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem Th2: :: SCMFSA8C:2
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:3
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem :: SCMFSA8C:4
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem :: SCMFSA8C:5
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem Th6: :: SCMFSA8C:6
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th7: :: SCMFSA8C:7
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th8: :: SCMFSA8C:8
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th9: :: SCMFSA8C:9
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th10: :: SCMFSA8C:10
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th11: :: SCMFSA8C:11
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th12: :: SCMFSA8C:12
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th13: :: SCMFSA8C:13
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th14: :: SCMFSA8C:14
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th15: :: SCMFSA8C:15
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th16: :: SCMFSA8C:16
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th17: :: SCMFSA8C:17
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th18: :: SCMFSA8C:18
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th19: :: SCMFSA8C:19
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th20: :: SCMFSA8C:20
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:21
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th22: :: SCMFSA8C:22
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:23
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th24: :: SCMFSA8C:24
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th25: :: SCMFSA8C:25
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th26: :: SCMFSA8C:26
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th27: :: SCMFSA8C:27
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th28: :: SCMFSA8C:28
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:29
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:30
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th31: :: SCMFSA8C:31
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th32: :: SCMFSA8C:32
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th33: :: SCMFSA8C:33
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:34
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th35: :: SCMFSA8C:35
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th36: :: SCMFSA8C:36
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th37: :: SCMFSA8C:37
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th38: :: SCMFSA8C:38
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th39: :: SCMFSA8C:39
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:40
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th41: :: SCMFSA8C:41
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th42: :: SCMFSA8C:42
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th43: :: SCMFSA8C:43
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th44: :: SCMFSA8C:44
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th45: :: SCMFSA8C:45
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th46: :: SCMFSA8C:46
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm1:
now
let s be
State of
SCM+FSA ;
:: thesis: for I being Macro-Instruction holds
( ( Initialized I is_pseudo-closed_on s implies ( I is_pseudo-closed_on Initialize s & pseudo-LifeSpan s,(Initialized I) = pseudo-LifeSpan (Initialize s),I ) ) & ( I is_pseudo-closed_on Initialize s implies ( Initialized I is_pseudo-closed_on s & pseudo-LifeSpan s,(Initialized I) = pseudo-LifeSpan (Initialize s),I ) ) )let I be
Macro-Instruction;
:: thesis: ( ( Initialized I is_pseudo-closed_on s implies ( I is_pseudo-closed_on Initialize s & pseudo-LifeSpan s,(Initialized I) = pseudo-LifeSpan (Initialize s),I ) ) & ( I is_pseudo-closed_on Initialize s implies ( Initialized I is_pseudo-closed_on s & pseudo-LifeSpan s,(Initialized I) = pseudo-LifeSpan (Initialize s),I ) ) )A1:
ProgramPart (Initialized I) = I
by Th25;
hereby :: thesis: ( I is_pseudo-closed_on Initialize s implies ( Initialized I is_pseudo-closed_on s & pseudo-LifeSpan s,(Initialized I) = pseudo-LifeSpan (Initialize s),I ) )
assume A2:
Initialized I is_pseudo-closed_on s
;
:: thesis: ( I is_pseudo-closed_on Initialize s & pseudo-LifeSpan s,(Initialized I) = pseudo-LifeSpan (Initialize s),I )set k =
pseudo-LifeSpan s,
(Initialized I);
(
IC ((Computation (s +* ((Initialized I) +* (Start-At (insloc 0))))) . (pseudo-LifeSpan s,(Initialized I))) = insloc (card (ProgramPart (Initialized I))) & ( for
n being
Nat st
n < pseudo-LifeSpan s,
(Initialized I) holds
IC ((Computation (s +* ((Initialized I) +* (Start-At (insloc 0))))) . n) in dom (Initialized I) ) )
by A2, SCMFSA8A:def 5;
then
IC ((Computation ((Initialize s) +* (I +* (Start-At (insloc 0))))) . (pseudo-LifeSpan s,(Initialized I))) = insloc (card (ProgramPart (Initialized I)))
by Th16;
then A3:
IC ((Computation ((Initialize s) +* (I +* (Start-At (insloc 0))))) . (pseudo-LifeSpan s,(Initialized I))) = insloc (card (ProgramPart I))
by A1, AMI_5:72;
then A5:
for
n being
Nat st not
IC ((Computation ((Initialize s) +* (I +* (Start-At (insloc 0))))) . n) in dom I holds
pseudo-LifeSpan s,
(Initialized I) <= n
;
thus
I is_pseudo-closed_on Initialize s
by A3, A4, SCMFSA8A:def 3;
:: thesis: pseudo-LifeSpan s,(Initialized I) = pseudo-LifeSpan (Initialize s),Ihence
pseudo-LifeSpan s,
(Initialized I) = pseudo-LifeSpan (Initialize s),
I
by A3, A5, SCMFSA8A:def 5;
:: thesis: verum
end;
assume A6:
I is_pseudo-closed_on Initialize s
;
:: thesis: ( Initialized I is_pseudo-closed_on s & pseudo-LifeSpan s,(Initialized I) = pseudo-LifeSpan (Initialize s),I )set k =
pseudo-LifeSpan (Initialize s),
I;
(
IC ((Computation ((Initialize s) +* (I +* (Start-At (insloc 0))))) . (pseudo-LifeSpan (Initialize s),I)) = insloc (card (ProgramPart I)) & ( for
n being
Nat st
n < pseudo-LifeSpan (Initialize s),
I holds
IC ((Computation ((Initialize s) +* (I +* (Start-At (insloc 0))))) . n) in dom I ) )
by A6, SCMFSA8A:def 5;
then
IC ((Computation (s +* ((Initialized I) +* (Start-At (insloc 0))))) . (pseudo-LifeSpan (Initialize s),I)) = insloc (card (ProgramPart I))
by Th16;
then A7:
IC ((Computation (s +* ((Initialized I) +* (Start-At (insloc 0))))) . (pseudo-LifeSpan (Initialize s),I)) = insloc (card (ProgramPart (Initialized I)))
by A1, AMI_5:72;
then A9:
for
n being
Nat st not
IC ((Computation (s +* ((Initialized I) +* (Start-At (insloc 0))))) . n) in dom (Initialized I) holds
pseudo-LifeSpan (Initialize s),
I <= n
;
thus
Initialized I is_pseudo-closed_on s
by A7, A8, SCMFSA8A:def 3;
:: thesis: pseudo-LifeSpan s,(Initialized I) = pseudo-LifeSpan (Initialize s),Ihence
pseudo-LifeSpan s,
(Initialized I) = pseudo-LifeSpan (Initialize s),
I
by A7, A9, SCMFSA8A:def 5;
:: thesis: verum
end;
theorem :: SCMFSA8C:47
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:48
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:49
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th50: :: SCMFSA8C:50
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th51: :: SCMFSA8C:51
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th52: :: SCMFSA8C:52
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th53: :: SCMFSA8C:53
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm2:
for l being Instruction-Location of SCM+FSA holds goto l <> halt SCM+FSA
by SCMFSA_2:47, SCMFSA_2:124;
Lm3:
for a being Int-Location
for l being Instruction-Location of SCM+FSA holds a =0_goto l <> halt SCM+FSA
by SCMFSA_2:48, SCMFSA_2:124;
Lm4:
for a being Int-Location
for l being Instruction-Location of SCM+FSA holds a >0_goto l <> halt SCM+FSA
by SCMFSA_2:49, SCMFSA_2:124;
Lm5:
for I, J being Macro-Instruction holds ProgramPart (Relocated J,(card I)) c= I ';' J
theorem Th54: :: SCMFSA8C:54
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th55: :: SCMFSA8C:55
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th56: :: SCMFSA8C:56
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th57: :: SCMFSA8C:57
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th58: :: SCMFSA8C:58
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th59: :: SCMFSA8C:59
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:60
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th61: :: SCMFSA8C:61
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th62: :: SCMFSA8C:62
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th63: :: SCMFSA8C:63
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th64: :: SCMFSA8C:64
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th65: :: SCMFSA8C:65
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th66: :: SCMFSA8C:66
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:67
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th68: :: SCMFSA8C:68
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th69: :: SCMFSA8C:69
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th70: :: SCMFSA8C:70
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:71
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th72: :: SCMFSA8C:72
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th73: :: SCMFSA8C:73
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:74
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:75
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th76: :: SCMFSA8C:76
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th77: :: SCMFSA8C:77
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th78: :: SCMFSA8C:78
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:79
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:80
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th81: :: SCMFSA8C:81
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th82: :: SCMFSA8C:82
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:83
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:84
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th85: :: SCMFSA8C:85
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th86: :: SCMFSA8C:86
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th87: :: SCMFSA8C:87
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th88: :: SCMFSA8C:88
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th89: :: SCMFSA8C:89
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th90: :: SCMFSA8C:90
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th91: :: SCMFSA8C:91
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th92: :: SCMFSA8C:92
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th93: :: SCMFSA8C:93
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th94: :: SCMFSA8C:94
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th95: :: SCMFSA8C:95
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th96: :: SCMFSA8C:96
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:97
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th98: :: SCMFSA8C:98
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th99: :: SCMFSA8C:99
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th100: :: SCMFSA8C:100
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th101: :: SCMFSA8C:101
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:102
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem Th103: :: SCMFSA8C:103
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem SCMFSA8C:def 1 :
canceled;
:: deftheorem SCMFSA8C:def 2 :
canceled;
:: deftheorem SCMFSA8C:def 3 :
canceled;
:: deftheorem defines loop SCMFSA8C:def 4 :
theorem Th104: :: SCMFSA8C:104
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:105
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th106: :: SCMFSA8C:106
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th107: :: SCMFSA8C:107
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th108: :: SCMFSA8C:108
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th109: :: SCMFSA8C:109
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th110: :: SCMFSA8C:110
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
Lm6:
for s being State of SCM+FSA
for I being Macro-Instruction st I is_closed_on s & I is_halting_on s holds
( CurInstr ((Computation (s +* ((loop I) +* (Start-At (insloc 0))))) . (LifeSpan (s +* (I +* (Start-At (insloc 0)))))) = goto (insloc 0) & ( for m being Nat st m <= LifeSpan (s +* (I +* (Start-At (insloc 0)))) holds
CurInstr ((Computation (s +* ((loop I) +* (Start-At (insloc 0))))) . m) <> halt SCM+FSA ) )
theorem :: SCMFSA8C:111
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:112
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th113: :: SCMFSA8C:113
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:114
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
definition
let a be
Int-Location ;
let I be
Macro-Instruction;
func Times a,
I -> Macro-Instruction equals :: SCMFSA8C:def 5
if>0 a,
(loop (if=0 a,(Goto (insloc 2)),(I ';' (SubFrom a,(intloc 0))))),
SCM+FSA-Stop ;
correctness
coherence
if>0 a,(loop (if=0 a,(Goto (insloc 2)),(I ';' (SubFrom a,(intloc 0))))),SCM+FSA-Stop is Macro-Instruction;
;
end;
:: deftheorem defines Times SCMFSA8C:def 5 :
theorem Th115: :: SCMFSA8C:115
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th116: :: SCMFSA8C:116
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th117: :: SCMFSA8C:117
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:118
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:119
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:120
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:121
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th122: :: SCMFSA8C:122
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
s being
State of
SCM+FSA for
I being
parahalting good Macro-Instruction for
a being
read-write Int-Location st
I does_not_destroy a &
s . (intloc 0) = 1 &
s . a > 0 holds
ex
s2 being
State of
SCM+FSA ex
k being
Nat st
(
s2 = s +* ((loop (if=0 a,(Goto (insloc 2)),(I ';' (SubFrom a,(intloc 0))))) +* (Start-At (insloc 0))) &
k = (LifeSpan (s +* ((if=0 a,(Goto (insloc 2)),(I ';' (SubFrom a,(intloc 0)))) +* (Start-At (insloc 0))))) + 1 &
((Computation s2) . k) . a = (s . a) - 1 &
((Computation s2) . k) . (intloc 0) = 1 & ( for
b being
read-write Int-Location st
b <> a holds
((Computation s2) . k) . b = (IExec I,s) . b ) & ( for
f being
FinSeq-Location holds
((Computation s2) . k) . f = (IExec I,s) . f ) &
IC ((Computation s2) . k) = insloc 0 & ( for
n being
Nat st
n <= k holds
IC ((Computation s2) . n) in dom (loop (if=0 a,(Goto (insloc 2)),(I ';' (SubFrom a,(intloc 0))))) ) )
theorem Th123: :: SCMFSA8C:123
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th124: :: SCMFSA8C:124
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8C:125
:: Showing IDV graph ... (Click the Palm Tree again to close it) 