| r[n1] = Begin(re.p), r[n0].p = re.p, n1 < # r, n0 ≤ n2, n1 ≤ n0, ltrans(m, n, re.p, r), n2 < # r, n1 < n2, n0 < # r, n1 + 1 < # r, r[n2] = Abort(re.p) ∨ r[n2] = Commit(re.p), ∀ m0. n1 < m0 ∧ m0 < n2 → r[m0] ≠ Begin(re.p) ∧ r[m0] ≠ Abort(re.p) ∧ r[m0] ≠ Commit(re.p) ⊦ n2 = 0, r = [], n1 ≤ n2 ∧ n2 < #(r + re ') ∧ (r + re ')[n1] = Begin(re.p) ∧ (∀ m0. n1 < m0 ∧ m0 < n2 → (r + re ')[m0] ≠ Begin(re.p) ∧ (r + re ')[m0] ≠ Abort(re.p) ∧ (r + re ')[m0] ≠ Commit(re.p)) ∧ ( (r + re ')[n2] = Abort(re.p) ∨ (r + re ')[n2] = Commit(re.p) ∨ (r + re ')[n2].p = re.p ∧ (r + re ')[n2] ≠ Abort(re.p) ∧ (r + re ')[n2] ≠ Commit(re.p) ∧ (n1 ≠ n2 → (r + re ')[n2] ≠ Begin(re.p)) ∧ (∀ n0. n2 < n0 ∧ n0 < #(r + re ') → (r + re ')[n0].p ≠ re.p)), begin?(re) |
r[n1] = Begin(re.p), r[n0].p = re.p, n1 < # r, n0 ≤ n2, n1 ≤ n0, ltrans(m, n, re.p, r), n2 < # r, n1 < n2, n0 < # r, n1 + 1 < # r, r[n2] = Abort(re.p) ∨ r[n2] = Commit(re.p), ∀ m0. n1 < m0 ∧ m0 < n2 → r[m0] ≠ Begin(re.p) ∧ r[m0] ≠ Abort(re.p) ∧ r[m0] ≠ Commit(re.p) ⊦ n2 = 0, r = [], begin?(re), (n1 < m0 ∧ m0 < n2 → (r + re ')[m0] ≠ Begin(re.p) ∧ (r + re ')[m0] ≠ Abort(re.p) ∧ (r + re ')[m0] ≠ Commit(re.p)) ∧ ( r[n2] = Abort(re.p) ∨ r[n2] = Commit(re.p) ∨ r[n2].p = re.p ∧ (n1 ≠ n2 → r[n2] ≠ Begin(re.p)) ∧ (n2 < n3 ∧ ¬ # r < n3 → (r + re ')[n3].p ≠ re.p))
Used simplifier rules: get-append-less: ⊦ n < # r → (r + r0)[n] = r[n]; from specification list-del[run]%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%ls-02: ⊦ m < n → ¬ n < m; from specification nat-basic1%s: ⊦ m < n + 1 ↔ ¬ n < m; from specification nat-basic2%a: ⊦ (r + r0) + r1 = r + r0 + r1; from specification list[run]%len-02: ⊦ # re ' = 0 +1; from specification list[run]%len: ⊦ #(r + r0) = # r + # r0; from specification list[run]%lels-03: ⊦ m < n → m ≤ n; from specification nat