| x = a + y, n0 + 1 < # x, ∀ x. n0 < # x → x[n0, x[n0]] = x ∨ x = [] ⊦ x[n0 + 1, y[n0]] = x, x = [] |
n0 < # y, ∀ x. n0 < # x → x[n0, x[n0]] = x ∨ x = [] ⊦ y[n0, y[n0]] = y, y = []
Used simplifier rules: put-succ: ⊦ (b ' + x)[n + 1, a] = b + x[n, a];% ⊦ # x = 0 ↔ x = []; (s)%f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic% ⊦ m + n < m + n0 ↔ n < n0; (s)% ⊦ # a ' = 0 +1; (s)% ⊦ #(x + y) = # x + # y; (s)% ⊦ x + y = x + z ↔ y = z; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ a ' + x ≠ []; (s)% ⊦ a + x = a ' + x; (s)