| st[r -- sk0] = refval(r0), is_obj(str, r, st), junkref(str, r0, st), fits(r0, sks0, st), is_classtype(st[r -- _type] .type), sk0 ∈ instfields(st[r -- _type] .type .class), ∀ r, st, sk, val, str. fits(r, sks0, st) → r = jvmref ∨ (st[jvmref -- sk, val][r -- sks0]) = st[r -- sks0] ∨ junkref(str, r, st) ⊦ sks0 = [], (st[jvmref -- sk, val][r0 -- sks0]) = st[r0 -- sks0], 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)) |
st[r -- _type] .type = mkclasstype(class), st[r -- sk0] = refval(r0), is_obj(str, r, st), junkref(str, r0, st), fits(r0, sks0, st), is_classtype(st[r -- _type] .type), sk0 ∈ instfields(class), ∀ r, st, sk, val, str. fits(r, sks0, st) → r = jvmref ∨ (st[jvmref -- sk, val][r -- sks0]) = st[r -- sks0] ∨ junkref(str, r, st) ⊦ sks0 = [], (st[jvmref -- sk, val][r0 -- sks0]) = st[r0 -- sks0], r = jvmref, ∃ fs. fs ' ∈ instfields(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))
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_classtype(ty) → ( class = ty .class ↔ ty = mkclasstype(class))])], [EXTRATERMS : (st[r -- _type] .type, class)]]