Documentation

Books.IntroductiontoRealAnalysisVolumeI_JiriLebl_2025.Chapters.Chap07.section03

def MetricSequence (X : Type u) :

Definition 7.3.1. A sequence in a metric space (X, d) is a function x : ℕ → X, written xₙ for its terms and {xₙ} for the whole sequence. It is bounded if there exists p ∈ X and B ∈ ℝ such that dist p (xₙ) ≤ B for all n. Equivalently, the image set {xₙ : n ∈ ℕ} is bounded. A subsequence of {xₙ} is any sequence of the form {x_{n_k}} where n_{k+1} > n_k for all k.

Equations
Instances For

    A sequence is bounded when all of its terms lie in a ball of finite radius around some point of the space.

    Equations
    Instances For

      A bounded sequence's range lies in a closed ball.

      A bounded range yields a pointwise distance bound for the sequence.

      The book's notion of a bounded sequence agrees with boundedness of its range in the bornology of the metric space.

      A subsequence of x is obtained by precomposing with a strictly increasing map of indices.

      Equations
      Instances For

        Definition 7.3.2. A sequence {xₙ} in a metric space converges to a point p if for every ε > 0 there exists M ∈ ℕ such that dist (xₙ) p < ε for all n ≥ M. In this case p is a limit of the sequence.

        Equations
        Instances For

          A sequence is convergent when it has a (not necessarily unique) limit.

          Equations
          Instances For

            The book's notion of convergence agrees with the usual filter convergence of sequences.

            A sequence is divergent when it does not converge.

            Equations
            Instances For
              theorem metricConvergentSequence_limit_unique {X : Type u} [MetricSpace X] {x : MetricSequence X} {p q : X} (hp : MetricConvergesTo x p) (hq : MetricConvergesTo x q) :
              p = q

              Proposition 7.3.3. A convergent sequence in a metric space has a unique limit.

              Proposition 7.3.4. A convergent sequence in a metric space is bounded.

              theorem real_dist_eq_self_of_nonneg {r : } (hr : 0 r) :
              dist r 0 = r

              Nonnegative reals have distance to zero equal to themselves.

              theorem metricConvergesTo_dist_to_zero {X : Type u} [PseudoMetricSpace X] {x : MetricSequence X} {p : X} (hx : MetricConvergesTo x p) :
              MetricConvergesTo (fun (n : ) => dist (x n) p) 0

              Distances to a limit point converge to zero.

              theorem metricConvergesTo_of_dist_le_of_tendsto {X : Type u} [PseudoMetricSpace X] {x : MetricSequence X} {p : X} {a : } (ha : ∀ (n : ), dist (x n) p a n) (hat : Filter.Tendsto a Filter.atTop (nhds 0)) :

              A distance bound by a sequence tending to zero forces convergence.

              theorem metricConvergesTo_iff_exists_distance_bound {X : Type u} [PseudoMetricSpace X] {x : MetricSequence X} {p : X} :
              MetricConvergesTo x p ∃ (a : ), (∀ (n : ), dist (x n) p a n) Filter.Tendsto a Filter.atTop (nhds 0)

              Proposition 7.3.5. A sequence in a metric space converges to p if and only if there is a real sequence controlling the distances to p that itself tends to zero.

              Proposition 7.3.6. (i) A subsequence of a sequence converging to p also converges to p. (ii) If some tail of a sequence converges to p, then the original sequence converges to p.

              theorem metricConvergesTo_of_tail {X : Type u} [PseudoMetricSpace X] {x : MetricSequence X} {p : X} {K : } (hx : MetricConvergesTo (fun (n : ) => x (n + K.succ)) p) :
              theorem dist_eval_le_sup {a b : } (h k : C((Set.Icc a b), )) (x : (Set.Icc a b)) :
              dist (h x) (k x) dist h k

              The distance between evaluations of two continuous functions is controlled by their supremum distance.

              theorem sup_norm_le_of_pointwise {a b : } (h k : C((Set.Icc a b), )) {ε : } ( : 0 ε) (hpoint : ∀ (x : (Set.Icc a b)), dist (h x) (k x) ε) :
              dist h k ε

              A uniform pointwise bound on two continuous functions gives a bound on their supremum distance.

              theorem uniformConvergence_iff_convergesInSupMetric {a b : } (f : MetricSequence C((Set.Icc a b), )) (g : C((Set.Icc a b), )) :
              (∀ ε > 0, ∃ (M : ), ∀ ⦃n : ⦄, M n∀ (x : (Set.Icc a b)), dist ((f n) x) (g x) < ε) MetricConvergesTo f g

              Example 7.3.7. For continuous real-valued functions on a closed interval [a, b] endowed with the uniform (supremum) norm, convergence of a sequence in the metric space sense is the same as uniform convergence.

              Proposition 7.3.9. A sequence in Euclidean space ℝⁿ converges if and only if each coordinate sequence converges, and the limit vector has the coordinatewise limits.

              A sequence in ℝⁿ converges exactly when every coordinate sequence converges. In this case the limit is the vector of the coordinate limits.

              theorem tendsto_complex_iff_real_im (z : MetricSequence ) (x y : ) :
              Filter.Tendsto z Filter.atTop (nhds (x + y * Complex.I)) Filter.Tendsto (fun (n : ) => (z n).re) Filter.atTop (nhds x) Filter.Tendsto (fun (n : ) => (z n).im) Filter.atTop (nhds y)

              Convergence of complex numbers is equivalent to convergence of the real and imaginary parts.

              theorem metricConvergesTo_complex_iff_re_im (z : MetricSequence ) (x y : ) :
              MetricConvergesTo z (x + y * Complex.I) MetricConvergesTo (fun (n : ) => (z n).re) x MetricConvergesTo (fun (n : ) => (z n).im) y

              Example 7.3.10. In the complex plane viewed as ℝ², a sequence zₙ = xₙ + i yₙ converges to x + i y if and only if the real parts converge to x and the imaginary parts converge to y.

              theorem metricConvergesTo_eventually_mem_open {X : Type u} [PseudoMetricSpace X] {x : MetricSequence X} {p : X} {U : Set X} (hx : MetricConvergesTo x p) (hUopen : IsOpen U) (hpU : p U) :
              ∃ (M : ), ∀ ⦃n : ⦄, M nx n U
              theorem tendsto_of_eventually_mem_open {X : Type u} [PseudoMetricSpace X] {x : MetricSequence X} {p : X} (hx : ∀ {U : Set X}, IsOpen Up U∃ (M : ), ∀ ⦃n : ⦄, M nx n U) :
              theorem metricConvergesTo_iff_eventually_mem_nhds {X : Type u} [PseudoMetricSpace X] {x : MetricSequence X} {p : X} :
              MetricConvergesTo x p ∀ {U : Set X}, IsOpen Up U∃ (M : ), ∀ ⦃n : ⦄, M nx n U

              Proposition 7.3.11. A sequence in a metric space converges to p exactly when eventually all of its terms lie in every open neighborhood of p.

              theorem mem_closed_of_converges {X : Type u} [PseudoMetricSpace X] {E : Set X} (hE : IsClosed E) {x : MetricSequence X} (hx : ∀ (n : ), x n E) {p : X} (hxlim : MetricConvergesTo x p) :
              p E

              Proposition 7.3.12. In a metric space, a closed set contains the limit of a convergent sequence of its points.

              theorem mem_closure_iff_metricConvergesTo_seq {X : Type u} [PseudoMetricSpace X] {A : Set X} {p : X} :
              p closure A ∃ (x : MetricSequence X), (∀ (n : ), x n A) MetricConvergesTo x p

              Proposition 7.3.13. A point lies in the closure of a set in a metric space exactly when it is the limit of a sequence of points from that set.