| acc + r ' = st[r0 -- i '] .refval ' + refs, 0 < st[r0 -- _length] .intval, 0 ≤ i, i < st[r0 -- _length] .intval, st[r0 -- _type] .type ≤ ty, is_array(str, r0, st), junkrefs(str, acc + r ', st[r0 -- _type] .type .type, st), is_referencevalue(st[r0 -- i ']), ∀ str, r, refs0, ty, st. (junkrefs(str, acc + r ' + refs0, ty, st) ↔ junkrefs(str, acc + r ', ty, st)) ∨ r ∈ st ⊦ r0 = jvmref, r ∈ st, ∃ i0. ¬ i0 < 0 ∧ ¬ st[r0 -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r0 -- i0 ']) ∧ st[r0 -- i '] .refval = st[r0 -- i0 '] .refval ∧ junkrefs(str, acc + r ' + refs0, st[r0 -- _type] .type .type, st), r ≠ st[r0 -- i '] .refval ∧ ¬ r ∈ refs, ¬ st[r0 -- i '] .refval ∈ acc ∧ st[r0 -- i '] .refval ≠ r |
st[r0 -- i '] = refval(r1), acc + r ' = r1 ' + refs, 0 < st[r0 -- _length] .intval, 0 ≤ i, i < st[r0 -- _length] .intval, st[r0 -- _type] .type ≤ ty, is_array(str, r0, st), junkrefs(str, acc + r ', st[r0 -- _type] .type .type, st), is_referencevalue(st[r0 -- i ']), ∀ str, r, refs0, ty, st. (junkrefs(str, acc + r ' + refs0, ty, st) ↔ junkrefs(str, acc + r ', ty, st)) ∨ r ∈ st ⊦ r0 = jvmref, r ∈ st, ∃ i0. ¬ i0 < 0 ∧ ¬ st[r0 -- _length] .intval ≤ i0 ∧ is_referencevalue(st[r0 -- i0 ']) ∧ r1 = st[r0 -- i0 '] .refval ∧ junkrefs(str, acc + r ' + refs0, st[r0 -- _type] .type .type, st), r ≠ r1 ∧ ¬ r ∈ refs, ¬ r1 ∈ acc ∧ r1 ≠ r
[[CONCRETESIMPRULES : ([CSIMPELIM : ⊦ is_referencevalue(val) → ( r = val .refval ↔ val = refval(r))])], [EXTRATERMS : (st[r0 -- i '], r1)]]