| acc = r0 + refs, r0 = (st[r1 -- i ', val][r -- i0 ']) .refval, is_array(str, r, st[r1 -- i ', val]), st[r -- _type] .type ≤ ty, is_array(str, r, st), okval(val, st[r1 -- _type] .type .type), i0 < st[r -- _length] .intval, is_referencevalue(st[r1 -- i ', val][r -- i0 ']), junkrefs(str, acc, st[r -- _type] .type .type, st[r1 -- i ', val]), 0 ≤ i0, 0 < st[r -- _length] .intval, ∀ val, st, r1, str, ty, i. okval(val, st[r1 -- _type] .type .type) ∧ junkrefs(str, acc, ty, st[r1 -- i ', val]) → is_referencevalue(val) ∨ junkrefs(str, acc, ty, st) ⊦ r = jvmref, acc = [], is_referencevalue(val), junkrefs(str, r ' + acc, ty, st) |
0 ≤ i0, 0 < st[r -- _length] .intval, is_array(str, r, st[r1 -- i ', val]), st[r -- _type] .type ≤ ty, is_array(str, r, st), okval(val, st[r1 -- _type] .type .type), i0 < st[r -- _length] .intval, is_referencevalue(st[r1 -- i ', val][r -- i0 ']), junkrefs(str, (st[r1 -- i ', val][r -- i0 ']) .refval ' + refs, st[r -- _type] .type .type, st[r1 -- i ', val]), ∀ val0, st0, r0, str0, ty0, i1. okval(val0, st0[r0 -- _type] .type .type) ∧ junkrefs(str0, (st[r1 -- i ', val][r -- i0 ']) .refval ' + refs, ty0, st0[r0 -- i1 ', val0]) → is_referencevalue(val0) ∨ junkrefs(str0, (st[r1 -- i ', val][r -- i0 ']) .refval ' + refs, ty0, st0) ⊦ r = jvmref, is_referencevalue(val), junkrefs(str, r ' + (st[r1 -- i ', val][r -- i0 ']) .refval ' + refs, ty, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ r ' + refs ≠ []], [CSIMPSEQ : ⊦ r + refs = r ' + refs])]]