| is_classtype(st[r0 -- _type] .type), validrefs(str, r ' + acc, ty, st), ∀ st, r0, str, ty, fs, val. is_classtype(st[r0 -- _type] .type) ∧ validrefs(str, acc, ty, st) → fs ' = _type ∨ acc = [] ∨ junkref(str, acc .first, st) ∨ fs ' ∈ instfields(st[r0 -- _type] .type .class) ∨ dups(acc .butlast) ∨ validrefs(str, acc, ty, st[r0 -- fs ', val]) ⊦ fs ' = _type, junkref(str, r, st), fs ' ∈ instfields(st[r0 -- _type] .type .class), dups((r ' + acc) .butlast), validrefs(str, r ' + acc, ty, st[r0 -- fs ', val]) |
⊦ r ≠ jvmref ∧ (¬ is_valid_ref(str, r, st) ∨ ¬ st[r -- _type] .type ≤ ty) → ¬ validrefs(str, r ' + refs, ty, st)
¬ (r ≠ jvmref ∧ (¬ is_valid_ref(str, r, st) ∨ ¬ st[r -- _type] .type ≤ ty)), is_classtype(st[r0 -- _type] .type), validrefs(str, r ' + acc, ty, st), ∀ st, r0, str, ty, fs, val. is_classtype(st[r0 -- _type] .type) ∧ validrefs(str, acc, ty, st) → fs ' = _type ∨ acc = [] ∨ junkref(str, acc .first, st) ∨ fs ' ∈ instfields(st[r0 -- _type] .type .class) ∨ dups(acc .butlast) ∨ validrefs(str, acc, ty, st[r0 -- fs ', val]) ⊦ fs ' = _type, junkref(str, r, st), fs ' ∈ instfields(st[r0 -- _type] .type .class), dups((r ' + acc) .butlast), validrefs(str, r ' + acc, ty, st[r0 -- fs ', val])
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, ty, acc, r, str)]]