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