let a be Int_position ; :: thesis: for l being Element of NAT
for k1, k2 being Integer holds NIC (((a,k1) <=0_goto k2),l) = {(succ l),(abs (k2 + l))}

let l be Element of NAT ; :: thesis: for k1, k2 being Integer holds NIC (((a,k1) <=0_goto k2),l) = {(succ l),(abs (k2 + l))}
let k1, k2 be Integer; :: thesis: NIC (((a,k1) <=0_goto k2),l) = {(succ l),(abs (k2 + l))}
set s = the State of SCMPDS;
set i = (a,k1) <=0_goto k2;
set t = abs (k2 + l);
set I = (a,k1) <=0_goto k2;
reconsider n = l as Element of NAT ;
reconsider il1 = l as Element of ObjectKind (IC ) by MEMSTR_0:def 3;
reconsider u = the n -started State of SCMPDS as Element of product the Object-Kind of SCMPDS by CARD_3:107;
hereby :: according to TARSKI:def 3,XBOOLE_0:def 10 :: thesis: {(succ l),(abs (k2 + l))} c= NIC (((a,k1) <=0_goto k2),l)
let x be set ; :: thesis: ( x in NIC (((a,k1) <=0_goto k2),l) implies b1 in {(succ l),(abs (k2 + l))} )
assume x in NIC (((a,k1) <=0_goto k2),l) ; :: thesis: b1 in {(succ l),(abs (k2 + l))}
then consider s being Element of product the Object-Kind of SCMPDS such that
A1: x = IC (Exec (((a,k1) <=0_goto k2),s)) and
A2: IC s = l ;
A3: ex m1 being Element of NAT st
( m1 = IC s & ICplusConst (s,k2) = abs (m1 + k2) ) by SCMPDS_2:def 18;
per cases ( s . (DataLoc ((s . a),k1)) <= 0 or s . (DataLoc ((s . a),k1)) > 0 ) ;
suppose A4: s . (DataLoc ((s . a),k1)) <= 0 ; :: thesis: b1 in {(succ l),(abs (k2 + l))}
x = abs (k2 + l) by A1, A2, A3, A4, SCMPDS_2:56;
hence x in {(succ l),(abs (k2 + l))} by TARSKI:def 2; :: thesis: verum
end;
suppose A5: s . (DataLoc ((s . a),k1)) > 0 ; :: thesis: b1 in {(succ l),(abs (k2 + l))}
x = succ l by A1, A2, A5, SCMPDS_2:56;
hence x in {(succ l),(abs (k2 + l))} by TARSKI:def 2; :: thesis: verum
end;
end;
end;
let x be set ; :: according to TARSKI:def 3 :: thesis: ( not x in {(succ l),(abs (k2 + l))} or x in NIC (((a,k1) <=0_goto k2),l) )
assume A6: x in {(succ l),(abs (k2 + l))} ; :: thesis: x in NIC (((a,k1) <=0_goto k2),l)
per cases ( x = succ l or x = abs (k2 + l) ) by A6, TARSKI:def 2;
suppose A7: x = succ l ; :: thesis: x in NIC (((a,k1) <=0_goto k2),l)
reconsider u1 = u +* (a .--> 1) as State of SCMPDS ;
reconsider u2 = u1 +* ((DataLoc ((u1 . a),k1)) .--> 1) as Element of product the Object-Kind of SCMPDS by CARD_3:107;
A8: IC u2 = u1 . (IC ) by FUNCT_4:83, SCMPDS_2:43
.= IC u by FUNCT_4:83, SCMPDS_2:43
.= n by MEMSTR_0:def 8 ;
A9: u2 . (DataLoc ((u1 . a),k1)) = 1 by FUNCT_7:94;
u2 . (DataLoc ((u2 . a),k1)) > 0
proof
per cases ( a = DataLoc ((u1 . a),k1) or a <> DataLoc ((u1 . a),k1) ) ;
suppose a = DataLoc ((u1 . a),k1) ; :: thesis: u2 . (DataLoc ((u2 . a),k1)) > 0
hence u2 . (DataLoc ((u2 . a),k1)) > 0 by A9, FUNCT_7:94; :: thesis: verum
end;
suppose a <> DataLoc ((u1 . a),k1) ; :: thesis: u2 . (DataLoc ((u2 . a),k1)) > 0
then u2 . a = u1 . a by FUNCT_4:83;
hence u2 . (DataLoc ((u2 . a),k1)) > 0 by FUNCT_7:94; :: thesis: verum
end;
end;
end;
then x = IC (Exec (((a,k1) <=0_goto k2),u2)) by A7, A8, SCMPDS_2:56;
hence x in NIC (((a,k1) <=0_goto k2),l) by A8; :: thesis: verum
end;
suppose A10: x = abs (k2 + l) ; :: thesis: x in NIC (((a,k1) <=0_goto k2),l)
reconsider u1 = u +* (a .--> 0) as State of SCMPDS ;
reconsider u2 = u1 +* ((DataLoc ((u1 . a),k1)) .--> 0) as Element of product the Object-Kind of SCMPDS by CARD_3:107;
A11: u2 . (DataLoc ((u1 . a),k1)) = 0 by FUNCT_7:94;
A12: u2 . (DataLoc ((u2 . a),k1)) <= 0
proof
per cases ( a = DataLoc ((u1 . a),k1) or a <> DataLoc ((u1 . a),k1) ) ;
suppose a = DataLoc ((u1 . a),k1) ; :: thesis: u2 . (DataLoc ((u2 . a),k1)) <= 0
hence u2 . (DataLoc ((u2 . a),k1)) <= 0 by A11, FUNCT_7:94; :: thesis: verum
end;
suppose a <> DataLoc ((u1 . a),k1) ; :: thesis: u2 . (DataLoc ((u2 . a),k1)) <= 0
then u2 . a = u1 . a by FUNCT_4:83;
hence u2 . (DataLoc ((u2 . a),k1)) <= 0 by FUNCT_7:94; :: thesis: verum
end;
end;
end;
A13: IC u2 = u1 . (IC ) by FUNCT_4:83, SCMPDS_2:43
.= IC u by FUNCT_4:83, SCMPDS_2:43
.= n by MEMSTR_0:def 8 ;
ex m1 being Element of NAT st
( m1 = IC u2 & ICplusConst (u2,k2) = abs (m1 + k2) ) by SCMPDS_2:def 18;
then x = IC (Exec (((a,k1) <=0_goto k2),u2)) by A10, A13, A12, SCMPDS_2:56;
hence x in NIC (((a,k1) <=0_goto k2),l) by A13; :: thesis: verum
end;
end;