| is_classtype(st[r0 -- _type] .type), validrefs(str, r ' + r1 ' + refs, ty, st[r0 -- fs ', val]), is_obj(str, r, st[r0 -- fs ', val]) ∨ is_array(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, ∀ str0, ty0, st0, fs0, r2, val0. ¬ validrefs(str0, r1 ' + refs, ty0, st0) ∧ ¬ junkref(str0, r1, st0) ∧ fs0 ' ≠ _type ∧ is_classtype(st0[r2 -- _type] .type) ∧ ¬ fs0 ' ∈ instfields(st0[r2 -- _type] .type .class) → ¬ validrefs(str0, r1 ' + refs, ty0, st0[r2 -- fs0 ', val0]) ⊦ fs ' = _type, r = jvmref, dups((r1 ' + refs) .butlast), r ∈ (r1 ' + refs) .butlast, fs ' ∈ instfields(st[r0 -- _type] .type .class), junkref(str, r, st), validrefs(str, r ' + r1 ' + refs, ty, st) |
st[r0 -- _type] .type = mkclasstype(class), is_classtype(st[r0 -- _type] .type), validrefs(str, r ' + r1 ' + refs, ty, st[r0 -- fs ', val]), is_obj(str, r, st[r0 -- fs ', val]) ∨ is_array(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, ∀ str0, ty0, st0, fs0, r2, val0. ¬ validrefs(str0, r1 ' + refs, ty0, st0) ∧ ¬ junkref(str0, r1, st0) ∧ fs0 ' ≠ _type ∧ is_classtype(st0[r2 -- _type] .type) ∧ ¬ fs0 ' ∈ instfields(st0[r2 -- _type] .type .class) → ¬ validrefs(str0, r1 ' + refs, ty0, st0[r2 -- fs0 ', val0]) ⊦ fs ' = _type, r = jvmref, dups((r1 ' + refs) .butlast), r ∈ (r1 ' + refs) .butlast, fs ' ∈ instfields(class), junkref(str, r, st), validrefs(str, r ' + r1 ' + refs, ty, st)
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_classtype(ty) → ( class = ty .class ↔ ty = mkclasstype(class))])], [EXTRATERMS : (st[r0 -- _type] .type, class)]]