[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 cont-thm (conclusion) (back to tree)

⊦ cont(f) ∧ mon(⌜αf⌝ ) → lim(⌜λ n. f(αf(n))⌝ ) = f(lim(⌜αf⌝ ))

System applied rule normalize

And obtained the following new goals

Rule argument

Additional information

Proof step 2 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), cont(f), mon(⌜αf⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: cont-def: ⊦ cont(f) ↔ mon(f) ∧ pbd(f); mon-def: ⊦ mon(f) ↔ (∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2));

Proof step 3 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: streamseq-mon-lim, name:lim-def, seq:⊦ mon(σσ) ∧ σσ ≠ [] → (∀ n. ⌜n⌝ < # σσ → σσ(n) ⊑ lim(σσ)) ∧ (∀ m. ¬ # lim(σσ) < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ ⌜lim(σσ).take(m)⌝ ⊑ σσ(n))), subst:[σσ] → [⌜αf⌝ ]; [A] → [A]

Additional information

Used terms: ⌜αf⌝

Proof step 4 from proof cont-thm (previous step) (back to tree)

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

A spec-lemma

Proof step 5 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), mon(⌜αf⌝ ) ∧ ⌜αf⌝ ≠ [] → (∀ n. ⌜n⌝ < # ⌜αf⌝ → ⌜αf⌝ (n) ⊑ lim(⌜αf⌝ )) ∧ (∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜n⌝ < # ⌜αf⌝ ∧ ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ ⌜αf⌝ (n))), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ (n) = nf(n); (s) ⊦ ⌜m⌝ < ∞; (s) ⊦ # ⌜nf⌝ = ∞; (s) ⊦ [] ≠ ⌜nf⌝ ; (s)

Proof step 6 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule apply lemma

And obtained the following new goals

Rule argument

spec: streamseq-mon-lim, name:lim-def, seq:⊦ mon(σσ) ∧ σσ ≠ [] → (∀ n. ⌜n⌝ < # σσ → σσ(n) ⊑ lim(σσ)) ∧ (∀ m. ¬ # lim(σσ) < ⌜m⌝ → (∃ n. ⌜n⌝ < # σσ ∧ ⌜lim(σσ).take(m)⌝ ⊑ σσ(n))), subst:[σσ] → [⌜λ n. f(αf(n))⌝ ]; [A] → [B]

Additional information

Used terms: ⌜λ n. f(αf(n))⌝

Proof step 7 from proof cont-thm (previous step) (back to tree)

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

A spec-lemma

Proof step 8 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), mon(⌜λ n. f(αf(n))⌝ ) ∧ ⌜λ n. f(αf(n))⌝ ≠ [] → (∀ n. ⌜n⌝ < # ⌜λ n. f(αf(n))⌝ → ⌜λ n. f(αf(n))⌝ (n) ⊑ lim(⌜λ n. f(αf(n))⌝ )) ∧ (∀ m. ¬ # lim(⌜λ n. f(αf(n))⌝ ) < ⌜m⌝ → (∃ n. ⌜n⌝ < # ⌜λ n. f(αf(n))⌝ ∧ ⌜lim(⌜λ n. f(αf(n))⌝ ).take(m)⌝ ⊑ ⌜λ n. f(αf(n))⌝ (n))), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ (n) = nf(n); (s) ⊦ ⌜m⌝ < ∞; (s) ⊦ # ⌜nf⌝ = ∞; (s) ⊦ [] ≠ ⌜nf⌝ ; (s)

Proof step 9 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), mon(⌜λ n. f(αf(n))⌝ ) → (∀ n. f(αf(n)) ⊑ lim(⌜λ n. f(αf(n))⌝ )) ∧ (∀ m. ¬ # lim(⌜λ n. f(αf(n))⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜λ n. f(αf(n))⌝ ).take(m)⌝ ⊑ f(αf(n)))), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 5

Additional information

Proof step 10 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ¬ mon(⌜λ n. f(αf(n))⌝ ), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: streamseq-mon-lim, name:mon-def, seq: ⊦ mon(σσ) ↔ (∀ n. ⌜n⌝ + ⌜1⌝ < # σσ → σσ(n) ⊑ σσ(n + 1)), subst:[σσ] → [⌜λ n. f(αf(n))⌝ ]; [A] → [B], lhs:mon(⌜λ n. f(αf(n))⌝ ), <all paths>

Additional information

Used terms: ⌜λ n. f(αf(n))⌝

Proof step 11 from proof cont-thm (previous step) (back to tree)

⊦ mon(σσ) ↔ (∀ n. ⌜n⌝ + ⌜1⌝ < # σσ → σσ(n) ⊑ σσ(n + 1))

A spec-lemma

Proof step 12 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∃ n. ¬(⌜n⌝ + ⌜1⌝ < # ⌜λ n. f(αf(n))⌝ → ⌜λ n. f(αf(n))⌝ (n) ⊑ ⌜λ n. f(αf(n))⌝ (n + 1)), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ (n) = nf(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) ⊦ ⌜m⌝ + n∞ = ∞ ↔ n∞ = ∞; (s) ⊦ n∞ < ∞ ↔ n∞ ≠ ∞; (s) ⊦ # ⌜nf⌝ = ∞; (s)

Proof step 13 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ¬ f(αf(n)) ⊑ f(αf(n + 1)), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: streamseq-mon-lim, name:mon-def, seq: ⊦ mon(σσ) ↔ (∀ n. ⌜n⌝ + ⌜1⌝ < # σσ → σσ(n) ⊑ σσ(n + 1)), subst:[σσ] → [⌜αf⌝ ]; [A] → [A], lhs:mon(⌜αf⌝ ), <all paths>

Additional information

Used terms: ⌜αf⌝

Proof step 14 from proof cont-thm (previous step) (back to tree)

⊦ mon(σσ) ↔ (∀ n. ⌜n⌝ + ⌜1⌝ < # σσ → σσ(n) ⊑ σσ(n + 1))

A spec-lemma

Proof step 15 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), pbd(f), ¬ f(αf(n)) ⊑ f(αf(n + 1)), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ n. ⌜n⌝ + ⌜1⌝ < # ⌜αf⌝ → ⌜αf⌝ (n) ⊑ ⌜αf⌝ (n + 1), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ (n) = nf(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) ⊦ ⌜m⌝ + n∞ = ∞ ↔ n∞ = ∞; (s) ⊦ n∞ < ∞ ↔ n∞ ≠ ∞; (s) ⊦ # ⌜nf⌝ = ∞; (s)

Proof step 16 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), pbd(f), ¬ f(αf(n)) ⊑ f(αf(n + 1)), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ n0. αf(n0) ⊑ αf(n0 + 1), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: n

Proof step 17 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), pbd(f), αf(n) ⊑ αf(n + 1), ¬ f(αf(n)) ⊑ f(αf(n + 1)), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 7 terms: αf(n), αf(n + 1)

Additional information

Used terms: αf(n), αf(n + 1)

Proof step 18 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ m. ¬ # lim(⌜λ n. f(αf(n))⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜λ n. f(αf(n))⌝ ).take(m)⌝ ⊑ f(αf(n))), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ n. f(αf(n)) ⊑ lim(⌜λ n. f(αf(n))⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

term: lim(⌜λ n. f(αf(n))⌝ )

Additional information

Used simplifier rules: Stream[A] freely generated by ⌝, ⌝;

Proof step 19 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # lim(⌜λ n. f(αf(n))⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜λ n. f(αf(n))⌝ ).take(m)⌝ ⊑ f(αf(n))), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. f(αf(n)) ⊑ lim(⌜λ n. f(αf(n))⌝ ), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ .take(n) = x.take(n); (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s)

Proof step 20 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜bl⌝ ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ m. ¬ # bl < m → (∃ n. ⌜bl.take(m)⌝ ⊑ f(αf(n))), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

term: lim(⌜αf⌝ )

Additional information

Used simplifier rules: Stream[A] freely generated by ⌝, ⌝;

Proof step 21 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bl⌝ ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # bl < m → (∃ n. ⌜bl.take(m)⌝ ⊑ f(αf(n))), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ .take(n) = x.take(n); (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s)

Proof step 22 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bl⌝ ≠ f(⌜al⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # bl < m → (∃ n. ⌜bl.take(m)⌝ ⊑ f(αf(n))), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 7 terms: # al abort: F discard: T computed: T

Additional information

Used terms: # al

Proof step 23 from proof cont-thm (previous step) (back to tree)

lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜bl⌝ ≠ f(⌜al⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # bl < m → (∃ n. ⌜bl.take(m)⌝ ⊑ f(αf(n))), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ¬ # al < # al → (∃ n. ⌜al.take(# al)⌝ ⊑ αf(n)), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # x = n → x.take(n) = x; (s) ⊦ ¬ n < n; (s)

Proof step 24 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bl⌝ ≠ f(⌜al⌝ ), ⌜al⌝ ⊑ αf(n), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # bl < m → (∃ n. ⌜bl.take(m)⌝ ⊑ f(αf(n))), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 7 terms: # bl abort: F discard: T computed: T

Additional information

Used terms: # bl

Proof step 25 from proof cont-thm (previous step) (back to tree)

lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜bl⌝ ≠ f(⌜al⌝ ), ⌜al⌝ ⊑ αf(n), mon(⌜αf⌝ ), pbd(f), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ¬ # bl < # bl → (∃ n. ⌜bl.take(# bl)⌝ ⊑ f(αf(n))), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # x = n → x.take(n) = x; (s) ⊦ ¬ n < n; (s)

Proof step 26 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bl⌝ ≠ f(⌜al⌝ ), ⌜al⌝ ⊑ αf(n), ⌜bl⌝ ⊑ f(αf(n0)), mon(⌜αf⌝ ), pbd(f), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: streamseq-mon-lim, name:equal-prepostfix, seq: ⊦ σ = σ0 ↔ σ ⊑ σ0 ∧ σ0 ⊑ σ, subst:[σ, σ0] → [⌜bl⌝ , f(⌜al⌝ )]; [A] → [B], lhs:⌜bl⌝ = f(⌜al⌝ ), <all paths>

Additional information

Used terms: ⌜bl⌝ , f(⌜al⌝ )

Proof step 27 from proof cont-thm (previous step) (back to tree)

⊦ σ = σ0 ↔ σ ⊑ σ0 ∧ σ0 ⊑ σ

A spec-lemma

Proof step 28 from proof cont-thm (previous step) (back to tree)

lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜al⌝ ⊑ αf(n), ⌜bl⌝ ⊑ f(αf(n0)), mon(⌜αf⌝ ), pbd(f), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ¬ ⌜bl⌝ ⊑ f(⌜al⌝ ) ∨ ¬ f(⌜al⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: n0

Proof step 29 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜al⌝ ⊑ αf(n), ⌜bl⌝ ⊑ f(αf(n0)), mon(⌜αf⌝ ), pbd(f), αf(n0) ⊑ ⌜al⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ¬ ⌜bl⌝ ⊑ f(⌜al⌝ ) ∨ ¬ f(⌜al⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream

Proof step 30 from proof cont-thm (previous step) (back to tree)

lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜al⌝ ⊑ αf(n), ⌜bl⌝ ⊑ f(αf(n0)), mon(⌜αf⌝ ), pbd(f), αf(n0) ⊑ ⌜al⌝ , αf(n0) ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ¬ ⌜bl⌝ ⊑ f(⌜al⌝ ) ∨ ¬ f(⌜al⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 12 terms: αf(n0), αf(n) abort: F discard: F computed: T

Additional information

Used terms: αf(n0), αf(n)

Proof step 31 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜al⌝ ⊑ αf(n), ⌜bl⌝ ⊑ f(αf(n0)), mon(⌜αf⌝ ), pbd(f), αf(n0) ⊑ αf(n), αf(n0) ⊑ ⌜al⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ¬ ⌜bl⌝ ⊑ f(⌜al⌝ ) ∨ ¬ f(⌜al⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2), αf(n0) ⊑ αf(n) → f(αf(n0)) ⊑ f(αf(n)) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream

Proof step 32 from proof cont-thm (previous step) (back to tree)

lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜al⌝ ⊑ αf(n), ⌜bl⌝ ⊑ f(αf(n0)), ⌜bl⌝ ⊑ f(αf(n)), f(αf(n0)) ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), αf(n0) ⊑ ⌜al⌝ , αf(n0) ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ¬ ⌜bl⌝ ⊑ f(⌜al⌝ ) ∨ ¬ f(⌜al⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 11 terms: n0 abort: F discard: F computed: F

Additional information

Used terms: n0

Proof step 33 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜al⌝ ⊑ αf(n), ⌜bl⌝ ⊑ f(αf(n)), ⌜bl⌝ ⊑ f(αf(n0)), f(αf(n0)) ⊑ f(αf(n)), f(αf(n0)) ⊑ ⌜bl⌝ , mon(⌜αf⌝ ), pbd(f), αf(n0) ⊑ αf(n), αf(n0) ⊑ ⌜al⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ¬ ⌜bl⌝ ⊑ f(⌜al⌝ ) ∨ ¬ f(⌜al⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # x0 = # x1 → (x0 ⊑ x1 ↔ x0 = x1); (s) ⊦ ⌜x⌝ ⊑ ⌜y⌝ ↔ x ⊑ y; (s) ⊦ σ1 ⊑ σ2 → (σ2 ⊑ σ1 ↔ σ1 = σ2); (as)

Proof step 34 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n0)), lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜al⌝ ⊑ αf(n), ⌜bl⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), αf(n0) ⊑ αf(n), αf(n0) ⊑ ⌜al⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ¬ ⌜bl⌝ ⊑ f(⌜al⌝ ) ∨ ¬ f(⌜al⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: n

Proof step 35 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n0)), lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜al⌝ ⊑ αf(n), ⌜bl⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), αf(n0) ⊑ ⌜al⌝ , αf(n0) ⊑ αf(n), αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ¬ ⌜bl⌝ ⊑ f(⌜al⌝ ) ∨ ¬ f(⌜al⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # x0 = # x1 → (x0 ⊑ x1 ↔ x0 = x1); (s) ⊦ ⌜x⌝ ⊑ ⌜y⌝ ↔ x ⊑ y; (s) leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream ⊦ σ1 ⊑ σ2 → (σ2 ⊑ σ1 ↔ σ1 = σ2); (as)

Proof step 36 from proof cont-thm (previous step) (back to tree)

⌜al⌝ = αf(n), ⌜bl⌝ = f(αf(n0)), lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜bl⌝ ⊑ f(⌜al⌝ ), mon(⌜αf⌝ ), pbd(f), αf(n0) ⊑ ⌜al⌝ , ¬ f(⌜al⌝ ) ⊑ ⌜bl⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And closed the goal!

Rule argument

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

Additional information

Used simplifier rules: leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream Used terms: n

Proof step 37 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜bl⌝ ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # bl < m → (∃ n. ⌜bl.take(m)⌝ ⊑ f(αf(n))), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ .take(n) = nf.take(n); (s) ⊦ ¬ ∞ < n∞; (s) ⊦ # ⌜nf⌝ = ∞; (s)

Proof step 38 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜bl⌝ ≠ f(⌜af⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # bl < m → (∃ n. ⌜bl.take(m)⌝ ⊑ f(αf(n))), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 6 terms: # bl abort: F discard: T computed: T

Additional information

Used terms: # bl

Proof step 39 from proof cont-thm (previous step) (back to tree)

lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜bl⌝ ≠ f(⌜af⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ¬ # bl < # bl → (∃ n. ⌜bl.take(# bl)⌝ ⊑ f(αf(n))), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # x = n → x.take(n) = x; (s) ⊦ ¬ n < n; (s)

Proof step 40 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜bl⌝ ≠ f(⌜af⌝ ), ⌜bl⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: n

Proof step 41 from proof cont-thm (previous step) (back to tree)

lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜bl⌝ ≠ f(⌜af⌝ ), ⌜bl⌝ ⊑ f(αf(n)), f(αf(n)) ⊑ ⌜bl⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # x0 = # x1 → (x0 ⊑ x1 ↔ x0 = x1); (s) ⊦ ⌜x⌝ ⊑ ⌜y⌝ ↔ x ⊑ y; (s) ⊦ σ1 ⊑ σ2 → (σ2 ⊑ σ1 ↔ σ1 = σ2); (as)

Proof step 42 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜bl⌝ ≠ f(⌜af⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

term: f(⌜af⌝ )

Additional information

Used simplifier rules: Stream[A] freely generated by ⌝, ⌝;

Proof step 43 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜bl⌝ ≠ f(⌜af⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ = ⌜x0⌝ ↔ x = x0; (s)

Proof step 44 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bl ≠ bl0, mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 11 terms: αf(n), ⌜af⌝ abort: F discard: F computed: F

Additional information

Used terms: αf(n), ⌜af⌝

Proof step 45 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , bl ≠ bl0, mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2), αf(n) ⊑ ⌜af⌝ → f(αf(n)) ⊑ f(⌜af⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ ⊑ ⌜y⌝ ↔ x ⊑ y; (s)

Proof step 46 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , bl ≠ bl0, mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2), αf(n) ⊑ ⌜af⌝ → bl ⊑ bl0 ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 12

Additional information

Proof step 47 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bl ≠ bl0, mon(⌜αf⌝ ), pbd(f), ¬ αf(n) ⊑ ⌜af⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 10 terms: n

Additional information

Used terms: n

Proof step 48 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bl ≠ bl0, bl ⊑ bl0, mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last, name:prefix-equality, seq: ⊦ x = y ↔ x ⊑ y ∧ y ⊑ x, subst:[x, y] → [bl, bl0]; [A] → [B], lhs:bl = bl0, <all paths>

Additional information

Used terms: bl, bl0

Proof step 49 from proof cont-thm (previous step) (back to tree)

⊦ x = y ↔ x ⊑ y ∧ y ⊑ x

A spec-lemma

Proof step 50 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , bl ⊑ bl0, mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ¬ bl ⊑ bl0 ∨ ¬ bl0 ⊑ bl, ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # x0 = # x1 → (x0 ⊑ x1 ↔ x0 = x1); (s) ⊦ x ⊑ y → (y ⊑ x ↔ x = y); (s)

Proof step 51 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bl0 ≠ bl, bl ⊑ bl0, mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:pbd-def, seq: ⊦ pbd(f) ↔ (∀ af, bl. (∀ n. f(⌜af.take(n)⌝ ) ⊑ ⌜bl⌝ ) ↔ f(⌜af⌝ ) ⊑ ⌜bl⌝ ), subst:[f] → [f]; [A, B] → [A, B], lhs:pbd(f), <all paths>

Additional information

Used terms: f

Proof step 52 from proof cont-thm (previous step) (back to tree)

⊦ pbd(f) ↔ (∀ af, bl. (∀ n. f(⌜af.take(n)⌝ ) ⊑ ⌜bl⌝ ) ↔ f(⌜af⌝ ) ⊑ ⌜bl⌝ )

Lemma pbd-def

Proof step 53 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , bl0 ≠ bl, bl ⊑ bl0, mon(⌜αf⌝ ), ∀ af, bl. (∀ n. f(⌜af.take(n)⌝ ) ⊑ ⌜bl⌝ ) ↔ f(⌜af⌝ ) ⊑ ⌜bl⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 8 terms: af, bl abort: F discard: T computed: F

Additional information

Used terms: af, bl

Proof step 54 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bl0 ≠ bl, bl ⊑ bl0, mon(⌜αf⌝ ), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , (∀ n. f(⌜af.take(n)⌝ ) ⊑ ⌜bl⌝ ) ↔ f(⌜af⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ x ⊑ y → (y ⊑ x ↔ x = y); (s) ⊦ ⌜x⌝ ⊑ ⌜y⌝ ↔ x ⊑ y; (s)

Proof step 55 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bl0 ≠ bl, bl ⊑ bl0, mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: n0

Proof step 56 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , bl0 ≠ bl, bl ⊑ bl0, mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∃ n. ⌜af.take(n0)⌝ ⊑ αf(n), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 57 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bl0 ≠ bl, ⌜af.take(n0)⌝ ⊑ αf(n1), bl ⊑ bl0, mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 12 terms: ⌜af.take(n0)⌝ , αf(n1) abort: F discard: T computed: T

Additional information

Used terms: ⌜af.take(n0)⌝ , αf(n1)

Proof step 58 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , bl0 ≠ bl, ⌜af.take(n0)⌝ ⊑ αf(n1), bl ⊑ bl0, mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ⌜af.take(n0)⌝ ⊑ αf(n1) → f(⌜af.take(n0)⌝ ) ⊑ f(αf(n1)), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 59 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bl0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bl0 ≠ bl, ⌜af.take(n0)⌝ ⊑ αf(n1), bl ⊑ bl0, f(⌜af.take(n0)⌝ ) ⊑ f(αf(n1)), mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ ⊦

User applied rule all left

And closed the goal!

Rule argument

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

Additional information

Used simplifier rules: leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream Used terms: n1

Proof step 60 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bf⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜bl⌝ ≠ f(⌜af⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ ≠ ⌜nf⌝ ; (s)

Proof step 61 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bf⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:pbd-def, seq: ⊦ pbd(f) ↔ (∀ af, bl. (∀ n. f(⌜af.take(n)⌝ ) ⊑ ⌜bl⌝ ) ↔ f(⌜af⌝ ) ⊑ ⌜bl⌝ ), subst:[f] → [f]; [A, B] → [A, B], lhs:pbd(f), <all paths>

Additional information

Used terms: f

Proof step 62 from proof cont-thm (previous step) (back to tree)

⊦ pbd(f) ↔ (∀ af, bl. (∀ n. f(⌜af.take(n)⌝ ) ⊑ ⌜bl⌝ ) ↔ f(⌜af⌝ ) ⊑ ⌜bl⌝ )

Lemma pbd-def

Proof step 63 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , mon(⌜αf⌝ ), ∀ af, bl. (∀ n. f(⌜af.take(n)⌝ ) ⊑ ⌜bl⌝ ) ↔ f(⌜af⌝ ) ⊑ ⌜bl⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 6 terms: af, bl abort: F discard: T computed: T

Additional information

Used terms: af, bl

Proof step 64 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bf⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , mon(⌜αf⌝ ), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , (∀ n. f(⌜af.take(n)⌝ ) ⊑ ⌜bl⌝ ) ↔ f(⌜af⌝ ) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ¬ ⌜nf⌝ ⊑ ⌜x⌝ ; (s)

Proof step 65 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bf⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: n0

Proof step 66 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∃ n. ⌜af.take(n0)⌝ ⊑ αf(n), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 67 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bf⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜af.take(n0)⌝ ⊑ αf(n1), mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 10 terms: ⌜af.take(n0)⌝ , αf(n1) abort: F discard: T computed: T

Additional information

Used terms: ⌜af.take(n0)⌝ , αf(n1)

Proof step 68 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , ⌜af.take(n0)⌝ ⊑ αf(n1), mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ⌜af.take(n0)⌝ ⊑ αf(n1) → f(⌜af.take(n0)⌝ ) ⊑ f(αf(n1)), ∀ n. f(αf(n)) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 69 from proof cont-thm (previous step) (back to tree)

⌜bl⌝ = f(αf(n)), f(⌜af⌝ ) = ⌜bf⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜af.take(n0)⌝ ⊑ αf(n1), f(⌜af.take(n0)⌝ ) ⊑ f(αf(n1)), mon(⌜αf⌝ ), ¬ f(⌜af.take(n0)⌝ ) ⊑ ⌜bl⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bl⌝ ⊦

User applied rule all left

And closed the goal!

Rule argument

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

Additional information

Used simplifier rules: leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream Used terms: n1

Proof step 70 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜λ n. f(αf(n))⌝ ) ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # lim(⌜λ n. f(αf(n))⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜λ n. f(αf(n))⌝ ).take(m)⌝ ⊑ f(αf(n))), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. f(αf(n)) ⊑ lim(⌜λ n. f(αf(n))⌝ ), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ .take(n) = nf.take(n); (s) ⊦ ¬ ∞ < n∞; (s) ⊦ # ⌜nf⌝ = ∞; (s)

Proof step 71 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf⌝ ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

term: lim(⌜αf⌝ )

Additional information

Used simplifier rules: Stream[A] freely generated by ⌝, ⌝;

Proof step 72 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bf⌝ ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ .take(n) = x.take(n); (s) ⊦ ⌜m⌝ < ⌜n⌝ ↔ m < n; (s) ⊦ # ⌜x⌝ = ⌜# x⌝ ; (s)

Proof step 73 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bf⌝ ≠ f(⌜al⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

term: f(⌜al⌝ )

Additional information

Used simplifier rules: Stream[A] freely generated by ⌝, ⌝;

Proof step 74 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf⌝ ≠ f(⌜al⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ ≠ ⌜nf⌝ ; (s)

Proof step 75 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 7 terms: # bl + 1 abort: F discard: T computed: F

Additional information

Used terms: # bl + 1

Proof step 76 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∃ n. ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 77 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 10 terms: αf(n), ⌜al⌝ abort: F discard: T computed: F

Additional information

Used terms: αf(n), ⌜al⌝

Proof step 78 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , αf(n) ⊑ ⌜al⌝ → f(αf(n)) ⊑ f(⌜al⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 79 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , αf(n) ⊑ ⌜al⌝ → f(αf(n)) ⊑ ⌜bl⌝ ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 10

Additional information

Proof step 80 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), ¬ αf(n) ⊑ ⌜al⌝ , ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 9 terms: n

Additional information

Used terms: n

Proof step 81 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), f(αf(n)) ⊑ ⌜bl⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ ⊑ ⌜y⌝ ↔ x ⊑ y; (s) leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream

Proof step 82 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), bf.take(# bl + 1) ⊑ bl, f(αf(n)) ⊑ ⌜bl⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last, name:prefix, seq: ⊦ x ⊑ y ↔ (∃ z. x + z = y), subst:[x, y] → [bf.take(# bl + 1), bl]; [A] → [B], lhs:bf.take(# bl + 1) ⊑ bl, <all paths>

Additional information

Used terms: bf.take(# bl + 1), bl

Proof step 83 from proof cont-thm (previous step) (back to tree)

⊦ x ⊑ y ↔ (∃ z. x + z = y)

A spec-lemma

Proof step 84 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), f(αf(n)) ⊑ ⌜bl⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∃ z. bf.take(# bl + 1) + z = bl ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 85 from proof cont-thm (previous step) (back to tree)

bf.take(# bl + 1) + bl0 = bl, f(⌜al⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), f(αf(n)) ⊑ ⌜bl⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-getput, name:extension, seq: ⊦ x = y ↔ # x = # y ∧ (∀ n. n < # x → x(n) = y(n)), subst:[y, x] → [bf.take(# bl + 1) + bl0, bl]; [A] → [B], lhs:bf.take(# bl + 1) + bl0 = bl, <all paths>

Additional information

Used simplifier rules: ⊦ #(x + y) = # x + # y; (s) ⊦ # nf.take(n) = n; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ m = m + n ↔ n = 0; (s) ⊦ m + n = 0 ↔ m = 0 ∧ n = 0; (ws) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: bf.take(# bl + 1) + bl0, bl

Proof step 86 from proof cont-thm (previous step) (back to tree)

⊦ x = y ↔ # x = # y ∧ (∀ n. n < # x → x(n) = y(n))

A spec-lemma

Proof step 87 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf⌝ ≠ f(⌜al⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ = ⌜nf0⌝ ↔ nf = nf0; (s)

Proof step 88 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , bf ≠ bf0, mon(⌜αf⌝ ), pbd(f), ∀ m. ¬ # al < m → (∃ n. ⌜al.take(m)⌝ ⊑ αf(n)), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 7 terms: # al abort: F discard: T computed: T

Additional information

Used terms: # al

Proof step 89 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bf0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , bf ≠ bf0, mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ¬ # al < # al → (∃ n. ⌜al.take(# al)⌝ ⊑ αf(n)), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ # x = n → x.take(n) = x; (s) ⊦ ¬ n < n; (s)

Proof step 90 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , bf ≠ bf0, ⌜al⌝ ⊑ αf(n), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 11 terms: ⌜al⌝ , αf(n) abort: F discard: T computed: T

Additional information

Used terms: ⌜al⌝ , αf(n)

Proof step 91 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bf0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , bf ≠ bf0, ⌜al⌝ ⊑ αf(n), mon(⌜αf⌝ ), pbd(f), ⌜al⌝ ⊑ αf(n) → f(⌜al⌝ ) ⊑ f(αf(n)), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. αf(n) ⊑ ⌜al⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 92 from proof cont-thm (previous step) (back to tree)

f(⌜al⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜al⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , bf ≠ bf0, ⌜al⌝ ⊑ αf(n), ⌜bf0⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜al⌝ ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 10 terms: n

Additional information

Used simplifier rules: leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream ⊦ ⌜nf⌝ ⊑ ⌜nf0⌝ ↔ nf = nf0; (s) Used terms: n

Proof step 93 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜bf⌝ ≠ f(lim(⌜αf⌝ )), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ m. ¬ # lim(⌜αf⌝ ) < ⌜m⌝ → (∃ n. ⌜lim(⌜αf⌝ ).take(m)⌝ ⊑ αf(n)), ∀ n. αf(n) ⊑ lim(⌜αf⌝ ), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ .take(n) = nf.take(n); (s) ⊦ ¬ ∞ < n∞; (s) ⊦ # ⌜nf⌝ = ∞; (s)

Proof step 94 from proof cont-thm (previous step) (back to tree)

lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜bf⌝ ≠ f(⌜af⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule constructor cut

And obtained the following new goals

Rule argument

term: f(⌜af⌝ )

Additional information

Used simplifier rules: Stream[A] freely generated by ⌝, ⌝;

Proof step 95 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf⌝ ≠ f(⌜af⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ ≠ ⌜nf⌝ ; (s)

Proof step 96 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 7 terms: # bl + 1 abort: F discard: T computed: F

Additional information

Used terms: # bl + 1

Proof step 97 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∃ n. ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 98 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: n

Proof step 99 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), αf(n) ⊑ ⌜af⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 10 terms: αf(n), ⌜af⌝ abort: F discard: T computed: T

Additional information

Used terms: αf(n), ⌜af⌝

Proof step 100 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), mon(⌜αf⌝ ), pbd(f), αf(n) ⊑ ⌜af⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , αf(n) ⊑ ⌜af⌝ → f(αf(n)) ⊑ f(⌜af⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜x⌝ ⊑ ⌜y⌝ ↔ x ⊑ y; (s) leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream

Proof step 101 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), bf.take(# bl + 1) ⊑ bl, f(αf(n)) ⊑ ⌜bl⌝ , mon(⌜αf⌝ ), pbd(f), αf(n) ⊑ ⌜af⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-last, name:prefix, seq: ⊦ x ⊑ y ↔ (∃ z. x + z = y), subst:[x, y] → [bf.take(# bl + 1), bl]; [A] → [B], lhs:bf.take(# bl + 1) ⊑ bl, <all paths>

Additional information

Used terms: bf.take(# bl + 1), bl

Proof step 102 from proof cont-thm (previous step) (back to tree)

⊦ x ⊑ y ↔ (∃ z. x + z = y)

A spec-lemma

Proof step 103 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bl⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), f(αf(n)) ⊑ ⌜bl⌝ , mon(⌜αf⌝ ), pbd(f), αf(n) ⊑ ⌜af⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∃ z. bf.take(# bl + 1) + z = bl ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 104 from proof cont-thm (previous step) (back to tree)

bf.take(# bl + 1) + bl0 = bl, f(⌜af⌝ ) = ⌜bl⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf.take(# bl + 1)⌝ ⊑ f(αf(n)), f(αf(n)) ⊑ ⌜bl⌝ , mon(⌜αf⌝ ), pbd(f), αf(n) ⊑ ⌜af⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: list-getput, name:extension, seq: ⊦ x = y ↔ # x = # y ∧ (∀ n. n < # x → x(n) = y(n)), subst:[y, x] → [bf.take(# bl + 1) + bl0, bl]; [A] → [B], lhs:bf.take(# bl + 1) + bl0 = bl, <all paths>

Additional information

Used simplifier rules: ⊦ #(x + y) = # x + # y; (s) ⊦ # nf.take(n) = n; (s) a: ⊦ (x + y) + z = x + y + z; from specification list ⊦ m = m + n ↔ n = 0; (s) ⊦ m + n = 0 ↔ m = 0 ∧ n = 0; (ws) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic Used terms: bf.take(# bl + 1) + bl0, bl

Proof step 105 from proof cont-thm (previous step) (back to tree)

⊦ x = y ↔ # x = # y ∧ (∀ n. n < # x → x(n) = y(n))

A spec-lemma

Proof step 106 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , ⌜bf⌝ ≠ f(⌜af⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: ⊦ ⌜nf⌝ = ⌜nf0⌝ ↔ nf = nf0; (s)

Proof step 107 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , bf ≠ bf0, mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: <toplevel>, name:fun-neq, seq: ⊦ bf ≠ bf0 ↔ (∃ n. bf(n) ≠ bf0(n) ∧ (∀ n0. n0 < n → bf(n0) = bf0(n0))), subst:[bf, bf0] → [bf, bf0]; [B] → [B], lhs:bf = bf0, <all paths>

Additional information

Used terms: bf, bf0

Proof step 108 from proof cont-thm (previous step) (back to tree)

⊦ bf ≠ bf0 ↔ (∃ n. bf(n) ≠ bf0(n) ∧ (∀ n0. n0 < n → bf(n0) = bf0(n0)))

Lemma fun-neq

Proof step 109 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∃ n. bf(n) ≠ bf0(n) ∧ (∀ n0. n0 < n → bf(n0) = bf0(n0)), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 110 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , bf(n) ≠ bf0(n), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ m. ∃ n. ⌜bf.take(m)⌝ ⊑ f(αf(n)), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n0. n0 < n → bf(n0) = bf0(n0), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

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

Additional information

Used terms: n + 1

Proof step 111 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bf(n) ≠ bf0(n), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n0. n0 < n → bf(n0) = bf0(n0), ∃ n0. ⌜bf.take(n + 1)⌝ ⊑ f(αf(n0)), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 112 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , bf(n) ≠ bf0(n), ⌜bf.take(n + 1)⌝ ⊑ f(αf(n0)), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n0. n0 < n → bf(n0) = bf0(n0), ∀ α1, α2. α1 ⊑ α2 → f(α1) ⊑ f(α2) ⊦

User applied rule all left

And obtained the following new goals

Rule argument

pos: left 12 terms: αf(n0), ⌜af⌝ abort: F discard: T computed: F

Additional information

Used terms: αf(n0), ⌜af⌝

Proof step 113 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bf(n) ≠ bf0(n), ⌜bf.take(n + 1)⌝ ⊑ f(αf(n0)), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n0. n0 < n → bf(n0) = bf0(n0), αf(n0) ⊑ ⌜af⌝ → f(αf(n0)) ⊑ f(⌜af⌝ ) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Proof step 114 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , bf(n) ≠ bf0(n), ⌜bf.take(n + 1)⌝ ⊑ f(αf(n0)), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n0. n0 < n → bf(n0) = bf0(n0), αf(n0) ⊑ ⌜af⌝ → f(αf(n0)) ⊑ ⌜bf0⌝ ⊦

User applied rule case distinction

And obtained the following new goals

Rule argument

pos: left 12

Additional information

Proof step 115 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bf(n) ≠ bf0(n), ⌜bf.take(n + 1)⌝ ⊑ f(αf(n0)), mon(⌜αf⌝ ), pbd(f), ¬ αf(n0) ⊑ ⌜af⌝ , ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n0. n0 < n → bf(n0) = bf0(n0) ⊦

Heuristic quantifier closing applied rule all left

And closed the goal!

Rule argument

pos: left 10 terms: n0

Additional information

Used terms: n0

Proof step 116 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bf(n) ≠ bf0(n), ⌜bf.take(n + 1)⌝ ⊑ f(αf(n0)), f(αf(n0)) ⊑ ⌜bf0⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n0. n0 < n → bf(n0) = bf0(n0) ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream

Proof step 117 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , bf(n) ≠ bf0(n), ⌜bf.take(n + 1)⌝ ⊑ f(αf(n0)), ⌜bf.take(n + 1)⌝ ⊑ ⌜bf0⌝ , f(αf(n0)) ⊑ ⌜bf0⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n0. n0 < n → bf(n0) = bf0(n0) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:prefix-def, seq: ⊦ σ ⊑ σ0 ↔ (∃ σ1. σ + σ1 = σ0), subst:[σ, σ0] → [⌜bf.take(n + 1)⌝ , ⌜bf0⌝ ]; [A] → [B], lhs:⌜bf.take(n + 1)⌝ ⊑ ⌜bf0⌝ , <all paths>

Additional information

Used terms: ⌜bf.take(n + 1)⌝ , ⌜bf0⌝

Proof step 118 from proof cont-thm (previous step) (back to tree)

⊦ σ ⊑ σ0 ↔ (∃ σ1. σ + σ1 = σ0)

A spec-lemma

Proof step 119 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf0⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bf(n) ≠ bf0(n), ⌜bf.take(n + 1)⌝ ⊑ f(αf(n0)), f(αf(n0)) ⊑ ⌜bf0⌝ , mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n0. n0 < n → bf(n0) = bf0(n0), ∃ β. ⌜bf.take(n + 1)⌝ + β = ⌜bf0⌝ ⊦

Heuristic simplifier applied rule simplifier

And obtained the following new goals

Rule argument

Additional information

Used simplifier rules: leq-trans: ⊦ σ ⊑ σ1 ∧ σ1 ⊑ σ2 → σ ⊑ σ2; (forward) from specification stream ⊦ ⌜nf⌝ .f = nf; (s) ⊦ ⌜x + nf⌝ = ⌜x⌝ + ⌜nf⌝ ; (s) ⊦ finp(σ) ↔ ¬(∃ nf. ⌜nf⌝ = σ); (ss) append-assoc: ⊦ (σ + σ1) + σ2 = σ + σ1 + σ2; from specification stream ⊦ ⌜x⌝ + σ = ⌜nf⌝ ↔ ¬ finp(σ) ∧ x + σ.f = nf; (as)

Proof step 120 from proof cont-thm (previous step) (back to tree)

f(⌜af⌝ ) = ⌜bf.take(n + 1)⌝ + ⌜bf1⌝ , lim(⌜λ n. f(αf(n))⌝ ) = ⌜bf⌝ , lim(⌜αf⌝ ) = ⌜af⌝ , bf(n) ≠ (bf.take(n + 1) + bf1)(n), ⌜bf.take(n + 1)⌝ ⊑ f(αf(n0)), ⌜bf.take(n + 1)⌝ ⊑ f(⌜af⌝ ), f(αf(n0)) ⊑ f(⌜af⌝ ), mon(⌜αf⌝ ), pbd(f), ∀ m. ∃ n. ⌜af.take(m)⌝ ⊑ αf(n), ∀ n. αf(n) ⊑ ⌜af⌝ , ∀ n. f(αf(n)) ⊑ ⌜bf⌝ , ∀ n1. n1 < n → bf(n1) = (bf.take(n + 1) + bf1)(n1) ⊦

User applied rule apply rewrite lemma

And obtained the following new goals

Rule argument

spec: stream, name:add-list-fun-def, seq: ⊦ x + nf = (λ n. (n < # x ⊃ x(n);nf(n - # x))), subst:[x, nf] → [bf.take(n + 1), bf1]; [A] → [B], lhs:bf.take(n + 1) + bf1, <all paths>

Additional information

Used simplifier rules: ⊦ m < n + 1 ↔ ¬ n < m; (s) a: ⊦ (m + n0) + n1 = m + n0 + n1; from specification nat-basic c: ⊦ m + n = n + m; from specification nat-basic m < n ⊦ nf.take(n)(m) = nf(m); (s) ⊦ # nf.take(n) = n; (s) ⊦ ¬ n < n; (s) Used terms: bf.take(n + 1), bf1

Proof step 121 from proof cont-thm (previous step) (back to tree)

⊦ x + nf = (λ n. (n < # x ⊃ x(n);nf(n - # x)))

A spec-lemma

Proof Tree for cont-thm (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