[Imprint][Data Privacy Statement][E-Mail]



View long theorem info. View the proof. Back to main index. View the specification. View theorem base summary, View theorem base listing, the used properties by spec, the dependency list, the symbol table,

Proof step 1 from proof lim-unique (conclusion) (back to tree)

mon(σσ), σσ ≠ [], ∀ n. ⌜n⌝ < # σσ → σσ[n] ⊑ σ, ∀ n. ⌜n⌝ < # σσ → σσ[n] ⊑ σ0, ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ σ to m ⊑ σσ[n]), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ σ0 to m ⊑ σσ[n]) ⊦ σ = σ0

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof lim-unique (previous step) (back to tree)

σ ≠ σ0, σσ ≠ [], mon(σσ), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ σ0 to m ⊑ σσ[n]), ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ σ to m ⊑ σσ[n]), ∀ n. ⌜n⌝ < # σσ → σσ[n] ⊑ σ0, ∀ n. ⌜n⌝ < # σσ → σσ[n] ⊑ σ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: prefix-def: ⊦ σ ⊑ σ0 ↔ (∃ σ1. σ + σ1 = σ0);

Proof step 3 from proof lim-unique (previous step) (back to tree)

σ ≠ σ0, σσ ≠ [], mon(σσ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:extensionality-to, seq:⊦ σ0 = σ1 ↔ # σ0 = # σ1 ∧ (∀ n. ¬ # σ0 < ⌜n⌝ → σ0 to n = σ1 to n), subst:[σ1, σ0] → [σ0, σ], <all paths>

Additional information

Used terms: σ0, σ

Proof step 4 from proof lim-unique (previous step) (back to tree)

⊦ σ0 = σ1 ↔ # σ0 = # σ1 ∧ (∀ n. ¬ # σ0 < ⌜n⌝ → σ0 to n = σ1 to n)

A spec-lemma

Proof step 5 from proof lim-unique (previous step) (back to tree)

σσ ≠ [], mon(σσ), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), # σ ≠ # σ0 ∨ (∃ n. ¬(¬ # σ < ⌜n⌝ → σ to n = σ0 to n)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 6 from proof lim-unique (previous step) (back to tree)

σσ ≠ [], mon(σσ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), # σ ≠ # σ0 ∨ ¬(¬ # σ < ⌜n⌝ → σ to n = σ0 to n) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: # σ = # σ0

Additional information

Used formulas: # σ = # σ0

Proof step 7 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, σσ ≠ [], mon(σσ), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), # σ ≠ # σ0 ∨ ¬(¬ # σ < ⌜n⌝ → σ to n = σ0 to n) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 8 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, σ to n ≠ σ0 to n, σσ ≠ [], mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 8 terms: n abort: F discard: T computed: T

Additional information

Used terms: n

Proof step 9 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, σ to n ≠ σ0 to n, σσ ≠ [], mon(σσ), ¬ # σ0 < ⌜n⌝ , ¬ # σ0 < ⌜n⌝ → (∃ n0. ⌜n0⌝ < # σσ ∧ (∃ σ1. (σ to n) + σ1 = σσ[n0])), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 10 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, (σ to n) + σ1 = σσ[n0], σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 10 terms: n abort: F discard: T computed: T

Additional information

Used terms: n

Proof step 11 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, (σ to n) + σ1 = σσ[n0], σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ¬ # σ0 < ⌜n⌝ → (∃ n0. ⌜n0⌝ < # σσ ∧ (∃ σ1. (σ0 to n) + σ1 = σσ[n0])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 12 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, (σ to n) + σ1 = σσ[n0], (σ0 to n) + σ2 = σσ[n1], σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:mon-lem, seq:mon(σσ), m ≤ n, ⌜n⌝ < # σσ ⊦ σσ[m] ⊑ σσ[n], subst:[σσ, m, n] → [σσ, n0, n1]

Additional information

Used terms: σσ, n0, n1

Proof step 13 from proof lim-unique (previous step) (back to tree)

mon(σσ), m ≤ n, ⌜n⌝ < # σσ ⊦ σσ[m] ⊑ σσ[n]

Lemma mon-lem

