:: SCMFSA_9 semantic presentation
:: Showing IDV graph ... (Click the Palm Trees again to close it)
theorem Th1: :: SCMFSA_9:1
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th2: :: SCMFSA_9:2
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
definition
let a be
Int-Location ;
let I be
Macro-Instruction;
func while=0 a,
I -> Macro-Instruction equals :: SCMFSA_9:def 1
(if=0 a,(I ';' (Goto (insloc 0))),SCM+FSA-Stop ) +* ((insloc ((card I) + 4)) .--> (goto (insloc 0)));
correctness
coherence
(if=0 a,(I ';' (Goto (insloc 0))),SCM+FSA-Stop ) +* ((insloc ((card I) + 4)) .--> (goto (insloc 0))) is Macro-Instruction;
func while>0 a,
I -> Macro-Instruction equals :: SCMFSA_9:def 2
(if>0 a,(I ';' (Goto (insloc 0))),SCM+FSA-Stop ) +* ((insloc ((card I) + 4)) .--> (goto (insloc 0)));
correctness
coherence
(if>0 a,(I ';' (Goto (insloc 0))),SCM+FSA-Stop ) +* ((insloc ((card I) + 4)) .--> (goto (insloc 0))) is Macro-Instruction;
end;
:: deftheorem defines while=0 SCMFSA_9:def 1 :
:: deftheorem defines while>0 SCMFSA_9:def 2 :
theorem Th3: :: SCMFSA_9:3
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem defines while<0 SCMFSA_9:def 3 :
theorem Th4: :: SCMFSA_9:4
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th5: :: SCMFSA_9:5
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA_9:6
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th7: :: SCMFSA_9:7
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th8: :: SCMFSA_9:8
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th9: :: SCMFSA_9:9
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th10: :: SCMFSA_9:10
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th11: :: SCMFSA_9:11
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th12: :: SCMFSA_9:12
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th13: :: SCMFSA_9:13
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th14: :: SCMFSA_9:14
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th15: :: SCMFSA_9:15
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th16: :: SCMFSA_9:16
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA_9:17
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th18: :: SCMFSA_9:18
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th19: :: SCMFSA_9:19
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th20: :: SCMFSA_9:20
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th21: :: SCMFSA_9:21
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th22: :: SCMFSA_9:22
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
set sl0 = Start-At (insloc 0);
definition
let s be
State of
SCM+FSA ;
let I be
Macro-Instruction;
let a be
read-write Int-Location ;
func StepWhile=0 a,
I,
s -> Function of
NAT ,
product the
Object-Kind of
SCM+FSA means :
Def4:
:: SCMFSA_9:def 4
(
it . 0
= s & ( for
i being
Nat holds
it . (i + 1) = (Computation ((it . i) +* ((while=0 a,I) +* (Start-At (insloc 0))))) . ((LifeSpan ((it . i) +* (I +* (Start-At (insloc 0))))) + 3) ) );
existence
ex b1 being Function of NAT , product the Object-Kind of SCM+FSA st
( b1 . 0 = s & ( for i being Nat holds b1 . (i + 1) = (Computation ((b1 . i) +* ((while=0 a,I) +* (Start-At (insloc 0))))) . ((LifeSpan ((b1 . i) +* (I +* (Start-At (insloc 0))))) + 3) ) )
uniqueness
for b1, b2 being Function of NAT , product the Object-Kind of SCM+FSA st b1 . 0 = s & ( for i being Nat holds b1 . (i + 1) = (Computation ((b1 . i) +* ((while=0 a,I) +* (Start-At (insloc 0))))) . ((LifeSpan ((b1 . i) +* (I +* (Start-At (insloc 0))))) + 3) ) & b2 . 0 = s & ( for i being Nat holds b2 . (i + 1) = (Computation ((b2 . i) +* ((while=0 a,I) +* (Start-At (insloc 0))))) . ((LifeSpan ((b2 . i) +* (I +* (Start-At (insloc 0))))) + 3) ) holds
b1 = b2
end;
:: deftheorem Def4 defines StepWhile=0 SCMFSA_9:def 4 :
theorem :: SCMFSA_9:23
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem :: SCMFSA_9:24
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem Th25: :: SCMFSA_9:25
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA_9:26
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th27: :: SCMFSA_9:27
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA_9:28
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th29: :: SCMFSA_9:29
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th30: :: SCMFSA_9:30
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th31: :: SCMFSA_9:31
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
I being
Macro-Instruction for
a being
read-write Int-Location for
s being
State of
SCM+FSA for
k,
n being
Nat st
IC ((StepWhile=0 a,I,s) . k) = insloc 0 &
(StepWhile=0 a,I,s) . k = (Computation (s +* ((while=0 a,I) +* (Start-At (insloc 0))))) . n holds
(
(StepWhile=0 a,I,s) . k = ((StepWhile=0 a,I,s) . k) +* ((while=0 a,I) +* (Start-At (insloc 0))) &
(StepWhile=0 a,I,s) . (k + 1) = (Computation (s +* ((while=0 a,I) +* (Start-At (insloc 0))))) . (n + ((LifeSpan (((StepWhile=0 a,I,s) . k) +* (I +* (Start-At (insloc 0))))) + 3)) )
theorem Th32: :: SCMFSA_9:32
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
I being
Macro-Instruction for
a being
read-write Int-Location for
s being
State of
SCM+FSA st ( for
k being
Nat holds
(
I is_closed_on (StepWhile=0 a,I,s) . k &
I is_halting_on (StepWhile=0 a,I,s) . k ) ) & ex
f being
Function of
product the
Object-Kind of
SCM+FSA ,
NAT st
for
k being
Nat holds
( (
f . ((StepWhile=0 a,I,s) . (k + 1)) < f . ((StepWhile=0 a,I,s) . k) or
f . ((StepWhile=0 a,I,s) . k) = 0 ) & (
f . ((StepWhile=0 a,I,s) . k) = 0 implies
((StepWhile=0 a,I,s) . k) . a <> 0 ) & (
((StepWhile=0 a,I,s) . k) . a <> 0 implies
f . ((StepWhile=0 a,I,s) . k) = 0 ) ) holds
(
while=0 a,
I is_halting_on s &
while=0 a,
I is_closed_on s )
theorem Th33: :: SCMFSA_9:33
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
I being
parahalting Macro-Instruction for
a being
read-write Int-Location for
s being
State of
SCM+FSA st ex
f being
Function of
product the
Object-Kind of
SCM+FSA ,
NAT st
for
k being
Nat holds
( (
f . ((StepWhile=0 a,I,s) . (k + 1)) < f . ((StepWhile=0 a,I,s) . k) or
f . ((StepWhile=0 a,I,s) . k) = 0 ) & (
f . ((StepWhile=0 a,I,s) . k) = 0 implies
((StepWhile=0 a,I,s) . k) . a <> 0 ) & (
((StepWhile=0 a,I,s) . k) . a <> 0 implies
f . ((StepWhile=0 a,I,s) . k) = 0 ) ) holds
(
while=0 a,
I is_halting_on s &
while=0 a,
I is_closed_on s )
theorem :: SCMFSA_9:34
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th35: :: SCMFSA_9:35
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th36: :: SCMFSA_9:36
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th37: :: SCMFSA_9:37
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th38: :: SCMFSA_9:38
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th39: :: SCMFSA_9:39
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th40: :: SCMFSA_9:40
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th41: :: SCMFSA_9:41
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA_9:42
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th43: :: SCMFSA_9:43
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th44: :: SCMFSA_9:44
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th45: :: SCMFSA_9:45
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th46: :: SCMFSA_9:46
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th47: :: SCMFSA_9:47
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
set sl0 = Start-At (insloc 0);
definition
let s be
State of
SCM+FSA ;
let I be
Macro-Instruction;
let a be
read-write Int-Location ;
func StepWhile>0 a,
I,
s -> Function of
NAT ,
product the
Object-Kind of
SCM+FSA means :
Def5:
:: SCMFSA_9:def 5
(
it . 0
= s & ( for
i being
Nat holds
it . (i + 1) = (Computation ((it . i) +* ((while>0 a,I) +* (Start-At (insloc 0))))) . ((LifeSpan ((it . i) +* (I +* (Start-At (insloc 0))))) + 3) ) );
existence
ex b1 being Function of NAT , product the Object-Kind of SCM+FSA st
( b1 . 0 = s & ( for i being Nat holds b1 . (i + 1) = (Computation ((b1 . i) +* ((while>0 a,I) +* (Start-At (insloc 0))))) . ((LifeSpan ((b1 . i) +* (I +* (Start-At (insloc 0))))) + 3) ) )
uniqueness
for b1, b2 being Function of NAT , product the Object-Kind of SCM+FSA st b1 . 0 = s & ( for i being Nat holds b1 . (i + 1) = (Computation ((b1 . i) +* ((while>0 a,I) +* (Start-At (insloc 0))))) . ((LifeSpan ((b1 . i) +* (I +* (Start-At (insloc 0))))) + 3) ) & b2 . 0 = s & ( for i being Nat holds b2 . (i + 1) = (Computation ((b2 . i) +* ((while>0 a,I) +* (Start-At (insloc 0))))) . ((LifeSpan ((b2 . i) +* (I +* (Start-At (insloc 0))))) + 3) ) holds
b1 = b2
end;
:: deftheorem Def5 defines StepWhile>0 SCMFSA_9:def 5 :
theorem :: SCMFSA_9:48
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem :: SCMFSA_9:49
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
canceled;
theorem Th50: :: SCMFSA_9:50
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th51: :: SCMFSA_9:51
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th52: :: SCMFSA_9:52
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
I being
Macro-Instruction for
a being
read-write Int-Location for
s being
State of
SCM+FSA for
k,
n being
Nat st
IC ((StepWhile>0 a,I,s) . k) = insloc 0 &
(StepWhile>0 a,I,s) . k = (Computation (s +* ((while>0 a,I) +* (Start-At (insloc 0))))) . n holds
(
(StepWhile>0 a,I,s) . k = ((StepWhile>0 a,I,s) . k) +* ((while>0 a,I) +* (Start-At (insloc 0))) &
(StepWhile>0 a,I,s) . (k + 1) = (Computation (s +* ((while>0 a,I) +* (Start-At (insloc 0))))) . (n + ((LifeSpan (((StepWhile>0 a,I,s) . k) +* (I +* (Start-At (insloc 0))))) + 3)) )
theorem Th53: :: SCMFSA_9:53
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
I being
Macro-Instruction for
a being
read-write Int-Location for
s being
State of
SCM+FSA st ( for
k being
Nat holds
(
I is_closed_on (StepWhile>0 a,I,s) . k &
I is_halting_on (StepWhile>0 a,I,s) . k ) ) & ex
f being
Function of
product the
Object-Kind of
SCM+FSA ,
NAT st
for
k being
Nat holds
( (
f . ((StepWhile>0 a,I,s) . (k + 1)) < f . ((StepWhile>0 a,I,s) . k) or
f . ((StepWhile>0 a,I,s) . k) = 0 ) & (
f . ((StepWhile>0 a,I,s) . k) = 0 implies
((StepWhile>0 a,I,s) . k) . a <= 0 ) & (
((StepWhile>0 a,I,s) . k) . a <= 0 implies
f . ((StepWhile>0 a,I,s) . k) = 0 ) ) holds
(
while>0 a,
I is_halting_on s &
while>0 a,
I is_closed_on s )
theorem Th54: :: SCMFSA_9:54
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
I being
parahalting Macro-Instruction for
a being
read-write Int-Location for
s being
State of
SCM+FSA st ex
f being
Function of
product the
Object-Kind of
SCM+FSA ,
NAT st
for
k being
Nat holds
( (
f . ((StepWhile>0 a,I,s) . (k + 1)) < f . ((StepWhile>0 a,I,s) . k) or
f . ((StepWhile>0 a,I,s) . k) = 0 ) & (
f . ((StepWhile>0 a,I,s) . k) = 0 implies
((StepWhile>0 a,I,s) . k) . a <= 0 ) & (
((StepWhile>0 a,I,s) . k) . a <= 0 implies
f . ((StepWhile>0 a,I,s) . k) = 0 ) ) holds
(
while>0 a,
I is_halting_on s &
while>0 a,
I is_closed_on s )
theorem :: SCMFSA_9:55
:: Showing IDV graph ... (Click the Palm Tree again to close it) 