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(algebra/group_with_zero_power): review #2966

Closed
wants to merge 4 commits into from

Conversation

urkud
Copy link
Member

@urkud urkud commented Jun 6, 2020

List of changes:

  • Rename gpow_neg_succ to gpow_neg_succ_of_nat to match other names in int namespace.
  • Add units.coe_gpow.
  • Remove fpow_neg_succ, leave fpow_neg_succ_of_nat.
  • Rewrite the proof of fpow_add in the same way I rewrote the proof of gpow_add.
  • Make argument a implicit in some lemmas because they have an argument ha : a ≠ 0.
  • Remove fpow_inv. This was a copy of fpow_neg_one with a misleading name.
  • Remove unit_pow in favor of a more general units.coe_pow.
  • Remove unit_gpow, add a more general units.coe_gpow' instead.

This was a copy of `fpow_neg_one` with a misleading name.
@urkud urkud requested a review from jcommelin June 6, 2020 04:51
@urkud urkud added the awaiting-review The author would like community review of the PR label Jun 6, 2020
@urkud urkud changed the title chore(algebra/group_with_zero_power): drop fpow_inv chore(algebra/group_with_zero_power): review Jun 6, 2020
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.

Thanks 🎉

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 Jun 6, 2020
bors bot pushed a commit that referenced this pull request Jun 6, 2020
List of changes:
* Rename `gpow_neg_succ` to `gpow_neg_succ_of_nat` to match other names in `int` namespace.
* Add `units.coe_gpow`.
* Remove `fpow_neg_succ`, leave `fpow_neg_succ_of_nat`.
* Rewrite the proof of `fpow_add` in the same way I rewrote the proof of `gpow_add`.
* Make argument `a` implicit in some lemmas because they have an argument `ha : a ≠ 0`.
* Remove `fpow_inv`. This was a copy of `fpow_neg_one` with a misleading name.
* Remove `unit_pow` in favor of a more general `units.coe_pow`.
* Remove `unit_gpow`, add a more general `units.coe_gpow'` instead.
@urkud
Copy link
Member Author

urkud commented Jun 6, 2020

bors r-

@urkud urkud removed the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Jun 6, 2020
@urkud
Copy link
Member Author

urkud commented Jun 6, 2020

Build fails, so I removed this from the queue.

Copy link
Collaborator

@bryangingechen bryangingechen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bors r+

@github-actions github-actions bot added the ready-to-merge All that is left is for bors to build and merge this PR. (Remember you need to say `bors r+`.) label Jun 6, 2020
@urkud
Copy link
Member Author

urkud commented Jun 6, 2020

bors merge

@bors
Copy link

bors bot commented Jun 6, 2020

Already running a review

bors bot pushed a commit that referenced this pull request Jun 6, 2020
List of changes:
* Rename `gpow_neg_succ` to `gpow_neg_succ_of_nat` to match other names in `int` namespace.
* Add `units.coe_gpow`.
* Remove `fpow_neg_succ`, leave `fpow_neg_succ_of_nat`.
* Rewrite the proof of `fpow_add` in the same way I rewrote the proof of `gpow_add`.
* Make argument `a` implicit in some lemmas because they have an argument `ha : a ≠ 0`.
* Remove `fpow_inv`. This was a copy of `fpow_neg_one` with a misleading name.
* Remove `unit_pow` in favor of a more general `units.coe_pow`.
* Remove `unit_gpow`, add a more general `units.coe_gpow'` instead.
@bors
Copy link

bors bot commented Jun 6, 2020

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(algebra/group_with_zero_power): review [Merged by Bors] - chore(algebra/group_with_zero_power): review Jun 6, 2020
@bors bors bot closed this Jun 6, 2020
@bors bors bot deleted the fpow-inv branch June 6, 2020 16:49
cipher1024 pushed a commit to cipher1024/mathlib that referenced this pull request Mar 15, 2022
List of changes:
* Rename `gpow_neg_succ` to `gpow_neg_succ_of_nat` to match other names in `int` namespace.
* Add `units.coe_gpow`.
* Remove `fpow_neg_succ`, leave `fpow_neg_succ_of_nat`.
* Rewrite the proof of `fpow_add` in the same way I rewrote the proof of `gpow_add`.
* Make argument `a` implicit in some lemmas because they have an argument `ha : a ≠ 0`.
* Remove `fpow_inv`. This was a copy of `fpow_neg_one` with a misleading name.
* Remove `unit_pow` in favor of a more general `units.coe_pow`.
* Remove `unit_gpow`, add a more general `units.coe_gpow'` instead.
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