Proof step 14 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, (σ0 to n) + σ2 = σσ[n1], (σ to n) + σ1 = σσ[n0], σ to n ≠ σ0 to n, σσ ≠ [], ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ¬ n0 ≤ n1, ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic ⊦ m ≤ n ↔ ¬ n < m; (ss)

Proof step 15 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, (σ to n) + σ1 = σσ[n0], (σ0 to n) + σ2 = σσ[n1], n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, n1 < n0, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:mon-lem, seq:mon(σσ), m ≤ n, ⌜n⌝ < # σσ ⊦ σσ[m] ⊑ σσ[n], subst:[σσ, m, n] → [σσ, n1, n0]

Additional information

Used simplifier rules: ⊦ m ≤ n ↔ ¬ n < m; (ss) ⊦ m < n → ¬ n < m; (s) Used terms: σσ, n1, n0

Proof step 16 from proof lim-unique (previous step) (back to tree)

mon(σσ), m ≤ n, ⌜n⌝ < # σσ ⊦ σσ[m] ⊑ σσ[n]

Lemma mon-lem

Proof step 17 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, (σ0 to n) + σ2 = σσ[n1], (σ to n) + σ1 = σσ[n0], n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], n1 < n0, ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), σσ[n1] ⊑ σσ[n0], ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: prefix-def: ⊦ σ ⊑ σ0 ↔ (∃ σ1. σ + σ1 = σ0);

Proof step 18 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, (σ to n) + σ1 = σσ[n0], (σ0 to n) + σ2 = σσ[n1], σσ[n1] + σ3 = σσ[n0], n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, n1 < n0, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 3, flags: rotate, discard

Additional information

Proof step 19 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, ((σ0 to n) + σ2) + σ3 = σσ[n0], (σ to n) + σ1 = σσ[n0], n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], n1 < n0, ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 3, flags: rotate, discard

Additional information

Proof step 20 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, ((σ0 to n) + σ2) + σ3 = (σ to n) + σ1, n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, n1 < n0, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:extensionality-to, seq:⊦ σ0 = σ1 ↔ # σ0 = # σ1 ∧ (∀ n. ¬ # σ0 < ⌜n⌝ → σ0 to n = σ1 to n), subst:[σ1, σ0] → [(σ to n) + σ1, ((σ0 to n) + σ2) + σ3], <all paths>

Additional information

Used terms: (σ to n) + σ1, ((σ0 to n) + σ2) + σ3

Proof step 21 from proof lim-unique (previous step) (back to tree)

⊦ σ0 = σ1 ↔ # σ0 = # σ1 ∧ (∀ n. ¬ # σ0 < ⌜n⌝ → σ0 to n = σ1 to n)

A spec-lemma

Proof step 22 from proof lim-unique (previous step) (back to tree)

#(((σ0 to n) + σ2) + σ3) = #((σ to n) + σ1), # σ = # σ0, n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], n1 < n0, ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n0. ¬ #(((σ0 to n) + σ2) + σ3) < ⌜n0⌝ → ((σ0 to n) + σ2) + σ3 to n0 = (σ to n) + σ1 to n0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ #(σ + σ1) = # σ + # σ1; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) 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 ⊦ ⌜n⌝ + n∞1 = ⌜n⌝ + n∞2 ↔ n∞1 = n∞2; (s)

Proof step 23 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ2 + # σ3 = # σ1, n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, n1 < n0, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n2. ¬ ⌜n⌝ + # σ1 < ⌜n2⌝ → ((σ0 to n) + σ2) + σ3 to n2 = (σ to n) + σ1 to n2 ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 13 terms: n abort: F discard: T computed: F

Additional information

Used terms: n

Proof step 24 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ2 + # σ3 = # σ1, n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], n1 < n0, ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ¬ ⌜n⌝ + # σ1 < ⌜n⌝ → ((σ0 to n) + σ2) + σ3 to n = (σ to n) + σ1 to n, ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: 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 ⊦ ¬ n∞ + n∞1 < n∞1; (s)

