| junkref(str, st[r -- sk] .refval, st), unchanged(str, st[r -- sk] .refval, st, st0), unchanged(str, r, st, st0), is_referencevalue(st[r -- sk]), fits(st[r -- sk] .refval, sks0, st), is_classtype(st[r -- _type] .type) → sk ∈ instfields(st[r -- _type] .type .class), is_arraytype(st[r -- _type] .type) → is_indexkey(sk) ∧ 0 ≤ sk .index ∧ sk .index < st[r -- _length] .intval ⊦ r = jvmref, junkref(str, r, st), fits(st0[r -- sk] .refval, sks0, st0) ∧ (is_arraytype(st0[r -- _type] .type) → ¬ is_fskey(sk) ∧ ¬ sk .index < 0 ∧ ¬ st0[r -- _length] .intval ≤ sk .index) ∧ (is_classtype(st0[r -- _type] .type) → sk ∈ instfields(st0[r -- _type] .type .class)) ∧ is_referencevalue(st0[r -- sk]) |
⊦ is_obj(str, r, st) → ( junkref(str, r, st) ↔ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st))))
¬ is_obj(str, r, st), junkref(str, st[r -- sk] .refval, st), unchanged(str, st[r -- sk] .refval, st, st0), unchanged(str, r, st, st0), is_referencevalue(st[r -- sk]), fits(st[r -- sk] .refval, sks0, st), is_classtype(st[r -- _type] .type) → sk ∈ instfields(st[r -- _type] .type .class), is_arraytype(st[r -- _type] .type) → is_indexkey(sk) ∧ 0 ≤ sk .index ∧ sk .index < st[r -- _length] .intval ⊦ r = jvmref, junkref(str, r, st), fits(st0[r -- sk] .refval, sks0, st0) ∧ (is_arraytype(st0[r -- _type] .type) → ¬ is_fskey(sk) ∧ ¬ sk .index < 0 ∧ ¬ st0[r -- _length] .intval ≤ sk .index) ∧ (is_classtype(st0[r -- _type] .type) → sk ∈ instfields(st0[r -- _type] .type .class)) ∧ is_referencevalue(st0[r -- sk])
is_obj(str, r, st), junkref(str, st[r -- sk] .refval, st), unchanged(str, st[r -- sk] .refval, st, st0), unchanged(str, r, st, st0), is_referencevalue(st[r -- sk]), fits(st[r -- sk] .refval, sks0, st), is_classtype(st[r -- _type] .type) → sk ∈ instfields(st[r -- _type] .type .class), is_arraytype(st[r -- _type] .type) → is_indexkey(sk) ∧ 0 ≤ sk .index ∧ sk .index < st[r -- _length] .intval ⊦ r = jvmref, ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st)), fits(st0[r -- sk] .refval, sks0, st0) ∧ (is_arraytype(st0[r -- _type] .type) → ¬ is_fskey(sk) ∧ ¬ sk .index < 0 ∧ ¬ st0[r -- _length] .intval ≤ sk .index) ∧ (is_classtype(st0[r -- _type] .type) → sk ∈ instfields(st0[r -- _type] .type .class)) ∧ is_referencevalue(st0[r -- sk])
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, r, str)]]