| acc + r0 ' = r1 + refs ∧ acc + r0 ' ≠ [], r1 = st[r -- i '] .refval, is_array(str, r, st), st[r -- _type] .type ≤ ty, i < st[r -- _length] .intval, is_referencevalue(st[r -- i ']), validrefs(str, acc + r0 ', st[r -- _type] .type .type, st[r0 -- sk, val]), 0 ≤ i, 0 < st[r -- _length] .intval, ∀ str, r0, ty, st, sk, val. ¬ validrefs(str, acc + r0 ', ty, st) ∧ ¬ junkref(str, acc .first, st) ∧ acc ≠ [] ∧ ¬ r0 ∈ acc ∧ sk ≠ _type → ¬ validrefs(str, acc + r0 ', ty, st[r0 -- sk, val]) ⊦ sk = _type, r0 = r, r = jvmref, r0 ∈ acc, junkref(str, r, st), validrefs(str, (r ' + acc) + r0 ', ty, st) |
acc + r0 ' = st[r -- i '] .refval ' + refs, 0 < st[r -- _length] .intval, 0 ≤ i, validrefs(str, acc + r0 ', st[r -- _type] .type .type, st[r0 -- sk, val]), is_referencevalue(st[r -- i ']), i < st[r -- _length] .intval, st[r -- _type] .type ≤ ty, is_array(str, r, st), ∀ str, r0, ty, st, sk, val. ¬ validrefs(str, acc + r0 ', ty, st) ∧ ¬ junkref(str, acc .first, st) ∧ acc ≠ [] ∧ ¬ r0 ∈ acc ∧ sk ≠ _type → ¬ validrefs(str, acc + r0 ', ty, st[r0 -- sk, val]) ⊦ r = jvmref, r0 = r, sk = _type, validrefs(str, (r ' + acc) + r0 ', ty, st), junkref(str, r, st), r0 ∈ acc, r0 ≠ st[r -- i '] .refval ∧ ¬ r0 ∈ refs, ¬ st[r -- i '] .refval ∈ acc ∧ st[r -- i '] .refval ≠ r0
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ r ∈ r0 ' ↔ r = r0], [CSIMPSEQ : ⊦ r ∈ refs + refs0 ↔ ¬ ¬ (r ∈ refs ∨ r ∈ refs0)], [CSIMPFORWARD : ⊦ r ' + refs = refs0 → r ∈ refs0], [CSIMPFORWARD : ⊦ refs + r ' = refs0 → r ∈ refs0], [CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ refs + r ' ≠ []], [CSIMPSEQ : ⊦ r + refs = r ' + refs])]]