| is_array(str, r1, st), st[r0 -- _type] .type ≤ ty0, junkrefs(str, r1 ' + acc, ty, st[r -- mkfs(class, ty0, fieldvar) ', refval(r0)]), st[r1 -- _type] .type ≤ ty, r ∈ acc, ∀ str, ty, st, r0, fs, r. ¬ junkrefs(str, acc, ty, st) ∧ ¬ junkref(str, r0, st) ∧ st[r0 -- _type] .type ≤ fs .type ∧ r0 ≠ jvmref ∧ fs .type ≠ void_type ∧ fs ' ≠ _length → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(r0)]) ⊦ r = r1, r1 = jvmref, mkfs(class, ty0, fieldvar) ' = _length, ty0 = void_type, r0 = jvmref, acc = [], junkref(str, r0, st), ∃ i. ¬ i < 0 ∧ ¬ st[r1 -- _length] .intval ≤ i ∧ is_referencevalue(st[r1 -- i ']) ∧ acc .first = st[r1 -- i '] .refval ∧ junkrefs(str, acc, st[r1 -- _type] .type .type, st) |
acc = r2 + refs, is_array(str, r1, st), st[r0 -- _type] .type ≤ ty0, junkrefs(str, r1 ' + acc, ty, st[r -- mkfs(class, ty0, fieldvar) ', refval(r0)]), st[r1 -- _type] .type ≤ ty, r ∈ acc, ∀ str, ty, st, r0, fs, r. ¬ junkrefs(str, acc, ty, st) ∧ ¬ junkref(str, r0, st) ∧ st[r0 -- _type] .type ≤ fs .type ∧ r0 ≠ jvmref ∧ fs .type ≠ void_type ∧ fs ' ≠ _length → ¬ junkrefs(str, acc, ty, st[r -- fs ', refval(r0)]) ⊦ r = r1, r1 = jvmref, mkfs(class, ty0, fieldvar) ' = _length, ty0 = void_type, r0 = jvmref, acc = [], junkref(str, r0, st), ∃ i. ¬ i < 0 ∧ ¬ st[r1 -- _length] .intval ≤ i ∧ is_referencevalue(st[r1 -- i ']) ∧ r2 = st[r1 -- i '] .refval ∧ junkrefs(str, acc, st[r1 -- _type] .type .type, st)
[[CONCRETESIMPRULES : ([CSIMPELIM : refs ≠ [] ⊦ r = refs .first ∧ refs0 = refs .rest ↔ refs = r + refs0])], [EXTRATERMS : (acc, r2, refs)]]