| is_obj(str, r, st) ∧ st[r -- _type] .type ≤ ty, is_obj(str, r, st), is_arraytype(st[r0 -- _type] .type), acc = [] ∨ (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ acc .first = st[r -- fs '] .refval ∧ validrefs(str, acc, fs .type, st)), st[r -- _type] .type ≤ ty, is_obj(str, r, st[r0 -- fs ', val]), ∀ st, r0, str, ty, fs, val. is_arraytype(st[r0 -- _type] .type) ∧ validrefs(str, acc, ty, st) → fs ' = _type ∨ fs ' = _length ∨ acc = [] ∨ junkref(str, acc .first, st) ∨ dups(acc .butlast) ∨ validrefs(str, acc, ty, st[r0 -- fs ', val]) ⊦ fs ' = _type, fs ' = _length, r = jvmref, junkref(str, r, st[r0 -- fs ', val]), junkref(str, r, st), dups((r ' + acc) .butlast), validrefs(str, r ' + acc, ty, st[r0 -- fs ', val]) |
is_obj(str, r, st), is_arraytype(st[r0 -- _type] .type), st[r -- _type] .type ≤ ty, is_obj(str, r, st[r0 -- fs ', val]), ∀ st, r0, str, ty, fs, val. is_arraytype(st[r0 -- _type] .type) ∧ validrefs(str, acc, ty, st) → fs ' = _type ∨ fs ' = _length ∨ acc = [] ∨ junkref(str, acc .first, st) ∨ dups(acc .butlast) ∨ validrefs(str, acc, ty, st[r0 -- fs ', val]), acc = [] ∨ fs0 ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs0 ']) ∧ acc .first = st[r -- fs0 '] .refval ∧ validrefs(str, acc, fs0 .type, st) ⊦ fs ' = _type, fs ' = _length, r = jvmref, junkref(str, r, st[r0 -- fs ', val]), junkref(str, r, st), dups((r ' + acc) .butlast), validrefs(str, r ' + acc, ty, st[r0 -- fs ', val])
[[CONCRETESIMPRULES : ()]]