let I be Instruction of (SCM R); :: according to AMISTD_2:def 2 :: thesis: I is with_explicit_jumps
thus JUMP I c= rng (JumpPart I) :: according to AMISTD_2:def 1,XBOOLE_0:def 10 :: thesis: proj2 (JumpPart I) c= JUMP I
proof
let f be object ; :: according to TARSKI:def 3 :: thesis: ( not f in JUMP I or f in rng (JumpPart I) )
assume A1: f in JUMP I ; :: thesis: f in rng (JumpPart I)
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 A3: ex i1 being Nat st I = goto (i1,R) ; :: thesis: f in rng (JumpPart I)
consider i1 being Nat such that
A4: I = goto (i1,R) by A3;
rng <*i1*> = {i1} by FINSEQ_1:39;
hence f in rng (JumpPart I) by A1, A4, Th30; :: thesis: verum
end;
suppose A5: ex a being Data-Location of R ex i1 being Nat st I = a =0_goto i1 ; :: thesis: f in rng (JumpPart I)
consider a being Data-Location of R, i1 being Nat such that
A6: I = a =0_goto i1 by A5;
rng <*i1*> = {i1} by FINSEQ_1:39;
hence f in rng (JumpPart I) by A1, A6, Th33; :: thesis: verum
end;
suppose ex a being Data-Location of R ex r being Element of R st I = a := r ; :: thesis: f in rng (JumpPart I)
hence f in rng (JumpPart I) by A1; :: thesis: verum
end;
end;
end;
let f be object ; :: according to TARSKI:def 3 :: thesis: ( not f in proj2 (JumpPart I) or f in JUMP I )
assume f in rng (JumpPart I) ; :: thesis: f in JUMP I
then consider k being object such that
A7: k in dom (JumpPart I) and
A8: f = (JumpPart I) . k by FUNCT_1:def 3;
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 I = [0,{},{}] ; :: thesis: f in JUMP I
then I = halt (SCM R) ;
hence f in JUMP I by A7; :: thesis: verum
end;
suppose ex a, b being Data-Location of R st I = a := b ; :: thesis: f in JUMP I
then consider a, b being Data-Location of R such that
A9: I = a := b ;
k in dom {} by A7, A9;
hence f in JUMP I ; :: thesis: verum
end;
suppose ex a, b being Data-Location of R st I = AddTo (a,b) ; :: thesis: f in JUMP I
then consider a, b being Data-Location of R such that
A10: I = AddTo (a,b) ;
k in dom {} by A7, A10;
hence f in JUMP I ; :: thesis: verum
end;
suppose ex a, b being Data-Location of R st I = SubFrom (a,b) ; :: thesis: f in JUMP I
then consider a, b being Data-Location of R such that
A11: I = SubFrom (a,b) ;
k in dom {} by A7, A11;
hence f in JUMP I ; :: thesis: verum
end;
suppose ex a, b being Data-Location of R st I = MultBy (a,b) ; :: thesis: f in JUMP I
then consider a, b being Data-Location of R such that
A12: I = MultBy (a,b) ;
k in dom {} by A7, A12;
hence f in JUMP I ; :: thesis: verum
end;
suppose ex i1 being Nat st I = goto (i1,R) ; :: thesis: f in JUMP I
then consider i1 being Nat such that
A13: I = goto (i1,R) ;
A14: JumpPart I = <*i1*> by A13;
then k = 1 by A7, Lm1;
then A15: f = i1 by A14, A8;
JUMP I = {i1} by A13, Th30;
hence f in JUMP I by A15, TARSKI:def 1; :: thesis: verum
end;
suppose ex a being Data-Location of R ex i1 being Nat st I = a =0_goto i1 ; :: thesis: f in JUMP I
then consider a being Data-Location of R, i1 being Nat such that
A16: I = a =0_goto i1 ;
A17: JumpPart I = <*i1*> by A16;
then k = 1 by A7, Lm1;
then A18: f = i1 by A17, A8;
JUMP I = {i1} by A16, Th33;
hence f in JUMP I by A18, TARSKI:def 1; :: thesis: verum
end;
suppose ex a being Data-Location of R ex r being Element of R st I = a := r ; :: thesis: f in JUMP I
then consider a being Data-Location of R, r being Element of R such that
A19: I = a := r ;
k in dom {} by A7, A19;
hence f in JUMP I ; :: thesis: verum
end;
end;