| n + m ≤ # x ⊦ firstn(m, restn(n, x) + y) = firstn(m, restn(n, x)) |
⊦ m ≤ # x → firstn(m, x + y) = firstn(m, x)
Used simplifier rules: rest-len: n ≤ # x ⊦ # restn(n, x) = # x - n;% ⊦ m ≤ n ↔ ¬ n < m; (ss)%fle-01: ⊦ m ≤ n ∧ n < n0 → m < n0; (forward) from specification nat%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic% ⊦ m < n → n ≠ 0; (s)% ⊦ ¬ m + n < m; (s)%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%c: ⊦ m + n = n + m; from specification nat-basic%n0 ≤ n ⊦ m ≤ n - n0 ↔ m + n0 ≤ n; (s)% ⊦ m ≤ n → (n < m ↔ false); (s) Used terms: y, restn(n, x), m