| st[r -- mkfs(class, ty0, fieldvar) '] = refval(r1), is_arraytype(st[r0 -- _type] .type), is_obj(str, r, st), junkref(str, r1, st), st[r -- _type] .type ≤ ty, mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- mkfs(class, ty0, fieldvar) ']), validrefs(str, r1 ' + refs, ty0, st) ⊦ fs ' = _type, fs ' = _length, r = jvmref, r = r0, junkref(str, r, st[r0 -- fs ', val]), dups((r1 ' + refs) .butlast), r ∈ (r1 ' + refs) .butlast, validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]), ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st)) |
st[r -- mkfs(class, ty0, fieldvar) '] = refval(r1), validrefs(str, r1 ' + refs, ty0, st), mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), st[r -- _type] .type ≤ ty, junkref(str, r1, st), is_obj(str, r, st), is_arraytype(st[r0 -- _type] .type) ⊦ r = r0, r = jvmref, fs ' = _length, fs ' = _type, validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]), r ∈ (r1 ' + refs) .butlast, dups((r1 ' + refs) .butlast), junkref(str, r, st[r0 -- fs ', val]), ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st))
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])]]