| st[r -- mkfs(class, st[r -- _type] .type, fieldvar) '] = refval(r0), st[r0 -- _type] .type = st[r -- _type] .type, mkfs(class, st[r -- _type] .type, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_obj(str, r, st), is_obj(str, r0, st), junkrefs(str, (r0 ' + refs) + r ', st[r -- _type] .type, st -- r), ∀ ty. type∃(str, ty) → (ty ≤ st[r -- _type] .type → ty = st[r -- _type] .type), type∃(str, ty) → (ty ≤ st[r -- _type] .type → ty = st[r -- _type] .type), ∀ r, str, st0. # st0 .refs < # st .refs → ( ¬ junkref(str, r, st0) ∧ ¬ cyclic(str, r, st0) ∧ is_obj(str, r, st0) ∧ r ≠ jvmref ∧ (∀ ty. type∃(str, ty) → (ty ≤ st0[r -- _type] .type ↔ ty = st0[r -- _type] .type)) ∧ (∃ fs. fs ' ∈ instfields(st0[r -- _type] .type .class) ∧ fs .type = st0[r -- _type] .type) → (∃ refs. validrefs(str, refs, st0[r -- _type] .type, st0) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref)) ⊦ r = jvmref, r = r0, r0 = jvmref, r ∈ refs, junkref(str, r0, st), dups(r ' + (r0 ' + refs) + r ') ∧ (r ' + (r0 ' + refs) + r ') .first = r ∧ validrefs(str, r ' + (r0 ' + refs) + r ', st[(r ' + (r0 ' + refs) + r ') .first -- _type] .type, st), ∃ refs. validrefs(str, refs, st[refs .first -- _type] .type, st) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref, ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ (is_reftype(fs .type) ∨ fs .type = abstract_type) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ is_referencevalue(st[r -- fs ']) ∨ ¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st)) |
st[r -- mkfs(class, st[r -- _type] .type, fieldvar) '] = refval(r0), st[r0 -- _type] .type = st[r -- _type] .type, mkfs(class, st[r -- _type] .type, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_obj(str, r, st), is_obj(str, r0, st), junkrefs(str, (r0 ' + refs) + r ', st[r -- _type] .type, st -- r), ∀ ty. type∃(str, ty) → (ty ≤ st[r -- _type] .type → ty = st[r -- _type] .type), type∃(str, ty) → (ty ≤ st[r -- _type] .type → ty = st[r -- _type] .type), ∀ r, str, st0. # st0 .refs < # st .refs → ( ¬ junkref(str, r, st0) ∧ ¬ cyclic(str, r, st0) ∧ is_obj(str, r, st0) ∧ r ≠ jvmref ∧ (∀ ty. type∃(str, ty) → (ty ≤ st0[r -- _type] .type ↔ ty = st0[r -- _type] .type)) ∧ (∃ fs. fs ' ∈ instfields(st0[r -- _type] .type .class) ∧ fs .type = st0[r -- _type] .type) → (∃ refs. validrefs(str, refs, st0[r -- _type] .type, st0) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref)) ⊦ r = jvmref, r = r0, r0 = jvmref, r ∈ refs, junkref(str, r0, st), validrefs(str, r ' + (r0 ' + refs) + r ', st[r -- _type] .type, st), ∃ refs. validrefs(str, refs, st[refs .first -- _type] .type, st) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref, ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ (is_reftype(fs .type) ∨ fs .type = abstract_type) ∧ st[r -- fs '] .refval ≠ jvmref ∧ (¬ is_referencevalue(st[r -- fs ']) ∨ ¬ st[st[r -- fs '] .refval -- _type] .type ≤ fs .type ∨ junkref(str, st[r -- fs '] .refval, st))
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (r ' + refs) .first = r], [CSIMPSEQ : ⊦ r ≠ r0 → (r ∈ r0 ' + refs ↔ r ∈ refs)], [CSIMPSEQ : ⊦ r ∈ r0 ' ↔ r = r0], [CSIMPSEQ : ⊦ r ∈ refs + refs0 ↔ ¬ ¬ (r ∈ refs ∨ r ∈ refs0)], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ dups(refs + r ') ↔ r ∈ refs ∨ dups(refs)], [CSIMPSEQ : ⊦ dups(r ' + refs) ↔ dups(refs) ∨ r ∈ refs])]]