:: SCMFSA8B semantic presentation
:: Showing IDV graph ... (Click the Palm Trees again to close it)
set A = the Instruction-Locations of SCM+FSA ;
set D = Int-Locations \/ FinSeq-Locations ;
Lm1:
for l being Instruction-Location of SCM+FSA holds goto l <> halt SCM+FSA
by SCMFSA_2:47, SCMFSA_2:124;
Lm2:
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;
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:49, SCMFSA_2:124;
Lm4:
for I, J being Macro-Instruction holds ProgramPart (Relocated J,(card I)) c= I ';' J
theorem Th1: :: SCMFSA8B:1
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th2: :: SCMFSA8B:2
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th3: :: SCMFSA8B:3
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th4: :: SCMFSA8B:4
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th5: :: SCMFSA8B:5
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th6: :: SCMFSA8B:6
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th7: :: SCMFSA8B:7
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th8: :: SCMFSA8B:8
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th9: :: SCMFSA8B:9
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th10: :: SCMFSA8B:10
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th11: :: SCMFSA8B:11
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th12: :: SCMFSA8B:12
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th13: :: SCMFSA8B:13
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
:: deftheorem defines if=0 SCMFSA8B:def 1 :
:: deftheorem defines if>0 SCMFSA8B:def 2 :
definition
let a be
Int-Location ;
let I,
J be
Macro-Instruction;
func if<0 a,
I,
J -> Macro-Instruction equals :: SCMFSA8B:def 3
if=0 a,
J,
(if>0 a,J,I);
coherence
if=0 a,J,(if>0 a,J,I) is Macro-Instruction
;
end;
:: deftheorem defines if<0 SCMFSA8B:def 3 :
Lm5:
for a being Int-Location
for I, J being Macro-Instruction holds
( insloc 0 in dom (if=0 a,I,J) & insloc 1 in dom (if=0 a,I,J) & insloc 0 in dom (if>0 a,I,J) & insloc 1 in dom (if>0 a,I,J) )
Lm6:
for a being Int-Location
for I, J being Macro-Instruction holds
( (if=0 a,I,J) . (insloc 0) = a =0_goto (insloc ((card J) + 3)) & (if=0 a,I,J) . (insloc 1) = goto (insloc 2) & (if>0 a,I,J) . (insloc 0) = a >0_goto (insloc ((card J) + 3)) & (if>0 a,I,J) . (insloc 1) = goto (insloc 2) )
theorem Th14: :: SCMFSA8B:14
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th15: :: SCMFSA8B:15
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th16: :: SCMFSA8B:16
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th17: :: SCMFSA8B:17
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th18: :: SCMFSA8B:18
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th19: :: SCMFSA8B:19
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th20: :: SCMFSA8B:20
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
s being
State of
SCM+FSA for
I,
J being
parahalting Macro-Instruction for
a being
read-write Int-Location holds
(
if=0 a,
I,
J is
parahalting & (
s . a = 0 implies
IExec (if=0 a,I,J),
s = (IExec I,s) +* (Start-At (insloc (((card I) + (card J)) + 3))) ) & (
s . a <> 0 implies
IExec (if=0 a,I,J),
s = (IExec J,s) +* (Start-At (insloc (((card I) + (card J)) + 3))) ) )
theorem Th21: :: SCMFSA8B:21
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
s being
State of
SCM+FSA for
I,
J being
parahalting Macro-Instruction for
a being
read-write Int-Location holds
(
IC (IExec (if=0 a,I,J),s) = insloc (((card I) + (card J)) + 3) & (
s . a = 0 implies ( ( for
d being
Int-Location holds
(IExec (if=0 a,I,J),s) . d = (IExec I,s) . d ) & ( for
f being
FinSeq-Location holds
(IExec (if=0 a,I,J),s) . f = (IExec I,s) . f ) ) ) & (
s . a <> 0 implies ( ( for
d being
Int-Location holds
(IExec (if=0 a,I,J),s) . d = (IExec J,s) . d ) & ( for
f being
FinSeq-Location holds
(IExec (if=0 a,I,J),s) . f = (IExec J,s) . f ) ) ) )
theorem Th22: :: SCMFSA8B:22
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th23: :: SCMFSA8B:23
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th24: :: SCMFSA8B:24
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th25: :: SCMFSA8B:25
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th26: :: SCMFSA8B:26
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
s being
State of
SCM+FSA for
I,
J being
parahalting Macro-Instruction for
a being
read-write Int-Location holds
(
if>0 a,
I,
J is
parahalting & (
s . a > 0 implies
IExec (if>0 a,I,J),
s = (IExec I,s) +* (Start-At (insloc (((card I) + (card J)) + 3))) ) & (
s . a <= 0 implies
IExec (if>0 a,I,J),
s = (IExec J,s) +* (Start-At (insloc (((card I) + (card J)) + 3))) ) )
theorem Th27: :: SCMFSA8B:27
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
s being
State of
SCM+FSA for
I,
J being
parahalting Macro-Instruction for
a being
read-write Int-Location holds
(
IC (IExec (if>0 a,I,J),s) = insloc (((card I) + (card J)) + 3) & (
s . a > 0 implies ( ( for
d being
Int-Location holds
(IExec (if>0 a,I,J),s) . d = (IExec I,s) . d ) & ( for
f being
FinSeq-Location holds
(IExec (if>0 a,I,J),s) . f = (IExec I,s) . f ) ) ) & (
s . a <= 0 implies ( ( for
d being
Int-Location holds
(IExec (if>0 a,I,J),s) . d = (IExec J,s) . d ) & ( for
f being
FinSeq-Location holds
(IExec (if>0 a,I,J),s) . f = (IExec J,s) . f ) ) ) )
theorem :: SCMFSA8B:28
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th29: :: SCMFSA8B:29
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8B:30
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th31: :: SCMFSA8B:31
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8B:32
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th33: :: SCMFSA8B:33
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8B:34
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
s being
State of
SCM+FSA for
I,
J being
parahalting Macro-Instruction for
a being
read-write Int-Location holds
(
if<0 a,
I,
J is
parahalting & (
s . a < 0 implies
IExec (if<0 a,I,J),
s = (IExec I,s) +* (Start-At (insloc ((((card I) + (card J)) + (card J)) + 7))) ) & (
s . a >= 0 implies
IExec (if<0 a,I,J),
s = (IExec J,s) +* (Start-At (insloc ((((card I) + (card J)) + (card J)) + 7))) ) )
definition
let a,
b be
Int-Location ;
let I,
J be
Macro-Instruction;
func if=0 a,
b,
I,
J -> Macro-Instruction equals :: SCMFSA8B:def 4
(SubFrom a,b) ';' (if=0 a,I,J);
coherence
(SubFrom a,b) ';' (if=0 a,I,J) is Macro-Instruction
;
func if>0 a,
b,
I,
J -> Macro-Instruction equals :: SCMFSA8B:def 5
(SubFrom a,b) ';' (if>0 a,I,J);
coherence
(SubFrom a,b) ';' (if>0 a,I,J) is Macro-Instruction
;
end;
:: deftheorem defines if=0 SCMFSA8B:def 4 :
:: deftheorem defines if>0 SCMFSA8B:def 5 :
registration
let I,
J be
parahalting Macro-Instruction;
let a,
b be
read-write Int-Location ;
cluster if=0 a,
b,
I,
J -> parahalting ;
correctness
coherence
if=0 a,b,I,J is parahalting;
;
cluster if>0 a,
b,
I,
J -> parahalting ;
correctness
coherence
if>0 a,b,I,J is parahalting;
;
end;
theorem Th35: :: SCMFSA8B:35
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th36: :: SCMFSA8B:36
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th37: :: SCMFSA8B:37
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th38: :: SCMFSA8B:38
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th39: :: SCMFSA8B:39
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th40: :: SCMFSA8B:40
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem Th41: :: SCMFSA8B:41
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
theorem :: SCMFSA8B:42
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
s being
State of
SCM+FSA for
I,
J being
parahalting Macro-Instruction for
a,
b being
read-write Int-Location st
I does_not_refer a &
J does_not_refer a holds
(
IC (IExec (if=0 a,b,I,J),s) = insloc (((card I) + (card J)) + 5) & (
s . a = s . b implies ( ( for
d being
Int-Location st
a <> d holds
(IExec (if=0 a,b,I,J),s) . d = (IExec I,s) . d ) & ( for
f being
FinSeq-Location holds
(IExec (if=0 a,b,I,J),s) . f = (IExec I,s) . f ) ) ) & (
s . a <> s . b implies ( ( for
d being
Int-Location st
a <> d holds
(IExec (if=0 a,b,I,J),s) . d = (IExec J,s) . d ) & ( for
f being
FinSeq-Location holds
(IExec (if=0 a,b,I,J),s) . f = (IExec J,s) . f ) ) ) )
theorem :: SCMFSA8B:43
:: Showing IDV graph ... (Click the Palm Tree again to close it) 
for
s being
State of
SCM+FSA for
I,
J being
parahalting Macro-Instruction for
a,
b being
read-write Int-Location st
I does_not_refer a &
J does_not_refer a holds
(
IC (IExec (if>0 a,b,I,J),s) = insloc (((card I) + (card J)) + 5) & (
s . a > s . b implies ( ( for
d being
Int-Location st
a <> d holds
(IExec (if>0 a,b,I,J),s) . d = (IExec I,s) . d ) & ( for
f being
FinSeq-Location holds
(IExec (if>0 a,b,I,J),s) . f = (IExec I,s) . f ) ) ) & (
s . a <= s . b implies ( ( for
d being
Int-Location st
a <> d holds
(IExec (if>0 a,b,I,J),s) . d = (IExec J,s) . d ) & ( for
f being
FinSeq-Location holds
(IExec (if>0 a,b,I,J),s) . f = (IExec J,s) . f ) ) ) )