| 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)) |
⊦ oktype(val, ty, st) ↔ okval(val, ty)
⊦ okreftype(val, ty, st) ↔ is_referencevalue(val) ∧ (val .refval ≠ jvmref → val .refval -- _type ∈ st ∧ is_typevalue(st[val .refval -- _type]) ∧ st[val .refval -- _type] .type ≤ ty)
st[r -- _type] = typeval(mkarraytype(ty)), r -- _type ∈ st[r0 -- fs ', val], r -- _length ∈ st[r0 -- fs ', val], is_integervalue(st[r -- _length]), is_arrayref(r, st[r -- _length] .intval, st), r -- _length ∈ st, r -- _type ∈ st, r ∈ st[r0 -- fs ', val], 0 ≤ st[r -- _length] .intval, r ∈ st, ∀ j. ¬ j < 0 ∧ ¬ st[r -- _length] .intval ≤ j → okval(st[r -- j '], ty) ⊦ r = jvmref, fs ' = _length, fs ' = _type, (0 ≤ j ∧ j < st[r -- _length] .intval → okval(st[r -- j '], ty)) ∧ okreftype(refval(r), mkarraytype(ty), st)
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j], [CSIMPFORWARD : ⊦ r -- sk ∈ st → r ∈ st], [CSIMPSEQ : ⊦ ¬ is_integervalue(noval)], [CSIMPSEQ : ⊦ noval ≠ typeval(ty)], [CSIMPSEQ : ⊦ ∅[rk] = noval], [CSIMPSEQ : ⊦ ¬ rk ∈ st → st[rk] = ∅[rk]], [CSIMPSEQ : ⊦ r -- sk = r0 -- sk0 ↔ ¬ ¬ (r = r0 ∧ sk = sk0)], [CSIMPSEQ : ⊦ rk ∈ st[rk0, val] ↔ rk = rk0 ∨ rk ∈ st], [CSIMPSEQ : ⊦ ¬ i < j ↔ j ≤ i], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ⊦ ty0 ≤ mkarraytype(ty) ↔ is_arraytype(ty0) ∧ ty0 .type ≤ ty], [CSIMPSEQ : ⊦ refval(r) .refval = r], [CSIMPSEQ : ⊦ is_referencevalue(refval(r))], [CSIMPSEQ : ⊦ ty ≤ ty], [CSIMPSEQ : ⊦ mkarraytype(ty) .type = ty], [CSIMPSEQ : ⊦ is_arraytype(mkarraytype(ty))], [CSIMPSEQ : ⊦ typeval(ty) .type = ty], [CSIMPSEQ : ⊦ is_typevalue(typeval(ty))])]]