| # ax0 = # kx1 + # kx + 1, range ri ∩ ax0.toSet = ∅, ri-inj(ri), key0 ∈ ri[kx1 + key0 ' + kx, ax0], ∃ ax2, ax1. ax0 = ax2 + ax1 ∧ # ax2 = # kx1, ∀ kx2, ax, ri, key, key2. # kx2 < #((kx1 + key0 ' + kx) + key1 ') → # ax = # kx2 ∧ ri[kx2, ax][key] = ri[kx2, ax][key2] ∧ ax.toSet ∩ range ri = ∅ ∧ ri-inj(ri) ∧ key ∈ ri[kx2, ax] ∧ key2 ∈ ri[kx2, ax] → key = key2 ∨ dups(ax) ∨ key ∈ ri ∧ key2 ∈ ri ∧ ri[key] = ri[key2] ⊦ key1 = key0, dups(ax0), ax0[# kx1] ∈ ax0, ax0[# kx1] ∈ ri, key0 ∈ kx, key1 ∈ ri ∧ key0 ∈ ri ∧ ri[key1] = ri[key0] |
# ax1 = # kx1, # ax = # kx + 1, range ri ∩ ax.toSet = ∅, range ri ∩ ax1.toSet = ∅, ri-inj(ri), key0 ∈ ri[kx1, ax1][key0 ' + kx, ax], ∀ kx2, ax, ri, key, key2. # kx2 < #((kx1 + key0 ' + kx) + key1 ') → # ax = # kx2 ∧ ri[kx2, ax][key] = ri[kx2, ax][key2] ∧ ax.toSet ∩ range ri = ∅ ∧ ri-inj(ri) ∧ key ∈ ri[kx2, ax] ∧ key2 ∈ ri[kx2, ax] → key = key2 ∨ dups(ax) ∨ key ∈ ri ∧ key2 ∈ ri ∧ ri[key] = ri[key2] ⊦ key1 = key0, dups(ax), dups(ax1), dups(ax1 + ax), (ax1 + ax)[# kx1] ∈ ax, (ax1 + ax)[# kx1] ∈ ax1, (ax1 + ax)[# kx1] ∈ ri, key0 ∈ kx, key1 ∈ ri ∧ key0 ∈ ri ∧ ri[key1] = ri[key0]
Used simplifier rules: # kx0 = # ax0, # kx1 = # ax1 ⊦ ri[kx0 + kx1, ax0 + ax1] = ri[kx0, ax0][kx1, ax1]; (s)%a: ⊦ (kx + kx0) + kx1 = kx + kx0 + kx1; from specification list[key-list-set]% ⊦ m +1 = m + 1; (s)% ⊦ #(key ' + kx) = (# kx)+1; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ m + n = m + n0 ↔ n = n0; (s)%a: ⊦ ¬ dups(ax + ax0) → ¬ dups(ax) ∧ ¬ dups(ax0); (forward) from specification list-dup[address-list-set]% ⊦ adr ∈ ax + ax0 ↔ adr ∈ ax ∨ adr ∈ ax0; (s)% ⊦ #(ax + ax0) = # ax + # ax0; (s)%int-c: ⊦ as ∩ as0 = as0 ∩ as; from specification set-union[node-store]%int-a: ⊦ (as ∩ as0) ∩ as1 = as ∩ as0 ∩ as1; from specification set-union[node-store]%unc: ⊦ as ∪ as0 = as0 ∪ as; from specification set-union[node-store]%una: ⊦ (as ∪ as0) ∪ as1 = as ∪ as0 ∪ as1; from specification set-union[node-store]% ⊦ as ∩ (as0 ∪ as1) = ∅ ↔ as ∩ as0 = ∅ ∧ as ∩ as1 = ∅; (ws)%a: ⊦ (ax + ax0) + ax1 = ax + ax0 + ax1; from specification list[address-list-set]% ⊦ (ax + ax0).toSet = ax.toSet ∪ ax0.toSet; (s)