| refs0 .first = st[r -- fs '] .refval, is_obj(str, r, st), is_obj(str0, r, st), fs ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs ']), junkrefs(str, refs0, fs .type, st), same-subclasses-contains(st[r -- _type] .type .jtelemtype .class, str, str0), ∀ str0, str, r, st, refs. # refs < # refs0 → ( same-subclasses-contains(st[r -- _type] .type .jtelemtype .class, str, str0) ∧ junkrefs(str, r ' + refs, st[r -- _type] .type, st) → junkref(str0, r, st)) ⊦ r = jvmref, refs0 = [], junkref(str0, r, st) |
refs0 = r0 + refs1, r0 = st[r -- fs '] .refval, is_obj(str, r, st), is_obj(str0, r, st), fs ' ∈ instfields(st[r -- _type] .type .class), is_referencevalue(st[r -- fs ']), junkrefs(str, refs0, fs .type, st), same-subclasses-contains(st[r -- _type] .type .jtelemtype .class, str, str0), ∀ str0, str, r, st, refs. # refs < # refs0 → ( same-subclasses-contains(st[r -- _type] .type .jtelemtype .class, str, str0) ∧ junkrefs(str, r ' + refs, st[r -- _type] .type, st) → junkref(str0, r, st)) ⊦ r = jvmref, refs0 = [], junkref(str0, r, st)
[[CONCRETESIMPRULES : ([CSIMPELIM : refs ≠ [] ⊦ r = refs .first ∧ refs0 = refs .rest ↔ refs = r + refs0])], [EXTRATERMS : (refs0, r0, refs1)]]