| # y = m + 1, x = y + z, m < # x, m + 1 ≤ # x ⊦ y.butlast = firstn(m, x), x = [] |
# y = m + 1 ⊦ y + z = [], y.butlast = firstn(m, y + z)
Used simplifier rules: ⊦ m ≤ m + n; (s)% ⊦ m + n ≤ m + n0 ↔ n ≤ n0; (s)% ⊦ ¬ m + n < m; (s)% ⊦ m < n + 1 ↔ ¬ n < m; (s)% ⊦ m + 1 ≠ 0; (s)%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic%eqle-one: ⊦ m = n + 1 ∧ n < n0 → m ≤ n0; (forward) from specification nat%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ m + 1 ≤ n ↔ m < n; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ #(x + y) = # x + # y; (s)