Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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] - feat(GroupTheory/GroupAction/Group): invOf smul lemmas #9972
[Merged by Bors] - feat(GroupTheory/GroupAction/Group): invOf smul lemmas #9972
Changes from 6 commits
9f12c70
66f1e1e
dbf8e61
e2fc4eb
6087832
eecbd0a
b3eaa64
f028ec2
25ddf91
48acd63
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c
andx
should be explicit for these lemmas.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay, done. Please can you explain why though so I know for next time.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The simple answer here is that this lemma is almost identical to
smul_inv_smul
, and so you should try to match the argument explicitness too.The slightly more general answer is that lemmas with
=
in their goal should ensure that every variable in their goal is captured in an an explicit variable (either as(x : X)
or{x : X} (hx : P x)
).