| st[r -- _type] .type = mkarraytype(ty), st[r -- i '] = refval(r0), validrefs(str, r0 ' + refs, ty, st), r ∈ st, 0 ≤ i, 0 < st[r -- _length] .intval, is_primtype(ty), is_array(str, r, st), okarray(r, ty, st), i < st[r -- _length] .intval ⊦ r ' + r0 ' + refs = jvmref ', r = jvmref, is_reftype(ty) |
⊦ okarray(r, ty, st) ↔ okreftype(refval(r), mkarraytype(ty), st) ∧ r ≠ jvmref ∧ r -- _length ∈ st ∧ is_integervalue(st[r -- _length]) ∧ 0 ≤ st[r -- _length] .intval ∧ is_arrayref(r, st[r -- _length] .intval, st) ∧ (∀ j. 0 ≤ j ∧ j < st[r -- _length] .intval → oktype(st[r -- j '], ty, st))
st[r -- _type] .type = mkarraytype(ty), st[r -- i '] = refval(r0), validrefs(str, r0 ' + refs, ty, st), r ∈ st, 0 ≤ i, 0 < st[r -- _length] .intval, is_primtype(ty), is_array(str, r, st), okreftype(refval(r), mkarraytype(ty), st) ∧ r ≠ jvmref ∧ r -- _length ∈ st ∧ is_integervalue(st[r -- _length]) ∧ 0 ≤ st[r -- _length] .intval ∧ is_arrayref(r, st[r -- _length] .intval, st) ∧ (∀ j. 0 ≤ j ∧ j < st[r -- _length] .intval → oktype(st[r -- j '], ty, st)), i < st[r -- _length] .intval ⊦ r ' + r0 ' + refs = jvmref ', r = jvmref, is_reftype(ty)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, ty, r)]]