| st0[r -- _type] .type = mkclasstype(class), st0[r -- sk] = refval(r0), r -- _type ∈ st0, is_obj(str, r, st0), st0 ⊆ st, fits(r0, sks0, st), sk ∈ instfields(class), r ∈ st0, r -- sk ∈ st0, junkref(str, r0, st0) ⊦ r = jvmref, junkref(str, r, st0), fits(r0, sks0, st0) |
⊦ 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, st0), st0[r -- _type] .type = mkclasstype(class), st0[r -- sk] = refval(r0), r -- _type ∈ st0, is_obj(str, r, st0), st0 ⊆ st, fits(r0, sks0, st), sk ∈ instfields(class), r ∈ st0, r -- sk ∈ st0, junkref(str, r0, st0) ⊦ r = jvmref, ∃ fs. fs ' ∈ instfields(st0[r -- _type] .type .class) ∧ is_referencevalue(st0[r -- fs ']) ∧ st0[r -- fs '] .refval ≠ jvmref ∧ (¬ st0[st0[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st0[r -- fs '] .refval, st0)), fits(r0, sks0, st0)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st0, r, str)]]