Proof step 25 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ2 + # σ3 = # σ1, ((σ0 to n) + σ2) + σ3 to n = (σ to n) + σ1 to n, n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, n1 < n0, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:append-to-ls, seq: ⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n, subst:[n, σ0, σ] → [n, σ3, (σ0 to n) + σ2], <all paths>

Additional information

Used simplifier rules: ⊦ #(σ + σ1) = # σ + # σ1; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ ¬ n∞ + n∞1 < n∞1; (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 Used terms: n, σ3, (σ0 to n) + σ2

Proof step 26 from proof lim-unique (previous step) (back to tree)

⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n

A spec-lemma

Proof step 27 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ2 + # σ3 = # σ1, (σ0 to n) + σ2 to n = (σ to n) + σ1 to n, n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], n1 < n0, ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ #((σ0 to n) + σ2) < ⌜n⌝ , ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: 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 ⊦ ¬ n∞ + n∞1 < n∞1; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ⊦ #(σ + σ1) = # σ + # σ1; (s)

Proof step 28 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ2 + # σ3 = # σ1, (σ0 to n) + σ2 to n = (σ to n) + σ1 to n, n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, n1 < n0, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:append-to-ls, seq: ⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n, subst:[n, σ0, σ] → [n, σ2, σ0 to n], <all paths>

Additional information

Used simplifier rules: ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ ¬ n < n; (s) Used terms: n, σ2, σ0 to n

Proof step 29 from proof lim-unique (previous step) (back to tree)

⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n

A spec-lemma

Proof step 30 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ2 + # σ3 = # σ1, σ0 to n to n = (σ to n) + σ1 to n, n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], n1 < n0, ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ #(σ0 to n) < ⌜n⌝ , ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ m ≤ m; (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ¬ # σ < ⌜n⌝ ⊦ σ to n to n = σ to n; (s)

Proof step 31 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ2 + # σ3 = # σ1, σ0 to n = (σ to n) + σ1 to n, n0 ≠ 0, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, n1 < n0, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:append-to-ls, seq: ⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n, subst:[n, σ0, σ] → [n, σ1, σ to n], <all paths>

Additional information

Used simplifier rules: ¬ # σ < ⌜n⌝ ⊦ σ to n to n = σ to n; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ ¬ n < n; (s) Used terms: n, σ1, σ to n

Proof step 32 from proof lim-unique (previous step) (back to tree)

⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n

A spec-lemma

Proof step 33 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, (σ0 to n) + σ2 = σσ[n1], (σ to n) + σ1 = σσ[n0], σ to n ≠ σ0 to n, σσ ≠ [], ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), σσ[n0] ⊑ σσ[n1], ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: prefix-def: ⊦ σ ⊑ σ0 ↔ (∃ σ1. σ + σ1 = σ0);

Proof step 34 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, (σ to n) + σ1 = σσ[n0], (σ0 to n) + σ2 = σσ[n1], σσ[n0] + σ3 = σσ[n1], σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 2, flags: rotate, discard

Additional information

Proof step 35 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, ((σ to n) + σ1) + σ3 = σσ[n1], (σ0 to n) + σ2 = σσ[n1], σ to n ≠ σ0 to n, σσ ≠ [], ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 3, flags: rotate, discard

Additional information

Proof step 36 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, ((σ to n) + σ1) + σ3 = (σ0 to n) + σ2, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:extensionality-to, seq:⊦ σ0 = σ1 ↔ # σ0 = # σ1 ∧ (∀ n. ¬ # σ0 < ⌜n⌝ → σ0 to n = σ1 to n), subst:[σ1, σ0] → [(σ0 to n) + σ2, ((σ to n) + σ1) + σ3], <all paths>

Additional information

Used terms: (σ0 to n) + σ2, ((σ to n) + σ1) + σ3

Proof step 37 from proof lim-unique (previous step) (back to tree)

⊦ σ0 = σ1 ↔ # σ0 = # σ1 ∧ (∀ n. ¬ # σ0 < ⌜n⌝ → σ0 to n = σ1 to n)

A spec-lemma

Proof step 38 from proof lim-unique (previous step) (back to tree)

