| acc = r1 + refs, r1 = (st[r0 -- fs ', val][r -- fs0 ']) .refval, is_referencevalue(st[r0 -- fs ', val][r -- fs0 ']), junkrefs(str, acc, fs0 .type, st[r0 -- fs ', val]), is_obj(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, is_obj(str, r, st), is_arraytype(st[r0 -- _type] .type), fs0 ' ∈ instfields(st[r -- _type] .type .class), ∀ str, ty, st, fs, r0, val. ¬ junkrefs(str, acc, ty, st) ∧ fs ' ≠ _type ∧ is_arraytype(st[r0 -- _type] .type) ∧ fs ' ≠ _length → ¬ junkrefs(str, acc, ty, st[r0 -- fs ', val]) ⊦ fs ' = _length, fs ' = _type, r = jvmref, acc = [], junkrefs(str, r ' + acc, ty, st) |
is_obj(str, r, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, is_obj(str, r, st), is_arraytype(st[r0 -- _type] .type), fs0 ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r0 -- fs ', val][r -- fs0 ']), junkrefs(str, (st[r0 -- fs ', val][r -- fs0 ']) .refval ' + refs, fs0 .type, st[r0 -- fs ', val]), ∀ str0, ty0, st0, fs1, r1, val0. ¬ junkrefs(str0, (st[r0 -- fs ', val][r -- fs0 ']) .refval ' + refs, ty0, st0) ∧ fs1 ' ≠ _type ∧ is_arraytype(st0[r1 -- _type] .type) ∧ fs1 ' ≠ _length → ¬ junkrefs(str0, (st[r0 -- fs ', val][r -- fs0 ']) .refval ' + refs, ty0, st0[r1 -- fs1 ', val0]) ⊦ fs ' = _length, fs ' = _type, r = jvmref, junkrefs(str, r ' + (st[r0 -- fs ', val][r -- fs0 ']) .refval ' + refs, ty, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ r ' + refs ≠ []], [CSIMPSEQ : ⊦ r + refs = r ' + refs])]]