| st2[r -- _length] .intval = st1[r1 -- _length] .intval, st[r -- _length] .intval = st1[r1 -- _length] .intval, st2[r -- _type] = st1[r1 -- _type], st[r -- _type] = st1[r1 -- _type], st2[r -- i '] = st[r -- i '], st1[r1 -- i '] .refval = jvmref, i < st1[r1 -- _length] .intval, is_referencevalue(st[r -- i ']), is_array(str, r, st), is_array(str, r1, st1), r -- _type ∈ st, r -- _type ∈ st2, r ∈ st, r ∈ st2, is_arraytype(st1[r1 -- _type] .type), 0 ≤ i, 0 < st1[r1 -- _length] .intval, ps=(st[r -- i '] .refval, st, jvmref, st1), r -- i ' ∈ st, r -- i ' ∈ st2, is_referencevalue(st1[r1 -- i ']), ∀ rk. rk ∈ st → rk ∈ st2 ∧ st[rk] = st2[rk], ∀ i. ¬ i < 0 ∧ ¬ st1[r1 -- _length] .intval ≤ i ∧ ¬ is_referencevalue(st[r -- i ']) → st[r -- i '] = st1[r1 -- i '], ∀ i. ¬ i < 0 ∧ ¬ st1[r1 -- _length] .intval ≤ i ∧ is_referencevalue(st[r -- i ']) → ps=(st[r -- i '] .refval, st, st1[r1 -- i '] .refval, st1), junkref(str, st[r -- i '] .refval, st) ∨ cyclic(str, st[r -- i '] .refval, st), ∀ st1, r1, st2, st0, r0, str0. maxpath(str0, r0, st0) < maxpath(str, r, st) → ( st0 ⊆ st2 ∧ ps=(r0, st0, r1, st1) → junkref(str0, r0, st0) ∨ cyclic(str0, r0, st0) ∨ junkref(str0, r1, st1) ∨ cyclic(str0, r1, st1) ∨ ps=(r0, st2, r1, st1)) ⊦ r1 = jvmref, r = jvmref, st[r -- i '] .refval = jvmref ∧ jvmref = jvmref ∨ st[r -- i '] .refval ≠ jvmref ∧ jvmref ≠ jvmref ∧ st2[st[r -- i '] .refval -- _type] = st1[jvmref -- _type] ∧ ( is_classtype(st2[st[r -- i '] .refval -- _type] .type) → (∀ fs. fs ' ∈ instfields(st2[st[r -- i '] .refval -- _type] .type .class) ∧ is_referencevalue(st2[st[r -- i '] .refval -- fs ']) → ps=(st2[st[r -- i '] .refval -- fs '] .refval, st2, st1[jvmref -- fs '] .refval, st1)) ∧ (∀ fs. fs ' ∈ instfields(st2[st[r -- i '] .refval -- _type] .type .class) ∧ ¬ is_referencevalue(st2[st[r -- i '] .refval -- fs ']) → st2[st[r -- i '] .refval -- fs '] = st1[jvmref -- fs '])) ∧ ( is_arraytype(st2[st[r -- i '] .refval -- _type] .type) → st2[st[r -- i '] .refval -- _length] .intval = st1[jvmref -- _length] .intval ∧ (∀ i0. 0 ≤ i0 ∧ i0 < st2[st[r -- i '] .refval -- _length] .intval ∧ is_referencevalue(st2[st[r -- i '] .refval -- i0 ']) → ps=(st2[st[r -- i '] .refval -- i0 '] .refval, st2, st1[jvmref -- i0 '] .refval, st1)) ∧ (∀ i0. 0 ≤ i0 ∧ i0 < st2[st[r -- i '] .refval -- _length] .intval ∧ ¬ is_referencevalue(st2[st[r -- i '] .refval -- i0 ']) → st2[st[r -- i '] .refval -- i0 '] = st1[jvmref -- i0 '])), cyclic(str, r1, st1), cyclic(str, r, st), st[r -- i '] .refval ≠ jvmref ∧ (¬ st[st[r -- i '] .refval -- _type] .type ≤ st1[r1 -- _type] .type .type ∨ junkref(str, st[r -- i '] .refval, st)), cyclic(str, st[r -- i '] .refval, st) ∧ is_reftype(st1[r1 -- _type] .type .type) ∧ st[st[r -- i '] .refval -- _type] .type ≤ st1[r1 -- _type] .type .type |
st2[r -- _length] .intval = st1[r1 -- _length] .intval, st[r -- _length] .intval = st1[r1 -- _length] .intval, st2[r -- _type] = st1[r1 -- _type], st[r -- _type] = st1[r1 -- _type], st2[r -- i '] = st[r -- i '], st1[r1 -- i '] .refval = jvmref, st[st[r -- i '] .refval -- _type] .type = st1[r1 -- _type] .type .type, cyclic(str, st[r -- i '] .refval, st), i < st1[r1 -- _length] .intval, is_referencevalue(st[r -- i ']), is_array(str, r, st), is_array(str, r1, st1), r -- _type ∈ st, r -- _type ∈ st2, r ∈ st, r ∈ st2, is_arraytype(st1[r1 -- _type] .type), 0 ≤ i, 0 < st1[r1 -- _length] .intval, ps=(st[r -- i '] .refval, st, jvmref, st1), r -- i ' ∈ st, r -- i ' ∈ st2, is_referencevalue(st1[r1 -- i ']), ∀ rk. rk ∈ st → rk ∈ st2 ∧ st[rk] = st2[rk], ∀ i. ¬ i < 0 ∧ ¬ st1[r1 -- _length] .intval ≤ i ∧ ¬ is_referencevalue(st[r -- i ']) → st[r -- i '] = st1[r1 -- i '], ∀ i. ¬ i < 0 ∧ ¬ st1[r1 -- _length] .intval ≤ i ∧ is_referencevalue(st[r -- i ']) → ps=(st[r -- i '] .refval, st, st1[r1 -- i '] .refval, st1), ∀ st1, r1, st2, st0, r0, str0. maxpath(str0, r0, st0) < maxpath(str, r, st) → ( st0 ⊆ st2 ∧ ps=(r0, st0, r1, st1) → junkref(str0, r0, st0) ∨ cyclic(str0, r0, st0) ∨ junkref(str0, r1, st1) ∨ cyclic(str0, r1, st1) ∨ ps=(r0, st2, r1, st1)) ⊦ r1 = jvmref, r = jvmref, st[r -- i '] .refval = jvmref, cyclic(str, r1, st1), cyclic(str, r, st), junkref(str, st[r -- i '] .refval, st), is_reftype(st1[r1 -- _type] .type .type)
[[CONCRETESIMPRULES : ([CSIMPSEQ : ⊦ ¬ is_reftype(ty0) → (ty ≤ ty0 ↔ ty = ty0)])]]