| is_array(str, r, st) ∧ st[r -- _type] .type ≤ ty, st[r0 -- _type] .type = mkclasstype(class), is_array(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, acc = [] ∨ (∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ acc .first = st[r -- i '] .refval ∧ validrefs(str, acc, st[r -- _type] .type .type, st)), is_arraytype(st[r -- _type] .type), is_array(str, r, 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]) ⊦ r = jvmref, fs ' = _type, validrefs(str, r ' + acc, ty, st[r0 -- fs ', val]), dups((r ' + acc) .butlast), fs ' ∈ instfields(class), junkref(str, r, st), junkref(str, r, st[r0 -- fs ', val]) |
st[r0 -- _type] .type = mkclasstype(class), is_array(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, is_arraytype(st[r -- _type] .type), is_array(str, r, 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]), acc = [] ∨ 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ acc .first = st[r -- i '] .refval ∧ validrefs(str, acc, st[r -- _type] .type .type, st) ⊦ r = jvmref, fs ' = _type, validrefs(str, r ' + acc, ty, st[r0 -- fs ', val]), dups((r ' + acc) .butlast), fs ' ∈ instfields(class), junkref(str, r, st), junkref(str, r, st[r0 -- fs ', val])
[[CONCRETESIMPRULES : ()]]