| is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty, acc = [] ∨ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ acc .first = st[r -- fs '] .refval ∧ validrefs(str, acc, fs .type, st)), validrefs(str, acc .last ' + refs1, ty0, st), is_valid_ref(str, r, st), st[r -- _type] .type ≤ ty, ∀ str0, ty1, st0, refs, ty2. validrefs(str0, acc, ty1, st0) ∧ validrefs(str0, acc .last ' + refs, ty2, st0) → validrefs(str0, acc + refs, ty1, st0) ⊦ acc = [], r = jvmref, validrefs(str, (r ' + acc) + refs1, ty, st) |
acc .first = st[r -- fs '] .refval, is_obj(str, r, st), validrefs(str, acc .last ' + refs1, ty0, st), st[r -- _type] .type ≤ ty, fs ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs ']), validrefs(str, acc, fs .type, st), ∀ str0, ty1, st0, refs, ty2. validrefs(str0, acc, ty1, st0) ∧ validrefs(str0, acc .last ' + refs, ty2, st0) → validrefs(str0, acc + refs, ty1, st0) ⊦ acc = [], r = jvmref, validrefs(str, (r ' + acc) + refs1, ty, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ is_obj(str, r, st) → is_valid_ref(str, r, st)])]]