| is_array(str, r, st[r1 -- i ', val]) ∧ (st[r1 -- i ', val][r -- _type]) .type ≤ ty, is_array(str, r, st), okval(val, st[r1 -- _type] .type .type), acc ≠ [] ∧ (∃ i0. 0 ≤ i0 ∧ i0 < (st[r1 -- i ', val][r -- _length]) .intval ∧ is_referencevalue(st[r1 -- i ', val][r -- i0 ']) ∧ acc .first = (st[r1 -- i ', val][r -- i0 ']) .refval ∧ junkrefs(str, acc, (st[r1 -- i ', val][r -- _type]) .type .type, st[r1 -- i ', val])), st[r -- _type] .type ≤ ty, ∀ val, st, r1, str, ty, i. okval(val, st[r1 -- _type] .type .type) ∧ junkrefs(str, acc, ty, st[r1 -- i ', val]) → is_referencevalue(val) ∨ junkrefs(str, acc, ty, st) ⊦ r = jvmref, is_referencevalue(val), junkrefs(str, r ' + acc, ty, st) |
acc .first = (st[r1 -- i ', val][r -- i0 ']) .refval, is_array(str, r, st[r1 -- i ', val]), st[r -- _type] .type ≤ ty, is_array(str, r, st), okval(val, st[r1 -- _type] .type .type), i0 < st[r -- _length] .intval, is_referencevalue(st[r1 -- i ', val][r -- i0 ']), junkrefs(str, acc, st[r -- _type] .type .type, st[r1 -- i ', val]), 0 ≤ i0, 0 < st[r -- _length] .intval, ∀ val, st, r1, str, ty, i. okval(val, st[r1 -- _type] .type .type) ∧ junkrefs(str, acc, ty, st[r1 -- i ', val]) → is_referencevalue(val) ∨ junkrefs(str, acc, ty, st) ⊦ r = jvmref, acc = [], is_referencevalue(val), junkrefs(str, r ' + acc, ty, st)
[[CONCRETESIMPRULES : ([CSIMPFORWARD : ⊦ i ≤ j ∧ 0 ≤ i → 0 ≤ j], [CSIMPFORWARD : ⊦ i < j ∧ 0 ≤ i → 0 < j], [CSIMPSEQ : ⊦ (st[r -- i ', val][r0 -- _length] ) = st[r0 -- _length]], [CSIMPSEQ : ⊦ (st[r -- i ', val][r0 -- _type]) = st[r0 -- _type]])]]