Definition 7.5.1. A function f : X → Y between metric spaces is
continuous at c if for every ε > 0 there is δ > 0 such that
dist x c < δ implies dist (f x) (f c) < ε. When this holds for every
c, the function is continuous.
Instances For
The book's ε-δ continuity at a point agrees with mathlib's ContinuousAt.
Proposition 7.5.2. A map between metric spaces is continuous at c if and
only if every sequence converging to c has image sequence converging to
f c.
A function is (globally) continuous when it is continuous at every point.
Equations
- metricContinuous f = ∀ (c : X), metricContinuousAt f c
Instances For
The book's notion of a continuous function coincides with Continuous.
Example 7.5.3. A polynomial on ℝ × ℝ (and more generally on finitely many
variables) defines a continuous function.
Example 7.5.4. A complex-valued function on a metric space is continuous at
c exactly when its real and imaginary parts are continuous at c.
Lemma 7.5.5. A continuous function maps compact sets to compact sets.
Theorem 7.5.6. A continuous real-valued function on a nonempty compact metric space is bounded and attains both its absolute minimum and maximum.
Lemma 7.5.7. A function between metric spaces is continuous at a point exactly when every open neighborhood of its value has a preimage that is an open neighborhood of the point.
Theorem 7.5.8. A function between metric spaces is continuous if and only if for every open set in the codomain, its preimage is open in the domain.
Example 7.5.9. For a continuous function, closed sets pull back to closed
sets. In particular, if f : X → ℝ is continuous, then its zero set and its
nonnegative set are closed, while the positive set is open.
Definition 7.5.10. A function between metric spaces is uniformly continuous
if for every ε > 0 there exists δ > 0 such that dist p q < δ implies
dist (f p) (f q) < ε.
Equations
Instances For
The book's notion of uniform continuity agrees with mathlib's
UniformContinuous.
Theorem 7.5.11. A continuous function from a compact metric space to another metric space is uniformly continuous.
Proposition 7.5.12. If f : [a,b] × [c,d] → ℝ is continuous, then
g : [c,d] → ℝ defined by g y = ∫ x in a..b, f (x,y) is continuous.
Example 7.5.13. A K-Lipschitz map between metric spaces is uniformly
continuous. Conversely, the square root on [0,1] is uniformly continuous but
fails to be Lipschitz.
Definition 7.5.14. In a metric space (X, d) and subset S, a point p
is a cluster point of S if every open ball around p meets S at some point
other than p.
Equations
- metricClusterPoint p S = ∀ ε > 0, (Metric.ball p ε ∩ (S \ {p})).Nonempty
Instances For
The book's notion of cluster point agrees with the topological description
as belonging to the closure of S \ {p}.
Definition 7.5.15. For metric spaces (X, d_X), (Y, d_Y), subset S,
and cluster point p of S, a function f : X → Y has limit L at p
along S when every punctured neighborhood of p in S is sent within any
ε-ball around L. If the limit is unique we write lim_{x → p} f x = L.
Equations
Instances For
The ε-δ limit within a set agrees with mathlib's Tendsto along the
punctured neighborhood filter.
Proposition 7.5.16. If p is a cluster point of S and a function has a
limit along S at p, that limit is unique.
Lemma 7.5.17. A function on a subset of a metric space has limit L at a
cluster point p of the subset exactly when every sequence in the subset
avoiding p and converging to p has image sequence converging to L.