#(((σ to n) + σ1) + σ3) = #((σ0 to n) + σ2), # σ = # σ0, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n0. ¬ #(((σ to n) + σ1) + σ3) < ⌜n0⌝ → ((σ to n) + σ1) + σ3 to n0 = (σ0 to n) + σ2 to n0 ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ #(σ + σ1) = # σ + # σ1; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) 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 ⊦ ⌜n⌝ + n∞1 = ⌜n⌝ + n∞2 ↔ n∞1 = n∞2; (s)

Proof step 39 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ1 + # σ3 = # σ2, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n2. ¬ ⌜n⌝ + # σ2 < ⌜n2⌝ → ((σ to n) + σ1) + σ3 to n2 = (σ0 to n) + σ2 to n2 ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 11 terms: n abort: F discard: T computed: F

Additional information

Used terms: n

Proof step 40 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ1 + # σ3 = # σ2, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ¬ ⌜n⌝ + # σ2 < ⌜n⌝ → ((σ to n) + σ1) + σ3 to n = (σ0 to n) + σ2 to n, ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: 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 ⊦ ¬ n∞ + n∞1 < n∞1; (s)

Proof step 41 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ1 + # σ3 = # σ2, ((σ to n) + σ1) + σ3 to n = (σ0 to n) + σ2 to n, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:append-to-ls, seq: ⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n, subst:[n, σ0, σ] → [n, σ3, (σ to n) + σ1], <all paths>

Additional information

Used simplifier rules: ⊦ #(σ + σ1) = # σ + # σ1; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ ¬ n∞ + n∞1 < n∞1; (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 Used terms: n, σ3, (σ to n) + σ1

Proof step 42 from proof lim-unique (previous step) (back to tree)

⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n

A spec-lemma

Proof step 43 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ1 + # σ3 = # σ2, (σ to n) + σ1 to n = (σ0 to n) + σ2 to n, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ #((σ to n) + σ1) < ⌜n⌝ , ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: 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 ⊦ ¬ n∞ + n∞1 < n∞1; (s) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ⊦ #(σ + σ1) = # σ + # σ1; (s)

Proof step 44 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ1 + # σ3 = # σ2, (σ to n) + σ1 to n = (σ0 to n) + σ2 to n, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:append-to-ls, seq: ⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n, subst:[n, σ0, σ] → [n, σ1, σ to n], <all paths>

Additional information

Used simplifier rules: ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ ¬ n < n; (s) Used terms: n, σ1, σ to n

Proof step 45 from proof lim-unique (previous step) (back to tree)

⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n

A spec-lemma

Proof step 46 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ1 + # σ3 = # σ2, σ to n to n = (σ0 to n) + σ2 to n, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n1⌝ < # σσ, ⌜n0⌝ < # σσ, mon(σσ), ¬ #(σ to n) < ⌜n⌝ , ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ m ≤ m; (s) ⊦ m < n ↔ ¬ n ≤ m; (ss) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ¬ # σ < ⌜n⌝ ⊦ σ to n to n = σ to n; (s)

Proof step 47 from proof lim-unique (previous step) (back to tree)

# σ = # σ0, # σ1 + # σ3 = # σ2, σ to n = (σ0 to n) + σ2 to n, σ to n ≠ σ0 to n, σσ ≠ [], ⌜n0⌝ < # σσ, ⌜n1⌝ < # σσ, mon(σσ), ¬ # σ0 < ⌜n⌝ , ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:append-to-ls, seq: ⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n, subst:[n, σ0, σ] → [n, σ2, σ0 to n], <all paths>

Additional information

Used simplifier rules: ¬ # σ < ⌜n⌝ ⊦ σ to n to n = σ to n; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ ¬ n < n; (s) Used terms: n, σ2, σ0 to n

Proof step 48 from proof lim-unique (previous step) (back to tree)

⊦ ¬ # σ < ⌜n⌝ → σ + σ0 to n = σ to n

A spec-lemma

Proof step 49 from proof lim-unique (previous step) (back to tree)

# σ ≠ # σ0, σσ ≠ [], mon(σσ), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), # σ ≠ # σ0 ∨ ¬(¬ # σ < ⌜n⌝ → σ to n = σ0 to n) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 50 from proof lim-unique (previous step) (back to tree)

