| is_array(str, r, st), is_arraytype(st[r0 -- _type] .type), junkrefs(str, r ' + acc, ty, st[r0 -- fs ', val]), st[r -- _type] .type ≤ ty, ∀ str, ty, st, fs, r0, val. ¬ junkrefs(str, acc, ty, st) ∧ fs ' ≠ _type ∧ is_arraytype(st[r0 -- _type] .type) ∧ fs ' ≠ _length → ¬ junkrefs(str, acc, ty, st[r0 -- fs ', val]) ⊦ fs ' = _length, fs ' = _type, r = jvmref, junkrefs(str, r ' + acc, ty, st) |
⊦ is_array(str, r, st) ∧ st[r -- _type] .type ≤ ty → ( junkrefs(str, r ' + refs, ty, st) ↔ refs ≠ [] ∧ (∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ refs .first = st[r -- i '] .refval ∧ junkrefs(str, refs, st[r -- _type] .type .type, st)))
is_array(str, r, st[r0 -- fs ', val]) ∧ (st[r0 -- fs ', val][r -- _type]) .type ≤ ty, is_array(str, r, st), is_arraytype(st[r0 -- _type] .type), acc ≠ [] ∧ (∃ i. 0 ≤ i ∧ i < (st[r0 -- fs ', val][r -- _length]) .intval ∧ is_referencevalue(st[r0 -- fs ', val][r -- i ']) ∧ acc .first = (st[r0 -- fs ', val][r -- i ']) .refval ∧ junkrefs(str, acc, (st[r0 -- fs ', val][r -- _type]) .type .type, st[r0 -- fs ', val])), st[r -- _type] .type ≤ ty, ∀ str, ty, st, fs, r0, val. ¬ junkrefs(str, acc, ty, st) ∧ fs ' ≠ _type ∧ is_arraytype(st[r0 -- _type] .type) ∧ fs ' ≠ _length → ¬ junkrefs(str, acc, ty, st[r0 -- fs ', val]) ⊦ fs ' = _length, fs ' = _type, r = jvmref, junkrefs(str, r ' + acc, ty, st)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1], [CSIMPSEQ : ⊦ fs ' ≠ _length ∧ fs ' ≠ _type → ( is_array (str, r, st[r0 -- fs ', val]) ↔ is_array(str, r, st))], [CSIMPSEQ : ⊦ sk ≠ sk0 → (st[r -- sk, val][r0 -- sk0]) = st[r0 -- sk0]])], [EXTRATERMS : (st[r0 -- fs ', val], ty, acc, r, str)]]