| st[r -- _type] .type = mkarraytype(ty0), st[r -- i '] = refval(r1), 0 ≤ i, 0 < st[r -- _length] .intval, junkref(str, r1, st), is_arraytype(st[r0 -- _type] .type), is_array(str, r, st), mkarraytype(ty0) ≤ ty, i < st[r -- _length] .intval, validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]) ⊦ fs ' = _type, fs ' = _length, r = jvmref, junkref(str, r, st), dups((r1 ' + refs) .butlast), r ∈ (r1 ' + refs) .butlast, validrefs(str, r1 ' + refs, ty0, st) |
⊦ 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[r -- i '] = refval(r1), 0 ≤ i, 0 < st[r -- _length] .intval, junkref(str, r1, st), is_arraytype(st[r0 -- _type] .type), is_array(str, r, st), mkarraytype(ty0) ≤ ty, i < st[r -- _length] .intval, validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]) ⊦ fs ' = _type, fs ' = _length, r = jvmref, ∃ 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)), dups((r1 ' + refs) .butlast), r ∈ (r1 ' + refs) .butlast, validrefs(str, r1 ' + refs, ty0, st)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, r, str)]]