| st[r0 -- _type] .type = mkclasstype(class), is_obj(str, r, st), st[r -- _type] .type ≤ ty, is_obj(str, r, st[r0 -- fs ', val]), fs0 ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs0 ']), validrefs(str, st[r -- fs0 '] .refval ' + refs, fs0 .type, st[r0 -- fs ', val]), junkref(str, st[r -- fs0 '] .refval, st), r ≠ r0 ∨ fs0 ≠ fs ⊦ r = jvmref, fs ' = _type, validrefs(str, st[r -- fs0 '] .refval ' + refs, fs0 .type, st), junkref(str, r, st), fs ' ∈ instfields(class), r ∈ (st[r -- fs0 '] .refval ' + refs) .butlast, dups((st[r -- fs0 '] .refval ' + refs) .butlast) |
fs0 = mkfs(class0, ty0, fieldvar), st[r0 -- _type] .type = mkclasstype(class), is_obj(str, r, st), st[r -- _type] .type ≤ ty, is_obj(str, r, st[r0 -- fs ', val]), fs0 ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs0 ']), validrefs(str, st[r -- fs0 '] .refval ' + refs, ty0, st[r0 -- fs ', val]), junkref(str, st[r -- fs0 '] .refval, st), r ≠ r0 ∨ fs0 ≠ fs ⊦ r = jvmref, fs ' = _type, validrefs(str, st[r -- fs0 '] .refval ' + refs, ty0, st), junkref(str, r, st), fs ' ∈ instfields(class), r ∈ (st[r -- fs0 '] .refval ' + refs) .butlast, dups((st[r -- fs0 '] .refval ' + refs) .butlast)
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ class = fs .class ∧ ty = fs .type ∧ fieldvar = fs .field ↔ fs = mkfs(class, ty, fieldvar)])], [EXTRATERMS : (fs0, class0, ty0, fieldvar)]]