Documentation

Analysis.Section_5_2

Analysis I, Section 5.2: Equivalent Cauchy sequences #

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:

Tips from past users #

Users of the companion who have completed the exercises in this section are welcome to send their tips for future users in this section as PRs.

@[reducible, inline]
abbrev Rat.CloseSeq (ε : ) (a b : Chapter5.Sequence) :
Equations
Instances For
    @[reducible, inline]
    Equations
    Instances For
      theorem Chapter5.Rat.closeSeq_def (ε : ) (a b : Sequence) :
      ε.CloseSeq a b na.n₀, n b.n₀ε.Close (a.seq n) (b.seq n)

      Definition 5.2.1 ($ε$-close sequences)

      theorem Chapter5.Rat.eventuallyClose_def (ε : ) (a b : Sequence) :
      ε.EventuallyClose a b ∃ (N : ), ε.CloseSeq (a.from N) (b.from N)

      Definition 5.2.3 (Eventually ε-close sequences)

      theorem Chapter5.Rat.eventuallyClose_iff (ε : ) (a b : ) :
      ε.EventuallyClose a b ∃ (N : ), nN, |a n - b n| ε

      Definition 5.2.3 (Eventually ε-close sequences)

      @[reducible, inline]
      abbrev Chapter5.Sequence.Equiv (a b : ) :

      Definition 5.2.6 (Equivalent sequences)

      Equations
      Instances For
        theorem Chapter5.Sequence.equiv_def (a b : ) :
        Equiv a b ε > 0, ε.EventuallyClose a b

        Definition 5.2.6 (Equivalent sequences)

        theorem Chapter5.Sequence.equiv_iff (a b : ) :
        Equiv a b ε > 0, ∃ (N : ), nN, |a n - b n| ε

        Definition 5.2.6 (Equivalent sequences)

        theorem Chapter5.Sequence.equiv_example :
        Equiv (fun (n : ) => 1 + 10 ^ (-n - 1)) fun (n : ) => 1 - 10 ^ (-n - 1)

        Proposition 5.2.8

        theorem Chapter5.Sequence.isCauchy_of_equiv {a b : } (hab : Equiv a b) :
        (↑a).IsCauchy (↑b).IsCauchy

        Exercise 5.2.1

        theorem Chapter5.Sequence.isBounded_of_eventuallyClose {ε : } {a b : } (hab : ε.EventuallyClose a b) :
        (↑a).IsBounded (↑b).IsBounded

        Exercise 5.2.2