| junkrefs(str, r0 ' + acc, ty, st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)]), mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_reftype(ty0), is_obj(r, st), ∀ str, ty, st, r, fs. ¬ junkrefs(str, acc, ty, st) ∧ is_obj(r, st) ∧ is_reftype(fs .type) ∧ fs ' ∈ instfields(st[r -- _type] .type .class) → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(jvmref)]) ⊦ r0 = 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 -- mkfs(class, ty0, fieldvar) ', refval(jvmref)]), mkfs(class, ty0, fieldvar) ' ∈ instfields(st[r -- _type] .type .class), is_reftype(ty0), is_obj(r, st), ∀ str, ty, st, r, fs. ¬ junkrefs(str, acc, ty, st) ∧ is_obj(r, st) ∧ is_reftype(fs .type) ∧ fs ' ∈ instfields(st[r -- _type] .type .class) → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(jvmref)]) ⊦ r0 = jvmref, junkrefs(str, r0 ' + acc, ty, st)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, ty, acc, r0, str)]]