-
Notifications
You must be signed in to change notification settings - Fork 234
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 Algebra.Category.Mon.FilteredColimits #4094
Conversation
jjaassoonn
commented
May 18, 2023
Mathbin -> Mathlib fix certain import statements move "by" to end of line add import to Mathlib.lean
…ry.Mon.FilteredColimits
|
||
-- Porting note : need to add `FunLike` instance manually | ||
@[to_additive] | ||
noncomputable local instance FunLike_instance' (t : Cocone.{v, max v u, v} F) : |
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.
Why are these only local instances? What is going on here, why can't they be synthesised?
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.
I suspect Lean don't know the arrows in category of monoids are just monoid homomorphisms. Lean knows that homomorphisms are FunLike
but can't see that arrows are FunLike unless it is expanded manually.
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.
I stated FunLike
instance for arrows in (Comm)MonCat
in MonCat
file, so local instances no longer needed
bors merge |
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Pull request successfully merged into master. Build succeeded! The publicly hosted instance of bors-ng is deprecated and will go away soon. If you want to self-host your own instance, instructions are here. If you want to switch to GitHub's built-in merge queue, visit their help page. |
…y#4094) Co-authored-by: Scott Morrison <scott.morrison@gmail.com>