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