| acc = r + refs, r = st0[r0 -- i '] .refval, st[r0 -- _type] .type ≤ ty, is_array(str, r0, st), st ⊆ st0, is_valid_ref(str, r0, st0), st0[r0 -- _type] .type ≤ ty, i < st0[r0 -- _length] .intval, is_referencevalue(st0[r0 -- i ']), validrefs(str, acc, st0[r0 -- _type] .type .type, st0), 0 ≤ i, 0 < st0[r0 -- _length] .intval, ∀ str0, ty0, st1, st2. validrefs(str0, acc, ty0, st1) ∧ st2 ⊆ st1 ∧ ¬ junkref(str0, r, st2) → validrefs(str0, acc, ty0, st2) ⊦ r0 = jvmref, acc = [], ∃ i0. ¬ i0 < 0 ∧ ¬ st[r0 -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r0 -- i0 ']) ∧ r = st[r0 -- i0 '] .refval ∧ validrefs(str, acc, st[r0 -- _type] .type .type, st), ¬ st[r0 -- _length] .intval ≤ i ∧ is_referencevalue(st[r0 -- i ']) ∧ st[r0 -- i '] .refval ≠ jvmref ∧ (¬ st[st[r0 -- i '] .refval -- _type] .type ≤ st[r0 -- _type] .type .type ∨ junkref(str, st[r0 -- i '] .refval, st)) |
0 ≤ i, 0 < st0[r0 -- _length] .intval, st[r0 -- _type] .type ≤ ty, is_array(str, r0, st), st ⊆ st0, is_valid_ref(str, r0, st0), st0[r0 -- _type] .type ≤ ty, i < st0[r0 -- _length] .intval, is_referencevalue(st0[r0 -- i ']), validrefs(str, st0[r0 -- i '] .refval ' + refs, st0[r0 -- _type] .type .type, st0), ∀ str0, ty0, st1, st2. validrefs(str0, st0[r0 -- i '] .refval ' + refs, ty0, st1) ∧ st2 ⊆ st1 ∧ ¬ junkref(str0, st0[r0 -- i '] .refval, st2) → validrefs(str0, st0[r0 -- i '] .refval ' + refs, ty0, st2) ⊦ r0 = jvmref, ¬ st[r0 -- _length] .intval ≤ i ∧ is_referencevalue(st[r0 -- i ']) ∧ st[r0 -- i '] .refval ≠ jvmref ∧ (¬ st[st[r0 -- i '] .refval -- _type] .type ≤ st[r0 -- _type] .type .type ∨ junkref(str, st[r0 -- i '] .refval, st)), ∃ i0. ¬ i0 < 0 ∧ ¬ st[r0 -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r0 -- i0 ']) ∧ st0[r0 -- i '] .refval = st[r0 -- i0 '] .refval ∧ validrefs(str, st0[r0 -- i '] .refval ' + refs, st[r0 -- _type] .type .type, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ r ' + refs ≠ []], [CSIMPSEQ : ⊦ r + refs = r ' + refs])]]