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