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(linear_algebra/special_linear_group): Cleanup and golf #8569

Closed
wants to merge 5 commits into from

Conversation

eric-wieser
Copy link
Member

@eric-wieser eric-wieser commented Aug 6, 2021

This cleans up a number things in this file:

  • Many lemmas were duplicated between ↑A and ⇑A. This eliminates the latter spelling from all lemmas, and makes it simplify to the former. Unfortunately the elaborator fights us at every step of the way with ↑A, so we introduce local notation to take the pain away.
  • Some lemma names did not match the convention established elsewhere
  • Some definitions can be bundled more heavily than they currently are. In particular, this merges together to_lin' and to_linear_equiv, as well as to_GL and embedding_GL.

Open in Gitpod

@eric-wieser eric-wieser marked this pull request as ready for review August 7, 2021 07:11
@eric-wieser eric-wieser added the awaiting-review The author would like community review of the PR label Aug 7, 2021
Copy link
Member

@hrmacbeth hrmacbeth left a comment

Choose a reason for hiding this comment

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

LGTM

src/linear_algebra/special_linear_group.lean Show resolved Hide resolved
eric-wieser and others added 2 commits August 9, 2021 09:40
@Vierkantor Vierkantor added awaiting-author A reviewer has asked the author a question or requested changes and removed awaiting-review The author would like community review of the PR labels Aug 9, 2021
@eric-wieser eric-wieser added awaiting-review The author would like community review of the PR and removed awaiting-author A reviewer has asked the author a question or requested changes labels Aug 9, 2021
Copy link
Collaborator

@Vierkantor Vierkantor left a comment

Choose a reason for hiding this comment

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

LGTM, thanks! Since @hrmacbeth already approved this, I'll go ahead and:

bors d+

@bors
Copy link

bors bot commented Aug 9, 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.

@github-actions github-actions bot added delegated The PR author may merge after reviewing final suggestions. and removed awaiting-review The author would like community review of the PR labels Aug 9, 2021
@eric-wieser
Copy link
Member Author

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 Aug 9, 2021
bors bot pushed a commit that referenced this pull request Aug 9, 2021
This cleans up a number things in this file:

* Many lemmas were duplicated between `↑A` and `⇑A`. This eliminates the latter spelling from all lemmas, and makes it simplify to the former. Unfortunately the elaborator fights us at every step of the way with `↑A`, so we introduce local notation to take the pain away.
* Some lemma names did not match the convention established elsewhere
* Some definitions can be bundled more heavily than they currently are. In particular, this merges together `to_lin'` and `to_linear_equiv`, as well as `to_GL` and `embedding_GL`.
@bors
Copy link

bors bot commented Aug 9, 2021

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(linear_algebra/special_linear_group): Cleanup and golf [Merged by Bors] - chore(linear_algebra/special_linear_group): Cleanup and golf Aug 9, 2021
@bors bors bot closed this Aug 9, 2021
@bors bors bot deleted the eric-wieser/tidy-special_linear_group branch August 9, 2021 15:46
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. 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