| is_shortvalue(st[r1 -- fs ']), r ≠ jvmref ∧ is_referencevalue(st[r1 -- fs ', shortval(sho)][r -- sk]) ∧ (is_classtype((st[r1 -- fs ', shortval(sho)][r -- _type]) .type) → sk ∈ instfields((st[r1 -- fs ', shortval(sho)][r -- _type]) .type .class)) ∧ ( is_arraytype((st[r1 -- fs ', shortval(sho)][r -- _type]) .type) → is_indexkey(sk) ∧ 0 ≤ sk .index ∧ sk .index < (st[r1 -- fs ', shortval(sho)][r -- _length]) .intval) ∧ fits((st[r1 -- fs ', shortval(sho)][r -- sk]) .refval, sks0, st[r1 -- fs ', shortval(sho)]), is_valid_ref(str, r, st), ∀ r, st, r1, fs, sho, str. fits(r, sks0, st[r1 -- fs ', shortval(sho)]) ∧ is_shortvalue(st[r1 -- fs ']) → junkref(str, r, st) ∨ fits(r, sks0, st) ⊦ r = jvmref, junkref(str, r, st), fits(st[r -- sk] .refval, sks0, st) ∧ (is_arraytype(st[r -- _type] .type) → ¬ is_fskey(sk) ∧ ¬ sk .index < 0 ∧ ¬ st[r -- _length] .intval ≤ sk .index) ∧ (is_classtype(st[r -- _type] .type) → sk ∈ instfields(st[r -- _type] .type .class)) ∧ is_referencevalue(st[r -- sk]) |
is_valid_ref(str, r, st), fits((st[r1 -- fs ', shortval(sho)][r -- sk]) .refval, sks0, st[r1 -- fs ', shortval(sho)]), is_referencevalue(st[r1 -- fs ', shortval(sho)][r -- sk]), is_shortvalue(st[r1 -- fs ']), ∀ r, st, r1, fs, sho, str. fits(r, sks0, st[r1 -- fs ', shortval(sho)]) ∧ is_shortvalue(st[r1 -- fs ']) → junkref(str, r, st) ∨ fits(r, sks0, st), is_arraytype((st[r1 -- fs ', shortval(sho)][r -- _type]) .type) → is_indexkey(sk) ∧ 0 ≤ sk .index ∧ sk .index < (st[r1 -- fs ', shortval(sho)][r -- _length]) .intval, is_classtype((st[r1 -- fs ', shortval(sho)][r -- _type]) .type) → sk ∈ instfields((st[r1 -- fs ', shortval(sho)][r -- _type]) .type .class) ⊦ r = jvmref, junkref(str, r, st), fits(st[r -- sk] .refval, sks0, st) ∧ (is_arraytype(st[r -- _type] .type) → ¬ is_fskey(sk) ∧ ¬ sk .index < 0 ∧ ¬ st[r -- _length] .intval ≤ sk .index) ∧ (is_classtype(st[r -- _type] .type) → sk ∈ instfields(st[r -- _type] .type .class)) ∧ is_referencevalue(st[r -- sk])
[[CONCRETESIMPRULES : ()]]