| st0[r -- mkfs(class0, ty, fieldvar) '] = refval(r0), is_obj(str, r, st0), is_reftype(ty), mkfs(class0, ty, fieldvar) ' ∈ instfields(class), st0[r -- _type] .type ≤ mkclasstype(class) ⊦ r = jvmref, r0 = jvmref, mkfs(class0, ty, fieldvar) ' ∈ instfields(st0[r -- _type] .type .class) ∧ (is_reftype(mkfs(class0, ty, fieldvar) .type) ∨ mkfs(class0, ty, fieldvar) .type = abstract_type) ∧ st0[r -- mkfs(class0, ty, fieldvar) '] .refval ≠ jvmref ∧ ( ¬ is_referencevalue(st0[r -- mkfs(class0, ty, fieldvar) ']) ∨ ¬ st0[st0[r -- mkfs(class0, ty, fieldvar) '] .refval -- _type] .type ≤ mkfs(class0, ty, fieldvar) .type ∨ junkref(str, st0[r -- mkfs(class0, ty, fieldvar) '] .refval, st0)), st0[r0 -- _type] .type ≤ ty ∧ ¬ junkref(str, r0, st0) |
st0[r -- mkfs(class0, ty, fieldvar) '] = refval(r0), st0[r -- _type] .type ≤ mkclasstype(class), mkfs(class0, ty, fieldvar) ' ∈ instfields(class), is_reftype(ty), is_obj(str, r, st0) ⊦ r0 = jvmref, r = jvmref, st0[r0 -- _type] .type ≤ ty ∧ ¬ junkref(str, r0, st0), mkfs(class0, ty, fieldvar) ' ∈ instfields(st0[r -- _type] .type .class) ∧ (¬ st0[r0 -- _type] .type ≤ ty ∨ junkref(str, r0, st0))
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ mkfs(class, ty, fieldvar) .type = ty])]]