| is_obj(str, r, st) ∧ st[r -- _type] .type ≤ st[r -- _type] .type, st[r -- mkfs(class, ty0, fieldvar) '] = refval(jvmref), validrefs(str, refs + r ', ty, st), is_obj(str, r, st), mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_reftype(ty0) ⊦ validrefs(str, refs + r ' + jvmref ', ty, st), jvmref ' = [] ∨ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ jvmref ' .first = st[r -- fs '] .refval ∧ validrefs(str, jvmref ', fs .type, st)) |
⊦ validrefs(str, jvmref ', ty, st)
st[r -- mkfs(class, ty0, fieldvar) '] = refval(jvmref), validrefs(str, refs + r ', ty, st), is_obj(str, r, st), mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_reftype(ty0) ⊦ validrefs(str, refs + r ' + jvmref ', ty, st), ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ jvmref = st[r -- fs '] .refval
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ r ' .first = r], [CSIMPSEQ : ⊦ ty ≤ ty], [CSIMPSEQ : ⊦ r ' ≠ []])]]