Documentation

Books.Analysis2_Tao_2022.Chapters.Chap01.section05

@[reducible, inline]

Definition 1.21: A subset X ⊆ ℝ is sequentially compact if every sequence in X has a convergent subsequence whose limit belongs to X.

Equations
Instances For

    The book's sequential compactness is the same as IsSeqCompact.

    Theorem 1.5 (Heine--Borel theorem on ): For X ⊆ ℝ, the following are equivalent: (i) X is closed and bounded. (ii) Every sequence (x_n) in X has a subsequence (x_{n_k}) converging to a limit x ∈ X.

    @[reducible, inline]

    Definition 1.22 (Compactness): A metric space (X,d) is compact if every sequence (x_n) in X has a strictly increasing k : ℕ → ℕ and a point x ∈ X with d (x_{k(n)}) x → 0. A subset Y ⊆ X is compact in X if the induced metric on Y is compact.

    Equations
    Instances For
      @[reducible, inline]
      abbrev IsCompactSpace (X : Type u_1) [MetricSpace X] :

      Book's compactness of a metric space, expressed as sequential compactness.

      Equations
      Instances For

        The book's compactness of a metric space is equivalent to SeqCompactSpace.

        @[reducible, inline]
        abbrev IsCompactSubset {X : Type u_1} [MetricSpace X] (Y : Set X) :

        Book's compactness for a subset of a metric space, expressed as IsSeqCompact.

        Equations
        Instances For

          The book's compact subset notion is equivalent to IsSeqCompact.

          def IsBoundedSubset {X : Type u_1} [MetricSpace X] (Y : Set X) :

          Definition 1.23 (Bounded sets): In a metric space (X,d), a subset Y is bounded if there exist x ∈ X and r ∈ ℝ with 0 ≤ r < ∞ such that Y ⊆ B(x,r) = {y ∈ X : d(x,y) < r}. The metric space (X,d) is bounded if the set X is bounded.

          Equations
          Instances For

            The book's boundedness for subsets agrees with Bornology.IsBounded.

            @[reducible, inline]
            abbrev IsBoundedSpace (X : Type u_1) [MetricSpace X] :

            A metric space is bounded if it is a BoundedSpace.

            Equations
            Instances For

              The book's boundedness of a metric space matches BoundedSpace.

              A metric space is bounded iff its underlying set is bounded in the book's sense.

              @[reducible, inline]
              abbrev IsCompactOpenCover {X : Type u_1} [MetricSpace X] (K : Set X) :

              Definition 1.24: In a metric space (X,d), a subset K ⊆ X is compact if every open cover of K has a finite subcover; i.e. for every family of open sets (U_i)_{i ∈ I} in X with K ⊆ ⋃ i, U_i, there exist indices i₁, …, iₙ ∈ I such that K ⊆ U_{i₁} ∪ … ∪ U_{iₙ}.

              Equations
              Instances For

                The book's open-cover compactness for subsets agrees with IsCompact.

                @[reducible, inline]

                Definition 1.25 (Compactness via open covers): A topological space Y is compact if every open cover of Y has a finite subcover.

                Equations
                Instances For

                  The book's open-cover compactness for a space agrees with CompactSpace.

                  @[reducible, inline]

                  Definition 1.26: A metric space (X,d) is totally bounded if for every ε > 0 there exist n ∈ ℕ and points x^(1), …, x^(n) ∈ X such that X = ⋃_{i=1}^n B(x^(i), ε).

                  Equations
                  Instances For
                    theorem isTotallyBoundedSpace_iff_ball_cover (X : Type u_1) [MetricSpace X] :
                    IsTotallyBoundedSpace X ε > 0, ∃ (t : Set X), t.Finite Set.univ xt, Metric.ball x ε

                    The book's totally boundedness is equivalent to a finite cover by metric balls.

                    Helper for Proposition 1.28: sequential compactness of the book gives CompactSpace.

                    Helper for Proposition 1.28: compact metric spaces are complete.

                    Helper for Proposition 1.28: compact metric spaces are bounded.

                    Proposition 1.28: A compact metric space is complete and bounded.

                    If a metric space is compact (in the book's sense), then it is complete and bounded.

                    theorem helperForTheorem_1_6_isClosed {X : Type u_1} [MetricSpace X] {Y : Set X} (hY : IsCompactSubset Y) :

                    Helper for Theorem 1.6: a compact subset of a metric space is closed.

                    Theorem 1.6: (Compact subsets of metric spaces are closed and bounded) Let (X,d) be a metric space and let Y ⊆ X be compact. Then: (i) Y is closed in X. (ii) Y is bounded, i.e. there exist x₀ ∈ X and R > 0 such that Y ⊆ {x ∈ X : d x x₀ ≤ R}.

                    A compact subset of a metric space is closed and bounded.

                    Theorem 1.7 (Heine--Borel theorem): Let n ∈ ℕ, and let d be the Euclidean metric, the taxicab metric, or the sup norm metric on ℝ^n. For a set E ⊆ ℝ^n, the following are equivalent: (i) E is compact (every open cover admits a finite subcover). (ii) E is closed and bounded.

                    Heine--Borel on ℝ^n: compactness is equivalent to closedness and boundedness.

                    Helper for Theorem 1.8: sequential compactness of a subset implies compactness.

                    theorem compactSubset_finite_subcover {X : Type u_1} [MetricSpace X] {Y : Set X} (hY : IsCompactSubset Y) {A : Type u_2} (V : ASet X) (hV : ∀ (α : A), IsOpen (V α)) (hcover : Y ⋃ (α : A), V α) :
                    ∃ (F : Finset A), Y αF, V α

                    Theorem 1.8: Let (X,d) be a metric space, let Y ⊆ X be compact, and let (V_α)_{α∈A} be a family of open subsets of X with Y ⊆ ⋃ α, V α. Then there exists a finite F ⊆ A such that Y ⊆ ⋃ α ∈ F, V α.

                    theorem helperForTheorem_1_9_isCompact_univ_of_openCover (Y : Type u) [TopologicalSpace Y] (hcover : ∀ {ι : Type u} (U : ιSet Y), (∀ (i : ι), IsOpen (U i))Set.univ ⋃ (i : ι), U i∃ (s : Finset ι), Set.univ is, U i) :

                    Helper for Theorem 1.9: open-cover finite-subcover property implies compactness of Set.univ.

                    theorem heineBorelProperty_implies_compactSpace (Y : Type u) [TopologicalSpace Y] (hcover : ∀ {ι : Type u} (U : ιSet Y), (∀ (i : ι), IsOpen (U i))Set.univ ⋃ (i : ι), U i∃ (s : Finset ι), Set.univ is, U i) :

                    Theorem 1.9 (Heine--Borel property implies compactness): Let Y be a topological space. If every open cover of Y admits a finite subcover, then Y is compact.

                    theorem nested_compact_inter_nonempty {X : Type u_1} [MetricSpace X] (K : Set X) (hKcompact : ∀ (n : ), IsCompact (K n)) (hKnonempty : ∀ (n : ), (K n).Nonempty) (hmono : ∀ (n : ), K (n + 1) K n) :
                    (⋂ (n : ), K n).Nonempty

                    Theorem 1.10: Let (K_n)_{n∈ℕ} be a sequence of nonempty compact subsets of a metric space (X,d) such that K_{n+1} ⊆ K_n for all n. Then ⋂ n, K n is nonempty. Nested nonempty compact sets have nonempty intersection.

                    theorem nested_compact_inter_nonempty_from_one_prop {X : Type u_1} [MetricSpace X] (K : Set X) (hKcompact : ∀ (n : ), IsCompact (K n)) (hKnonempty : ∀ (n : ), (K n).Nonempty) (hmono : ∀ (n : ), K (n + 1) K n) :
                    (⋂ (n : ), K (n + 1)).Nonempty

                    Theorem 1.11: For a metric space (X,d) and a nested sequence of nonempty compact subsets K n with K (n+1) ⊆ K n, the intersection ⋂_{n=1}^∞ K_n is nonempty.

                    theorem nested_compact_inter_nonempty_from_one {X : Type u_1} [MetricSpace X] (K : Set X) (hKcompact : ∀ (n : ), IsCompact (K n)) (hKnonempty : ∀ (n : ), (K n).Nonempty) (hmono : ∀ (n : ), K (n + 1) K n) :
                    (⋂ (n : ), K (n + 1)).Nonempty

                    A nested sequence of nonempty compact subsets has nonempty intersection starting at n = 1.

                    Helper for Theorem 1.12: compactness of univ in the subtype of a compact set.

                    theorem compact_basic_properties (X : Type u_1) [MetricSpace X] :
                    (∀ (Y : Set X), IsCompact Y∀ (Z : Set Y), IsCompact Z IsClosed Z) (∀ {ι : Type u_2} (s : Finset ι) (Y : ιSet X), (∀ is, IsCompact (Y i))IsCompact (⋃ is, Y i)) ∀ {Z : Set X}, Z.FiniteIsCompact Z

                    Theorem 1.12: Let (X,d) be a metric space. (a) If Y ⊆ X is compact and Z ⊆ Y, then Z is compact iff Z is closed in Y. (b) If Y₁, …, Yₙ ⊆ X are compact, then ⋃ i, Yᵢ is compact. (c) Every finite subset of X (including ) is compact.

                    theorem compact_subset_iff_closed_in_compact {X : Type u_1} [MetricSpace X] {Y : Set X} (hY : IsCompact Y) (Z : Set Y) :

                    Theorem 1.12(a): In a compact subset Y of a metric space, Z ⊆ Y is compact iff it is closed in Y.

                    theorem compact_iUnion_finset {X : Type u_1} [MetricSpace X] {ι : Type u_2} (s : Finset ι) (Y : ιSet X) (hY : is, IsCompact (Y i)) :
                    IsCompact (⋃ is, Y i)

                    Theorem 1.12(b): A finite union of compact subsets is compact.

                    theorem finite_isCompact {X : Type u_1} [MetricSpace X] {Z : Set X} (hZ : Z.Finite) :

                    Theorem 1.12(c): Every finite subset of a metric space is compact.

                    Theorem 1.13 (Equivalence of sequential compactness and open cover compactness): Let (X,d) be a metric space. The following are equivalent: (i) every sequence in X has a convergent subsequence; (ii) every open cover of X has a finite subcover.

                    In a metric space, sequential compactness is equivalent to open-cover compactness.

                    def intDiscreteDist (m n : ) :

                    Helper for Proposition 1.29: discrete distance on , 0 on the diagonal and 1 off it.

                    Equations
                    Instances For

                      Helper for Proposition 1.29: the discrete distance on is zero on the diagonal.

                      Helper for Proposition 1.29: the discrete distance on is symmetric.

                      Helper for Proposition 1.29: the discrete distance on satisfies the triangle inequality.

                      Helper for Proposition 1.29: zero discrete distance on implies equality.

                      Helper for Proposition 1.29: the metric space structure on induced by intDiscreteDist.

                      Equations
                      • One or more equations did not get rendered due to their size.
                      Instances For

                        Helper for Proposition 1.29: in the discrete metric on , distance < 1/2 forces equality.

                        Helper for Proposition 1.29: the discrete metric on induces the discrete topology.

                        Helper for Proposition 1.29: completeness of the discrete metric on .

                        Helper for Proposition 1.29: boundedness of the discrete metric on .

                        Helper for Proposition 1.29: with the discrete metric is not compact.

                        Proposition 1.29: Let (X,d) be a metric space and equip with the discrete metric d(m,n)=1 when m ≠ n (and 0 otherwise). Then is complete and bounded, but not compact.

                        Helper for Proposition 1.36: every integer lies in the ball of radius 2 around 0.

                        Helper for Proposition 1.36: univ is bounded for the discrete metric on .

                        Helper for Proposition 1.36: univ is not compact in the discrete metric on .

                        Proposition 1.36: [Heine-Borel fails for discrete metric on ] In the discrete metric on , the set is closed and bounded, but not compact. In the discrete metric on , the whole space is closed and bounded but not compact.