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