| 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 ≠ [] ∧ ¬ dups(refs) ∧ refs .first = r ∧ refs .last = jvmref)) ⊦ r = jvmref, cyclic(str, r, st), validrefs(str, r ' + jvmref ', 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, 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 ≠ [] ∧ ¬ dups(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))
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ ty ≤ ty])], [EXTRATERMS : (st, st[r -- _type] .type, jvmref ', r, str)]]