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(GroupTheory/Perm/Cycle/Basic): Split #10907
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry, I'm really not convinced by this split. Please just ignore the linter in #9602 (you can edit the nolint entry). I will split the file later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@YaelDillies I don't understand what is so terrible about this split. I think it is a clear improvement over the status quo, and you're of course free to improve further in the future.
I agree that it's an improvement. I propose to merge it unless there a specific reason against it (also it risks to rot). |
The main definition of this file is `Equiv.Perm.sign`, | ||
associating a `ℤˣ` sign with a permutation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The main definition of this file is `Equiv.Perm.sign`, | |
associating a `ℤˣ` sign with a permutation. | |
The main definition of this file is `Equiv.Perm.sign`, associating a `ℤˣ` sign with a | |
permutation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm personally a fan of semantic linebreaks (https://sembr.org/).
We don't have a policy in mathlib concerning sembr or justifying text. I would leave this as it is.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(That's not the subject here, but I am used to 80 chars terminals, and I find these overflow to 100 chars very disturbing, I get many lines with few symbols, hence less information on my screen.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you split off that split to its own PR? This one is getting out of hand
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer not to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverting the change to Sign would mean finding what to move and rechecking imports. The handful of lemmas I moved were about something else than Sign — just needed for that.
IIRC, some files that used Sign
could stop using it.
Co-authored-by: Yaël Dillies <yael.dillies@gmail.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Thanks 🎉 bors merge |
The file Mathlib.GroupTheory.Perm.Cycle.Basic was too big and this PR splits it in several components: * `Mathlib.GroupTheory.Perm.Cycle.Basic` contains everything related to a permutation being a cycle, * `Mathlib.GroupTheory.Perm.Cycle.Factors` is about the cycles of a permutation and the decomposition of a permutation into disjoint cycles * `Mathlib.GroupTheory.Perm.Closure` contains generation results for the permutation groups * `Mathlib.GroupTheory.Perm.Finite` contains general results specific to permutation of finite types I moved some results to `Mathlib.GroupTheory.Perm.Support` I also moved some results from `Mathlib.GroupTheory.Perm.Sign` to `Mathlib.GroupTheory.Perm.Finite` Some imports could be reduced, and the shake linter required a few adjustments in some other. Co-authored-by: Antoine Chambert-Loir <antoine.chambert-loir@math.univ-paris-diderot.fr>
Pull request successfully merged into master. Build succeeded: |
The file Mathlib.GroupTheory.Perm.Cycle.Basic was too big and this PR splits it in several components: * `Mathlib.GroupTheory.Perm.Cycle.Basic` contains everything related to a permutation being a cycle, * `Mathlib.GroupTheory.Perm.Cycle.Factors` is about the cycles of a permutation and the decomposition of a permutation into disjoint cycles * `Mathlib.GroupTheory.Perm.Closure` contains generation results for the permutation groups * `Mathlib.GroupTheory.Perm.Finite` contains general results specific to permutation of finite types I moved some results to `Mathlib.GroupTheory.Perm.Support` I also moved some results from `Mathlib.GroupTheory.Perm.Sign` to `Mathlib.GroupTheory.Perm.Finite` Some imports could be reduced, and the shake linter required a few adjustments in some other. Co-authored-by: Antoine Chambert-Loir <antoine.chambert-loir@math.univ-paris-diderot.fr>
The file Mathlib.GroupTheory.Perm.Cycle.Basic was too big and this PR splits it in several components: * `Mathlib.GroupTheory.Perm.Cycle.Basic` contains everything related to a permutation being a cycle, * `Mathlib.GroupTheory.Perm.Cycle.Factors` is about the cycles of a permutation and the decomposition of a permutation into disjoint cycles * `Mathlib.GroupTheory.Perm.Closure` contains generation results for the permutation groups * `Mathlib.GroupTheory.Perm.Finite` contains general results specific to permutation of finite types I moved some results to `Mathlib.GroupTheory.Perm.Support` I also moved some results from `Mathlib.GroupTheory.Perm.Sign` to `Mathlib.GroupTheory.Perm.Finite` Some imports could be reduced, and the shake linter required a few adjustments in some other. Co-authored-by: Antoine Chambert-Loir <antoine.chambert-loir@math.univ-paris-diderot.fr>
The file Mathlib.GroupTheory.Perm.Cycle.Basic was too big and this PR splits it in several components: * `Mathlib.GroupTheory.Perm.Cycle.Basic` contains everything related to a permutation being a cycle, * `Mathlib.GroupTheory.Perm.Cycle.Factors` is about the cycles of a permutation and the decomposition of a permutation into disjoint cycles * `Mathlib.GroupTheory.Perm.Closure` contains generation results for the permutation groups * `Mathlib.GroupTheory.Perm.Finite` contains general results specific to permutation of finite types I moved some results to `Mathlib.GroupTheory.Perm.Support` I also moved some results from `Mathlib.GroupTheory.Perm.Sign` to `Mathlib.GroupTheory.Perm.Finite` Some imports could be reduced, and the shake linter required a few adjustments in some other. Co-authored-by: Antoine Chambert-Loir <antoine.chambert-loir@math.univ-paris-diderot.fr>
The file Mathlib.GroupTheory.Perm.Cycle.Basic was too big and this PR splits it in several components: * `Mathlib.GroupTheory.Perm.Cycle.Basic` contains everything related to a permutation being a cycle, * `Mathlib.GroupTheory.Perm.Cycle.Factors` is about the cycles of a permutation and the decomposition of a permutation into disjoint cycles * `Mathlib.GroupTheory.Perm.Closure` contains generation results for the permutation groups * `Mathlib.GroupTheory.Perm.Finite` contains general results specific to permutation of finite types I moved some results to `Mathlib.GroupTheory.Perm.Support` I also moved some results from `Mathlib.GroupTheory.Perm.Sign` to `Mathlib.GroupTheory.Perm.Finite` Some imports could be reduced, and the shake linter required a few adjustments in some other. Co-authored-by: Antoine Chambert-Loir <antoine.chambert-loir@math.univ-paris-diderot.fr>
The file Mathlib.GroupTheory.Perm.Cycle.Basic was too big and this PR splits it in several components:
Mathlib.GroupTheory.Perm.Cycle.Basic
contains everything related to a permutation being a cycle,Mathlib.GroupTheory.Perm.Cycle.Factors
is about the cycles of a permutation and the decomposition of a permutation into disjoint cyclesMathlib.GroupTheory.Perm.Closure
contains generation results for the permutation groupsMathlib.GroupTheory.Perm.Finite
contains general results specific to permutation of finite typesI moved some results to
Mathlib.GroupTheory.Perm.Support
I also moved some results from
Mathlib.GroupTheory.Perm.Sign
toMathlib.GroupTheory.Perm.Finite
Some imports could be reduced, and the shake linter required a few adjustments in some other.