| st[jvmref -- mkfs(class0, ty, fieldvar) '] = refval(r) ∧ is_referencevalue(st[jvmref -- mkfs(class0, ty, fieldvar) ']), class∃(str, class), jvmref -- mkfs(class0, ty, fieldvar) ' ∈ st[_mode, val], initdone(class, st), mkfs(class0, ty, fieldvar) ' ∈ statfields(class), jvmref ∈ st[_mode, val], okval(st[jvmref -- mkfs(class0, ty, fieldvar) '], ty), jvmref -- mkfs(class0, ty, fieldvar) ' ∈ st, jvmref ∈ st, ∀ sk. sk ∈ statfields(class) → jvmref -- sk ∈ st[_mode, val] ∧ is_fskey(sk) ∧ compat(str, st[_mode, val][jvmref -- sk], sk .fs .type, st[_mode, val]), is_referencevalue(st[jvmref -- mkfs(class0, ty, fieldvar) ']) ∧ r ≠ jvmref → r -- _type ∈ st ∧ is_typevalue(st[r -- _type]) ∧ is_reftype(st[r -- _type] .type) ∧ (has_classtype(st[r -- _type] .type) → tdname+∃(str, st[r -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[r -- _type] .type) → class+∃(str, st[r -- _type] .type .class)) ∧ is_subtype(str, st[r -- _type] .type, ty) ⊦ ty = void_type, compat(str, st[jvmref -- mkfs(class0, ty, fieldvar) '], ty, st) |
st[jvmref -- mkfs(class0, ty, fieldvar) '] = refval(r), is_reftype(ty), jvmref ∈ st[_mode, val], mkfs(class0, ty, fieldvar) ' ∈ statfields(class), initdone(class, st), jvmref -- mkfs(class0, ty, fieldvar) ' ∈ st[_mode, val], class∃(str, class), jvmref ∈ st, jvmref -- mkfs(class0, ty, fieldvar) ' ∈ st, r ≠ jvmref → r -- _type ∈ st ∧ is_typevalue(st[r -- _type]) ∧ is_reftype(st[r -- _type] .type) ∧ (has_classtype(st[r -- _type] .type) → tdname+∃(str, st[r -- _type] .type .jtelemtype .class)) ∧ (is_classtype(st[r -- _type] .type) → class+∃(str, st[r -- _type] .type .class)) ∧ is_subtype(str, st[r -- _type] .type, ty), ∀ sk. sk ∈ statfields(class) → jvmref -- sk ∈ st[_mode, val] ∧ is_fskey(sk) ∧ compat(str, st[_mode, val][jvmref -- sk], sk .fs .type, st[_mode, val]) ⊦ ty = void_type, compat(str, refval(r), ty, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ is_referencevalue(val) → ( okval(val, ty) ↔ ty = void_type ∨ is_reftype(ty))])]]