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] - chore(*): golf #18111

Closed
wants to merge 2 commits into from
Closed

[Merged by Bors] - chore(*): golf #18111

wants to merge 2 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Jan 9, 2023

Sets

  • Add set.maps_to_prod_map_diagonal, set.diagonal_nonempty, and set.diagonal_subset_iff.

Filters

  • Generalize and rename nhds_eq_comap_uniformity_aux to filter.mem_comap_prod_mk.
  • Add set.nonempty.principal_ne_bot and filter.comap_id'.
  • Rename filter.has_basis.comp_of_surjective to filter.has_basis.comp_surjective.

Uniform spaces

  • Rename monotone_comp_rel to monotone.comp_rel to enable dot notation.
  • Add nhds_eq_comap_uniformity'.
  • Use 𝓝ˢ (diagonal γ) instead of ⨆ x, 𝓝 (x, x) in uniform_space_of_compact_t2.
  • Golf here and there.

Mathlib 4 port

Relevant parts are forward-ported in leanprover-community/mathlib4#1438


Open in Gitpod

@urkud urkud added awaiting-review The author would like community review of the PR t-topology Topological spaces, uniform spaces, metric spaces, filters labels Jan 9, 2023
@fpvandoorn
Copy link
Member

LGTM

I think more of the files have been ported in the meantime, so please update the Lean 4 PR

bors merge

@github-actions github-actions bot 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 Jan 25, 2023
bors bot pushed a commit that referenced this pull request Jan 25, 2023
### Sets

* Add `set.maps_to_prod_map_diagonal`, `set.diagonal_nonempty`, and `set.diagonal_subset_iff`.

### Filters

* Generalize and rename `nhds_eq_comap_uniformity_aux` to `filter.mem_comap_prod_mk`.
* Add `set.nonempty.principal_ne_bot` and `filter.comap_id'`.
* Rename `filter.has_basis.comp_of_surjective` to `filter.has_basis.comp_surjective`.

### Uniform spaces

* Rename `monotone_comp_rel` to `monotone.comp_rel` to enable dot notation.
* Add `nhds_eq_comap_uniformity'`.
* Use `𝓝ˢ (diagonal γ)` instead of `⨆ x, 𝓝 (x, x)` in `uniform_space_of_compact_t2`.
* Golf here and there.

### Mathlib 4 port

Relevant parts are forward-ported in leanprover-community/mathlib4#1438
@bors
Copy link

bors bot commented Jan 25, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(*): golf [Merged by Bors] - chore(*): golf Jan 25, 2023
@bors bors bot closed this Jan 25, 2023
@bors bors bot deleted the YK-uniform-golf branch January 25, 2023 14:10
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Jan 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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

2 participants