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