| ⌜al1⌝ ^ = ⌜a '⌝ ^, ⌜al⌝ = ⌜al0⌝ ^, #(⌜csl0.last '⌝ + ⌜csl1⌝ ) = # ⌜al1⌝ + ⌜1⌝ ∧ (∀ n. ⌜n⌝ < # ⌜al1⌝ → cstepf((⌜csl0.last '⌝ + ⌜csl1⌝ )[n], ⌜al1⌝ [n], (⌜csl0.last '⌝ + ⌜csl1⌝ )[n +1])), cstartf(csl0[0]), cfrag(CIOAut(cstartf, cstepf))(⌜csl0⌝ , ⌜al0⌝ ), ∀ α9. ctrace(CIOAut(cstartf, cstepf))(α9) ∧ finp(α9) → atrace(AIOAut(astartf, astepf))(α9) ⊦ 1 + # al1 + # al0 = # csl1 + # csl0 ∧ (n < # al1 + # al0 → cstepf((csl0 + csl1)[n], (al0 + al1)[n], (csl0 + csl1)[n + 1])) |
# csl1 = # al1, ⌜al⌝ = ⌜al0⌝ ^, ⌜al1⌝ ^ = ⌜a '⌝ ^, cfrag(CIOAut(cstartf, cstepf))(⌜csl0⌝ , ⌜al0⌝ ), cstartf(csl0[0]), n < # al1 + # al0, ∀ n0. n0 < # al1 → cstepf((csl0.last ' + csl1)[n0], al1[n0], csl1[n0]), ∀ α9. ctrace(CIOAut(cstartf, cstepf))(α9) ∧ finp(α9) → atrace(AIOAut(astartf, astepf))(α9) ⊦ # al1 + # al0 = 0, cstepf((csl0 + csl1)[n], (al0 + al1)[n], (csl0 + csl1)[n + 1])
Used simplifier rules: f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic1%fragfin-size: ⊦ cfrag(CIOAut(cstartf, cstepf))(⌜csl⌝ , ⌜al⌝ ) → (# csl ≠ # al + 1 ↔ false); from specification IOtrace[histC]%eq-01: ⊦ m + n = m + n0 ↔ n = n0; from specification nat-basic2%c: ⊦ m + n = n + m; from specification nat-basic2%a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic2%sel-fin: ⊦ ⌜csl⌝ [n] = csl[n]; from specification stream[histC-IOstatestream]%get-cons-succ: ⊦ (⌜cs '⌝ + cσ)[n + 1] = cσ[n]; from specification stream[histC-IOstatestream]%succ: ⊦ m +1 = m + 1; from specification nat-basic2%sel-fin: ⊦ ⌜al⌝ [n] = al[n]; from specification stream[actionstream]%get-append2-fin: ⊦ (⌜csl⌝ + ⌜csl0⌝ )[m] = (csl + csl0)[m]; from specification stream[histC-IOstatestream]%less-fin: ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; from specification nat-inf%inj: ⊦ ⌜m⌝ = ⌜m0⌝ ↔ m = m0; from specification nat-inf-basic%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%add-all-zero: ⊦ n∞ + ⌜0⌝ = n∞; from specification nat-inf%add-cancel-num-03: ⊦ m ≤ n → (⌜(* n)⌝ + n∞1 = ⌜(* m)⌝ + n∞2 ↔ ⌜n - m⌝ + n∞1 = n∞2); from specification nat-inf%size-fin: ⊦ # ⌜al⌝ = ⌜# al⌝ ; from specification stream[actionstream]%append-assoc: ⊦ (cσ + cσ0) + cσ1 = cσ + cσ0 + cσ1; from specification stream[histC-IOstatestream]%len-02: ⊦ # cs ' = 0 +1; from specification list[histC-IOstatestream]%size-fin: ⊦ # ⌜csl⌝ = ⌜# csl⌝ ; from specification stream[histC-IOstatestream]%size-append: ⊦ #(cσ + cσ0) = # cσ + # cσ0; from specification stream[histC-IOstatestream]