let il be Instruction-Location of SCM ; :: thesis: SUCC il = {il,(Next )}
set X = { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of SCM : verum } ;
set N = {il,(Next )};
now let x be
set ;
:: thesis: ( ( x in union { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of SCM : verum } implies x in {il,(Next )} ) & ( x in {il,(Next )} implies b1 in union { ((NIC b2,il) \ (JUMP b2)) where I is Element of the Instructions of SCM : verum } ) )hereby :: thesis: ( x in {il,(Next )} implies b1 in union { ((NIC b2,il) \ (JUMP b2)) where I is Element of the Instructions of SCM : verum } )
assume
x in union { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of SCM : verum }
;
:: thesis: x in {il,(Next )}then consider Y being
set such that A1:
(
x in Y &
Y in { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of SCM : verum } )
by TARSKI:def 4;
consider i being
Element of the
Instructions of
SCM such that A2:
Y = (NIC i,il) \ (JUMP i)
by A1;
per cases
( i = [0 ,{} ] or ex a, b being Data-Location st i = a := b or ex a, b being Data-Location st i = AddTo a,b or ex a, b being Data-Location st i = SubFrom a,b or ex a, b being Data-Location st i = MultBy a,b or ex a, b being Data-Location st i = Divide a,b or ex i1 being Instruction-Location of SCM st i = goto i1 or ex a being Data-Location ex i1 being Instruction-Location of SCM st i = a =0_goto i1 or ex a being Data-Location ex i1 being Instruction-Location of SCM st i = a >0_goto i1 )
by AMI_3:69;
suppose
ex
a being
Data-Location ex
i1 being
Instruction-Location of
SCM st
i = a =0_goto i1
;
:: thesis: x in {il,(Next )}then consider a being
Data-Location ,
i1 being
Instruction-Location of
SCM such that A9:
i = a =0_goto i1
;
x in (NIC i,il) \ {i1}
by A1, A2, A9, Th49;
then A10:
(
x in NIC i,
il & not
x in {i1} )
by XBOOLE_0:def 5;
NIC i,
il = {i1,(Next )}
by A9, Th48;
then
(
x = i1 or
x = Next )
by A10, TARSKI:def 2;
hence
x in {il,(Next )}
by A10, TARSKI:def 1, TARSKI:def 2;
:: thesis: verum end; suppose
ex
a being
Data-Location ex
i1 being
Instruction-Location of
SCM st
i = a >0_goto i1
;
:: thesis: x in {il,(Next )}then consider a being
Data-Location ,
i1 being
Instruction-Location of
SCM such that A11:
i = a >0_goto i1
;
x in (NIC i,il) \ {i1}
by A1, A2, A11, Th51;
then A12:
(
x in NIC i,
il & not
x in {i1} )
by XBOOLE_0:def 5;
NIC i,
il = {i1,(Next )}
by A11, Th50;
then
(
x = i1 or
x = Next )
by A12, TARSKI:def 2;
hence
x in {il,(Next )}
by A12, TARSKI:def 1, TARSKI:def 2;
:: thesis: verum end; end;
end; assume A13:
x in {il,(Next )}
;
:: thesis: b1 in union { ((NIC b2,il) \ (JUMP b2)) where I is Element of the Instructions of SCM : verum } end;
hence
SUCC il = {il,(Next )}
by TARSKI:2; :: thesis: verum