| ¬ n1 + m < # x, m < # x, 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)) ⊦ n1 = 0, x = [], x[m] ' + restn((m + 1 < # x ⊃ m + 1;# x), firstn((n1 + m < # x ⊃ (n1 + m) + 1;# x), x)) = firstn((n1 + m < # x ⊃ (n1 + m) + 1;# x), x)[m] ' + restn(m + 1, firstn((n1 + m < # x ⊃ (n1 + m) + 1;# x), x)), (n1 + m < # x ⊃ (n1 + m) + 1;# x) = 0 |
# x ≤ n1 + m, 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)) ⊦ restn((m + 1 < # x ⊃ m + 1;# x), x) = restn(m + 1, x), x = [], n1 = 0
Used simplifier rules: c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%l-01: ⊦ m < m + n ↔ n ≠ 0; from specification nat-basic2%fle: ⊦ m < n ∧ n ≤ n0 → m < n0; (forward) from specification nat%lels: ⊦ ¬ m < n ↔ n ≤ m; from specification nat%l: ⊦ # x = 0 ↔ x = []; from specification list-data%a: ⊦ (x + y) + z = x + y + z; from specification list%app-08: ⊦ a ' + x = a ' + y ↔ x = y; from specification list%first-all: ⊦ firstn(# x, x) = x; from specification list-del