| x0 = y + a ', ii(n1 + 1) = m0 + 1, ii(0) = 0, ii(2 + n1) = (m0 + 1) + # x0, (σ from m0 + 1) to # x0 = ⌜x0⌝ , lf(2 + n1) = a ' + x1, a ∈ lf(2 + n1), ∀ n. n ≠ 0 → ii(n) ≠ 0, ∀ m, n. m ≤ n → ii(m) ≤ ii(n), (finp(σ) ⊃ # σ = ⌜ii(n)⌝ ∧ (∀ m. n ≤ m → (m = 0 ⊃ lf(0);lf(m).rest) = [] ∧ ii(m) = ii(n));∀ n. ∃ m. ii(m) ≤ n ∧ n < ii(m + 1)) ⊦ σ[m0 + # x0] = a, x0 = [], # σ < ⌜m0⌝ + ⌜1⌝ + ⌜# x0⌝ |
lf(2 + n1) = a ' + x1, ii(n1 + 1) = m0 + 1, ii(0) = 0, ii(2 + n1) = 2 + m0 + # y, (σ from m0 + 1) to # y + 1 = ⌜y⌝ + ⌜a '⌝ , ∀ n. n ≠ 0 → ii(n) ≠ 0, ∀ m, n. m ≤ n → ii(m) ≤ ii(n), (finp(σ) ⊃ # σ = ⌜ii(n)⌝ ∧ (∀ m. n ≤ m → (m = 0 ⊃ lf(0);lf(m).rest) = [] ∧ ii(m) = ii(n));∀ n. ∃ m. ii(m) ≤ n ∧ n < ii(m + 1)) ⊦ σ[m0 + # y + 1] = a, # σ < ⌜2⌝ + ⌜m0⌝ + ⌜# y⌝
Used simplifier rules: in-rec: ⊦ a ∈ b ' + x ↔ ¬ ¬(a = b ∨ a ∈ x); from specification list%in-14: ⊦ a ' + x = y → a ∈ y; (forward) from specification list%add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf%add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf%num-add: ⊦ ⌜(* n)⌝ + ⌜(* m)⌝ = ⌜n + m⌝ ; from specification nat-inf%add-fin: ⊦ ⌜m + n⌝ = ⌜m⌝ + ⌜n⌝ ; from specification nat-inf%e-02: ⊦ x + a ' ≠ []; from specification list%append-finfin: ⊦ ⌜x + y⌝ = ⌜x⌝ + ⌜y⌝ ; from specification stream%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%a: ⊦ (x + y) + z = x + y + z; from specification list%len-02: ⊦ # a ' = 0 +1; from specification list%len: ⊦ #(x + y) = # x + # y; from specification list