| r[n0].p = re.p, r[n1] = Begin(re.p), r[n2].p = re.p, n1 < # r, n0 ≤ n2, n1 ≤ n0, n1 ≤ n2, n2 < # r, n0 < # r, ∀ n. n1 < n ∧ n ≤ n2 → r[n] ≠ Begin(re.p) ∧ r[n] ≠ Commit(re.p) ∧ r[n] ≠ Abort(re.p), ∀ n. n2 < n ∧ n < # r → r[n].p ≠ re.p ⊦ r = [], begin?(re), n1 ≤ # r ∧ # r < #(r + re ') ∧ (r + re ')[n1] = Begin(re.p) ∧ (∀ m0. n1 < m0 ∧ m0 < # r → (r + re ')[m0] ≠ Begin(re.p) ∧ (r + re ')[m0] ≠ Abort(re.p) ∧ (r + re ')[m0] ≠ Commit(re.p)) ∧ ( (r + re ')[# r] = Abort(re.p) ∨ (r + re ')[# r] = Commit(re.p) ∨ (r + re ')[# r].p = re.p ∧ (r + re ')[# r] ≠ Abort(re.p) ∧ (r + re ')[# r] ≠ Commit(re.p) ∧ (n1 ≠ # r → (r + re ')[# r] ≠ Begin(re.p)) ∧ (∀ n0. # r < n0 ∧ n0 < #(r + re ') → (r + re ')[n0].p ≠ re.p)) |
r[n0].p = re.p, r[n1] = Begin(re.p), r[n2].p = re.p, n1 < # r, n0 ≤ n2, n1 ≤ n0, n1 ≤ n2, n2 < # r, n0 < # r, ∀ n. n1 < n ∧ n ≤ n2 → r[n] ≠ Begin(re.p) ∧ r[n] ≠ Commit(re.p) ∧ r[n] ≠ Abort(re.p), ∀ n. n2 < n ∧ n < # r → r[n].p ≠ re.p ⊦ r = [], begin?(re), (n1 < m ∧ m < # r → r[m] ≠ Begin(re.p) ∧ r[m] ≠ Abort(re.p) ∧ r[m] ≠ Commit(re.p)) ∧ (re = Abort(re.p) ∨ re = Commit(re.p) ∨ (n1 ≠ # r → re ≠ Begin(re.p)))
Used simplifier rules: get-last-03: ⊦ (r + re ')[# r] = re; from specification list-del[run]%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%ref-1: ⊦ ¬ n < n; 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