| n1 = m + 1, n1 + m0 < # x, n0 < n1, ∀ n1, m0, x. n1 + m0 < # x ∧ n0 ≤ n1 → x = [] ∨ firstn(n0, restn(m0, x).rest) ⊑ firstn(n1, restn(m0, x).rest) ⊦ x = [], n1 = 0, firstn(n0, restn(m0, x).rest.rest) ⊑ firstn(m, restn(m0, x).rest.rest) |
(m + 1) + m0 < # x, n0 ≤ m, ∀ n1, m0, x. n1 + m0 < # x ∧ n0 ≤ n1 → x = [] ∨ firstn(n0, restn(m0, x).rest) ⊑ firstn(n1, restn(m0, x).rest) ⊦ x = [], firstn(n0, restn(m0, x).rest.rest) ⊑ firstn(m, restn(m0, x).rest.rest)
Used simplifier rules: lels: ⊦ ¬ m < n ↔ n ≤ m; from specification nat%s: ⊦ m < n + 1 ↔ ¬ n < m; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%oz: ⊦ m + 1 ≠ 0; from specification nat-basic2