[Merged by Bors] - refactor(Topology/Group): turn morphisms in ProfiniteGrp into one field structures#20740
[Merged by Bors] - refactor(Topology/Group): turn morphisms in ProfiniteGrp into one field structures#20740Thmoas-Guan wants to merge 19 commits intomasterfrom
Conversation
still need API from ContinuousMulEquiv
|
messageFile.md |
|
Could you please add a test file in |
Vierkantor
left a comment
There was a problem hiding this comment.
Thank you for taking this on! I'm happy to see the amount of required changes was much less than for some of the other concrete categories. :)
A few small remarks.
|
I think this is pretty much good to go. I am less convinced we need that extra test file, since we do exactly the same as for |
So which one do you prefer? Adding test file right in this PR or in another one? |
|
We should add it in this PR definitely. (Assuming you want to add it at all: having thought about it a bit more, I'm in favour of having the test file, but will not insist if you are not.) |
Currently, 9 out of 14 failed.... I may need some time to fix. |
and add missing API of ContinuousMonoidHom
|
messageFile.md |
This is why I wanted the test file :) Thanks! |
PR summary 022323a991Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
chrisflav
left a comment
There was a problem hiding this comment.
Modulo the comment above and the merge conflict, this looks good, thanks!
and fix to_additive attribute
|
Do anyone know why lint failed here? Sorry that I have no idea about it. |
I think github is having issues right now, I don't think there is anything wrong with your PR. |
2 similar comments
I think github is having issues right now, I don't think there is anything wrong with your PR. |
I think github is having issues right now, I don't think there is anything wrong with your PR. |
|
Thanks! maintainer merge |
|
🚀 Pull request has been placed on the maintainer queue by chrisflav. |
|
@Vierkantor, could you do the final review/merge? |
Vierkantor
left a comment
There was a problem hiding this comment.
Looks good with some minor fixes, thanks! I think it should be easy enough to turn this into a new-style ConcreteCategory afterwards.
bors d+
| forget₂.map f := Grp.ofHom f.hom.toMonoidHom | ||
|
|
||
| /-- A closed subgroup of a profinite group is profinite. -/ | ||
| def ofClosedSubgroup {G : ProfiniteGrp} (H : ClosedSubgroup G) : ProfiniteGrp := |
There was a problem hiding this comment.
All of the declarations starting here are missing @[to_additive]. Or is there a reason for that?
There was a problem hiding this comment.
No, it is only because previously to_additive some how failed and many things are missing API for the add version, I should add it now.
There was a problem hiding this comment.
Hmm, that's weird. And if I make the instance manually and add @[to_additive existing] then @[to_additive] on the TopologicalGroup doesn't work either... Don't know how to fix that, and it feels like we're getting off the purpose of this PR. So if we can't fix it now it's fine to leave this as a TODO.
There was a problem hiding this comment.
Almost everything broke after limitConePtAux, need to fix using attribute @[to_additive] which I think isn't a good idea, I'll leave a TODO then.
|
✌️ Thmoas-Guan can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Is this OK for now? |
Vierkantor
left a comment
There was a problem hiding this comment.
Looks good, thanks!
bors r+
…ld structures (#20740) Refactor morphisms in ProfiniteGrp into one-field structure.
|
Pull request successfully merged into master. Build succeeded: |
* factorial-dvd-int: (143 commits) Apply suggestions from code review feat(Factorial): k! divides the product of any k successive integers feat(CategoryTheory): creation of finite limits (#21320) chore: update Mathlib dependencies 2025-02-01 (#21328) chore(GroupTheory/SpecificGroups/Alternating.lean): follow last minute review of JX (#21314) feat: `‖x‖ₑ.toNNReal = ‖x‖₊` (#21306) chore: cleanup imports in Archive/IfNormalization (#21318) doc: fix several typos (#21315) feat(CategoryTheory): transfer being iso along an iso in the arrow category (#21310) chore: delete declarations deprecated between 2024-01 and 2024-07 (#21271) feat(Analysis/Normed/Module/Dual): polar in a normed space as a submodule (#20084) chore(Data/ZMod/Basic): split `ZMod.valMinAbs` off (#21308) feat(GroupTheory/Perm/Centralizer): study the centralizer of a permutation (#17522) feat(RingTheory/LocalRing): `IsLocalRing` for subrings (#21168) chore: update Mathlib dependencies 2025-02-01 (#21312) chore: update Mathlib dependencies 2025-01-31 (#21311) feat: generalize `mem_dite` to `Membership α β` (#21262) feat: Lemmas for some monomial orders (#16177) feat(CategoryTheory): the localized category is monoidal (#12728) feat: add function log⁺ (=positive part of the logarithm) and prove standard estimates (#21289) feat(RingTheory/WittVector): ring of Witt vectors is p-adically complete (#21295) feat(GroupTheory/GroupAction/Blocks): more on blocks (#21284) fix(FieldTheory/KrullTopology): make `krullTopology_discreteTopology_of_finiteDimensional` universe polymorphic (#21299) feat(RingTheory/Artinian): integral non-zero-divisors are units over artinian rings (#21199) refactor(Topology/Gluing): simplify definition of `TopCat.GlueData.Rel` (#20653) feat(RingTheory/PowerSeries): binomial series (#20192) chore(Mathlib/RingTheory/MvPolynomial): rename MonomiaOrder.lCoeff to MonomialOrder.leadingCoeff (#21290) chore (RingTheory/HahnSeries): fix names that use coeff (#21279) feat: let `notation3` distinguish `Prop` vs `Type _ ` vs `Sort _` (#21233) chore(MeasureTheory/Function/StronglyMeasurable): split Basic into Basic and AEStronglyMeasurable (#21273) feat(CategoryTheory): the monoidal category structure on a localization (#20951) feat(Analysis/Complex/Hadamard): generalize Hadamard's three lines theorem (#15009) feat(Order/CompleteBooleanAlgebra): Himp in terms of sSup (#20328) feat(ENNReal/Basic): add `ofNat_ne_top` and `top_ne_ofNat` (#14486) feat: Function.const as a PartialEquiv (#21137) chore(NonZeroDivisors): don't import rings (#20871) feat(Data/Set/Lattice): insert distributivity with iUnion/iInter (#21267) feat(GroupTheory/SpecificGroups/AlternatingGroup): subgroups of index 2 of Equiv.Perm (#21190) feat(GroupTheory/GroupAction/Transitive): basic results on transitive actions (#21285) perf(MeasureTheory/Function/LpSpace.lean): speed up (#21179) feat(Order): order isomorphisms from `Fin n` for small `n` (#21120) refactor(Topology/Group): turn morphisms in ProfiniteGrp into one field structures (#20740) feat: Sylow's first theorem for elementary `p`-groups (#21072) chore(Submonoid/Membership): don't import `MonoidWithZero` (#20748) refactor(Algebra/Algebra/Pi): cleanup and renaming (#21213) feat(GroupTheory/IndexNormal): subgroups of small index are normal (#21186) feat(Algebra/Group/Action): add definition of equidecomposition (#16936) feat(CategoryTheory/Subpresheaf): equalizer (#21096) feat: add lemmas about products of `Matrix.stdBasisMatrix` (#21204) chore: update Mathlib dependencies 2025-01-31 (#21282) ...
…ld structures (#20740) Refactor morphisms in ProfiniteGrp into one-field structure.

Refactor morphisms in ProfiniteGrp into one-field structure.