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