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.
Suppose is a graph, consider where is the free category on .
There is a canonical endomorphism given by 'pushing forward' data along edges.
That is, given , we define on vertices
and on paths
One can show pretty easily this is well-defined on natural transformations too: sends to .
Now my questions:
Is the sum in the definition of meant to be over paths? If so, I think this is the left Kan extension along of the restriction of to . In other words, the endofunctor is the comonad corresponding to the adjunction between and induced by left Kan extension.
It is reminescent of some old papers about doing automata theory with formal power series. I'm sure @fosco will be able to tell you more. In any case yes, it seems like a very natural construction!
And as you say, I'm sure it extends pretty nicely to Petri nets
I'm not sure I can parse correctly the action on paths tho. Are you basically saying that given how you push all the sets forward, you are pushing forward the functions as well?
I don't understand the question but I'll get back to this tomorrow, or asap. What paper are you thinking of, @Fabrizio Genovese ?
It was something by Gadducci or Kasangian, I dont' remember
In any case I was thinking that if your functor maps vertexes to sets of the form (where can be either or , for instance), you could apply this construction only on the part. In itself this is not very interesting, but it models the idea that is 'private information' while is a 'stack' of messages to send. Operating only on the stack part would give you the dynamics. I was thinking about defining another functor that, instead, takes at each vertex and recomputes the stack accordingly, but it seems harder than I expected.
This could be nice as the evolution of a computational system could be described as alternating applications of the dynamic and the computation functor
You could actually try to do this with ordered sets as well, and now your evolution functor would keep track of the order in which the messages are delivered. This gets considerably messier tho, as for instance instead of graphs you need a way to order inbound and outbound edges :confused:
Paolo Capriotti said:
Is the sum in the definition of meant to be over paths? If so, I think this is the left Kan extension along of the restriction of to . In other words, the endofunctor is the comonad corresponding to the adjunction between and induced by left Kan extension.
Ha! Beautiful! Spot on, thanks :D
Yes the sum happens over all paths landing at a given node
So given , is the sum of all -data coming from the source of any edge pointing at
Fabrizio Genovese said:
I'm not sure I can parse correctly the action on paths tho. Are you basically saying that given how you push all the sets forward, you are pushing forward the functions as well?
I think that's a good way to put it
Fabrizio Genovese said:
This could be nice as the evolution of a computational system could be described as alternating applications of the dynamic and the computation functor
This is exactly what I'd like to do
Although I don't understand yet if also induces a map that pushes sections forward
Matteo Capucci (he/him) said:
Fabrizio Genovese said:
This could be nice as the evolution of a computational system could be described as alternating applications of the dynamic and the computation functor
This is exactly what I'd like to do
The thing that I find hard to justify in this perspective is the need for a presheaf. Tecnically all you need is to map vertexes to sets of states/messages. You don't need necessarily to map the edges to anywhere. Probably this is related to your comment about pushing the sections forward, I'm not sure
Anyway: "You have a stack of incoming messages, you process them sequentially and eventually fill a stack of outgoing messages" is a pretty basic model of network+computation that imho has a lot of gas in the tank. So whatever effort goes in this direction, I'll advocate for that!