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] - golf: replace some apply foo.mpr by rw [foo] #11515

Closed
wants to merge 2 commits into from

Conversation

grunweg
Copy link
Collaborator

@grunweg grunweg commented Mar 19, 2024

Sometimes, that line can be golfed into the next line.
Inspired by a comment of @loefflerd; any decisions are my own.


(I'm happy to drop some of these changes if they're actually dubious.)

Open in Gitpod

@grunweg grunweg added the WIP Work in progress label Mar 19, 2024
@grunweg
Copy link
Collaborator Author

grunweg commented Mar 19, 2024

!bench

@leanprover-bot
Copy link
Collaborator

Here are the benchmark results for commit dc49269.
There were no significant changes against commit 119c442.

@grunweg grunweg changed the title Try a few golfs. golf: replace some apply foo.mpr by rw [foo] Mar 20, 2024
@grunweg grunweg marked this pull request as ready for review March 20, 2024 10:20
@grunweg grunweg added awaiting-review The author would like community review of the PR and removed WIP Work in progress labels Mar 20, 2024
Copy link
Member

@fpvandoorn fpvandoorn left a comment

Choose a reason for hiding this comment

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

I think all of these are an improvement.
I have two minor suggestions (if they compile).

bors d+

Mathlib/Control/Functor/Multivariate.lean Outdated Show resolved Hide resolved
Mathlib/Data/Set/Intervals/Disjoint.lean Outdated Show resolved Hide resolved
@mathlib-bors
Copy link

mathlib-bors bot commented Mar 20, 2024

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

@leanprover-community-mathlib4-bot leanprover-community-mathlib4-bot added delegated and removed awaiting-review The author would like community review of the PR labels Mar 20, 2024
@grunweg
Copy link
Collaborator Author

grunweg commented Mar 20, 2024

Thank you for the fast review. Both suggestions compile.
bors r+

mathlib-bors bot pushed a commit that referenced this pull request Mar 20, 2024
Sometimes, that line can be golfed into the next line.
Inspired by a [comment](#11208 (comment)) of @loefflerd; any decisions are my own.
@mathlib-bors
Copy link

mathlib-bors bot commented Mar 20, 2024

Pull request successfully merged into master.

Build succeeded:

@mathlib-bors mathlib-bors bot changed the title golf: replace some apply foo.mpr by rw [foo] [Merged by Bors] - golf: replace some apply foo.mpr by rw [foo] Mar 20, 2024
@mathlib-bors mathlib-bors bot closed this Mar 20, 2024
@mathlib-bors mathlib-bors bot deleted the MR-rw-golf branch March 20, 2024 15:20
dagurtomas pushed a commit that referenced this pull request Mar 22, 2024
Sometimes, that line can be golfed into the next line.
Inspired by a [comment](#11208 (comment)) of @loefflerd; any decisions are my own.
utensil pushed a commit that referenced this pull request Mar 26, 2024
Sometimes, that line can be golfed into the next line.
Inspired by a [comment](#11208 (comment)) of @loefflerd; any decisions are my own.
Louddy pushed a commit that referenced this pull request Apr 15, 2024
Sometimes, that line can be golfed into the next line.
Inspired by a [comment](#11208 (comment)) of @loefflerd; any decisions are my own.
atarnoam pushed a commit that referenced this pull request Apr 16, 2024
Sometimes, that line can be golfed into the next line.
Inspired by a [comment](#11208 (comment)) of @loefflerd; any decisions are my own.
uniwuni pushed a commit that referenced this pull request Apr 19, 2024
Sometimes, that line can be golfed into the next line.
Inspired by a [comment](#11208 (comment)) of @loefflerd; any decisions are my own.
callesonne pushed a commit that referenced this pull request Apr 22, 2024
Sometimes, that line can be golfed into the next line.
Inspired by a [comment](#11208 (comment)) of @loefflerd; any decisions are my own.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants