| is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty, st[r -- mkfs(class, ty1, fieldvar) '] = refval(r2), junkrefs(str, r2 ' + refs, ty1, st[r0 -- fs ', val]), mkfs(class, ty1, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_arraytype(st[r0 -- _type] .type), st[r -- _type] .type ≤ ty, is_obj(str, r, st), ∀ str0, ty0, st0, fs1, r1, val0. ¬ junkrefs(str0, r2 ' + refs, ty0, st0) ∧ fs1 ' ≠ _type ∧ is_arraytype(st0[r1 -- _type] .type) ∧ fs1 ' ≠ _length → ¬ junkrefs(str0, r2 ' + refs, ty0, st0[r1 -- fs1 ', val0]) ⊦ r = jvmref, fs ' = _type, fs ' = _length, r = r0, r2 ' + refs ≠ [] ∧ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ (r2 ' + refs) .first = st[r -- fs '] .refval ∧ junkrefs(str, r2 ' + refs, fs .type, st)) |
st[r -- mkfs(class, ty1, fieldvar) '] = refval(r2), junkrefs(str, r2 ' + refs, ty1, st[r0 -- fs ', val]), mkfs(class, ty1, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_arraytype(st[r0 -- _type] .type), st[r -- _type] .type ≤ ty, is_obj(str, r, st), ∀ str0, ty0, st0, fs1, r1, val0. ¬ junkrefs(str0, r2 ' + refs, ty0, st0) ∧ fs1 ' ≠ _type ∧ is_arraytype(st0[r1 -- _type] .type) ∧ fs1 ' ≠ _length → ¬ junkrefs(str0, r2 ' + refs, ty0, st0[r1 -- fs1 ', val0]) ⊦ r = jvmref, fs ' = _type, fs ' = _length, r = r0, ∃ fs0. fs0 ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs0 ']) ∧ r2 = st[r -- fs0 '] .refval ∧ junkrefs(str, st[r -- fs0 '] .refval ' + refs, fs0 .type, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (r ' + refs) .first = r], [CSIMPSEQ : ⊦ r ' ≠ []], [CSIMPSEQ : ⊦ ¬ refs + refs0 ≠ [] ↔ refs = [] ∧ refs0 = []], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])]]