let R be Ring; for il being Nat holds SUCC (il,(SCM R)) = {il,(il + 1)}
let il be Nat; SUCC (il,(SCM R)) = {il,(il + 1)}
set X = { ((NIC (I,il)) \ (JUMP I)) where I is Element of the InstructionsF of (SCM R) : verum } ;
set N = {il,(il + 1)};
now for x being object holds
( ( x in union { ((NIC (I,il)) \ (JUMP I)) where I is Element of the InstructionsF of (SCM R) : verum } implies x in {il,(il + 1)} ) & ( x in {il,(il + 1)} implies x in union { ((NIC (I,il)) \ (JUMP I)) where I is Element of the InstructionsF of (SCM R) : verum } ) )let x be
object ;
( ( x in union { ((NIC (I,il)) \ (JUMP I)) where I is Element of the InstructionsF of (SCM R) : verum } implies x in {il,(il + 1)} ) & ( x in {il,(il + 1)} implies b1 in union { ((NIC (b2,il)) \ (JUMP b2)) where I is Element of the InstructionsF of (SCM R) : verum } ) )hereby ( x in {il,(il + 1)} implies b1 in union { ((NIC (b2,il)) \ (JUMP b2)) where I is Element of the InstructionsF of (SCM R) : verum } )
assume
x in union { ((NIC (I,il)) \ (JUMP I)) where I is Element of the InstructionsF of (SCM R) : verum }
;
x in {il,(il + 1)}then consider Y being
set such that A1:
x in Y
and A2:
Y in { ((NIC (I,il)) \ (JUMP I)) where I is Element of the InstructionsF of (SCM R) : verum }
by TARSKI:def 4;
consider i being
Element of the
InstructionsF of
(SCM R) such that A3:
Y = (NIC (i,il)) \ (JUMP i)
by A2;
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 Nat st i = goto (i1,R) or ex a being Data-Location of R ex i1 being Nat 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:7;
suppose
ex
a being
Data-Location of
R ex
i1 being
Nat st
i = a =0_goto i1
;
x in {il,(il + 1)}then consider a being
Data-Location of
R,
i1 being
Nat such that A9:
i = a =0_goto i1
;
A10:
NIC (
i,
il)
c= {i1,(il + 1)}
by A9, Th31;
x in NIC (
i,
il)
by A1, A3, XBOOLE_0:def 5;
then A11:
(
x = i1 or
x = il + 1 )
by A10, TARSKI:def 2;
x in (NIC (i,il)) \ {i1}
by A1, A3, A9, Th33;
then
not
x in {i1}
by XBOOLE_0:def 5;
hence
x in {il,(il + 1)}
by A11, TARSKI:def 1, TARSKI:def 2;
verum end; end;
end; assume A13:
x in {il,(il + 1)}
;
b1 in union { ((NIC (b2,il)) \ (JUMP b2)) where I is Element of the InstructionsF of (SCM R) : verum } end;
hence
SUCC (il,(SCM R)) = {il,(il + 1)}
by TARSKI:2; verum