let R be good Ring; :: thesis: for il being Instruction-Location of SCM R holds SUCC il = {il,(Next il)}
let il be Instruction-Location of SCM R; :: thesis: SUCC il = {il,(Next il)}
set X = { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of (SCM R) : verum } ;
set N = {il,(Next il)};
now let x be
set ;
:: thesis: ( ( x in union { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of (SCM R) : verum } implies x in {il,(Next il)} ) & ( x in {il,(Next il)} implies b1 in union { ((NIC b2,il) \ (JUMP b2)) where I is Element of the Instructions of (SCM R) : verum } ) )hereby :: thesis: ( x in {il,(Next il)} implies b1 in union { ((NIC b2,il) \ (JUMP b2)) where I is Element of the Instructions of (SCM R) : verum } )
assume
x in union { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of (SCM R) : verum }
;
:: thesis: x in {il,(Next il)}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 R) : verum } )
by TARSKI:def 4;
consider i being
Element of the
Instructions of
(SCM R) such that A2:
Y = (NIC i,il) \ (JUMP i)
by A1;
per cases
( i = [0 ,{} ] or ex a, b being Data-Location of R st i = a := b or ex a, b being Data-Location of R st i = AddTo a,b or ex a, b being Data-Location of R st i = SubFrom a,b or ex a, b being Data-Location of R st i = MultBy a,b or ex i1 being Instruction-Location of SCM R st i = goto i1 or ex a being Data-Location of R ex i1 being Instruction-Location of SCM R st i = a =0_goto i1 or ex a being Data-Location of R ex r being Element of R st i = a := r )
by SCMRING2:8;
suppose
ex
a being
Data-Location of
R ex
i1 being
Instruction-Location of
SCM R st
i = a =0_goto i1
;
:: thesis: x in {il,(Next il)}then consider a being
Data-Location of
R,
i1 being
Instruction-Location of
SCM R such that A8:
i = a =0_goto i1
;
x in (NIC i,il) \ {i1}
by A1, A2, A8, Th63;
then A9:
(
x in NIC i,
il & not
x in {i1} )
by XBOOLE_0:def 5;
NIC i,
il c= {i1,(Next il)}
by A8, Th61;
then
(
x = i1 or
x = Next il )
by A9, TARSKI:def 2;
hence
x in {il,(Next il)}
by A9, TARSKI:def 1, TARSKI:def 2;
:: thesis: verum end; end;
end; assume A11:
x in {il,(Next il)}
;
:: thesis: b1 in union { ((NIC b2,il) \ (JUMP b2)) where I is Element of the Instructions of (SCM R) : verum } end;
hence
SUCC il = {il,(Next il)}
by TARSKI:2; :: thesis: verum