| ⊦ validref(str, r, ty, st) ∧ is_indexkey(sk) ∧ ( is_referencevalue(val) → validref(str, val .refval, st[r0 -- _type] .type .type, st) ∧ r0 ≠ jvmref ∧ is_arraytype(st[r0 -- _type] .type) ∧ (val .refval = jvmref → is_reftype(st[r0 -- _type] .type .type))) ∧ (¬ is_referencevalue(val) → okval(val, st[r0 -- _type] .type .type)) → validref(str, r, ty, st[r0 -- sk, val]) |