| n < #(a + x0), ∀ n. n < # x0 → x0[n] ' + (x0 from n + 1) = x0 from n ∨ x0 = [] ⊦ a + x0 = [], (a + x0)[n] ' + (a + x0 from n + 1) = a + x0 from n |
n ≤ # x0, ∀ n. n < # x0 → x0[n] ' + (x0 from n + 1) = x0 from n ∨ x0 = [] ⊦ (a ' + x0)[n] ' + (x0 from n) = a ' + x0 from n
Used simplifier rules: from-succ-cons-l-lem: ⊦ a ' + x from n + 1 = x from n;% ⊦ m < n ↔ ¬ n ≤ m; (ss)% ⊦ m < n + 1 ↔ ¬ n < m; (s)% ⊦ # a ' = 0 +1; (s)% ⊦ #(x + y) = # x + # y; (s)% ⊦ a ' + x ≠ []; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ a + x = a ' + x; (s)