| 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)) |
⊦ ¬ is_reftype(st[r -- _type] .type) ∧ r ≠ jvmref → junkref(str, r, st)
st[r -- mkfs(class, ty, fieldvar) '] = refval(r0), is_obj(str, r, st), mkfs(class, ty, fieldvar) ' ∈ instfields(st[r -- _type] .type .class) ⊦ r0 = jvmref, is_reftype(ty)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ ¬ is_reftype(ty0) → (ty ≤ ty0 ↔ ty = ty0)], [CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ mkfs(class, ty, fieldvar) .type = ty])]]