:: SCM_1 semantic presentation :: Showing IDV graph ... (Click the Palm Trees again to close it)
theorem Th1: :: SCM_1:1 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th2: :: SCM_1:2 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th3: :: SCM_1:3 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th4: :: SCM_1:4 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:5 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem :: SCM_1:6 :: Showing IDV graph ... (Click the Palm Tree again to close it)
canceled;
theorem Th7: :: SCM_1:7 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def1 defines State-consisting SCM_1:def 1 :
Lm3:
( 1 in Seg 3 & 2 in Seg 3 & 3 in Seg 3 )
by FINSEQ_1:3;
Lm4:
( 1 in Seg 4 & 2 in Seg 4 & 3 in Seg 4 & 4 in Seg 4 )
by FINSEQ_1:3;
Lm5:
( 1 in Seg 5 & 2 in Seg 5 & 3 in Seg 5 & 4 in Seg 5 & 5 in Seg 5 )
by FINSEQ_1:3;
Lm6:
( 1 in Seg 6 & 2 in Seg 6 & 3 in Seg 6 & 4 in Seg 6 & 5 in Seg 6 & 6 in Seg 6 )
by FINSEQ_1:3;
Lm7:
( 1 in Seg 7 & 2 in Seg 7 & 3 in Seg 7 & 4 in Seg 7 & 5 in Seg 7 & 6 in Seg 7 & 7 in Seg 7 )
by FINSEQ_1:3;
Lm8:
( 1 in Seg 8 & 2 in Seg 8 & 3 in Seg 8 & 4 in Seg 8 & 5 in Seg 8 & 6 in Seg 8 & 7 in Seg 8 & 8 in Seg 8 )
by FINSEQ_1:3;
theorem Th8: :: SCM_1:8 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th9: :: SCM_1:9 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th10: :: SCM_1:10 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th11: :: SCM_1:11 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th12: :: SCM_1:12 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th13: :: SCM_1:13 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:14 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
I1,
I2,
I3,
I4,
I5,
I6,
I7,
I8,
I9 being
Instruction of
SCM for
i1,
i2,
i3,
i4 being
Integer for
il being
Nat for
s being
State-consisting of
il,0,0,
(((((((<*I1*> ^ <*I2*>) ^ <*I3*>) ^ <*I4*>) ^ <*I5*>) ^ <*I6*>) ^ <*I7*>) ^ <*I8*>) ^ <*I9*>,
((<*i1*> ^ <*i2*>) ^ <*i3*>) ^ <*i4*> holds
(
IC s = il. il &
s . (il. 0) = I1 &
s . (il. 1) = I2 &
s . (il. 2) = I3 &
s . (il. 3) = I4 &
s . (il. 4) = I5 &
s . (il. 5) = I6 &
s . (il. 6) = I7 &
s . (il. 7) = I8 &
s . (il. 8) = I9 &
s . (dl. 0) = i1 &
s . (dl. 1) = i2 &
s . (dl. 2) = i3 &
s . (dl. 3) = i4 )
theorem Th15: :: SCM_1:15 :: Showing IDV graph ... (Click the Palm Tree again to close it)
:: deftheorem Def2 defines Complexity SCM_1:def 2 :
theorem Th16: :: SCM_1:16 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th17: :: SCM_1:17 :: Showing IDV graph ... (Click the Palm Tree again to close it)
Lm9:
for n being Nat holds Next (il. n) = il. (n + 1)
Lm10:
for k being Nat
for s being State of SCM holds (Computation s) . (k + 1) = Exec (CurInstr ((Computation s) . k)),((Computation s) . k)
Lm11:
now
let k,
n be
Nat;
:: thesis: for s being State of SCM
for a, b being Data-Location st IC ((Computation s) . k) = il. n & ( s . (il. n) = a := b or s . (il. n) = AddTo a,b or s . (il. n) = SubFrom a,b or s . (il. n) = MultBy a,b or ( a <> b & s . (il. n) = Divide a,b ) ) holds
( (Computation s) . (k + 1) = Exec (s . (il. n)),((Computation s) . k) & IC ((Computation s) . (k + 1)) = il. (n + 1) )let s be
State of
SCM ;
:: thesis: for a, b being Data-Location st IC ((Computation s) . k) = il. n & ( s . (il. n) = a := b or s . (il. n) = AddTo a,b or s . (il. n) = SubFrom a,b or s . (il. n) = MultBy a,b or ( a <> b & s . (il. n) = Divide a,b ) ) holds
( (Computation s) . (k + 1) = Exec (s . (il. n)),((Computation s) . k) & IC ((Computation s) . (k + 1)) = il. (n + 1) )let a,
b be
Data-Location ;
:: thesis: ( IC ((Computation s) . k) = il. n & ( s . (il. n) = a := b or s . (il. n) = AddTo a,b or s . (il. n) = SubFrom a,b or s . (il. n) = MultBy a,b or ( a <> b & s . (il. n) = Divide a,b ) ) implies ( (Computation s) . (k + 1) = Exec (s . (il. n)),((Computation s) . k) & IC ((Computation s) . (k + 1)) = il. (n + 1) ) )assume A1:
IC ((Computation s) . k) = il. n
;
:: thesis: ( ( s . (il. n) = a := b or s . (il. n) = AddTo a,b or s . (il. n) = SubFrom a,b or s . (il. n) = MultBy a,b or ( a <> b & s . (il. n) = Divide a,b ) ) implies ( (Computation s) . (k + 1) = Exec (s . (il. n)),((Computation s) . k) & IC ((Computation s) . (k + 1)) = il. (n + 1) ) )A2:
((Computation s) . k) . (il. n) = s . (il. n)
by AMI_1:54;
set csk =
(Computation s) . k;
set csk1 =
(Computation s) . (k + 1);
A3:
((Computation s) . k) . 0
= il. n
by A1, Th1;
assume A4:
(
s . (il. n) = a := b or
s . (il. n) = AddTo a,
b or
s . (il. n) = SubFrom a,
b or
s . (il. n) = MultBy a,
b or (
a <> b &
s . (il. n) = Divide a,
b ) )
;
:: thesis: ( (Computation s) . (k + 1) = Exec (s . (il. n)),((Computation s) . k) & IC ((Computation s) . (k + 1)) = il. (n + 1) )thus A5:
(Computation s) . (k + 1) =
Exec (CurInstr ((Computation s) . k)),
((Computation s) . k)
by Lm10
.=
Exec (s . (il. n)),
((Computation s) . k)
by A2, A3, Th1
;
:: thesis: IC ((Computation s) . (k + 1)) = il. (n + 1)thus IC ((Computation s) . (k + 1)) =
((Computation s) . (k + 1)) . 0
by Th1
.=
Next (IC ((Computation s) . k))
by A4, A5, AMI_3:4, AMI_3:8, AMI_3:9, AMI_3:10, AMI_3:11, AMI_3:12
.=
il. (n + 1)
by A1, Lm9
;
:: thesis: verum
end;
theorem Th18: :: SCM_1:18 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th19: :: SCM_1:19 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th20: :: SCM_1:20 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th21: :: SCM_1:21 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th22: :: SCM_1:22 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th23: :: SCM_1:23 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th24: :: SCM_1:24 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th25: :: SCM_1:25 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th26: :: SCM_1:26 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem Th27: :: SCM_1:27 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:28 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:29 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:30 :: Showing IDV graph ... (Click the Palm Tree again to close it)
for
I1,
I2,
I3,
I4,
I5,
I6,
I7,
I8,
I9 being
Instruction of
SCM for
i1,
i2,
i3,
i4 being
Integer for
il being
Nat for
s being
State of
SCM st
IC s = il. il &
s . (il. 0) = I1 &
s . (il. 1) = I2 &
s . (il. 2) = I3 &
s . (il. 3) = I4 &
s . (il. 4) = I5 &
s . (il. 5) = I6 &
s . (il. 6) = I7 &
s . (il. 7) = I8 &
s . (il. 8) = I9 &
s . (dl. 0) = i1 &
s . (dl. 1) = i2 &
s . (dl. 2) = i3 &
s . (dl. 3) = i4 holds
s is
State-consisting of
il,0,0,
(((((((<*I1*> ^ <*I2*>) ^ <*I3*>) ^ <*I4*>) ^ <*I5*>) ^ <*I6*>) ^ <*I7*>) ^ <*I8*>) ^ <*I9*>,
((<*i1*> ^ <*i2*>) ^ <*i3*>) ^ <*i4*>
theorem :: SCM_1:31 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:32 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:33 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:34 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:35 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:36 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:37 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:38 :: Showing IDV graph ... (Click the Palm Tree again to close it)
theorem :: SCM_1:39 :: Showing IDV graph ... (Click the Palm Tree again to close it)