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