| st[r -- i '] = refval(r2), junkrefs(str, r2 ' + refs, (st[r0 -- fs ', val][r -- _type]) .type .type, st[r0 -- fs ', val]), 0 ≤ i, i < st[r -- _length] .intval, is_array(str, r, st), (st[r0 -- fs ', val][r -- _type]) .type ≤ ty, is_array(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, 0 < st[r -- _length] .intval, ∀ str0, ty0, st0, r1, fs0, val0. junkrefs(str0, r2 ' + refs, ty0, st0[r1 -- fs0 ', val0]) → junkrefs(str0, r2 ' + refs, ty0, st0) ∨ is_typevalue(st0[r1 -- _type]) ∧ is_reftype(st0[r1 -- _type] .type), r ≠ r0 ∨ _type ≠ fs ', r ≠ r0 ∨ _length ≠ fs ' ⊦ r = jvmref, junkrefs(str, r ' + r2 ' + refs, ty, st), is_typevalue(st[r0 -- _type]) ∧ is_reftype(st[r0 -- _type] .type) |
⊦ rk ≠ rk0 → (st[rk0, val][rk]) = st[rk]
r -- _type ≠ r0 -- fs ', st[r -- i '] = refval(r2), junkrefs(str, r2 ' + refs, st[r -- _type] .type .type, st[r0 -- fs ', val]), 0 ≤ i, i < st[r -- _length] .intval, is_array(str, r, st), st[r -- _type] .type ≤ ty, is_array(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, 0 < st[r -- _length] .intval, ∀ str0, ty0, st0, r1, fs0, val0. junkrefs(str0, r2 ' + refs, ty0, st0[r1 -- fs0 ', val0]) → junkrefs(str0, r2 ' + refs, ty0, st0) ∨ is_typevalue(st0[r1 -- _type]) ∧ is_reftype(st0[r1 -- _type] .type), r ≠ r0 ∨ _type ≠ fs ', r ≠ r0 ∨ _length ≠ fs ' ⊦ r = jvmref, junkrefs(str, r ' + r2 ' + refs, ty, st), is_typevalue(st[r0 -- _type]) ∧ is_reftype(st[r0 -- _type] .type)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ r -- sk = r0 -- sk0 ↔ r = r0 ∧ sk = sk0], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])], [EXTRATERMS : (r -- _type, val, r0 -- fs ', st)]]