| INV(cs, r, ts), GINV(cs), ltrans(m, n, p, r), ltrans(m0, n0, p0, r), even(cs.loc(p)), cs.loc(p) = cs.loc(p0), even(cs.loc(p0)), n1 + 1 < # ts, pos(m .. n, ts) = n1, pos(m0 .. n0, ts) = n1 + 1 ⊦ INV(cs, r, firstn(n1, ts) + ((m0 .. n0) + (m .. n) + restn(n1 + 2, ts))) |
pos(m0 .. n0, ts) = pos(m .. n, ts) + 1, cs.loc(p) = cs.loc(p0), pos(m0 .. n0, ts) < # ts, even(cs.loc(p0)), ltrans(m0, n0, p0, r), ltrans(m, n, p, r), GINV(cs), INV(cs, r, ts) ⊦ ts = [], INV(cs, r, firstn(pos(m .. n, ts), ts) + (m0 .. n0)' + (m .. n)' + restn(pos(m .. n, ts) + 2, ts))
Used simplifier rules: l: ⊦ # ts = 0 ↔ ts = []; from specification list-data[translist]%lf-02: ⊦ m < n ∧ m = n0 → n0 < n; (forward) from specification nat-basic1%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic1%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%c: ⊦ rg + ts = rg ' + ts; from specification list[translist]