| refs .first = st[r -- fs '] .refval, is_obj(str, r, st), is_referencevalue(st[r -- fs ']), fs ' ∈ instfields(st[r -- _type] .type .class), st[refs .first -- _type] .type ≤ fs .type, validrefs(str, refs, st[refs .first -- _type] .type, st) ⊦ r = refs .last, refs .first = jvmref, refs = [], validrefs(str, r ' + refs, st[r -- _type] .type, st) |
⊦ 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 ≤ st[r -- _type] .type, refs .first = st[r -- fs '] .refval, is_obj(str, r, st), is_referencevalue(st[r -- fs ']), fs ' ∈ instfields(st[r -- _type] .type .class), st[refs .first -- _type] .type ≤ fs .type, validrefs(str, refs, st[refs .first -- _type] .type, st) ⊦ r = refs .last, refs .first = jvmref, refs = [], 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))
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ ty ≤ ty])], [EXTRATERMS : (st, st[r -- _type] .type, refs, r, str)]]