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(group_theory/perm/{sign,cycles}): renaming for dot notation, linting, formatting #5777

Closed
wants to merge 2 commits into from

Conversation

bryangingechen
Copy link
Collaborator

Declarations renamed in group_theory/perm/sign.lean (all of these are under equiv.perm):

  • disjoint_mul_comm -> disjoint.mul_comm
  • disjoint_mul_left -> disjoint.mul_left
  • disjoint_mul_right -> disjoint.mul_right
  • is_swap_of_subtype -> is_swap.of_subtype_is_swap
  • sign_eq_of_is_swap -> is_swap.sign_eq

Declarations renamed in group_theory/perm/cycles.lean (all of these are under equiv.perm):

  • is_cycle_swap -> is_cycle.swap
  • is_cycle_inv -> is_cycle.inv
  • exists_gpow_eq_of_is_cycle -> is_cycle.exists_gpow_eq
  • exists_pow_eq_of_is_cycle -> is_cycle.exists_pow_eq
  • eq_swap_of_is_cycle_of_apply_apply_eq_self -> eq_swap_of_apply_apply_eq_self
  • is_cycle_swap_mul -> is_cycle.swap_mul
  • sign_cycle -> is_cycle.sign
  • apply_eq_self_iff_of_same_cycle -> same_cycle.apply_eq_self_iff
  • same_cycle_of_is_cycle -> is_cycle.same_cycle
  • cycle_of_apply_of_same_cycle -> same_cycle.cycle_of_apply
  • cycle_of_cycle -> is_cycle.cycle_of_eq

I also added a basic module doc string to group_theory/perm/cycles.lean.


As promised in #5665 (review).

@bryangingechen bryangingechen added the awaiting-review The author would like community review of the PR label Jan 16, 2021
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.

LGTM

@robertylewis
Copy link
Member

Nice! Thanks a lot!

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 16, 2021
bors bot pushed a commit that referenced this pull request Jan 16, 2021
…nting, formatting (#5777)

Declarations renamed in `group_theory/perm/sign.lean` (all of these are under `equiv.perm`):
- `disjoint_mul_comm` -> `disjoint.mul_comm`
- `disjoint_mul_left` -> `disjoint.mul_left`
- `disjoint_mul_right` -> `disjoint.mul_right`
- `is_swap_of_subtype` -> `is_swap.of_subtype_is_swap`
- `sign_eq_of_is_swap` -> `is_swap.sign_eq`

Declarations renamed in `group_theory/perm/cycles.lean` (all of these are under `equiv.perm`):
- `is_cycle_swap` -> `is_cycle.swap`
- `is_cycle_inv` -> `is_cycle.inv`
- `exists_gpow_eq_of_is_cycle` -> `is_cycle.exists_gpow_eq`
- `exists_pow_eq_of_is_cycle` -> `is_cycle.exists_pow_eq`
- `eq_swap_of_is_cycle_of_apply_apply_eq_self` -> `eq_swap_of_apply_apply_eq_self`
- `is_cycle_swap_mul` -> `is_cycle.swap_mul`
- `sign_cycle` -> `is_cycle.sign`
- `apply_eq_self_iff_of_same_cycle` -> `same_cycle.apply_eq_self_iff`
- `same_cycle_of_is_cycle` -> `is_cycle.same_cycle`
- `cycle_of_apply_of_same_cycle` -> `same_cycle.cycle_of_apply`
- `cycle_of_cycle` -> `is_cycle.cycle_of_eq`

I also added a basic module doc string to `group_theory/perm/cycles.lean`.
@bors
Copy link

bors bot commented Jan 16, 2021

Build failed (retrying...):

bors bot pushed a commit that referenced this pull request Jan 17, 2021
…nting, formatting (#5777)

Declarations renamed in `group_theory/perm/sign.lean` (all of these are under `equiv.perm`):
- `disjoint_mul_comm` -> `disjoint.mul_comm`
- `disjoint_mul_left` -> `disjoint.mul_left`
- `disjoint_mul_right` -> `disjoint.mul_right`
- `is_swap_of_subtype` -> `is_swap.of_subtype_is_swap`
- `sign_eq_of_is_swap` -> `is_swap.sign_eq`

Declarations renamed in `group_theory/perm/cycles.lean` (all of these are under `equiv.perm`):
- `is_cycle_swap` -> `is_cycle.swap`
- `is_cycle_inv` -> `is_cycle.inv`
- `exists_gpow_eq_of_is_cycle` -> `is_cycle.exists_gpow_eq`
- `exists_pow_eq_of_is_cycle` -> `is_cycle.exists_pow_eq`
- `eq_swap_of_is_cycle_of_apply_apply_eq_self` -> `eq_swap_of_apply_apply_eq_self`
- `is_cycle_swap_mul` -> `is_cycle.swap_mul`
- `sign_cycle` -> `is_cycle.sign`
- `apply_eq_self_iff_of_same_cycle` -> `same_cycle.apply_eq_self_iff`
- `same_cycle_of_is_cycle` -> `is_cycle.same_cycle`
- `cycle_of_apply_of_same_cycle` -> `same_cycle.cycle_of_apply`
- `cycle_of_cycle` -> `is_cycle.cycle_of_eq`

I also added a basic module doc string to `group_theory/perm/cycles.lean`.
@bors
Copy link

bors bot commented Jan 17, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(group_theory/perm/{sign,cycles}): renaming for dot notation, linting, formatting [Merged by Bors] - chore(group_theory/perm/{sign,cycles}): renaming for dot notation, linting, formatting Jan 17, 2021
@bors bors bot closed this Jan 17, 2021
@bors bors bot deleted the perm_cleanup branch January 17, 2021 02:21
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+`.)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants