| 0 ≤ i, 0 < st[r -- _length] .intval, is_array(str, r, st), junkrefs(str, (st[r -- i '] .refval ' + refs2) .last ' + refs1, st[(st[r -- i '] .refval ' + refs2) .last -- _type] .type, st), st[r -- _type] .type ≤ ty, i < st[r -- _length] .intval, is_referencevalue(st[r -- i ']), validrefs(str, st[r -- i '] .refval ' + refs2, st[r -- _type] .type .type, st), ∀ str0, ty0, st0, refs. validrefs(str0, st[r -- i '] .refval ' + refs2, ty0, st0) ∧ junkrefs(str0, (st[r -- i '] .refval ' + refs2) .last ' + refs, st0[(st[r -- i '] .refval ' + refs2) .last -- _type] .type, st0) → junkrefs(str0, (st[r -- i '] .refval ' + refs2) + refs, ty0, st0) ⊦ r = jvmref, junkrefs(str, r ' + (st[r -- i '] .refval ' + refs2) + refs1, ty, st) |
st[r -- i '] = refval(r0), 0 ≤ i, 0 < st[r -- _length] .intval, is_array(str, r, st), junkrefs(str, (r0 ' + refs2) .last ' + refs1, st[(r0 ' + refs2) .last -- _type] .type, st), st[r -- _type] .type ≤ ty, i < st[r -- _length] .intval, is_referencevalue(st[r -- i ']), validrefs(str, r0 ' + refs2, st[r -- _type] .type .type, st), ∀ str0, ty0, st0, refs. validrefs(str0, r0 ' + refs2, ty0, st0) ∧ junkrefs(str0, (r0 ' + refs2) .last ' + refs, st0[(r0 ' + refs2) .last -- _type] .type, st0) → junkrefs(str0, (r0 ' + refs2) + refs, ty0, st0) ⊦ r = jvmref, junkrefs(str, r ' + (r0 ' + refs2) + refs1, ty, st)
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_referencevalue(val) → ( r = val .refval ↔ val = refval(r))])], [EXTRATERMS : (st[r -- i '], r0)]]