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