The Yoneda lemma embeds a locally small category into a functor category
Image: Wassily Kandinsky, Public domain, via Wikimedia Commons
The Yoneda lemma embeds a locally small category into a functor category
The Yoneda lemma allows for the embedding of any locally small category into a category of contravariant functors. This embedding is a powerful tool in category theory as it provides a way to study the original category through its functor representation. The lemma essentially states that an object in a category can be fully understood through its relationships with all other objects via morphisms.
Example
Consider a locally small category C with objects A, B, and C. The Yoneda lemma embeds C into a category of functors from C to the category of sets (Set). For instance, the functor Hom(A, -) maps any object X in C to the set Hom(A, X), capturing all morphisms from A to X.
Understanding the Yoneda lemma is crucial for modern developments in algebraic geometry and representation theory, as it provides a foundational tool for studying categories through their functor representations.
Functor
Functors map between categories preserving composition and identity
the tokenizer's special tokens do: [CLS], [SEP], [PAD], [MASK] have specific roles
[CLS] marks the start of input, [SEP] denotes separation, [PAD] fills space, [MASK] hides words for prediction
Manifold hypothesis
High-dimensional data lies on lower-dimensional manifolds
Curry–Howard correspondence
Proofs are programs, types are propositions
the Y combinator does: enables recursion in languages without named functions
The Y combinator allows anonymous functions to call themselves recursively
Monad (functional programming)
Monads are a type constructor with two operations: return and bind
One email a day: 5 concepts + the 5 stories that matter →
Swipe through 100 ML concepts daily
Open TickerNews