Analysis I, Section 9.1: Subsets of the real line #
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:
- Review of Mathlib intervals.
- Adherent points, limit points, isolated points.
- Closed sets and closure.
- The Heine-Borel theorem for the real line.
Definition 9.1.
Equations
- Chapter9.AdherentPt x X = ∀ ε > 0, ε.adherent' x X
Instances For
identification of AdherentPt with Mathlib's ClusterPt
Lemma 9.1.14 / Exercise 9.1.5
Corollary 9.1.17
Definition 9.1.18 (Limit points)
Equations
- Chapter9.LimitPt x X = Chapter9.AdherentPt x (X \ {x})
Instances For
Identification with Mathlib's AccPt
Definition 9.1.22. We use here Mathlib's Bornology.IsBounded
Example 9.1.23
Example 9.1.23
Example 9.1.23
Theorem 9.1.24 / Exercise 9.1.13 (Heine-Borel theorem for the line)