| ts[n] = m .. n1, m0 .. n0 ∈ ts, n < # ts ⊦ ts = [], # ts + pos(m0 .. n0, (m .. n1)') = 1 + (m0 .. n0 = m .. n1 ⊃ # ts - 1;pos(m0 .. n0, ts) - (n < pos(m0 .. n0, ts) ⊃ 1;0)), dups(ts), m0 .. n0 ∈ firstn(n, ts), m0 .. n0 ∈ restn(n + 1, ts) |
⊦ ¬ rg ∈ ts → pos(rg, ts) = # ts
¬ m0 .. n0 ∈ (m .. n1)', ts[n] = m .. n1, m0 .. n0 ∈ ts, n < # ts ⊦ ts = [], # ts + # (m .. n1)' = 1 + (m0 .. n0 = m .. n1 ⊃ # ts - 1;pos(m0 .. n0, ts) - (n < pos(m0 .. n0, ts) ⊃ 1;0)), dups(ts), m0 .. n0 ∈ firstn(n, ts), m0 .. n0 ∈ restn(n + 1, ts)
Used simplifier rules: in-17: ⊦ rg ∈ rg0 ' ↔ rg = rg0; from specification list[translist]%inj: ⊦ m .. m0 = m1 .. m2 ↔ m = m1 ∧ m0 = m2; from specification range%lels-01: ⊦ ¬ m ≤ n ↔ n < m; from specification nat%one-01: ⊦ m < 1 ↔ m = 0; from specification nat-basic1%l: ⊦ # ts = 0 ↔ ts = []; from specification list-data[translist]%eq-02: n ≤ m ⊦ (m - n) + n0 = n1 ↔ m + n0 = n + n1; from specification nat%eq-01: ⊦ m + n = m + n0 ↔ n = n0; from specification nat-basic2%one: ⊦ m + n = 1 ↔ m = 0 ∧ n = 1 ∨ n = 0 ∧ m = 1; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%pos-one: ⊦ pos(rg, rg ') = 0; from specification list-del[translist] Used terms: (m .. n1)', m0 .. n0