| 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, validrefs(str, (r ' + acc) + jvmref ', ty, st) ∧ refs0 = [], jvmref ≠ r0 ∧ ¬ jvmref ∈ refs, ¬ r0 ∈ acc ∧ r0 ≠ jvmref |
⊦ is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty → ( validrefs(str, r ' + refs, ty, st) ↔ refs = [] ∨ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ refs .first = st[r -- fs '] .refval ∧ validrefs(str, refs, fs .type, st)))
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
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])], [EXTRATERMS : (st, ty, acc + jvmref ', r, str)]]