| ⊦ (σ to∞ n∞) + σ0 to∞ n∞1 + n∞ = (σ to∞ n∞) + (σ0 to∞ n∞1), # σ < n∞, # σ0 < n∞1 |
n∞ = ⌜m⌝ ⊦ (σ to∞ n∞) + σ0 to∞ n∞1 + n∞ = (σ to∞ n∞) + (σ0 to∞ n∞1), # σ0 < n∞1, # σ < n∞
Used simplifier rules: toinf-inf: ⊦ σ to∞ ∞ = σ;%append-toinf-ls: ⊦ ¬ # σ < n∞ → σ + σ0 to∞ n∞ = σ to∞ n∞;%append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2;%append-cancel-l-02: ⊦ σ0 + σ = σ0 ↔ σ = [] ∨ ¬ finp(σ0);%toinf-empty2: ⊦ ¬ # σ < n∞ → (σ to∞ n∞ = [] ↔ n∞ = ⌜0⌝ );%size-fin: ⊦ # ⌜x⌝ = ⌜# x⌝ ;%natinf freely generated by ∞, ⌜ ⌝;;% ⊦ n∞ + ∞ = ∞; (s)%add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf%add-comm: ⊦ n∞1 + n∞2 = n∞2 + n∞1; from specification nat-inf% ⊦ n∞ < ∞ ↔ n∞ ≠ ∞; (s)%stream-fin-forward: ⊦ finp(σ) → (∃ x. ⌜x⌝ = σ); (forward) from specification stream-basic% ⊦ ⌜m⌝ ≠ ∞; (s)