let z be natural number ; :: thesis: for N being with_non-empty_elements set
for l being Instruction-Location of STC N st l = z holds
SUCC l = {z,(z + 1)}
let N be with_non-empty_elements set ; :: thesis: for l being Instruction-Location of STC N st l = z holds
SUCC l = {z,(z + 1)}
let l be Instruction-Location of STC N; :: thesis: ( l = z implies SUCC l = {z,(z + 1)} )
assume A1:
l = z
; :: thesis: SUCC l = {z,(z + 1)}
set K = { ((NIC i,l) \ (JUMP i)) where i is Element of the Instructions of (STC N) : verum } ;
set M = STC N;
now let y be
set ;
:: thesis: ( ( y in { ((NIC i,l) \ (JUMP i)) where i is Element of the Instructions of (STC N) : verum } implies y in {{z},{(z + 1)}} ) & ( y in {{z},{(z + 1)}} implies b1 in { ((NIC b2,l) \ (JUMP b2)) where i is Element of the Instructions of (STC N) : verum } ) )assume A5:
y in {{z},{(z + 1)}}
;
:: thesis: b1 in { ((NIC b2,l) \ (JUMP b2)) where i is Element of the Instructions of (STC N) : verum } per cases
( y = {z} or y = {(z + 1)} )
by A5, TARSKI:def 2;
suppose A6:
y = {z}
;
:: thesis: b1 in { ((NIC b2,l) \ (JUMP b2)) where i is Element of the Instructions of (STC N) : verum } set i =
[0 ,0 ];
[0 ,0 ] in {[1,0 ],[0 ,0 ]}
by TARSKI:def 2;
then reconsider i =
[0 ,0 ] as
Instruction of
(STC N) by Def11;
A7:
JUMP i = {}
by Lm6;
InsCode i = 0
by MCART_1:def 1;
then
(NIC i,l) \ (JUMP i) = y
by A1, A6, A7, Th15, Th20;
hence
y in { ((NIC i,l) \ (JUMP i)) where i is Element of the Instructions of (STC N) : verum }
;
:: thesis: verum end; suppose A8:
y = {(z + 1)}
;
:: thesis: b1 in { ((NIC b2,l) \ (JUMP b2)) where i is Element of the Instructions of (STC N) : verum } set i =
[1,0 ];
[1,0 ] in {[1,0 ],[0 ,0 ]}
by TARSKI:def 2;
then reconsider i =
[1,0 ] as
Instruction of
(STC N) by Def11;
A9:
JUMP i = {}
by Lm6;
InsCode i = 1
by MCART_1:def 1;
then
(NIC i,l) \ (JUMP i) = y
by A1, A8, A9, Lm5;
hence
y in { ((NIC i,l) \ (JUMP i)) where i is Element of the Instructions of (STC N) : verum }
;
:: thesis: verum end; end; end;
then
{ ((NIC i,l) \ (JUMP i)) where i is Element of the Instructions of (STC N) : verum } = {{z},{(z + 1)}}
by TARSKI:2;
hence
SUCC l = {z,(z + 1)}
by ZFMISC_1:32; :: thesis: verum