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(data/fintype/basic): make units.fintype computable #9846

Closed
wants to merge 11 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Oct 21, 2021

This also:

  • renames equiv.units_equiv_ne_zero to units_equiv_ne_zero, and resolves the TODO comment about generalization
  • renames and generalizes finite_field.card_units to fintype.card_units, and proves it right next to the fintype instance
  • generalizes some typeclass assumptions in finite_field.basic as the linter already required me to tweak them

Open in Gitpod

@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Oct 21, 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.

Thanks 🎉

If CI passes, please remove the label awaiting-CI and merge this yourself, by adding a comment bors r+.

bors d+

@bors
Copy link

bors bot commented Oct 21, 2021

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

@jcommelin jcommelin added awaiting-CI The author would like to see what CI has to say before doing more work. ready-for-bors and removed awaiting-review The author would like community review of the PR labels Oct 21, 2021
@github-actions github-actions bot added the delegated The PR author may merge after reviewing final suggestions. label Oct 21, 2021
@github-actions github-actions bot added the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Oct 21, 2021
…intype

# Conflicts:
#	src/ring_theory/integral_domain.lean
@github-actions github-actions bot removed the merge-conflict Please `git merge origin/master` then a bot will remove this label. label Oct 21, 2021
@eric-wieser
Copy link
Member Author

@jcommelin: fixing CI resulted in some scope creep, would you mind taking a second look?

@github-actions github-actions bot removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Oct 22, 2021
@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Oct 23, 2021
@jcommelin
Copy link
Member

@eric-wieser Sure. (In such cases, I think it's best to remove ready-for-bors if you want to avoid a careless bors merge)

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. Feel free to merge it. Unless you want to mover even more stuff around (-;

@@ -115,10 +110,13 @@ begin
this, mul_one]
end

section
variables [group_with_zero K] [fintype K]
Copy link
Member

Choose a reason for hiding this comment

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

This suggest that it really should move to a different file. Maybe in another PR?

@eric-wieser
Copy link
Member Author

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 Oct 23, 2021
@jcommelin jcommelin added the awaiting-author A reviewer has asked the author a question or requested changes label Oct 23, 2021
bors bot pushed a commit that referenced this pull request Oct 23, 2021
This also:
* renames `equiv.units_equiv_ne_zero` to `units_equiv_ne_zero`, and resolves the TODO comment about generalization
* renames and generalizes `finite_field.card_units` to `fintype.card_units`, and proves it right next to the fintype instance
* generalizes some typeclass assumptions in `finite_field.basic` as the linter already required me to tweak them
@eric-wieser
Copy link
Member Author

bors merge

@github-actions github-actions bot removed the awaiting-author A reviewer has asked the author a question or requested changes label Oct 23, 2021
bors bot pushed a commit that referenced this pull request Oct 23, 2021
This also:
* renames `equiv.units_equiv_ne_zero` to `units_equiv_ne_zero`, and resolves the TODO comment about generalization
* renames and generalizes `finite_field.card_units` to `fintype.card_units`, and proves it right next to the fintype instance
* generalizes some typeclass assumptions in `finite_field.basic` as the linter already required me to tweak them
@bors
Copy link

bors bot commented Oct 23, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(data/fintype/basic): make units.fintype computable [Merged by Bors] - chore(data/fintype/basic): make units.fintype computable Oct 23, 2021
@bors bors bot closed this Oct 23, 2021
@bors bors bot deleted the eric-wieser/units-fintype branch October 23, 2021 19:26
@eric-wieser eric-wieser added the hacktoberfest-accepted Without this label hacktoberfest is scared off by bors label Oct 26, 2021
ericrbg pushed a commit that referenced this pull request Nov 9, 2021
This also:
* renames `equiv.units_equiv_ne_zero` to `units_equiv_ne_zero`, and resolves the TODO comment about generalization
* renames and generalizes `finite_field.card_units` to `fintype.card_units`, and proves it right next to the fintype instance
* generalizes some typeclass assumptions in `finite_field.basic` as the linter already required me to tweak them
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
delegated The PR author may merge after reviewing final suggestions. hacktoberfest-accepted Without this label hacktoberfest is scared off by bors ready-for-bors 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

2 participants