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