| st[r -- _type] = typeval(mkarraytype(ty)) ⊦ r = jvmref, fs ' = _length, fs ' = _type, r -- _type ∈ st[r0 -- fs ', val] ∧ is_typevalue(typeval(mkarraytype(ty))) ∧ is_arraytype(typeval(mkarraytype(ty)) .type) ∧ typeval(mkarraytype(ty)) .type .type ≤ ty ∧ r -- _length ∈ st[r0 -- fs ', val] ∧ is_integervalue(st[r -- _length]) ∧ 0 ≤ st[r -- _length] .intval ∧ is_arrayref(r, st[r -- _length] .intval, st) ∧ (∀ j. ¬ j < 0 ∧ ¬ st[r -- _length] .intval ≤ j → okval(st[r -- j '], ty)) ↔ r -- _type ∈ st ∧ okarray(r, ty, st) |
⊦ 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] = typeval(mkarraytype(ty)) ⊦ r = jvmref, fs ' = _length, fs ' = _type, r -- _type ∈ st[r0 -- fs ', val] ∧ is_typevalue(typeval(mkarraytype(ty))) ∧ is_arraytype(typeval(mkarraytype(ty)) .type) ∧ typeval(mkarraytype(ty)) .type .type ≤ ty ∧ r -- _length ∈ st[r0 -- fs ', val] ∧ is_integervalue(st[r -- _length]) ∧ 0 ≤ st[r -- _length] .intval ∧ is_arrayref(r, st[r -- _length] .intval, st) ∧ (∀ j. ¬ j < 0 ∧ ¬ st[r -- _length] .intval ≤ j → okval(st[r -- j '], ty)) ↔ r -- _type ∈ 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))
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, ty, r)]]