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(category_theory/enriched): abstract enriched categories #7175
Conversation
I'm a little confused about why we can't do enriched natural transformations: It seems to me that the definition here works in Lean...
|
Ah, unless you're saying that we can't make the morphisms in the V-enriched functor category without ends |
Co-authored-by: Bhavik Mehta <bhavikmehta8@gmail.com>
Yes, the definition on ncatlab is what I've called a The |
From my understanding what you called the "graded_nat_trans" is referred to as the enriched natural transformations - which may not be the most helpful in general but still allows us to form the non-enriched category of enriched functors. And as you say the |
I think the discrepancy is that my Unfortunately the general case away from |
Co-authored-by: Bhavik Mehta <bhavikmehta8@gmail.com>
🎉 Great news! Looks like all the dependencies have been resolved: 💡 To add or remove a dependency please update this issue/PR description. Brought to you by Dependent Issues (:robot: ). Happy coding! |
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.
A couple of minor comments/questions, but otherwise LGTM!
Thanks! bors merge |
# Enriched categories We set up the basic theory of `V`-enriched categories, for `V` an arbitrary monoidal category. We do not assume here that `V` is a concrete category, so there does not need to be a "honest" underlying category! Use `X ⟶[V] Y` to obtain the `V` object of morphisms from `X` to `Y`. This file contains the definitions of `V`-enriched categories and `V`-functors. We don't yet define the `V`-object of natural transformations between a pair of `V`-functors (this requires limits in `V`), but we do provide a presheaf isomorphic to the Yoneda embedding of this object. We verify that when `V = Type v`, all these notion reduce to the usual ones. Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Build failed (retrying...): |
# Enriched categories We set up the basic theory of `V`-enriched categories, for `V` an arbitrary monoidal category. We do not assume here that `V` is a concrete category, so there does not need to be a "honest" underlying category! Use `X ⟶[V] Y` to obtain the `V` object of morphisms from `X` to `Y`. This file contains the definitions of `V`-enriched categories and `V`-functors. We don't yet define the `V`-object of natural transformations between a pair of `V`-functors (this requires limits in `V`), but we do provide a presheaf isomorphic to the Yoneda embedding of this object. We verify that when `V = Type v`, all these notion reduce to the usual ones. Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Pull request successfully merged into master. Build succeeded: |
Enriched categories
We set up the basic theory of
V
-enriched categories,for
V
an arbitrary monoidal category.We do not assume here that
V
is a concrete category,so there does not need to be a "honest" underlying category!
Use
X ⟶[V] Y
to obtain theV
object of morphisms fromX
toY
.This file contains the definitions of
V
-enriched categories andV
-functors.We don't yet define the
V
-object of natural transformationsbetween a pair of
V
-functors (this requires limits inV
),but we do provide a presheaf isomorphic to the Yoneda embedding of this object.
We verify that when
V = Type v
, all these notion reduce to the usual ones.Note that this is not an attempt to make enriched categories that "stack" with existing categories, and interact well with existing algebraic structures, etc. It's just the abstract theory. Hopefully we'll be able to work out a different
enriched_over
typeclass that is a mixin forcategory
, and from which an "abstract" enriched category can be extracted.