-
Notifications
You must be signed in to change notification settings - Fork 74
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This PR introduces the concept of metric spaces. We introduce a new module `metric-spaces` with the following submodules: ### Premetric spaces - `premetric-structures`: premetric structures on a type and basic properties; - `reflexive-premetric-structures`; - `symmetric-premetric-structures`; - `monotonic-premetric-structures`: premetrics with upper-stable neighborhoods; - `triangular-premetric-structures`: premetrics that satisfy a triangular inequality; - `extensional-premetric-structures`: premetrics here indistinguishability characterizes equality; - `closed-premetric-structures`: premetrics with closed neighborhoods; - `discrete-premetric-structures`: premetric structure defined by mere equality; - `induced-premetric-structures-on-preimages`: premetric induced on the domain of a map by a premetric on its codomain; - `ordering-premetric-structures`: a partial ordering on the premetric structures on a type; - `premetric-spaces`: types equipped with a premetric structure; - `short-functions-premetric-spaces`: functions between premetric spaces that preserve neighborhoods; - `isometries-premetric-spaces`: functions between premetric spaces that identify neighborhoods; - `equality-of-premetric-spaces`: identity principle for the type of premetric spaces; - `invertible-isometries-premetric-spaces`: another characterization of equality of premetric spaces; - `isometric-equivalences-premetric-spaces`: another characterization of equality of premetric spaces; - `cauchy-approximations-premetric-spaces`: the type of Cauchy approximations in a premetric space; - `limits-of-cauchy-approximations-in-premetric-spaces`; ### Pseudometric spaces - `pseudometric-structures`: reflexive, symmetric, and triangular premetrics; - `pseudometric-spaces`: types equipped with a pseudometric structure; ### Metric spaces - `metric-structures`: reflexive, symmetric, triangular, and local premetrics; - `metric-spaces`: types equipped with a metric structure; - `saturated-metric-spaces`: metric spaces with closed premetrics; - `subspaces-metric-spaces`: metric structure induced on subsets of metric spaces; - `dependent-products-metric-spaces`: metric structure on dependent families of metric spaces; - `functions-metric-spaces`: functions between carrier types of metric spaces; - `short-functions-metric-spaces`: short functions between the underlying premetric spaces of metric spaces; - `isometries-metric-spaces`: isometries between the underlying premetric spaces of metric spaces; - `equality-of-metric-spaces`: identity principle in the type of metric spaces; - `cauchy-approximations-metric-spaces`: the type of Cauchy approximations in a metric space; - `convergent-cauchy-approximations-metric-spaces`: the type of convergent Cauchy approximations in a metric space; - `complete-metric-spaces`: the type of metric spaces where all Cauchy approximations are convergent; ### Example of metric spaces - `metric-space-of-cauchy-approximations-in-a-metric-space`; - `metric-space-of-convergent-cauchy-approximations-in-a-metric-space`; - `metric-space-of-rational-numbers`; - `metric-space-of-rational-numbers-with-open-neighborhoods`; ### Categories of metric spaces and functors between them - `precategory-of-metric-spaces-and-functions`; - `precategory-of-metric-spaces-and-isometries`; - `precategory-of-metric-spaces-and-short-functions`; - `category-of-metric-spaces-and-isometries`; - `category-of-metric-spaces-and-short-functions`; - `functor-category-set-functions-isometry-metric-spaces`; - `functor-category-short-isometry-metric-spaces`. We also introduce the standard metric structure on the real numbers in `real-numbers.metric-space-of-real-numbers` and a few miscellaneous lemmas in `elementary-number-theory` and `foundation`. --------- Co-authored-by: Fredrik Bakke <[email protected]>
- Loading branch information
1 parent
510c707
commit c61f0f3
Showing
57 changed files
with
8,011 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.