| junkrefs(str, r0 ' + acc, ty, st[r -- i ', refval(jvmref)]), is_reftype(st[r -- _type] .type .type), ∀ 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) |
⊦ r ≠ jvmref ∧ (¬ is_valid_ref(str, r, st) ∨ ¬ st[r -- _type] .type ≤ ty) → junkrefs(str, r ' + refs, ty, st)
¬ (r0 ≠ jvmref ∧ (¬ is_valid_ref(str, r0, st) ∨ ¬ st[r0 -- _type] .type ≤ ty)), junkrefs(str, r0 ' + acc, ty, st[r -- i ', refval(jvmref)]), is_reftype(st[r -- _type] .type .type), ∀ 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 : ()], [EXTRATERMS : (st, ty, acc, r0, str)]]