| is_array(str, r, st), st[r -- _type] .type = mkarraytype(ty0), st[r0 -- _type] .type = mkclasstype(class), st[r -- i '] = refval(r1), i < st[r -- _length] .intval, mkarraytype(ty0) ≤ ty, junkref(str, r1, st), is_array(str, r, st), 0 < st[r -- _length] .intval, 0 ≤ i, validrefs(str, r1 ' + refs, ty0, st) ⊦ r = r0, fs ' = _type, r = jvmref, junkref(str, r, st[r0 -- fs ', val]), ∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ st[r -- i '] .refval ≠ jvmref ∧ (¬ st[st[r -- i '] .refval -- _type] .type ≤ st[r -- _type] .type .type ∨ junkref(str, st[r -- i '] .refval, st)), fs ' ∈ instfields(class), validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]), r ∈ (r1 ' + refs) .butlast, dups((r1 ' + refs) .butlast) |
st[r -- i '] = refval(r1), st[r0 -- _type] .type = mkclasstype(class), st[r -- _type] .type = mkarraytype(ty0), validrefs(str, r1 ' + refs, ty0, st), 0 ≤ i, 0 < st[r -- _length] .intval, is_array(str, r, st), junkref(str, r1, st), mkarraytype(ty0) ≤ ty, i < st[r -- _length] .intval ⊦ r = jvmref, fs ' = _type, r = r0, dups((r1 ' + refs) .butlast), r ∈ (r1 ' + refs) .butlast, validrefs(str, r1 ' + refs, ty0, st[r0 -- fs ', val]), fs ' ∈ instfields(class), junkref(str, r, st[r0 -- fs ', val]), ∃ i0. ¬ i0 < 0 ∧ ¬ st[r -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r -- i0 ']) ∧ st[r -- i0 '] .refval ≠ jvmref ∧ (¬ st[st[r -- i0 '] .refval -- _type] .type ≤ ty0 ∨ junkref(str, st[r -- i0 '] .refval, st))
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ mkarraytype(ty) .type = ty], [CSIMPSEQ : ⊦ ¬ i < j ↔ j ≤ i], [CSIMPSEQ : ⊦ ¬ i ≤ j ↔ j < i], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])]]