| st[r0 -- _type] .type = mkclasstype(class), st[r -- i '] = refval(r2), 0 ≤ i, junkrefs(str, r2 ' + refs, st[r -- _type] .type .type, st[r0 -- fs ', val]), i < st[r -- _length] .intval, st[r -- _type] .type ≤ ty, is_array(str, r, st), 0 < st[r -- _length] .intval, ∀ str0, ty0, st0, fs0, r1, val0. ¬ junkrefs(str0, r2 ' + refs, ty0, st0) ∧ fs0 ' ≠ _type ∧ is_classtype(st0[r1 -- _type] .type) ∧ ¬ fs0 ' ∈ instfields(st0[r1 -- _type] .type .class) → ¬ junkrefs(str0, r2 ' + refs, ty0, st0[r1 -- fs0 ', val0]) ⊦ r = jvmref, fs ' = _type, r = r0, junkrefs(str, r ' + r2 ' + refs, ty, st), fs ' ∈ instfields(class) |
⊦ 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) ∧ st[r -- _type] .type ≤ ty, st[r0 -- _type] .type = mkclasstype(class), st[r -- i '] = refval(r2), 0 ≤ i, junkrefs(str, r2 ' + refs, st[r -- _type] .type .type, st[r0 -- fs ', val]), i < st[r -- _length] .intval, st[r -- _type] .type ≤ ty, is_array(str, r, st), 0 < st[r -- _length] .intval, ∀ str0, ty0, st0, fs0, r1, val0. ¬ junkrefs(str0, r2 ' + refs, ty0, st0) ∧ fs0 ' ≠ _type ∧ is_classtype(st0[r1 -- _type] .type) ∧ ¬ fs0 ' ∈ instfields(st0[r1 -- _type] .type .class) → ¬ junkrefs(str0, r2 ' + refs, ty0, st0[r1 -- fs0 ', val0]) ⊦ r = jvmref, fs ' = _type, r = r0, r2 ' + refs ≠ [] ∧ (∃ i. 0 ≤ i ∧ i < st[r -- _length] .intval ∧ is_referencevalue(st[r -- i ']) ∧ (r2 ' + refs) .first = st[r -- i '] .refval ∧ junkrefs(str, r2 ' + refs, st[r -- _type] .type .type, st)), fs ' ∈ instfields(class)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ (refs + refs0) + refs1 = refs + refs0 + refs1])], [EXTRATERMS : (st, ty, r2 ' + refs, r, str)]]