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 port: Data.Set.Pointwise.BigOperators #1651
Conversation
xroblot
commented
Jan 18, 2023
· rintro ⟨g, hg, rfl⟩ | ||
exact ⟨g i, is.prod g, hg (is.mem_insert_self _), | ||
⟨⟨g, fun hi ↦ hg (Finset.mem_insert_of_mem hi), rfl⟩, rfl⟩⟩ | ||
#align set.mem_finset_prod Set.mem_finset_prod |
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.
Corresponding align tags have to be added for the theorems generated by to_additive
. (If you're not sure what they are, you can replace to_additive
by to_additive?
and see what it outputs.)
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.
Thanks for the review.
I have added the align
for the lemmas generated by to_additive
. I did not do that in my previous PR. So I wonder why is it necessary to do it for this one? Is it because they cannot be auto-generated for some reason?
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.
It was also necessary in previous PRs, it's just very easy to overlook :-) There are more details in the porting wiki, there's a whole section about to_additive
.
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.
Thanks!
bors r+
Pull request successfully merged into master. Build succeeded:
|