| st[r -- _type] .type = mkarraytype(ty0), st[r0 -- _type] .type = mkclasstype(class), st[r -- i '] = refval(r1), 0 < st[r -- _length] .intval, is_array(str, r, st), i < st[r -- _length] .intval, validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]), 0 ≤ i, mkarraytype(ty0) ≤ ty, junkref(str, r1, st) ⊦ r = r0, r = jvmref, fs ' = _type, validrefs(str, r1 ' + refs, ty0, st), junkref(str, r, st), fs ' ∈ instfields(class), r ∈ (r1 ' + refs) .butlast, dups((r1 ' + refs) .butlast) |
⊦ is_array(str, r, st) → ( junkref(str, r, st) ↔ (∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ st[r -- i '] .refval ≠ jvmref ∧ (¬ st[st[r -- i '] .refval -- _type] .type ≤ st[r -- _type] .type .type ∨ junkref(str, st[r -- i '] .refval, st))))
is_array(str, r, st), st[r -- _type] .type = mkarraytype(ty0), st[r0 -- _type] .type = mkclasstype(class), st[r -- i '] = refval(r1), 0 < st[r -- _length] .intval, is_array(str, r, st), i < st[r -- _length] .intval, validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]), 0 ≤ i, mkarraytype(ty0) ≤ ty, junkref(str, r1, st) ⊦ r = r0, r = jvmref, fs ' = _type, validrefs(str, r1 ' + refs, ty0, st), ∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ st[r -- i '] .refval ≠ jvmref ∧ (¬ st[st[r -- i '] .refval -- _type] .type ≤ st[r -- _type] .type .type ∨ junkref(str, st[r -- i '] .refval, st)), fs ' ∈ instfields(class), r ∈ (r1 ' + refs) .butlast, dups((r1 ' + refs) .butlast)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, r, str)]]