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(topology/algebra/group): generalise instances #15171

Closed
wants to merge 20 commits into from

Conversation

alexjbest
Copy link
Member

@alexjbest alexjbest commented Jul 7, 2022

Using the generalisation linter make the following generalisations in topology.algebra.group.basic.
Note that topological spaces that are groups with continuous multiplication but noncontinuous inverse do exist at least when the space is noncompact (they are known as paratopological spaces) I do not claim that they are used in mathlib though ;).

In summary we generalise:

  • tendsto_inv_nhds_within_Ioi and all variants to only require continuous inverse rather that topological group
  • the continuous_inv operation on the multiplicative opposite to only require a has_inv, rather than a group
  • topological_group.t1_space from topological groups to only continuous mul
  • topological_group.regular_space (and t2_space) from assuming the base is t1 to just topological group.
  • compact_open_separated_mul_right/left, from topological group to mul_one_class with a continuous mul
  • various quotient_group.has_continuous_const_smul type lemmas to continuous_mul
  • tsum_sigma/tsum_prod from t1 to t0

and their additivised versions.


Open in Gitpod

@alexjbest alexjbest added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. labels Jul 7, 2022
@alexjbest alexjbest removed awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. labels Jul 7, 2022
@alexjbest alexjbest added the awaiting-review The author would like community review of the PR label Jul 7, 2022
src/topology/algebra/infinite_sum.lean Outdated Show resolved Hide resolved
src/topology/algebra/infinite_sum.lean Outdated Show resolved Hide resolved
Co-authored-by: Rémy Degenne <remydegenne@gmail.com>
@ocfnash
Copy link
Collaborator

ocfnash commented Jul 12, 2022

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 Jul 12, 2022
@bors
Copy link

bors bot commented Jul 13, 2022

Merge conflict.

@ocfnash
Copy link
Collaborator

ocfnash commented Jul 13, 2022

bors d+

@bors
Copy link

bors bot commented Jul 13, 2022

✌️ alexjbest can now approve this pull request. To approve and merge a pull request, simply reply with bors r+. More detailed instructions are available here.

@github-actions github-actions bot added the delegated The PR author may merge after reviewing final suggestions. label Jul 13, 2022
@alexjbest
Copy link
Member Author

bors r+

bors bot pushed a commit that referenced this pull request Jul 14, 2022
Using the generalisation linter make the following generalisations in `topology/algebra/group`.
Note that topological spaces that are groups with continuous multiplication but noncontinuous inverse do exist at least when the space is noncompact (they are known as paratopological spaces) I do not claim that they are used in mathlib though ;).

In summary we generalise:
- `tendsto_inv_nhds_within_Ioi` and all variants to only require continuous inverse rather that topological group
- the continuous_inv operation on the multiplicative opposite to only require a has_inv, rather than a group
- `topological_group.t1_space` from topological groups to only continuous mul
- `topological_group.regular_space` (and t2_space) from assuming the base is t1 to only t0.
- `compact_open_separated_mul_right/left`,   from topological group to mul_one_class with a continuous mul
- various `quotient_group.has_continuous_const_smul` type lemmas to continuous_mul

and all `to_additive` versions.

Also golf the proof of `subgroup.regular_quotient_of_is_closed`
@alexjbest
Copy link
Member Author

bors r-

@YaelDillies YaelDillies added awaiting-review The author would like community review of the PR t-topology Topological spaces, uniform spaces, metric spaces, filters t-algebra Algebra (groups, rings, fields etc) modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. and removed awaiting-author A reviewer has asked the author a question or requested changes labels Apr 3, 2023
@YaelDillies
Copy link
Collaborator

Just fixed the conflicts. I think it's ready to go again.

maintainer merge

@github-actions
Copy link

github-actions bot commented Apr 3, 2023

🚀 Pull request has been placed on the maintainer queue by YaelDillies.

@eric-wieser
Copy link
Member

I think it's worth checking that the PR description is still up to date, in light of renames and merge conflicts. Do you mind doing that, @YaelDillies?

@eric-wieser
Copy link
Member

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 Apr 4, 2023
bors bot pushed a commit that referenced this pull request Apr 4, 2023
Using the generalisation linter make the following generalisations in `topology.algebra.group.basic`.
Note that topological spaces that are groups with continuous multiplication but noncontinuous inverse do exist at least when the space is noncompact (they are known as paratopological spaces) I do not claim that they are used in mathlib though ;).

In summary we generalise:
- `tendsto_inv_nhds_within_Ioi` and all variants to only require continuous inverse rather that topological group
- the `continuous_inv` operation on the multiplicative opposite to only require a `has_inv`, rather than a group
- `topological_group.t1_space` from topological groups to only continuous mul
- `topological_group.regular_space` (and `t2_space`) from assuming the base is t1 to just topological group.
- `compact_open_separated_mul_right/left`,   from topological group to `mul_one_class` with a continuous mul
- various `quotient_group.has_continuous_const_smul` type lemmas to continuous_mul
- `tsum_sigma`/`tsum_prod` from t1 to t0

and their additivised versions.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@bors
Copy link

bors bot commented Apr 4, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(topology/algebra/group): generalise instances [Merged by Bors] - chore(topology/algebra/group): generalise instances Apr 4, 2023
@bors bors bot closed this Apr 4, 2023
@bors bors bot deleted the alexjbest/gen/topology/algebra/group branch April 4, 2023 23:56
bors bot pushed a commit to leanprover-community/mathlib4 that referenced this pull request Apr 6, 2023
MonadMaverick pushed a commit to leanprover-community/mathlib4 that referenced this pull request Apr 9, 2023
MonadMaverick pushed a commit to MonadMaverick/mathlib4 that referenced this pull request Apr 9, 2023
xroblot pushed a commit that referenced this pull request Apr 23, 2023
Using the generalisation linter make the following generalisations in `topology.algebra.group.basic`.
Note that topological spaces that are groups with continuous multiplication but noncontinuous inverse do exist at least when the space is noncompact (they are known as paratopological spaces) I do not claim that they are used in mathlib though ;).

In summary we generalise:
- `tendsto_inv_nhds_within_Ioi` and all variants to only require continuous inverse rather that topological group
- the `continuous_inv` operation on the multiplicative opposite to only require a `has_inv`, rather than a group
- `topological_group.t1_space` from topological groups to only continuous mul
- `topological_group.regular_space` (and `t2_space`) from assuming the base is t1 to just topological group.
- `compact_open_separated_mul_right/left`,   from topological group to `mul_one_class` with a continuous mul
- various `quotient_group.has_continuous_const_smul` type lemmas to continuous_mul
- `tsum_sigma`/`tsum_prod` from t1 to t0

and their additivised versions.



Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modifies-synchronized-file This PR touches a files that has already been ported to mathlib4, and may need a synchronization PR. ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) t-algebra Algebra (groups, rings, fields etc) t-topology Topological spaces, uniform spaces, metric spaces, filters
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants