| n + n1 ≤ # x, n ≤ # x, n0 + n ≤ # x, n1 ≤ n0 ⊦ firstn(n1, firstn(n0, restn(n, x))) = firstn(n1, restn(n, x)) |
⊦ m ≤ n ∧ n ≤ # x → firstn(m, firstn(n, x)) = firstn(m, x)
Used simplifier rules: rest-len: n ≤ # x ⊦ # restn(n, x) = # x - n;% ⊦ m ≤ n ↔ ¬ n < m; (ss)% ⊦ m ≤ n → (n < m ↔ false); (s)%n0 ≤ n ⊦ m ≤ n - n0 ↔ m + n0 ≤ n; (s) Used terms: restn(n, x), n0, n1