| st[r0 -- _type] .type = mkclasstype(class), junkrefs(str, r ' + acc, ty, st[r0 -- fs ', val]), is_valid_ref(str, r, st), st[r -- _type] .type ≤ ty, ∀ str, ty, st, fs, r0, val. ¬ junkrefs(str, acc, ty, st) ∧ fs ' ≠ _type ∧ is_classtype(st[r0 -- _type] .type) ∧ ¬ fs ' ∈ instfields(st[r0 -- _type] .type .class) → ¬ junkrefs(str, acc, ty, st[r0 -- fs ', val]) ⊦ fs ' = _type, r = jvmref, junkrefs(str, r ' + acc, ty, st), fs ' ∈ instfields(class) |
⊦ is_valid_ref(str, r, st) ↔ is_obj(str, r, st) ∨ is_array(str, r, st)
st[r0 -- _type] .type = mkclasstype(class), junkrefs(str, r ' + acc, ty, st[r0 -- fs ', val]), is_obj(str, r, st) ∨ is_array(str, r, st), st[r -- _type] .type ≤ ty, ∀ str, ty, st, fs, r0, val. ¬ junkrefs(str, acc, ty, st) ∧ fs ' ≠ _type ∧ is_classtype(st[r0 -- _type] .type) ∧ ¬ fs ' ∈ instfields(st[r0 -- _type] .type .class) → ¬ junkrefs(str, acc, ty, st[r0 -- fs ', val]) ⊦ fs ' = _type, r = jvmref, junkrefs(str, r ' + acc, ty, st), fs ' ∈ instfields(class)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, r, str)]]