| st[r -- mkfs(class, ty, fieldvar) '] = refval(r0), mkfs(class, ty, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_obj(str, r, st), ¬ st[r0 -- _type] .type ≤ ty ∨ junkref(str, r0, st) ⊦ r0 = jvmref, ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_reftype(fs .type) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ is_referencevalue(st[r -- fs ']) ∨ ¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st)) |
st[r -- mkfs(class, ty, fieldvar) '] = refval(r0), mkfs(class, ty, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_obj(str, r, st), ¬ st[r0 -- _type] .type ≤ ty ∨ junkref(str, r0, st) ⊦ r0 = jvmref, mkfs(class, ty, fieldvar) ' ∈ instfields(st[r -- _type] .type .class) ∧ is_reftype(mkfs(class, ty, fieldvar) .type) ∧ st[r -- mkfs(class, ty, fieldvar) '] .refval ≠ jvmref ∧ ( ¬ is_referencevalue(st[r -- mkfs(class, ty, fieldvar) ']) ∨ ¬ st[st[r -- mkfs(class, ty, fieldvar) '] .refval -- _type] .type ≤ mkfs(class, ty, fieldvar) .type ∨ junkref(str, st[r -- mkfs(class, ty, fieldvar) '] .refval, st))
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (mkfs(class, ty, fieldvar))]]