| is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty, acc + jvmref ' = r0 ' + refs, st[r -- mkfs(class, ty0, fieldvar) '] = refval(r0), is_obj(str, r, st), st[r -- _type] .type ≤ ty, mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), validrefs(str, acc + jvmref ' + refs0, ty0, st), ∀ str, refs0, ty, st. validrefs(str, acc + jvmref ' + refs0, ty, st) → validrefs(str, r0 ' + refs, ty, st) ∧ refs0 = [] ⊦ r = jvmref, ( acc + jvmref ' = [] ∨ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ (acc + jvmref ') .first = st[r -- fs '] .refval ∧ validrefs(str, acc + jvmref ', fs .type, st))) ∧ refs0 = [], jvmref ≠ r0 ∧ ¬ jvmref ∈ refs, ¬ r0 ∈ acc ∧ r0 ≠ jvmref |
st[r -- mkfs(class, ty0, fieldvar) '] = refval(r0), acc + jvmref ' = r0 ' + refs, validrefs(str, acc + jvmref ' + refs0, ty0, st), mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), st[r -- _type] .type ≤ ty, is_obj(str, r, st), ∀ str, refs0, ty, st. validrefs(str, acc + jvmref ' + refs0, ty, st) → validrefs(str, r0 ' + refs, ty, st) ∧ refs0 = [] ⊦ r = jvmref, ¬ r0 ∈ acc ∧ r0 ≠ jvmref, jvmref ≠ r0 ∧ ¬ jvmref ∈ refs, (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ r0 = st[r -- fs '] .refval ∧ validrefs(str, st[r -- fs '] .refval ' + refs, fs .type, st)) ∧ refs0 = []
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (r ' + refs) .first = r], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ refs + r ' ≠ []])]]