Hacker News·5 min read·hard

Yoneda Lemma in Double Categories

I
ibobev
Yoneda Lemma in Double Categories
AI Summary

This article explores the application of the Yoneda Lemma within the framework of double categories, discussing the challenges of defining presheaves without traditional hom-sets. The author outlines a theoretical approach to generalizing categorical constructions for future implementation in Haskell.

Why it matters

It contributes to advanced mathematical theory, specifically in category theory, which underpins formal methods in computer science and functional programming.

Dive DeeperCreate a free account to unlock

Working with double categories can be aptly summarized in a meme: Talk to me about sets without mentioning sets. We don’t talk about hom-sets , we talk about horizontal units . Secretly, we are visualizing horizontal arrows as profunctors, and the unit of profunctor composition is a hom-functor.

Presheaves are defined as -valued functors, so we immediately run into a problem when trying to describe them in a double category. And without presheaves, we can’t talk about the Yoneda lemma — the workhorse of category theory.

Granted, a lot of standard categorical constructions can be generalized to use profunctors in place of presheaves, with immediate generalization to double categorical settings. This can be done with (weighted) limits, Kan extensions, categories of elements (tabulations), and many others. But sometimes you just need to talk about presheaves without mentioning presheaves.

Continue reading on Headlinne

Create a free account to read the full article.

Read full article →
sciencetechnology

Get smarter about the news

Sign up free for a feed built around what you actually care about, Dive Deeper research on any story, and the full text of every article.

Create free account

Already have an account? Sign in