You're reading the public-facing archive of the Category Theory Zulip server.
To join the server you need an invite. Anybody can get an invite by contacting Matteo Capucci at name dot surname at gmail dot com.
For all things related to this archive refer to the same person.
Why is the associativity law for monoid objects instead of just ?
These laws are probably easier to understand if you ignore the associators and unitors of the monoidal category (as justified by the coherence theorem for monoidal categories). In this sort of stuff, it's common to switch to string diagrams, which, among other things, are a way to ignore associators and unitors.
I think in Set, a counterexample to the latter is to take the (ℕ, 0, +) monoid and some input like ((1, 2), 3).
Ah right I was confusing the tensor for the monoid product. Thanks!
Then, the LHS results in (3, 3), whereas the RHS results in (1, 5) (if I got the types right).
And fortunately, one more addition makes these match up!
James Wood said:
These laws are probably easier to understand if you ignore the associators and unitors of the monoidal category (as justified by the coherence theorem for monoidal categories). In this sort of stuff, it's common to switch to string diagrams, which, among other things, are a way to ignore associators and unitors.
Any recommended resource for getting started with string diagrams?
I'm sure others have actual recommendations, but I don't. I just picked them up from people around me plus being similar enough to circuit diagrams that intuition carries over.
Some introductions to string diagrams include:
Bob Coecke and Aleks Kissinger, Picturing Quantum Processes: A First Course in Quantum Theory and Diagrammatic Reasoning.
John Baez and Mike Stay, Physics, topology, logic and computation: a Rosetta stone.
Peter Selinger, A survey of graphical languages for monoidal categories.
I think these are in order from easy to hard. String diagrams are so simple that they could easily be taught in elementary school - that's why Bob Coecke wrote the paper Kindergarten quantum mechanics. You don't need to know anything about category theory or quantum mechanics to understand them, though they do make category theory and quantum mechanics easier to understand.
Because string diagrams are applicable to so many things, introductions to them tend to talk about these things - which may make string diagrams seem harder to understand than they really are!
As an example of String diagrams applied to a particular field, I found Knowledge Representation in Bicategories of relations by @Evan Patterson to be very helpful. It is a good introduction to very simple string diagrams for those who know RDF, and for those who know string diagrams a good intro to RDF. (knowledge seems to flow two ways)
I don't even know what "RDF" means. :cry:
I think most string diagram intros are somewhat subject-specific - "String diagrams and X".
RDF is the Resource Description Framework. A logic for the Web developed at the W3C. One can think of it as a Regular logic (and extend it to a geometric logic as per Evan's paper). The main difference with normal first order logics is that it uses URLs as identifiers, which allows people to publish their descriptions on their web servers and link to descriptions on other servers. Ie a hyperlinked logic framework.
An important use case is the creation of decentralised secure social networks, where each of us could publish their content at home without the need for centralised services we have now.
Thanks! @Brendan Fong and @David Spivak have a nice (rather high-powered) paper on a graphical calculus for regular logic, so hopefully that's connected to @Evan Patterson's paper.
yes, it's even referenced in there :smile:
Patterson in "Bicategories of Relations" also references the Functorial DB work by Spivak, who 10 years ago pointed out that a functor from a small category (thought of as schemas) to Set is a DataBase instance, and the Grothendieck construction of that functor is equivalent to (the structure of) RDF. Patterson adapts this to a bicategories of relations: Functors from bicategories of relations to Rel and the Grothendieck construction of those functors appear there too. This matches more directly RDF since that is relational. The two are inter-definable though.