| refs0 = [], 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 = [] |
st[r -- mkfs(class, ty0, fieldvar) '] = refval(r0), acc + jvmref ' = r0 ' + refs, mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), st[r -- _type] .type ≤ ty, is_obj(str, r, st), validrefs(str, r0 ' + refs, ty0, 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)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ refs + [] = refs])]]