| st[r -- _type] .type ≤ ty, is_obj(str, r, st), ∀ str, refs0, ty, st. junkrefs(str, acc + jvmref ' + refs0, ty, st) ↔ junkrefs(str, acc, ty, st) ⊦ r = jvmref, (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ (acc + jvmref ') .first = st[r -- fs '] .refval ∧ junkrefs(str, acc + jvmref ' + refs0, fs .type, st)) ↔ 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)) |
⊦ ¬ junkrefs(str, jvmref ' + refs, ty, st)
acc = r0 + refs ∧ acc ≠ [], st[r -- _type] .type ≤ ty, is_obj(str, r, st), ∀ str, refs0, ty, st. junkrefs(str, acc + jvmref ' + refs0, ty, st) ↔ junkrefs(str, acc, ty, st) ⊦ r = jvmref, (∃ fs. fs ' ∈ instfields(st[r -- _type] .type .class) ∧ is_referencevalue(st[r -- fs ']) ∧ (acc + jvmref ') .first = st[r -- fs '] .refval ∧ junkrefs(str, acc + jvmref ' + refs0, fs .type, st)) ↔ 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 : ([CSIMPSEQ : ⊦ [] + refs = refs], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ r ' .first = r], [CSIMPELIM : refs ≠ [] ⊦ r = refs .first ∧ refs0 = refs .rest ↔ refs = r + refs0])], [EXTRATERMS : (acc, r0, refs)]]