| is_obj(str, r, st) ∧ st[r -- _type] .type ≤ st[r -- _type] .type, st[r -- mkfs(class0, ty, fieldvar) '] = refval(jvmref), st[r -- _type] .type ≤ mkclasstype(class), st[r -- _type] .type ≤ ty, ty ≤ mkclasstype(class), mkfs(class0, ty, fieldvar) ' ∈ instfields(class), is_obj(str, r, st), is_classtype(st[r -- _type] .type), ∀ r, str, st0. # st0 .refs < # st .refs → ( ¬ junkref(str, r, st0) ∧ ¬ cyclic(str, r, st0) ∧ is_obj(str, r, st0) ∧ r ≠ jvmref ∧ (∃ fs, class. fs ' ∈ instfields(class) ∧ fs .type ≤ mkclasstype(class) ∧ st0[r -- _type] .type ≤ fs .type) → (∃ refs. validrefs(str, refs, st0[r -- _type] .type, st0) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref)) ⊦ r = jvmref, cyclic(str, r, st), jvmref ' = [] ∨ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ jvmref ' .first = st[r -- fs '] .refval ∧ validrefs(str, jvmref ', fs .type, st)) |
⊦ validrefs(str, jvmref ', ty, st)
st[r -- mkfs(class0, ty, fieldvar) '] = refval(jvmref), st[r -- _type] .type ≤ mkclasstype(class), st[r -- _type] .type ≤ ty, ty ≤ mkclasstype(class), mkfs(class0, ty, fieldvar) ' ∈ instfields(class), is_obj(str, r, st), is_classtype(st[r -- _type] .type), ∀ r, str, st0. # st0 .refs < # st .refs → ( ¬ junkref(str, r, st0) ∧ ¬ cyclic(str, r, st0) ∧ is_obj(str, r, st0) ∧ r ≠ jvmref ∧ (∃ fs, class. fs ' ∈ instfields(class) ∧ fs .type ≤ mkclasstype(class) ∧ st0[r -- _type] .type ≤ fs .type) → (∃ refs. validrefs(str, refs, st0[r -- _type] .type, st0) ∧ refs ≠ [] ∧ refs .first = r ∧ refs .last = jvmref)) ⊦ r = jvmref, cyclic(str, r, st), ∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ jvmref = st[r -- fs '] .refval
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ r ' .first = r], [CSIMPSEQ : ⊦ ty ≤ ty], [CSIMPSEQ : ⊦ r ' ≠ []])]]