| junkrefs(str, r0 ' + acc, ty, st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)]), is_reftype(ty0), is_valid_ref(str, r0, st), st[r0 -- _type] .type ≤ ty, ∀ str, ty, st, fs, r. ¬ junkrefs(str, acc, ty, st) ∧ is_reftype(fs .type) → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(jvmref)]) ⊦ r0 = jvmref, junkrefs(str, r0 ' + acc, ty, st) |
⊦ is_valid_ref(str, r, st) ↔ is_obj(str, r, st) ∨ is_array(str, r, st)
junkrefs(str, r0 ' + acc, ty, st[r -- mkfs(class, ty0, fieldvar) ', refval(jvmref)]), is_reftype(ty0), is_obj(str, r0, st) ∨ is_array(str, r0, st), st[r0 -- _type] .type ≤ ty, ∀ str, ty, st, fs, r. ¬ junkrefs(str, acc, ty, st) ∧ is_reftype(fs .type) → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(jvmref)]) ⊦ r0 = jvmref, junkrefs(str, r0 ' + acc, ty, st)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, r0, str)]]