Documentation

Analysis.Section_6_6

Analysis I, Section 6.6: Subsequences #

I have attempted to make the translation as faithful a paraphrasing as possible of the original text. When there is a choice between a more idiomatic Lean solution and a more faithful translation, I have generally chosen the latter. In particular, there will be places where the Lean code could be "golfed" to be more elegant and idiomatic, but I have consciously avoided doing so.

Main constructions and results of this section:

@[reducible, inline]
abbrev Chapter6.Sequence.subseq (a b : ) :

Definition 6.6.1

Equations
Instances For

    Lemma 6.6.4 / Exercise 6.6.1

    theorem Chapter6.Sequence.subseq_trans {a b c : } (hab : subseq a b) (hbc : subseq b c) :
    subseq a c

    Lemma 6.6.4 / Exercise 6.6.1

    theorem Chapter6.Sequence.convergent_iff_subseq (a : ) (L : ) :
    (↑a).TendsTo L ∀ (b : ), subseq a b(↑b).TendsTo L

    Proposition 6.6.5 / Exercise 6.6.4

    theorem Chapter6.Sequence.limit_point_iff_subseq (a : ) (L : ) :
    (↑a).LimitPoint L ∃ (b : ), subseq a b (↑b).TendsTo L

    Proposition 6.6.6 / Exercise 6.6.5

    theorem Chapter6.Sequence.convergent_of_subseq_of_bounded {a : } (ha : (↑a).IsBounded) :
    ∃ (b : ), subseq a b (↑b).Convergent

    Theorem 6.6.8 (Bolzano-Weierstrass theorem)

    theorem Chapter6.Sequence.subseq_of_unbounded {a : } (ha : ¬(↑a).IsBounded) :
    ∃ (b : ), subseq a b (↑b)⁻¹.TendsTo 0

    Exercise 6.6.3. You may find the API around Mathlib's Nat.find to be useful (and open Classical to avoid any decidability issues)