Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Merged by Bors] - refactor(topology/*): add uniform_space.of_fun, use it #18495

Closed
wants to merge 7 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Feb 25, 2023

  • Fix simps config for absolute_value.
  • Define uniform_space.of_fun and use it for absolute_value.uniform_space, pseudo_emetric_space, and pseudo_metric_space.
  • Add filter.tendsto_infi_infi and filter.tendsto_supr_supr.
  • Rename pseudo_metric_space.of_metrizable and metric_space.of_metrizable to *.of_dist_topology.
  • Add metric.to_uniform_space_eq and metric.uniformity_basis_dist_rat.
  • Migrate topology.uniform_space.absolute_value to bundled absolute_value.

Most of the changes to the already ported files are backported from mathlib4 (or a pending PR to mathlib4). I'll sync the rest the day after this PR is merged.

Open in Gitpod

@urkud urkud added awaiting-review The author would like community review of the PR mathport For compatibility with Lean 4 changes, to simplify porting t-topology Topological spaces, uniform spaces, metric spaces, filters labels Feb 25, 2023
src/order/filter/basic.lean Show resolved Hide resolved
src/topology/uniform_space/absolute_value.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
src/topology/uniform_space/basic.lean Outdated Show resolved Hide resolved
@urkud urkud changed the title refactor(topology/*): add uniform_space.core.of_fun, use it refactor(topology/*): add uniform_space.of_fun, use it Feb 26, 2023
Copy link
Collaborator

@YaelDillies YaelDillies left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, but could someone who has used uniform spaces (@sgouezel, maybe?) check?

Copy link
Member

@jcommelin jcommelin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 🎉

bors merge

@leanprover-community-bot-assistant leanprover-community-bot-assistant added ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) and removed awaiting-review The author would like community review of the PR labels Feb 27, 2023
bors bot pushed a commit that referenced this pull request Feb 27, 2023
* Fix `simps` config for `absolute_value`.
* Define `uniform_space.of_fun` and use it for `absolute_value.uniform_space`, `pseudo_emetric_space`, and `pseudo_metric_space`.
* Add `filter.tendsto_infi_infi` and `filter.tendsto_supr_supr`.
* Rename `pseudo_metric_space.of_metrizable` and `metric_space.of_metrizable` to `*.of_dist_topology`.
* Add `metric.to_uniform_space_eq` and `metric.uniformity_basis_dist_rat`.
* Migrate `topology.uniform_space.absolute_value` to bundled `absolute_value`.
@bors
Copy link

bors bot commented Feb 27, 2023

Build failed:

@urkud
Copy link
Member Author

urkud commented Feb 27, 2023

bors merge

bors bot pushed a commit that referenced this pull request Feb 27, 2023
* Fix `simps` config for `absolute_value`.
* Define `uniform_space.of_fun` and use it for `absolute_value.uniform_space`, `pseudo_emetric_space`, and `pseudo_metric_space`.
* Add `filter.tendsto_infi_infi` and `filter.tendsto_supr_supr`.
* Rename `pseudo_metric_space.of_metrizable` and `metric_space.of_metrizable` to `*.of_dist_topology`.
* Add `metric.to_uniform_space_eq` and `metric.uniformity_basis_dist_rat`.
* Migrate `topology.uniform_space.absolute_value` to bundled `absolute_value`.
@bors
Copy link

bors bot commented Feb 27, 2023

Build failed:

@urkud
Copy link
Member Author

urkud commented Feb 27, 2023

bors merge

bors bot pushed a commit that referenced this pull request Feb 27, 2023
* Fix `simps` config for `absolute_value`.
* Define `uniform_space.of_fun` and use it for `absolute_value.uniform_space`, `pseudo_emetric_space`, and `pseudo_metric_space`.
* Add `filter.tendsto_infi_infi` and `filter.tendsto_supr_supr`.
* Rename `pseudo_metric_space.of_metrizable` and `metric_space.of_metrizable` to `*.of_dist_topology`.
* Add `metric.to_uniform_space_eq` and `metric.uniformity_basis_dist_rat`.
* Migrate `topology.uniform_space.absolute_value` to bundled `absolute_value`.
@bors
Copy link

bors bot commented Feb 28, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title refactor(topology/*): add uniform_space.of_fun, use it [Merged by Bors] - refactor(topology/*): add uniform_space.of_fun, use it Feb 28, 2023
@bors bors bot closed this Feb 28, 2023
@bors bors bot deleted the YK-uniform-of-fun branch February 28, 2023 01:22
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Feb 28, 2023
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Feb 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
mathport For compatibility with Lean 4 changes, to simplify porting ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) t-topology Topological spaces, uniform spaces, metric spaces, filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants