| 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)) |
⊦ validrefs(str, jvmref ' + refs, ty, st) ↔ refs = []
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ mkfs(class, ty, fieldvar) .type = ty], [CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ ¬ junkref(str, jvmref, st)])], [EXTRATERMS : (mkfs(class, ty0, fieldvar))]]