| acc .first = st[r1 -- fs '] .refval, junkrefs(str, acc, fs .type, st[r -- i ', refval(r0)]), mkarraytype(st[r0 -- _type] .type) ≤ st[r -- _type] .type, st[r1 -- _type] .type ≤ ty, is_obj(str, r1, st), fs ' ∈ instfields(st[r1 -- _type] .type .class), is_referencevalue(st[r1 -- fs ']), ∀ st, r0, r, str, ty, i. mkarraytype(st[r0 -- _type] .type) ≤ st[r -- _type] .type ∧ junkrefs(str, acc, ty, st[r -- i ', refval(r0)]) → r = jvmref ∨ r0 = jvmref ∨ junkrefs(str, acc, ty, st) ∨ junkref(str, r0, st) ⊦ r1 = jvmref, r0 = jvmref, r = jvmref, acc = [], junkrefs(str, r1 ' + acc, ty, st), junkref(str, r0, st) |
acc = r2 + refs, r2 = st[r1 -- fs '] .refval, junkrefs(str, acc, fs .type, st[r -- i ', refval(r0)]), mkarraytype(st[r0 -- _type] .type) ≤ st[r -- _type] .type, st[r1 -- _type] .type ≤ ty, is_obj(str, r1, st), fs ' ∈ instfields(st[r1 -- _type] .type .class), is_referencevalue(st[r1 -- fs ']), ∀ st, r0, r, str, ty, i. mkarraytype(st[r0 -- _type] .type) ≤ st[r -- _type] .type ∧ junkrefs(str, acc, ty, st[r -- i ', refval(r0)]) → r = jvmref ∨ r0 = jvmref ∨ junkrefs(str, acc, ty, st) ∨ junkref(str, r0, st) ⊦ r1 = jvmref, r0 = jvmref, r = jvmref, acc = [], junkrefs(str, r1 ' + acc, ty, st), junkref(str, r0, st)
[[CONCRETESIMPRULES : ([CSIMPELIM : refs ≠ [] ⊦ r = refs .first ∧ refs0 = refs .rest ↔ refs = r + refs0])], [EXTRATERMS : (acc, r2, refs)]]