| ts = ts0 + ts1 ∧ # ts0 = n0 ∧ n0 ≤ # ts, ts[n0] = m .. n, dups(ts0 + (m .. # r)' + restn(n0 + 1, ts)), n0 < # ts, ltrans(m, n, re.p, r), ∀ n0, n1. n0 .. n1 ∈ ts ↔ tr(n0, n1, r) ⊦ re = Begin(re.p), ts = [], dups(ts) |
(ts0 + ts1)[# ts0] = m .. n, ltrans(m, n, re.p, r), dups(ts0 + (m .. # r)' + restn(# ts0 + 1, ts0 + ts1)), ∀ n0, n1. n0 .. n1 ∈ ts0 ∨ n0 .. n1 ∈ ts1 ↔ tr(n0, n1, r) ⊦ re = Begin(re.p), ts0 + ts1 = [], ts1 = [], dups(ts0 + ts1), dups(ts0), dups(ts1)
Used simplifier rules: a: ⊦ ¬ dups(ts + ts0) → ¬ dups(ts) ∧ ¬ dups(ts0); (forward) from specification list-dup[translist]%in-append: ⊦ rg ∈ ts + ts0 ↔ ¬ ¬(rg ∈ ts ∨ rg ∈ ts0); from specification list[translist]%l: ⊦ # ts = 0 ↔ ts = []; from specification list-data[translist]%l-01: ⊦ m < m + n ↔ n ≠ 0; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%lep: ⊦ m ≤ m + n; from specification nat%a: ⊦ (ts + ts0) + ts1 = ts + ts0 + ts1; from specification list[translist]%len: ⊦ #(ts + ts0) = # ts + # ts0; from specification list[translist]