| st[val .refval -- _length] = intval(i), is_arrayref(val .refval, i, st), st ⊆ st0, is_referencevalue(val), val .refval -- _type ∈ st, is_typevalue(st[val .refval -- _type]), is_arraytype(st[val .refval -- _type] .type), st[val .refval -- _type] .type .type ≤ ty, val .refval -- _length ∈ st, 0 ≤ i, val .refval ∈ st, ∀ j. ¬ j < 0 ∧ ¬ i ≤ j → oktype(st[val .refval -- j '], ty, st) ⊦ val .refval = jvmref, okarray(val, ty, i, st0) |
val = refval(r), st[r -- _length] = intval(i), is_arrayref(r, i, st), st ⊆ st0, is_referencevalue(val), r -- _type ∈ st, is_typevalue(st[r -- _type]), is_arraytype(st[r -- _type] .type), st[r -- _type] .type .type ≤ ty, r -- _length ∈ st, 0 ≤ i, r ∈ st, ∀ j. ¬ j < 0 ∧ ¬ i ≤ j → oktype(st[r -- j '], ty, st) ⊦ r = jvmref, okarray(val, ty, i, st0)
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_referencevalue(val) → ( r = val .refval ↔ val = refval(r))])], [EXTRATERMS : (val, r)]]