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