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: tidy various files #3124

Closed
wants to merge 3 commits into from

Conversation

Ruben-VandeVelde
Copy link
Collaborator


Open in Gitpod

@Ruben-VandeVelde Ruben-VandeVelde added the awaiting-review The author would like community review of the PR label Mar 27, 2023
theorem coe_mul_left [NonUnitalNonAssocSemiring R] (r : R) :
(mulLeft r : R → R) = HMul.hMul r :=
theorem coe_mulLeft [NonUnitalNonAssocSemiring R] (r : R) :
(mulLeft r : R → R) = (r * ·) :=
Copy link
Member

Choose a reason for hiding this comment

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

I'd be more inclined not to change this one. Somebody might want to write rw [<- coe_mulLeft] and that becomes harder with the new statement.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yeah, that's what I added mulLeft_apply for. In fact, your PR #2725 introduced this change relative to mathlib3. I think it's better to be consistent with mathlib3 as well as with coe_mulRight.

Copy link
Member

Choose a reason for hiding this comment

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

The HMul.hMul version is closer to mathlib3, mathport introduced the change. Sometimes you want to use these lemmas on partially applied functions.

@ChrisHughes24
Copy link
Member

Apart from the one comment LGTM.

bors d+

@bors
Copy link

bors bot commented Mar 27, 2023

✌️ Ruben-VandeVelde 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 and removed awaiting-review The author would like community review of the PR labels Mar 27, 2023
@Ruben-VandeVelde Ruben-VandeVelde added awaiting-review The author would like community review of the PR and removed delegated labels Mar 27, 2023
@semorrison semorrison 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 Mar 30, 2023
@Ruben-VandeVelde
Copy link
Collaborator Author

bors merge

bors bot pushed a commit that referenced this pull request Mar 31, 2023
@Ruben-VandeVelde Ruben-VandeVelde removed the awaiting-author A reviewer has asked the author a question or requested changes label Mar 31, 2023
@bors
Copy link

bors bot commented Mar 31, 2023

Build failed:

  • Build

@Ruben-VandeVelde
Copy link
Collaborator Author

bors merge

bors bot pushed a commit that referenced this pull request Apr 1, 2023
@bors
Copy link

bors bot commented Apr 1, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore: tidy various files [Merged by Bors] - chore: tidy various files Apr 1, 2023
@bors bors bot closed this Apr 1, 2023
@bors bors bot deleted the various-tidy branch April 1, 2023 20:34
MonadMaverick pushed a commit that referenced this pull request Apr 9, 2023
MonadMaverick pushed a commit that referenced this pull request Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants