[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 130 from proof R2evencommit-preserves-inv-aux (previous step)

ts.last = m2 .. n1, pcf(p) = R2, ts[n0] = m .. n, ts[n0 - 1] = m0 .. m1, n0 + 1 = # ts, odd(locf(p1)), ltrans(m2, n1, p1, r), opaque+(r, ts, mem), even(locf(p)), wf(r), livenonidle(mkcs(locf(p), mem, pcf, locf, lf, vf), r), ltrans(m, n, p, r), GINV(mkcs(locf(p), mem, pcf, locf, lf, vf)), abortnowrites(r, ts), curlocnofinishedafter(mkcs(locf(p), mem, pcf, locf, lf, vf), r, ts), evenlocnowrite(mkcs(locf(p), mem, pcf, locf, lf, vf), r, ts), oddlocatend(mkcs(locf(p), mem, pcf, locf, lf, vf), r, ts), livesortedloc(mkcs(locf(p), mem, pcf, locf, lf, vf), r, ts), n0 ≠ 0 → ¬ ltr(m0, m1, r) ∨ ltrans(m0, m1, p0, r) ∧ locf(p0) < locf(p), ∀ n0, n1. n0 .. n1 ∈ ts ↔ tr(n0, n1, r) ⊦ ts = [], p = p1, m .. # r = m2 .. n1, dups(ts)

User applied rule insert elim lemma

And closed the goal!

Rule argument

spec: list-last inst: translist name: last-elim seq: ts ≠ [] ⊦ rg = ts.last ∧ ts0 = ts.butlast ↔ ts = ts0 + rg ' subst: [ts, rg, ts0] → [ts, rg, ts0] flags: []

Additional information

Used simplifier rules: len: ⊦ #(ts + ts0) = # ts + # ts0; from specification list[translist]%len-02: ⊦ # rg ' = 0 +1; from specification list[translist]%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%eq-01: ⊦ m + n = m + n0 ↔ n = n0; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%get-last: ⊦ n = # ts → (ts + rg ')[n] = rg; from specification list-del[translist]%inj: ⊦ m .. m0 = m1 .. m2 ↔ m = m1 ∧ m0 = m2; from specification range%e-02: ⊦ ts + rg ' ≠ []; from specification list[translist]%f: ⊦ dups(ts + rg ') ↔ rg ∈ ts ∨ dups(ts); from specification list-dup[translist]%in-append: ⊦ rg ∈ ts + ts0 ↔ ¬ ¬(rg ∈ ts ∨ rg ∈ ts0); from specification list[translist]%in-17: ⊦ rg ∈ rg0 ' ↔ rg = rg0; from specification list[translist]%ltrans-samerange: ⊦ ltrans(m, n, p, r) → (ltrans(m, n, p0, r) ↔ p0 = p); from specification transaction%ts ≠ [] ⊦ rg = ts.last ∧ ts0 = ts.butlast ↔ ts = ts0 + rg '; (elim) Used terms: ts, rg, ts0