# σ ≠ # σ0, σσ ≠ [], mon(σσ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

term: # σ

Additional information

Used simplifier rules: natinf freely generated by ∞, ⌜ ⌝;;

Proof step 51 from proof lim-unique (previous step) (back to tree)

∞ = # σ, # σ ≠ # σ0, σσ ≠ [], mon(σσ), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ ∞ < n∞; (s)

Proof step 52 from proof lim-unique (previous step) (back to tree)

∞ = # σ, σσ ≠ [], ∞ ≠ # σ0, mon(σσ), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ m. ∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n]) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: nat-inf, name:notinf-fin, seq: ⊦ n∞ = ∞ ↔ ¬(∃ n. n∞ = ⌜n⌝ ), subst:[n∞] → [# σ0], <all paths>

Additional information

Used terms: # σ0

Proof step 53 from proof lim-unique (previous step) (back to tree)

⊦ n∞ = ∞ ↔ ¬(∃ n. n∞ = ⌜n⌝ )

A spec-lemma

Proof step 54 from proof lim-unique (previous step) (back to tree)

∞ = # σ, σσ ≠ [], mon(σσ), ∀ m. ∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n]), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∃ n. # σ0 = ⌜n⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s)

Proof step 55 from proof lim-unique (previous step) (back to tree)

# σ0 = ⌜n⌝ , ∞ = # σ, σσ ≠ [], mon(σσ), ∀ m. ∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n]), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ n < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 5 terms: n + 1 abort: F discard: T computed: F

Additional information

Used terms: n + 1

Proof step 56 from proof lim-unique (previous step) (back to tree)

# σ0 = ⌜n⌝ , ∞ = # σ, σσ ≠ [], mon(σσ), ∀ m. ¬ n < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∃ n0. ⌜n0⌝ < # σσ ∧ (∃ σ1. (σ to n + 1) + σ1 = σσ[n0]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 57 from proof lim-unique (previous step) (back to tree)

# σ0 = ⌜n⌝ , (σ to n + 1) + σ1 = σσ[n0], ∞ = # σ, σσ ≠ [], ⌜n0⌝ < # σσ, mon(σσ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ n < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 8 terms: n0 abort: F discard: T computed: T

Additional information

Used terms: n0

Proof step 58 from proof lim-unique (previous step) (back to tree)

# σ0 = ⌜n⌝ , (σ to n + 1) + σ1 = σσ[n0], ∞ = # σ, σσ ≠ [], ⌜n0⌝ < # σσ, mon(σσ), ⌜n0⌝ < # σσ → (∃ σ1. σσ[n0] + σ1 = σ0), ∀ m. ¬ n < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ #(σ + σ1) = # σ + # σ1; (s)

Proof step 59 from proof lim-unique (previous step) (back to tree)

(σ to n + 1) + σ1 = σσ[n0], # σσ[n0] + # σ2 = ⌜n⌝ , ∞ = # σ, σσ ≠ [], ⌜n0⌝ < # σσ, mon(σσ), ∀ m. ¬ n < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σσ[n0] + σ2 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: rotate

Additional information

Proof step 60 from proof lim-unique (previous step) (back to tree)

#((σ to n + 1) + σ1) + # σ2 = ⌜n⌝ , (σ to n + 1) + σ1 = σσ[n0], ∞ = # σ, σσ ≠ [], ⌜n0⌝ < # σσ, mon(σσ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ m. ¬ n < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σσ[n0] + σ2 to m) + σ1 = σσ[n])) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:size-append, seq: ⊦ #(σ + σ1) = # σ + # σ1, subst:[σ1, σ] → [σ1, σ to n + 1], <all paths>

Additional information

