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