| st[r0 -- _type] .type = mkclasstype(class), acc .first = st[r -- fs0 '] .refval, is_obj(str, r, st[r0 -- fs ', val]), is_classtype(st[r -- _type] .type), is_obj(str, r, st), st[r -- _type] .type ≤ ty, fs0 ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs0 ']), validrefs(str, acc, fs0 .type, st), ∀ st0, r1, str0, ty0, fs1, val0. is_classtype(st0[r1 -- _type] .type) ∧ validrefs(str0, acc, ty0, st0) → fs1 ' = _type ∨ junkref(str0, acc .first, st0) ∨ fs1 ' ∈ instfields(st0[r1 -- _type] .type .class) ∨ validrefs(str0, acc, ty0, st0[r1 -- fs1 ', val0]) ⊦ r = jvmref, fs ' = _type, acc = [], fs ' ∈ instfields(class), junkref(str, r, st), junkref(str, r, st[r0 -- fs ', val]), dups(acc .butlast), r ∈ acc .butlast, is_referencevalue(st[r0 -- fs ', val][r -- fs0 ']) ∧ acc .first = (st[r0 -- fs ', val][r -- fs0 ']) .refval ∧ validrefs(str, acc, fs0 .type, st[r0 -- fs ', val]) |
⊦ rk ≠ rk0 → (st[rk0, val][rk]) = st[rk]
r -- fs0 ' ≠ r0 -- fs ', st[r0 -- _type] .type = mkclasstype(class), acc .first = st[r -- fs0 '] .refval, is_obj(str, r, st[r0 -- fs ', val]), is_classtype(st[r -- _type] .type), is_obj(str, r, st), st[r -- _type] .type ≤ ty, fs0 ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs0 ']), validrefs(str, acc, fs0 .type, st), ∀ st0, r1, str0, ty0, fs1, val0. is_classtype(st0[r1 -- _type] .type) ∧ validrefs(str0, acc, ty0, st0) → fs1 ' = _type ∨ junkref(str0, acc .first, st0) ∨ fs1 ' ∈ instfields(st0[r1 -- _type] .type .class) ∨ validrefs(str0, acc, ty0, st0[r1 -- fs1 ', val0]) ⊦ r = jvmref, fs ' = _type, acc = [], fs ' ∈ instfields(class), junkref(str, r, st), junkref(str, r, st[r0 -- fs ', val]), dups(acc .butlast), r ∈ acc .butlast, is_referencevalue(st[r -- fs0 ']) ∧ acc .first = st[r -- fs0 '] .refval ∧ validrefs(str, acc, fs0 .type, st[r0 -- fs ', val])
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ r -- sk = r0 -- sk0 ↔ r = r0 ∧ sk = sk0], [CSIMPSEQ : ⊦ fs ' = fs0 ' ↔ fs = fs0], [CSIMPSEQ : ⊦ (st[rk, val][rk]) = val], [CSIMPSEQ : ⊦ is_classtype(mkclasstype(class))], [CSIMPSEQ : ⊦ mkclasstype(class) ≤ ty ↔ is_classtype(ty) ∧ class ≤ ty .class], [CSIMPSEQ : ⊦ mkclasstype(class) .class = class])], [EXTRATERMS : (r -- fs0 ', val, r0 -- fs ', st)]]