| (st[r1 -- mkfs(class, ty0, fieldvar) ', refval(r0)][r1 -- mkfs(class0, ty2, fieldvar0) ']) = refval(r3), junkrefs(str, r3 ' + refs, ty2, st[r1 -- mkfs(class, ty0, fieldvar) ', refval(r0)]), mkfs(class0, ty2, fieldvar0) ' ∈ instfields(st[r1 -- _type] .type .class), st[r1 -- _type] .type ≤ ty, is_obj(str, r1, st[r1 -- mkfs(class, ty0, fieldvar) ', refval(r0)]), is_obj(str, r1, st), st[r0 -- _type] .type ≤ ty0, ∀ str0, ty1, st0, r, fs0, r2. ¬ junkrefs(str0, r3 ' + refs, ty1, st0) ∧ ¬ junkref(str0, r, st0) ∧ st0[r -- _type] .type ≤ fs0 .type ∧ r ≠ jvmref ∧ fs0 .type ≠ void_type ∧ fs0 ' ≠ _length → ¬ junkrefs(str0, r3 ' + refs, ty1, st0[r2 -- fs0 ', refval(r)]) ⊦ r1 = jvmref, mkfs(class, ty0, fieldvar) ' = _length, ty0 = void_type, r0 = jvmref, junkref(str, r0, st), ∃ fs. fs ' ∈ instfields(st[r1 -- _type] .type .class) ∧ is_referencevalue(st[r1 -- fs ']) ∧ r3 = st[r1 -- fs '] .refval ∧ junkrefs(str, st[r1 -- fs '] .refval ' + refs, fs .type, st) |
r1 -- mkfs(class0, ty2, fieldvar0) ' = r1 -- mkfs(class, ty0, fieldvar) ', (st[r1 -- mkfs(class, ty0, fieldvar) ', refval(r0)][r1 -- mkfs(class0, ty2, fieldvar0) ']) = refval(r3), junkrefs(str, r3 ' + refs, ty2, st[r1 -- mkfs(class, ty0, fieldvar) ', refval(r0)]), mkfs(class0, ty2, fieldvar0) ' ∈ instfields(st[r1 -- _type] .type .class), st[r1 -- _type] .type ≤ ty, is_obj(str, r1, st[r1 -- mkfs(class, ty0, fieldvar) ', refval(r0)]), is_obj(str, r1, st), st[r0 -- _type] .type ≤ ty0, ∀ str0, ty1, st0, r, fs0, r2. ¬ junkrefs(str0, r3 ' + refs, ty1, st0) ∧ ¬ junkref(str0, r, st0) ∧ st0[r -- _type] .type ≤ fs0 .type ∧ r ≠ jvmref ∧ fs0 .type ≠ void_type ∧ fs0 ' ≠ _length → ¬ junkrefs(str0, r3 ' + refs, ty1, st0[r2 -- fs0 ', refval(r)]) ⊦ r1 = jvmref, mkfs(class, ty0, fieldvar) ' = _length, ty0 = void_type, r0 = jvmref, junkref(str, r0, st), ∃ fs. fs ' ∈ instfields(st[r1 -- _type] .type .class) ∧ is_referencevalue(st[r1 -- fs ']) ∧ r3 = st[r1 -- fs '] .refval ∧ junkrefs(str, st[r1 -- fs '] .refval ' + refs, fs .type, st)
(st[r1 -- mkfs(class, ty0, fieldvar) ', refval(r0)][r1 -- mkfs(class0, ty2, fieldvar0) ']) = refval(r3), junkrefs(str, r3 ' + refs, ty2, st[r1 -- mkfs(class, ty0, fieldvar) ', refval(r0)]), mkfs(class0, ty2, fieldvar0) ' ∈ instfields(st[r1 -- _type] .type .class), st[r1 -- _type] .type ≤ ty, is_obj(str, r1, st[r1 -- mkfs(class, ty0, fieldvar) ', refval(r0)]), is_obj(str, r1, st), st[r0 -- _type] .type ≤ ty0, ∀ str0, ty1, st0, r, fs0, r2. ¬ junkrefs(str0, r3 ' + refs, ty1, st0) ∧ ¬ junkref(str0, r, st0) ∧ st0[r -- _type] .type ≤ fs0 .type ∧ r ≠ jvmref ∧ fs0 .type ≠ void_type ∧ fs0 ' ≠ _length → ¬ junkrefs(str0, r3 ' + refs, ty1, st0[r2 -- fs0 ', refval(r)]) ⊦ r1 -- mkfs(class0, ty2, fieldvar0) ' = r1 -- mkfs(class, ty0, fieldvar) ', r1 = jvmref, mkfs(class, ty0, fieldvar) ' = _length, ty0 = void_type, r0 = jvmref, junkref(str, r0, st), ∃ fs. fs ' ∈ instfields(st[r1 -- _type] .type .class) ∧ is_referencevalue(st[r1 -- fs ']) ∧ r3 = st[r1 -- fs '] .refval ∧ junkrefs(str, st[r1 -- fs '] .refval ' + refs, fs .type, st)
[[CONCRETESIMPRULES : ()], [EXTRAFMAS : ( r1 -- mkfs(class0, ty2, fieldvar0) ' = r1 -- mkfs(class, ty0, fieldvar) ')]]