| ∀ n0, m1, x. n0 - m1 < n1 → m1 ≤ n0 → x[m1 .. n0] = restn((m1 < # x ⊃ m1;# x), firstn((n0 < # x ⊃ n0 + 1;# x), x)) ⊦ (m < # x ⊃ x[m] ' + x[m + 1 .. n1 + m];[]) = restn((m < # x ⊃ m;# x), firstn((n1 + m < # x ⊃ (n1 + m) + 1;# x), x)), n1 = 0 |
m < # x, ∀ n0, m1, x. n0 - m1 < n1 → m1 ≤ n0 → x[m1 .. n0] = restn((m1 < # x ⊃ m1;# x), firstn((n0 < # x ⊃ n0 + 1;# x), x)) ⊦ x[m] ' + x[m + 1 .. n1 + m] = restn((m < # x ⊃ m;# x), firstn((n1 + m < # x ⊃ (n1 + m) + 1;# x), x)), n1 = 0
Used simplifier rules: nls-fst: ⊦ ¬ m < n → ¬ m + m0 < n; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%first-all: ⊦ firstn(# x, x) = x; from specification list-del%restN-all: ⊦ restn(# x, x) = []; from specification list-del