| st[r -- _type] .type = mkclasstype(class0), st[r -- mkfs(class, ty0, fieldvar) '] = refval(r0), junkrefs(str, r0 ' + refs1, ty0, st), mkfs(class, ty0, fieldvar) ' ∈ instfields(class0), is_obj(str, r, st), st[r -- _type] .type ≤ ty, is_classtype(st[r -- _type] .type), ∀ val, sk, r, st0, ty, r2, str, refs. # refs < # (r0 + refs1) → (junkrefs(str, r2 ' + refs, ty, st0) → junkrefs(str, r2 ' + refs, ty, st0[r -- sk, val]) ∨ sk = _type ∨ path∃+(str, r2, r, st0)) ⊦ r = r0, r = jvmref, sk = _type, junkrefs(str, r0 ' + refs1, ty0, st[r0 -- sk, val]), ∃ fs. fs ' ∈ instfields(class0) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval = r0 |
st[r -- mkfs(class, ty0, fieldvar) '] = refval(r0), st[r -- _type] .type = mkclasstype(class0), is_obj(str, r, st), mkfs(class, ty0, fieldvar) ' ∈ instfields(class0), junkrefs(str, r0 ' + refs1, ty0, st), is_classtype(ty), class0 ≤ ty .class, ∀ val, sk, r, st0, ty, r2, str, refs. # refs < # (r0 + refs1) → (junkrefs(str, r2 ' + refs, ty, st0) → junkrefs(str, r2 ' + refs, ty, st0[r -- sk, val]) ∨ sk = _type ∨ path∃+(str, r2, r, st0)) ⊦ sk = _type, r = jvmref, r = r0, junkrefs(str, r0 ' + refs1, ty0, st[r0 -- sk, val]), ∃ fs. fs ' ∈ instfields(class0) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval = r0
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ mkclasstype(class) ≤ ty ↔ is_classtype(ty) ∧ class ≤ ty .class], [CSIMPSEQ : ⊦ is_classtype(mkclasstype(class))], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])]]