| acc + r1 ' = r2 ' + refs, st0[r0 -- i '] = refval(r2), st[r0 -- _type] = st0[r0 -- _type], st0[r0 -- _type] .type ≤ ty, validref(str, r0, st0[r0 -- _type] .type, st), st ⊆ st0, is_array(r0, st0), type∃(str, st0[r0 -- _type] .type), i < st0[r0 -- _length] .intval, validrefs(str, r2 ' + refs, st0[r0 -- _type] .type .type, st0), 0 ≤ i, 0 < st0[r0 -- _length] .intval, ∀ str, r, st, st0, r1, ty. validref(str, r, st[r -- _type] .type, st) ∧ st ⊆ st0 ∧ r ∈ acc ∧ validrefs(str, acc + r1 ', ty, st0) → validref(str, r1, st[r1 -- _type] .type, st) ⊦ st0[r0 -- _type] .type .jtelemtype = void_type, st0[r0 -- _type] .type .jtelemtype = abstract_type, r0 = jvmref, validref(str, r1, st[r1 -- _type] .type, st), r1 ≠ r2 ∧ ¬ r1 ∈ refs, ¬ r2 ∈ acc ∧ r2 ≠ r1 |
⊦ is_array(r, st) ↔ r ≠ jvmref ∧ r -- _type ∈ st ∧ is_typevalue(st[r -- _type]) ∧ is_arraytype(st[r -- _type] .type) ∧ okarray(r, st[r -- _type] .type .type, st)
acc + r1 ' = r2 ' + refs, st0[r0 -- i '] = refval(r2), st[r0 -- _type] = st0[r0 -- _type], st0[r0 -- _type] .type ≤ ty, validref(str, r0, st0[r0 -- _type] .type, st), st ⊆ st0, r0 ≠ jvmref ∧ r0 -- _type ∈ st0 ∧ is_typevalue(st0[r0 -- _type]) ∧ is_arraytype(st0[r0 -- _type] .type) ∧ okarray(r0, st0[r0 -- _type] .type .type, st0), type∃(str, st0[r0 -- _type] .type), i < st0[r0 -- _length] .intval, validrefs(str, r2 ' + refs, st0[r0 -- _type] .type .type, st0), 0 ≤ i, 0 < st0[r0 -- _length] .intval, ∀ str, r, st, st0, r1, ty. validref(str, r, st[r -- _type] .type, st) ∧ st ⊆ st0 ∧ r ∈ acc ∧ validrefs(str, acc + r1 ', ty, st0) → validref(str, r1, st[r1 -- _type] .type, st) ⊦ st0[r0 -- _type] .type .jtelemtype = void_type, st0[r0 -- _type] .type .jtelemtype = abstract_type, r0 = jvmref, validref(str, r1, st[r1 -- _type] .type, st), r1 ≠ r2 ∧ ¬ r1 ∈ refs, ¬ r2 ∈ acc ∧ r2 ≠ r1
[[CONCRETESIMPRULES : ()], [EXTRATERMS : (st0, r0)]]