Repository navigation
[Merged by Bors] - chore(CategoryTheory/Distributive/Monoidal): scope ∂R notation and fix docstrings - #44602
[Merged by Bors] - chore(CategoryTheory/Distributive/Monoidal): scope ∂R notation and fix docstrings#44602Yan-Zero wants to merge 1 commit into
Conversation
…fix docstrings The notation `∂R` for `rightDistrib` was declared inside `namespace Distributive` but without `scoped`, unlike `∂L`. Also fix the docstrings of both notations: they denote the distributivity isomorphisms, not their forward morphisms.
Welcome new contributor!Thank you for contributing to Mathlib! If you haven't done so already, please review our contribution guidelines, as well as the style guide and naming conventions. In particular, we kindly remind contributors that we have guidelines regarding the use of AI when making pull requests. We use a review queue to manage reviews. If your PR does not appear there, it is probably because it is not successfully building (i.e., it doesn't have a green checkmark), has the If you haven't already done so, please come to Zulip and join the Lean community. |
PR summary 5a03870ff6Import changes for modified filesNo significant changes to the import graph Import changes for all files
|
|
Thanks! bors merge |
…x docstrings (#44602) This PR adds the missing scoped to the ∂R notation in Mathlib/CategoryTheory/Distributive/Monoidal.lean, consistent with ∂L, and fixes the docstrings of both notations, since leftDistrib and rightDistrib are isomorphisms (≅). Motivation: currently every proof that imports Mathlib is affected by this short notation, and by Mathlib convention such short notations should be scoped anyway. In the review of #20182, @joelriou asked for these notations to be scoped; this was done for `∂L`, but the `scoped` keyword was missed for `∂R`.
|
Pull request successfully merged into master. Build succeeded: |
This PR adds the missing scoped to the ∂R notation in Mathlib/CategoryTheory/Distributive/Monoidal.lean, consistent with ∂L, and fixes the docstrings of both notations, since leftDistrib and rightDistrib are isomorphisms (≅).
Motivation: currently every proof that imports Mathlib is affected by this short notation, and by Mathlib convention such short notations should be scoped anyway.
In the review of #20182, @joelriou asked for these notations to be scoped; this was done for
∂L, but thescopedkeyword was missed for∂R.This PR used Claude Opus 5.5 (via Claude Code) to help check whether a related fix already exists that has not yet been merged.