| ¬ m1 .. n1 ∈ ts0, ts0[n3] = m1 .. n1, n3 ≤ # ts0 + 1 + # ts1, n3 < # ts0 ⊦ n3 = pos(m1 .. n1, ts0 + (m .. n)' + (m0 .. n0)' + ts1), ts0 = [], m1 .. n1 = m0 .. n0, m1 .. n1 = m .. n, dups(ts0), ∃ m2, n2. ¬ # ts0 + 1 + # ts1 < m2 ∧ ¬ # ts0 + 1 + # ts1 < n2 ∧ m2 ≠ n2 ∧ (ts0 + (m .. n)' + (m0 .. n0)' + ts1)[m2] = (ts0 + (m .. n)' + (m0 .. n0)' + ts1)[n2] |
ts0[n3] = m1 .. n1, n3 ≤ # ts0 + 1 + # ts1, n3 < # ts0 ⊦ ts0 = [], m1 .. n1 = m0 .. n0, m1 .. n1 = m .. n, n3 = (2 + pos(m1 .. n1, ts1)) + # ts0, dups(ts0), m1 .. n1 ∈ ts0, ∃ m2, n2. ¬ # ts0 + 1 + # ts1 < m2 ∧ ¬ # ts0 + 1 + # ts1 < n2 ∧ m2 ≠ n2 ∧ (ts0 + (m .. n)' + (m0 .. n0)' + ts1)[m2] = (ts0 + (m .. n)' + (m0 .. n0)' + ts1)[n2]
Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%pos-n: ⊦ rg ≠ rg0 → pos(rg, rg0 ' + ts) = pos(rg, ts) + 1; from specification list-del[translist]%app-05-neg: ⊦ ¬ rg ∈ ts → pos(rg, ts + ts0) = pos(rg, ts0) + # ts; from specification list-del[translist]