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, b being Data-Location of R st i = a := b ; :: thesis: x in {il,(Next il)}
then consider a, b being Data-Location of R such that
A3: i = a := b ;
x in {(Next il)} \ (JUMP (a := b)) by A1, A2, A3, Th54;
then x = Next il by TARSKI:def 1;
hence x in {il,(Next il)} by TARSKI:def 2; :: thesis: verum
end;
suppose ex a, b being Data-Location of R st i = AddTo a,b ; :: thesis: x in {il,(Next il)}
then consider a, b being Data-Location of R such that
A4: i = AddTo a,b ;
x in {(Next il)} \ (JUMP (AddTo a,b)) by A1, A2, A4, Th55;
then x = Next il by TARSKI:def 1;
hence x in {il,(Next il)} by TARSKI:def 2; :: thesis: verum
end;
suppose ex a, b being Data-Location of R st i = SubFrom a,b ; :: thesis: x in {il,(Next il)}
then consider a, b being Data-Location of R such that
A5: i = SubFrom a,b ;
x in {(Next il)} \ (JUMP (SubFrom a,b)) by A1, A2, A5, Th56;
then x = Next il by TARSKI:def 1;
hence x in {il,(Next il)} by TARSKI:def 2; :: thesis: verum
end;
suppose ex a, b being Data-Location of R st i = MultBy a,b ; :: thesis: x in {il,(Next il)}
then consider a, b being Data-Location of R such that
A6: i = MultBy a,b ;
x in {(Next il)} \ (JUMP (MultBy a,b)) by A1, A2, A6, Th57;
then x = Next il by TARSKI:def 1;
hence x in {il,(Next il)} by TARSKI:def 2; :: thesis: verum
end;
suppose ex i1 being Instruction-Location of SCM R st i = goto i1 ; :: thesis: x in {il,(Next il)}
then consider i1 being Instruction-Location of SCM R such that
A7: i = goto i1 ;
x in {i1} \ (JUMP i) by A1, A2, A7, Th59;
then x in {i1} \ {i1} by A7, Th60;
hence x in {il,(Next il)} by XBOOLE_1:37; :: thesis: verum
end;
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;
suppose ex a being Data-Location of R ex r being Element of R st i = a := r ; :: thesis: x in {il,(Next il)}
then consider a being Data-Location of R, r being Element of R such that
A10: i = a := r ;
x in {(Next il)} \ (JUMP (a := r)) by A1, A2, A10, Th58;
then x = Next il by TARSKI:def 1;
hence x in {il,(Next il)} by 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 }
per cases ( x = il or x = Next il ) by A11, TARSKI:def 2;
suppose A12: x = il ; :: thesis: b1 in union { ((NIC b2,il) \ (JUMP b2)) where I is Element of the Instructions of (SCM R) : verum }
set i = halt (SCM R);
(NIC (halt (SCM R)),il) \ (JUMP (halt (SCM R))) = {il} by Th53;
then ( x in {il} & {il} in { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of (SCM R) : verum } ) by A12, TARSKI:def 1;
hence x in union { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of (SCM R) : verum } by TARSKI:def 4; :: thesis: verum
end;
suppose A13: x = Next il ; :: thesis: b1 in union { ((NIC b2,il) \ (JUMP b2)) where I is Element of the Instructions of (SCM R) : verum }
consider a, b being Data-Location of R;
set i = AddTo a,b;
(NIC (AddTo a,b),il) \ (JUMP (AddTo a,b)) = {(Next il)} by Th55;
then ( x in {(Next il)} & {(Next il)} in { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of (SCM R) : verum } ) by A13, TARSKI:def 1;
hence x in union { ((NIC I,il) \ (JUMP I)) where I is Element of the Instructions of (SCM R) : verum } by TARSKI:def 4; :: thesis: verum
end;
end;
end;
hence SUCC il = {il,(Next il)} by TARSKI:2; :: thesis: verum