| ts0[n2 + 1] = m0 .. n0, ts0[n2] = m .. n, # ts0 = n2 + 2, (ts0 + ts1)[n2] = m .. n ∧ (ts0 + ts1)[n2 + 1] = m0 .. n0 → pos(m1 .. n1, firstn(n2, ts0 + ts1) + (m0 .. n0)' + (m .. n)' + ts1) = (m1 .. n1 = m .. n ⊃ n2 + 1;(m1 .. n1 = m0 .. n0 ⊃ n2;pos(m1 .. n1, ts0 + ts1))) ⊦ pos(m1 .. n1, firstn(n2, ts0) + (m0 .. n0)' + (m .. n)' + ts1) = (m1 .. n1 = m .. n ⊃ n2 + 1;(m1 .. n1 = m0 .. n0 ⊃ n2;pos(m1 .. n1, ts0 + ts1))), dups(ts1), dups(ts0), dups(ts0 + ts1) |
⊦ m ≤ # ts → firstn(m, ts + ts0) = firstn(m, ts)
n2 ≤ # ts0, ts0[n2 + 1] = m0 .. n0, ts0[n2] = m .. n, # ts0 = n2 + 2, (ts0 + ts1)[n2] = m .. n ∧ (ts0 + ts1)[n2 + 1] = m0 .. n0 → pos(m1 .. n1, firstn(n2, ts0) + (m0 .. n0)' + (m .. n)' + ts1) = (m1 .. n1 = m .. n ⊃ n2 + 1;(m1 .. n1 = m0 .. n0 ⊃ n2;pos(m1 .. n1, ts0 + ts1))) ⊦ pos(m1 .. n1, firstn(n2, ts0) + (m0 .. n0)' + (m .. n)' + ts1) = (m1 .. n1 = m .. n ⊃ n2 + 1;(m1 .. n1 = m0 .. n0 ⊃ n2;pos(m1 .. n1, ts0 + ts1))), dups(ts1), dups(ts0), dups(ts0 + ts1)
Used simplifier rules: lels-01: ⊦ ¬ m ≤ n ↔ n < m; from specification nat%lf-02: ⊦ m < n ∧ m = n0 → n0 < n; (forward) from specification nat-basic1%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic1%l-02: ⊦ ¬ m + n < m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2 Used terms: ts1, ts0, n2