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