| n + n1 ≤ n2, n2 ≤ # x, n + n1 ≤ # x ⊦ firstn(n1, restn(n, firstn(n2, x))) = firstn(n1, restn(n, x)) |
⊦ m ≤ n ∧ n ≤ # x → restn(m, firstn(n, x)) = firstn(n - m, restn(m, x))
n + n1 ≤ # x, n + n1 ≤ n2, n ≤ n2, n2 ≤ # x ⊦ firstn(n1, firstn(n2 - n, restn(n, x))) = firstn(n1, restn(n, x))
Used simplifier rules: ⊦ m ≤ n ↔ ¬ n < m; (ss)%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic%fle-01: ⊦ m ≤ n ∧ n < n0 → m < n0; (forward) from specification nat% ⊦ 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 Used terms: x, n2, n