Used simplifier rules: ⊦ ¬ ∞ < n∞; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ⊦ ⌜m + n⌝ = ⌜m⌝ + ⌜n⌝ ; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ ⌜n⌝ + n∞ = ⌜n⌝ ↔ n∞ = ⌜0⌝ ; (s) ⊦ n∞ + n∞1 = ⌜0⌝ ↔ n∞ = ⌜0⌝ ∧ n∞1 = ⌜0⌝ ; (ws) ⊦ ⌜n⌝ = ⌜n0⌝ ↔ n = n0; (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 Used terms: σ1, σ to n + 1

Proof step 61 from proof lim-unique (previous step) (back to tree)

⊦ #(σ + σ1) = # σ + # σ1

A spec-lemma

Proof step 62 from proof lim-unique (previous step) (back to tree)

⌜n⌝ = # σ, # σ ≠ # σ0, σσ ≠ [], mon(σσ), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ m. ¬ # σ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 63 from proof lim-unique (previous step) (back to tree)

⌜n⌝ = # σ, σσ ≠ [], ⌜n⌝ ≠ # σ0, mon(σσ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ ⌜n⌝ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

User applied rule cut formula

And obtained the following new goals

Rule argument

fma: ⌜n⌝ < # σ0

Additional information

Used formulas: ⌜n⌝ < # σ0

Proof step 64 from proof lim-unique (previous step) (back to tree)

⌜n⌝ = # σ, σσ ≠ [], ⌜n⌝ ≠ # σ0, ⌜n⌝ < # σ0, mon(σσ), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ m. ¬ ⌜n⌝ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 6 terms: n + 1 abort: F discard: T computed: F

Additional information

Used terms: n + 1

Proof step 65 from proof lim-unique (previous step) (back to tree)

⌜n⌝ = # σ, σσ ≠ [], ⌜n⌝ ≠ # σ0, ⌜n⌝ < # σ0, mon(σσ), ¬ # σ0 < ⌜n + 1⌝ → (∃ n0. ⌜n0⌝ < # σσ ∧ (∃ σ1. (σ0 to n + 1) + σ1 = σσ[n0])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ ⌜n⌝ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: 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 ⊦ # σ < ⌜n⌝ + ⌜1⌝ ↔ ¬ ⌜n⌝ < # σ; (s) c: ⊦ m + n = n + m; from specification nat-basic a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic ⊦ ⌜m + n⌝ = ⌜m⌝ + ⌜n⌝ ; (s)

Proof step 66 from proof lim-unique (previous step) (back to tree)

(σ0 to n + 1) + σ1 = σσ[n0], ⌜n⌝ = # σ, σσ ≠ [], ⌜n⌝ ≠ # σ0, ⌜n⌝ < # σ0, ⌜n0⌝ < # σσ, mon(σσ), ∀ m. ¬ ⌜n⌝ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 10 terms: n0 abort: F discard: T computed: T

Additional information

Used terms: n0

Proof step 67 from proof lim-unique (previous step) (back to tree)

(σ0 to n + 1) + σ1 = σσ[n0], ⌜n⌝ = # σ, σσ ≠ [], ⌜n⌝ ≠ # σ0, ⌜n0⌝ < # σσ, ⌜n⌝ < # σ0, mon(σσ), ⌜n0⌝ < # σσ → (∃ σ1. σσ[n0] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ ⌜n⌝ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ #(σ + σ1) = # σ + # σ1; (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s)

Proof step 68 from proof lim-unique (previous step) (back to tree)

(σ0 to n + 1) + σ1 = σσ[n0], ⌜n⌝ = # σσ[n0] + # σ2, σσ ≠ [], ⌜n⌝ ≠ # σ0, ⌜n0⌝ < # σσ, ⌜n⌝ < # σ0, mon(σσ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ n < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σσ[n0] + σ2 to m) + σ1 = σσ[n])) ⊦

User applied rule subst equation

And closed the goal!

Rule argument

pos: left 1, flags: rotate, discard

Additional information

Used simplifier rules: ⊦ #(σ + σ1) = # σ + # σ1; (s) ⊦ # σ < ⌜n⌝ + ⌜1⌝ ↔ ¬ ⌜n⌝ < # σ; (s) ¬ # σ < ⌜n⌝ ⊦ #(σ to n) = ⌜n⌝ ; (s) ⊦ ⌜m + n⌝ = ⌜m⌝ + ⌜n⌝ ; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ ⌜n⌝ + n∞ = ⌜n⌝ ↔ n∞ = ⌜0⌝ ; (s) ⊦ n∞ + n∞1 = ⌜0⌝ ↔ n∞ = ⌜0⌝ ∧ n∞1 = ⌜0⌝ ; (ws) ⊦ ⌜n⌝ = ⌜n0⌝ ↔ n = n0; (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

Proof step 69 from proof lim-unique (previous step) (back to tree)

⌜n⌝ = # σ, σσ ≠ [], ⌜n⌝ ≠ # σ0, mon(σσ), ¬ ⌜n⌝ < # σ0, ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ m. ¬ ⌜n⌝ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

term: # σ0

Additional information

Used simplifier rules: natinf freely generated by ∞, ⌜ ⌝;; ⊦ ⌜n⌝ ≠ ∞; (s) ⊦ ⌜m⌝ < ∞; (s)

Proof step 70 from proof lim-unique (previous step) (back to tree)

⌜n⌝ = # σ, ⌜n0⌝ = # σ0, σσ ≠ [], ⌜n⌝ ≠ # σ0, mon(σσ), ¬ ⌜n⌝ < # σ0, ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ ⌜n⌝ < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ m. ¬ # σ0 < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: f: ⊦ m < n → n ≠ 0; (forward) from specification nat-basic ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ m ≠ n → (m < n ↔ ¬ n < m); (ss) ⊦ ⌜n⌝ = ⌜n0⌝ ↔ n = n0; (s)

Proof step 71 from proof lim-unique (previous step) (back to tree)

⌜n⌝ = # σ, ⌜n0⌝ = # σ0, n ≠ n0, n ≠ 0, σσ ≠ [], n0 < n, mon(σσ), ∀ m. ¬ n < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ n0 < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 8 terms: n abort: F discard: T computed: T

Additional information

Used terms: n

Proof step 72 from proof lim-unique (previous step) (back to tree)

⌜n0⌝ = # σ0, ⌜n⌝ = # σ, n ≠ n0, n ≠ 0, σσ ≠ [], n0 < n, mon(σσ), ¬ n < n → (∃ n0. ⌜n0⌝ < # σσ ∧ (∃ σ1. (σ to n) + σ1 = σσ[n0])), ∀ m. ¬ n0 < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: mon-def: ⊦ mon(σσ) ↔ (∀ n. ⌜n⌝ + ⌜1⌝ < # σσ → σσ[n] ⊑ σσ[n + 1]); prefix-def: ⊦ σ ⊑ σ0 ↔ (∃ σ1. σ + σ1 = σ0); ⊦ # σ = ⌜n⌝ → σ to n = σ; (s) ⊦ ¬ n < n; (s) ⊦ m < n → n ≠ 0; (s)

Proof step 73 from proof lim-unique (previous step) (back to tree)

σ + σ1 = σσ[n1], ⌜n⌝ = # σ, ⌜n0⌝ = # σ0, n ≠ n0, σσ ≠ [], n0 < n, ⌜n1⌝ < # σσ, ∀ n1. ⌜n1⌝ + ⌜1⌝ < # σσ → (∃ σ1. σσ[n1] + σ1 = σσ[n1 + 1]), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ0), ∀ m. ¬ n0 < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 10 terms: n1 abort: F discard: T computed: T

Additional information

Used terms: n1

Proof step 74 from proof lim-unique (previous step) (back to tree)

σ + σ1 = σσ[n1], ⌜n0⌝ = # σ0, ⌜n⌝ = # σ, n ≠ n0, σσ ≠ [], ⌜n1⌝ < # σσ, n0 < n, ⌜n1⌝ < # σσ → (∃ σ1. σσ[n1] + σ1 = σ0), ∀ m. ¬ n0 < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σ0 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n1. ⌜n1⌝ + ⌜1⌝ < # σσ → (∃ σ1. σσ[n1] + σ1 = σσ[n1 + 1]) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ #(σ + σ1) = # σ + # σ1; (s)

Proof step 75 from proof lim-unique (previous step) (back to tree)

σ + σ1 = σσ[n1], ⌜n⌝ = # σ, ⌜n0⌝ = # σσ[n1] + # σ2, n ≠ n0, σσ ≠ [], ⌜n1⌝ < # σσ, n0 < n, ∀ m. ¬ n0 < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σσ[n1] + σ2 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n1. ⌜n1⌝ + ⌜1⌝ < # σσ → (∃ σ1. σσ[n1] + σ1 = σσ[n1 + 1]) ⊦

User applied rule subst equation

And obtained the following new goals

Rule argument

pos: left 1, flags: rotate, discard

Additional information

Proof step 76 from proof lim-unique (previous step) (back to tree)

⌜n0⌝ = #(σ + σ1) + # σ2, ⌜n⌝ = # σ, n ≠ n0, σσ ≠ [], n0 < n, ⌜n1⌝ < # σσ, ∀ n1. ⌜n1⌝ + ⌜1⌝ < # σσ → (∃ σ1. σσ[n1] + σ1 = σσ[n1 + 1]), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ m. ¬ n0 < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σσ[n1] + σ2 to m) + σ1 = σσ[n])) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: add-assoc: ⊦ (n∞ + n∞1) + n∞2 = n∞ + n∞1 + n∞2; from specification nat-inf append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ #(σ + σ1) = # σ + # σ1; (s)

Proof step 77 from proof lim-unique (previous step) (back to tree)

⌜n⌝ = # σ, ⌜n0⌝ = (⌜n⌝ + # σ1) + # σ2, n ≠ n0, σσ ≠ [], ⌜n1⌝ < # σσ, n0 < n, ∀ m. ¬ n0 < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σσ[n1] + σ2 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n1. ⌜n1⌝ + ⌜1⌝ < # σσ → (∃ σ1. σσ[n1] + σ1 = σσ[n1 + 1]) ⊦

User applied rule structural induction

And obtained the following new goals

Rule argument

term: # σ2

Additional information

Used simplifier rules: natinf freely generated by ∞, ⌜ ⌝;; ⊦ ∞ + ⌜m⌝ = ∞; (s) ⊦ n∞ + ∞ = ∞; (s) 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 ⊦ ⌜n⌝ ≠ ∞; (s)

Proof step 78 from proof lim-unique (previous step) (back to tree)

⌜n0⌝ = (⌜n⌝ + # σ1) + # σ2, ⌜n⌝ = # σ, ⌜n2⌝ = # σ2, n ≠ n0, σσ ≠ [], n0 < n, ⌜n1⌝ < # σσ, ∀ n1. ⌜n1⌝ + ⌜1⌝ < # σσ → (∃ σ1. σσ[n1] + σ1 = σσ[n1 + 1]), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ m. ¬ n0 < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σσ[n1] + σ2 to m) + σ1 = σσ[n])) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 79 from proof lim-unique (previous step) (back to tree)

⌜n2⌝ = # σ2, ⌜n⌝ = # σ, ⌜n0⌝ = (⌜n⌝ + # σ1) + ⌜n2⌝ , n ≠ n0, σσ ≠ [], ⌜n1⌝ < # σσ, n0 < n, ∀ m. ¬ n0 < m → (∃ n. ⌜n⌝ < # σσ ∧ (∃ σ1. (σσ[n1] + σ2 to m) + σ1 = σσ[n])), ∀ n. ⌜n⌝ < # σσ → (∃ σ1. σσ[n] + σ1 = σ), ∀ n1. ⌜n1⌝ + ⌜1⌝ < # σσ → (∃ σ1. σσ[n1] + σ1 = σσ[n1 + 1]) ⊦

User applied rule structural induction

And closed the goal!

Rule argument

term: # σ1

Additional information

Used simplifier rules: natinf freely generated by ∞, ⌜ ⌝;; ⊦ ⌜n1⌝ + ⌜n⌝ + ⌜m⌝ = ⌜n0⌝ ↔ n1 + n + m = n0; (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 ⊦ m = m + n ↔ n = 0; (s) ⊦ ¬ m + n < m; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic ⊦ ∞ + ⌜m⌝ = ∞; (s) ⊦ ⌜n⌝ ≠ ∞; (s)

Proof Tree for lim-unique (View conclusion)

The following image shows the proof tree of sequent calculus. The proved goal is at the bottom. You can click on the nodes to view additional rules. See here for details on colors in a proof tree.

the proof tree