| n0 + n1 = n, n ≤ # x ⊦ prefixn(n, x) = prefixn(n0, x) + sublist(n0, n1, x) |
⊦ prefixn(n, x) = (n ≤ # x ⊃ firstn(n, x);x)
n0 + n1 ≤ # x ⊦ firstn(n0 + n1, x) = firstn(n0, x) + sublist(n0, n1, x)
Used simplifier rules: prefixn: ⊦ prefixn(n, x) = (n ≤ # x ⊃ firstn(n, x);x);%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ ¬ m + n < m; (s)% ⊦ m < n → n ≠ 0; (s)%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 < m; (ss)