| acc .first = st[r -- fs0 '] .refval, fs ' ∈ instfields(st[acc .last -- _type] .type .class), is_obj(str, acc .last, st), is_reftype(fs .type), fs0 ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs0 ']), validrefs(str, acc + refs0, fs0 .type, st), is_obj(str, r, st), st[r -- _type] .type ≤ ty, ∀ str0, refs, ty0, st0, fs1. validrefs(str0, acc + refs, ty0, st0) ∧ is_obj(str0, acc .last, st0) ∧ fs1 ' ∈ instfields(st0[acc .last -- _type] .type .class) ∧ is_reftype(fs1 .type) ∧ refs ≠ [] → validrefs(str0, acc + jvmref ', ty0, st0[acc .last -- fs1 ', refval(jvmref)]) ⊦ acc = [], r = jvmref, refs0 = [], r = acc .last, r ∈ acc, dups(acc), fs0 ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs0 ']) ∧ acc .first = st[r -- fs0 '] .refval ∧ validrefs(str, acc + jvmref ', fs0 .type, st[acc .last -- fs ', refval(jvmref)]) |
acc .first = st[r -- fs0 '] .refval, fs ' ∈ instfields(st[acc .last -- _type] .type .class), is_obj(str, acc .last, st), is_reftype(fs .type), fs0 ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs0 ']), validrefs(str, acc + refs0, fs0 .type, st), is_obj(str, r, st), st[r -- _type] .type ≤ ty, ∀ str0, refs, ty0, st0, fs1. validrefs(str0, acc + refs, ty0, st0) ∧ is_obj(str0, acc .last, st0) ∧ fs1 ' ∈ instfields(st0[acc .last -- _type] .type .class) ∧ is_reftype(fs1 .type) ∧ refs ≠ [] → validrefs(str0, acc + jvmref ', ty0, st0[acc .last -- fs1 ', refval(jvmref)]) ⊦ acc = [], r = jvmref, refs0 = [], r = acc .last, r ∈ acc, dups(acc), validrefs(str, acc + jvmref ', fs0 .type, st[acc .last -- fs ', refval(jvmref)])
[[CONCRETESIMPRULES : ()]]