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/algebra/restrict_scalars): replace restrict_scalars_smul_def with version that does not commit defeq-abuse. #18540

Closed
wants to merge 3 commits into from

Conversation

ocfnash
Copy link
Collaborator

@ocfnash ocfnash commented Mar 2, 2023

This lemma abuses definitional equality and I think we are better without it. My immediate motivation is the trouble it is causing in the Mathlib4 porting PR: leanprover-community/mathlib4#2563

Note that it was only used in one place and there is a better proof.


Open in Gitpod

…_def`.

This lemma abuses definitional equality and I think we are better without it.
My immediate motivation is the trouble it is causing in the Mathlib4 porting PR:
leanprover-community/mathlib4#2563

Note that it was only used in one place and there is a better proof.
@ocfnash ocfnash added awaiting-review The author would like community review of the PR awaiting-CI The author would like to see what CI has to say before doing more work. labels Mar 2, 2023
@ocfnash ocfnash requested a review from eric-wieser March 2, 2023 14:30
@ocfnash ocfnash changed the title feat(algebra/algebra/restrict_scalars): delete restrict_scalars_smul_def. chore(algebra/algebra/restrict_scalars): delete restrict_scalars_smul_def. Mar 2, 2023
Copy link
Member

@eric-wieser eric-wieser left a comment

Choose a reason for hiding this comment

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

bors d+

Thanks! Up to you whether you think the def version is useful.

@bors
Copy link

bors bot commented Mar 2, 2023

✌️ ocfnash 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-bot-assistant leanprover-community-bot-assistant 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 Mar 2, 2023
@ocfnash ocfnash changed the title chore(algebra/algebra/restrict_scalars): delete restrict_scalars_smul_def. chore(algebra/algebra/restrict_scalars): replace restrict_scalars_smul_def with version that does not commit defeq-abuse. Mar 2, 2023
Co-authored-by: Eric Wieser <wieser.eric@gmail.com>
@ocfnash
Copy link
Collaborator Author

ocfnash commented Mar 2, 2023

bors merge

@bors
Copy link

bors bot commented Mar 2, 2023

👎 Rejected by label

@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 Mar 2, 2023
@ocfnash ocfnash removed the awaiting-CI The author would like to see what CI has to say before doing more work. label Mar 2, 2023
@ocfnash
Copy link
Collaborator Author

ocfnash commented Mar 2, 2023

bors merge

ocfnash added a commit to leanprover-community/mathlib4 that referenced this pull request Mar 2, 2023
I'll fix the only remaining issue after
leanprover-community/mathlib#18540
lands.
bors bot pushed a commit that referenced this pull request Mar 2, 2023
…ul_def` with version that does not commit defeq-abuse. (#18540)

This lemma abuses definitional equality and I think we are better without it. My immediate motivation is the trouble it is causing in the Mathlib4 porting PR: leanprover-community/mathlib4#2563

Note that it was only used in one place and there is a better proof.
@bors
Copy link

bors bot commented Mar 2, 2023

Pull request successfully merged into master.

Build succeeded:

@bors bors bot changed the title chore(algebra/algebra/restrict_scalars): replace restrict_scalars_smul_def with version that does not commit defeq-abuse. [Merged by Bors] - chore(algebra/algebra/restrict_scalars): replace restrict_scalars_smul_def with version that does not commit defeq-abuse. Mar 2, 2023
@bors bors bot closed this Mar 2, 2023
@bors bors bot deleted the ocfnash/restrict_scalars_smul_def branch March 2, 2023 20:56
ocfnash added a commit to leanprover-community/mathlib4 that referenced this pull request Mar 2, 2023
I did this manually --- is it possible to get mathport to do this?
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