| n0 + m ≤ # x, m ≤ # x ⊦ restn(m, firstn(n0 + m, x)) = firstn(n0, restn(m, x)) |
∀ n0, x. n0 + m0 ≤ # x ∧ m0 ≤ # x → restn(m0, firstn(n0 + m0, x)) = firstn(n0, restn(m0, x)), n0 + m0 +1 ≤ # x, m0 +1 ≤ # x ⊦ restn(m0 +1, firstn(n0 + m0 +1, x)) = firstn(n0, restn(m0 +1, x))
Used simplifier rules: restN-zero: ⊦ restn(0, x) = x;%nat freely generated by 0, +1;;%add-base: ⊦ n + 0 = n; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2