| (σ to m0) + ⌜σ[m0] '⌝ = ⌜y + a '⌝ , m0 + 1 = #(y + a '), ii(1) = m0 + 1, ii(0) = 0, lf(1) = a ' + x0, ⌜m0⌝ < # σ, a ∈ lf(1), (finp(σ) ⊃ # σ = ⌜ii(n)⌝ ∧ (∀ m. n ≤ m → (m = 0 ⊃ y + a ';lf(m).tail) = [] ∧ ii(m) = ii(n));∀ n. ∃ m. ii(m) ≤ n ∧ n < ii(m + 1)), ∀ n. lf(n).last = lf(n + 1).head ∧ lf(n) ≠ [], ∀ m, n. m ≤ n → ii(m) ≤ ii(n), ∀ n. ii(n + 1) = ii(n) + # (n = 0 ⊃ y + a ';lf(n).tail) ∧ ¬ # σ < ⌜ii(n + 1)⌝ ∧ (σ from ii(n)) to # (n = 0 ⊃ y + a ';lf(n).tail) = ⌜(n = 0 ⊃ y + a ';lf(n).tail)⌝ , ∀ n. n ≠ 0 → ii(n) ≠ 0 ⊦ y + a ' = [], σ[m0] = a, lf(1) = [] |
(σ to # y) + ⌜σ[# y] '⌝ = ⌜y⌝ + ⌜a '⌝ , ii(1) = # y + 1, ii(0) = 0, lf(1) = a ' + x0, ⌜# y⌝ < # σ, a ∈ lf(1), (finp(σ) ⊃ # σ = ⌜ii(n)⌝ ∧ (∀ m. n ≤ m → (m = 0 ⊃ y + a ';lf(m).tail) = [] ∧ ii(m) = ii(n));∀ n. ∃ m. ii(m) ≤ n ∧ n < ii(m + 1)), ∀ n. lf(n).last = lf(n + 1).head ∧ lf(n) ≠ [], ∀ m, n. m ≤ n → ii(m) ≤ ii(n), ∀ n. ii(n + 1) = ii(n) + # (n = 0 ⊃ y + a ';lf(n).tail) ∧ ¬ # σ < ⌜ii(n + 1)⌝ ∧ (σ from ii(n)) to # (n = 0 ⊃ y + a ';lf(n).tail) = ⌜(n = 0 ⊃ y + a ';lf(n).tail)⌝ , ∀ n. n ≠ 0 → ii(n) ≠ 0 ⊦ σ[# y] = a, lf(1) = []
Used simplifier rules: in-14: ⊦ a ' + x = y → a ∈ y; (forward) from specification list% ⊦ x + a ' ≠ []; (s)% ⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝ ; (s)%c: ⊦ m + n = n + m; from specification nat-basic%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic% ⊦ m + n = m + n0 ↔ n = n0; (s)%a: ⊦ (x + y) + z = x + y + z; from specification list% ⊦ # a ' = 0 +1; (s)% ⊦ #(x + y) = # x + # y; (s)