| is_array(str, r, st) ∧ st[r -- _type] .type ≤ st[r -- _type] .type, st[r -- i '] .refval = jvmref, validrefs(str, refs + r ', ty, st), is_array(str, r, st), i < st[r -- _length] .intval, is_reftype(st[r -- _type] .type .type), 0 ≤ i, 0 < st[r -- _length] .intval ⊦ validrefs(str, refs + r ' + jvmref ', ty, st), jvmref ' = [] ∨ (∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ jvmref ' .first = st[r -- i '] .refval ∧ validrefs(str, jvmref ', st[r -- _type] .type .type, st)) |
⊦ validrefs(str, jvmref ', ty, st)
st[r -- i '] .refval = jvmref, validrefs(str, refs + r ', ty, st), is_array(str, r, st), i < st[r -- _length] .intval, is_reftype(st[r -- _type] .type .type), 0 ≤ i, 0 < st[r -- _length] .intval ⊦ validrefs(str, refs + r ' + jvmref ', ty, st), ∃ i0. ¬ i0 < 0 ∧ ¬ st[r -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r -- i0 ']) ∧ jvmref = st[r -- i0 '] .refval
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ r ' .first = r], [CSIMPSEQ : ⊦ ¬ i < j ↔ j ≤ i], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ⊦ ty ≤ ty], [CSIMPSEQ : ⊦ r ' ≠ []])]]