| is_array(str, r1, st), junkrefs(str, r1 ' + acc, ty, st[r1 -- i ', refval(r0)]), mkarraytype(st[r0 -- _type] .type) ≤ st[r1 -- _type] .type, st[r1 -- _type] .type ≤ ty, mkarraytype(st[r0 -- _type] .type) ≤ ty, ∀ st, r0, r, str, ty, i. mkarraytype(st[r0 -- _type] .type) ≤ st[r -- _type] .type ∧ junkrefs(str, acc, ty, st[r -- i ', refval(r0)]) → r = jvmref ∨ r0 = jvmref ∨ junkrefs(str, acc, ty, st) ∨ junkref(str, r0, st) ⊦ r0 = jvmref, r1 = jvmref, st[r1 -- _type] .type .type = void_type, junkref(str, r0, st), is_array(str, r1, st[r1 -- i ', refval(r0)]), is_reftype(st[r1 -- _type] .type .type), acc ≠ [] ∧ (∃ i0. ¬ i0 < 0 ∧ ¬ st[r1 -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r1 -- i0 ']) ∧ acc .first = st[r1 -- i0 '] .refval ∧ junkrefs(str, acc, st[r1 -- _type] .type .type, st)) |
⊦ mkarraytype(ty) ≤ ty0 ↔ ty0 = mkclasstype(`java.lang.Object' .class) ∨ is_arraytype(ty0) ∧ ty ≤ ty0 .type
⊦ ¬ is_reftype(st[r -- _type] .type) ∧ r ≠ jvmref → junkref(str, r, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ is_array(str, r, st) → st[r -- _type] .type ≠ mkclasstype(class)], [CSIMPSEQ : ⊦ ¬ is_reftype(ty0) → (ty ≤ ty0 ↔ ty = ty0)])], [EXTRATERMS : (st[r1 -- _type] .type, st[r0 -- _type] .type)]]