-
Notifications
You must be signed in to change notification settings - Fork 356
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(CategoryTheory/Monoidal): partially setting simp lemmas #10061
Closed
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yuma-mizuno
changed the title
update
refactor(CategoryTheory/Monoidal): partially setting simp lemmas
Jan 28, 2024
yuma-mizuno
changed the title
refactor(CategoryTheory/Monoidal): partially setting simp lemmas
feat(CategoryTheory/Monoidal): partially setting simp lemmas
Jan 28, 2024
10 tasks
Closed
1 task
joelriou
reviewed
Jan 30, 2024
Comment on lines
814
to
819
theorem rightUnitor_conjugation {X Y : C} (f : X ⟶ Y) : | ||
f ⊗ 𝟙 (𝟙_ C) = (ρ_ X).hom ≫ f ≫ (ρ_ Y).inv := by | ||
simp | ||
#align category_theory.monoidal_category.right_unitor_conjugation CategoryTheory.MonoidalCategory.rightUnitor_conjugation | ||
|
||
theorem leftUnitor_conjugation {X Y : C} (f : X ⟶ Y) : |
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.
These two lemmas could have the reassoc
attribute. Otherwise, the PR looks great to me!
joelriou
added
awaiting-author
A reviewer has asked the author a question or requested changes
and removed
awaiting-review
labels
Jan 30, 2024
yuma-mizuno
added
awaiting-review
and removed
awaiting-author
A reviewer has asked the author a question or requested changes
labels
Jan 30, 2024
Thanks! bors merge |
github-actions
bot
added
ready-to-merge
This PR has been sent to bors.
and removed
awaiting-review
labels
Jan 31, 2024
mathlib-bors bot
pushed a commit
that referenced
this pull request
Jan 31, 2024
Extracted from #6307. The main reason why #6307 is so large is that many tensoring of identity morphisms that appear in mathlib should be replaced with whiskerings. This PR will leave this issue and deal with other parts. That is, we do not set `id_tensorHom` and `tensorHom_id` as simple lemmas at this moment, We can set them as simp lemmas locally to enable simple normal forms.
Pull request successfully merged into master. Build succeeded: |
mathlib-bors
bot
changed the title
feat(CategoryTheory/Monoidal): partially setting simp lemmas
[Merged by Bors] - feat(CategoryTheory/Monoidal): partially setting simp lemmas
Jan 31, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
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.
Extracted from #6307. The main reason why #6307 is so large is that many tensoring of identity morphisms that appear in mathlib should be replaced with whiskerings. This PR will leave this issue and deal with other parts. That is, we do not set
id_tensorHom
andtensorHom_id
as simple lemmas at this moment, We can set them as simp lemmas locally to enable simple normal forms.