| okval(val, st[r1 -- _type] .type .type), junkrefs(str, r ' + acc, ty, st[r1 -- i ', val]), is_valid_ref(str, r, st), st[r -- _type] .type ≤ ty, ∀ val, st, r1, str, ty, i. okval(val, st[r1 -- _type] .type .type) ∧ junkrefs(str, acc, ty, st[r1 -- i ', val]) → is_referencevalue(val) ∨ junkrefs(str, acc, ty, st) ⊦ r = jvmref, is_referencevalue(val), junkrefs(str, r ' + acc, ty, st) |
⊦ is_valid_ref(str, r, st) ↔ is_obj(str, r, st) ∨ is_array(str, r, st)
okval(val, st[r1 -- _type] .type .type), junkrefs(str, r ' + acc, ty, st[r1 -- i ', val]), is_obj(str, r, st) ∨ is_array(str, r, st), st[r -- _type] .type ≤ ty, ∀ val, st, r1, str, ty, i. okval(val, st[r1 -- _type] .type .type) ∧ junkrefs(str, acc, ty, st[r1 -- i ', val]) → is_referencevalue(val) ∨ junkrefs(str, acc, ty, st) ⊦ r = jvmref, is_referencevalue(val), junkrefs(str, r ' + acc, ty, st)
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st, r, str)]]