| 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), validrefs(str, r ' + jvmref ', st[r -- _type] .type, st) |
⊦ is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty → ( validrefs(str, r ' + refs, ty, st) ↔ refs = [] ∨ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ refs .first = st[r -- fs '] .refval ∧ validrefs(str, refs, fs .type, st)))
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))
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ ty ≤ ty])], [EXTRATERMS : (st, st[r -- _type] .type, jvmref ', r, str)]]