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.
Let be the category where
If it's not a topos maybe there is a way to tweak the morphisms so that it becomes one.
I think there's a subobject classifier, analogous to the one for the category of directed graphs.
That is, we have two places (places mapping to this will be in the corresponding subobject) and (places mapping to this will not be in the corresponding subobject). And for every we have a transition from tokens at to tokens at (transitions mapping to these will be in the subobject). And for every we have a transition from tokens at and tokens at to tokens at and tokens at (transitions mapping to these will not be in the subobject).
(I'm assuming that a subobject of a Petri net is a subset of the places, along with a subset of the transitions which only involve the chosen places)
A subobject is a pair of subsets like you mentioned except that the inclusion of transitions must preserve the source and target on the nose. If a place is in the source of a transition in your subobject, then those places must also be in your subobject and the arcs connecting them. A similar statement is true for the outputs of transitions in your subobject.
Your subobject classifier seems like it's right to me though. I'll have to think on it a bit.
I don't think it has a terminal object. The collection of nets with and both singletons is jointly terminal, but none of them admits a morphism from all of the objects.
I think the net with one place , and a transition from tokens at to tokens at for every is terminal?
Morgan Rogers said:
I don't think it has a terminal object. The collection of nets with and both singletons is jointly terminal, but none of them admits a morphism from all of the objects.
I think you are right
Thomas Read said:
I think the net with one place , and a transition from tokens at to tokens at for every is terminal?
What is "for all" in the context of PT nets? m and n must be fixed
As in . For each pair we add a separate transition going from tokens to tokens.
Oh, in that way!
I'm trying to find a reason why this doesn't work, but intuitively it seems it should
I went away for 5 minutes and came up with T a singleton, S the empty set, but that doesn't sound like what you're suggesting?
So for each transition you send all its inputs to the first place, all its outputs to the second place, then you sum all the arities of the arcs, you get m and n and there is exactly one transition from the place to the left to the place to the right that takes m tokens on the left and gives n tokens on the right
The singleton gets sent to the transition having 0 inputs and 0 outputs
there is exactly one of such transition in the net @Thomas Read proposed
I don't know what transitions are in terms of and ...
is transitions, is places
transitions are the Ts, places are the Ss :D
But anyway, since Graph is a topos I don't find too hard to believe Petri nets are too
and takes a transition and tells you the "source" and "target"
(an elementary one, obviously)
So this is the Petri net that sends to , respectively?
Yes
The interesting question is "what does the internal logic tell you about this? And what about the geometric interpretation?"
Woah hang on, we haven't established if it is a topos yet!
I fear the answer is "not much wrt the concurrency stuff you usually study with a Petri net", but I'd be extra-glad to be proven wrong
Fabrizio Genovese said:
So for each transition you send all its inputs to the first place, all its outputs to the second place, then you sum all the arities of the arcs, you get m and n and there is exactly one transition from the place to the left to the place to the right that takes m tokens on the left and gives n tokens on the right
Why should this be the unique morphism into this object?
I do agree with you, but I cannot avoid to ask "why" we want it to be a topos :D
Morgan Rogers said:
Fabrizio Genovese said:
So for each transition you send all its inputs to the first place, all its outputs to the second place, then you sum all the arities of the arcs, you get m and n and there is exactly one transition from the place to the left to the place to the right that takes m tokens on the left and gives n tokens on the right
Why should this be the unique morphism into this object?
Oh. Hm, you are right, I could send some output places to the input places, say, and since I have a transition for each (m,n) then I'd be able to map transitions too, most likely
So the morphism doesn't have to be unique
What do you mean by output places and input places? My description only had one place
(deleted)
(deleted)
(deleted)
Thomas Read said:
What do you mean by output places and input places? My description only had one place
Sorry, you are rght xD
For and so that , there is only one possible choice of , and there is clearly at most one morphism from any Petri net to to it; one can check that the squares are always forced to commute, so it works :+1:
If is non-empty then there are no morphisms so no morphisms ?
You don't want morphism , but morphisms between their free commutative monoids
and the commutative monoid generated by the empty set is just the unit, so you can send any commutative monoid to it and get a homomorphism
Thomas Read said:
If is non-empty then there are no morphisms so no morphisms ?
Oh whoops... yep with the given def'n of morphisms this doesn't work!
Jade Master said:
- a morphism from a Petri net to a Petri net is a pair of functions commuting with the source and target maps of and .
Yes, I was about to say, this is the tricky part
It depends on the definition you choose. Montanari and Meseguer in Petri nets are monoids, for instance, do not require that the homomorphism has to come from a function between generators
that is, for them is any homomorphism
(Petri nets are monoids is arguably the most important paper in this research field, so it' not like it's an unknown definition)
"The initial net has no transitions and no places, while the final net has one transition and no places. The construction of the coproduct of two Petri nets generalizes to arbitrary families of nets. Petri has neither arbitrary limits nor arbitrary colimits. This is due to the fact that the category of free commutative monoids lacks arbitrary limits and colimits. However, dropping the freeness requirement for the monoid of nodes leads to a bigger category GraIPetri that has all limits and colimits. "
Lol, it's funny to see how anything you can ask about Petri nets has most likely already been worked out in Meseguer-Montanari. xD
Fabrizio Genovese said:
"The initial net has no transitions and no places, while the final net has one transition and no places. The construction of the coproduct of two Petri nets generalizes to arbitrary families of nets. Petri has neither arbitrary limits nor arbitrary colimits. This is due to the fact that the category of free commutative monoids lacks arbitrary limits and colimits. However, dropping the freeness requirement for the monoid of nodes leads to a bigger category GraIPetri that has all limits and colimits. "
Sounds like working with Kleisli vs Eilenberg-Moore!
I think with @Jade Master 's definition we do have binary products, though they're a bit weird (haven't checked the details but feels like it works). Suppose we have nets and . Then the product has a set of places . The transitions are given by pairs of transitions , $$t' \in T'$ along with a choice of source tokens and target tokens such that if we "forget the second coordinate" we get the source and target tokens for , and if we "forget the first coordinate" we get the source and target tokens for .
image-fdac1a76-dc22-4b9e-b2e1-0025eddbec73.jpg
^ the transitions in the product is the limit of that thing, where e.g. the map is induced by the projection .
Oh we already had completeness from @Jade Master 's remark about comma categories anyway
Jade mentioned cocompleteness actually. I guess the lower right Ts should be S'
Oh sorry yup - clearly changed my mind about letters half way through...
But anyway, with the original definition I think we've established that there's no terminal object, so no hope of it being a topos?
She said cocompleteness, but I think both follow from her reference https://ncatlab.org/nlab/show/comma+category#properties since is complete and cocomplete, and the identity on is continuous and cocontinuous
I wrote down something that I think is the terminal object - I don't think anyone's shown it isn't yet? (@Fabrizio Genovese thought he'd found a problem but had misread the definition)
Yep okay, I was briefly confused about how the free commutative monoid is defined. There is a unique morphism , and composing with the resulting morphism we get two morphisms and so a unique factoring map through . Nice one @Thomas Read !
I reiterate my question: Assuming Jade definition or Meseguer definition, it's still interesting to establish what the internal logic of the topos gives you. To do this we still have to answer the obvious question: How does a subobject in Petri look like?
My gut feeling is that it's just a subnet, maybe a generalized one?
Since I'm going around in circles on this, I'll share what I was trying to do, and anyone else who thinks it looks like a good idea can pick it up. Structurally, the objects of Petri look like coalgebras. I think that for a judicious choice of base topos (? ?) and a suitable choice of forgetful functor, it could be expressed as the category of coalgebras for some comonad on a topos, which is one of the fastest ways to show that something is a topos, if it is a topos.
But it might be quicker to check that exponentials exist, and to double check the subobject classifier suggested earlier. :shrug:
Think I've got power objects, though I'd need to sit down and check some details to be totally sure.
Let be a net. The set of places for the power object is the set of subsets of . A transition in the power object consists of a source (i.e. ), a target , for each a choice of and for each a choice of , and a transition from to .
Edit: actually you'll need to be a bit careful about when you say two transitions described like that are the same, though I think there's probably only one sensible way to do it.
Edit 2: sorry, a transition with given source and sink should be a set of as described above.
@Jade Master if that's all correct then we have finite limits, a subobject classifier and power objects, so a topos!
@Fabrizio Genovese Jade described the subobjects under her definition near the start of the conversation
(I imagine it's what you'd call a subnet)
Yes, it's the same thing
That is basically a mono in Petri, indeed
Thomas Read said:
Think I've got power objects, though I'd need to sit down and check some details to be totally sure.
Let be a net. The set of places for the power object is the set of subsets of . A transition in the power object consists of a source (i.e. ), a target , for each a choice of and for each a choice of , and a transition from to .
Edit: actually you'll need to be a bit careful about when you say two transitions described like that are the same, though I think there's probably only one sensible way to do it.
Jade Master if that's all correct then we have finite limits, a subobject classifier and power objects, so a topos!
Well we still have to check that the proposed subobject classifier indeed classifies stuff :slight_smile:
In any case, if this is a topos, I guess the internal logic would give you a way to identify subnets of a net that do some kind of stuff. It woul be indeed very nice if the "some kind of stuff" would be related to the reachability relation in a net, but that's just wild guessing for now
I doubt the category of Petri nets is a topos, so I'd urge you to bite the bullet and try to prove it's not. It's tough for young mathematicians to try to prove the opposite of what they want, but the truth doesn't care what we want, so it's important to play both sides - it's best to learn the truth as soon as possible.
Fabrizio Genovese said:
But anyway, since Graph is a topos I don't find too hard to believe Petri nets are too
Graphs are a presheaf category, Petri nets are not. Topoi are not a dime a dozen; if you're in one you tend to know it pretty quick.
I would try to prove that Petri is not cartesian closed.
I'd take two rather small Petri nets X and Y and show there's no Petri net [X,Y] such that morphisms A [X,Y] correspond naturally to morphisms A X Y.
On the other hand, it's worth checking out @Thomas Read's suggested power object. Play both sides of this game!
You may recall that Daniel Cicala used "Artin gluing" to get a lot of topoi as comma categories: if and are topoi and preserves finite limits, the comma category is a topos.
Since is a comma category you could try to use this to prove it's a topos. I believe you'll find that doesn't preserve finite limits, so this strategy fails. But please check! (It doesn't preserve the terminal object, does it?)
Of course, even if this method of showing is a topos fails, that doesn't mean isn't a topos!
So it's more efficient to go out and try to show is not a topos (and also try to show it is).
Yes, I also suspect is not a topos for this reason; if it does succeed in being one, it would be good to understand exactly how this happens without the gluing functor preserving finite limits.
Btw, I should remind Jade that for a long time we were talking about a topos where the objects are almost the Petri nets we consider now, but not quite, and the morphisms are very different than the morphisms we use now. This topos was a presheaf category: it was the category of bipartite graphs, where you have a set of places, a set of transitions, a set of "place-to-transition" edges, and a set of "transition-to-place" edges.
I was really excited about this topos for a while, but then we decided that the morphisms were too weird.
I wonder if there is any interesting Grothendieck topology one could put on this?
Of course, that wouldn't solve the problem, since you would be restricting the objects, not the morphisms.
I guess this is related to what I was trying to say before, that is: What does the internal logic buy you in this setting? Even if Petri is not a topos, what can we use its internal logic for? And how expressive is it? I guess these questions are relevant depending on which perspective you have on topos theory. For me it's a logical one, so I tend to think about Grothendieck topologies as something you want/not want wrt what you want the internal logic to do.
What can you do using the internal logic of ? Has anyone done anything cool using it?
This is indeed a very nice question I don't know anything about. :slight_smile:
Petri nets strike me as more of a realizability topos thing than a "Topos on the nose" thing.
@Mike Stay and @Christian Williams are the only people I know who have tried to do anything "cool" with the internal logic of .
The internal logic of is pretty simple. Its subobject classifier should be thought of as the "graph of truth values". It works like this: vertices of any graph can be in a subgraph or out, so the graph of truth values has two vertices: a vertex "true" and a vertex "false". But edges come in 5 kinds:
the subobject classifier for Gph
They can be completely in the subgraph, have neither source nor target in the subgraph, have their source in the subgraph but not their target, have their target in the subgraph but not their source, or they can have both source and target in the subgraph but not themselves lie in the subgraph!
John Baez said:
Since is a comma category you could try to use this to prove it's a topos. I believe you'll find that doesn't preserve finite limits, so this strategy fails. But please check! (It doesn't preserve the terminal object, does it?)
Well... we can fix that! The functor naturally falls into the slice of over the , by equipping with the morphism that sends an element to the sum of the coefficients in each argument. Now we have a functor that does preserve the terminal object; how much have we changed the comma category?
I don't know. Is this trick enough to create a topos? Jade demands a topos! :upside_down:
John Baez said:
The internal logic of is pretty simple. Its subobject classifier should be thought of as the "graph of truth values". It works like this: vertices of any graph can be in a subgraph or out, so the graph of truth values has two vertices: a vertex "true" and a vertex "false". But edges come in 5 kinds:
the subobject classifier for Gph
They can be completely in the subgraph, have neither source nor target in the subgraph, have their source in the subgraph but not their target, have their target in the subgraph but not their source, or they can have both source and target in the subgraph but not themselves lie in the subgraph!
This is very cool, so the internal logic of the topos identifies subgraphs of a graph, that is, it does "the useful thing".
E.g. You can define internal formulas that stand for things like "Give me the subgraph of this graph such that..."
Right. The subobject classifier is doing its job, classifying subobjects.
@Morgan Rogers interesting idea. The objects of this proposed comma category aren't really Petri nets anymore. They are Petri nets with only one place.
@Fabrizio Genovese if Petri is a topos then it will have a sound theory of double pushout rewriting. More generally if it is an adhesive category then this is true.
That would make me really happy :D
It seems very unlikely to me that Petri is a topos. Generally whenever you have strict commutativity appearing, topos-like properties tend to fail. See for instance https://arxiv.org/abs/1209.0414. It could be that the example therein could be adapted to Petri.
I wonder if Petri could be adhesive. That's an interesting fallback position.
Hey is @Daniel Cicala here?
Never seen him here. He barely made his presence felt on our UCR Zulip! Not that kind of guy.
Joe Moeller said:
I wonder if there is any interesting Grothendieck topology one could put on this?
do you mean lawvere-tierney topology? otherwise i'm not sure what you'd mean by it restricting the objects
I've figured out a problem with my proposed power object now, and I think it turns into a proof that no power object exists:
Let be a petri net with two places and and a single transition from to . Suppose it has a power object .
By considering the petri net with one place and no transitions, we see that must have four places which I label . By naturality we see that these work in the same way as the subobject classifier in Set - that is, if we have a morphism where a place maps to then the corresponding subobject of contains the places and , while if mapped to then the subobject would contain but not , etc.
Now we will show that there is no natural bijection between subobjects of and morphisms . Note is the net with four places and , and a transition from to and a transition from to .
Let be the subobject consisting of all the places and the transition to . Then this corresponds to some morphism , and we know that this morphism takes both and to , and the single transition to some transition from to .
But we have an automorphism of which swaps the places and . Pulling back along this automorphism takes the subobject to the subobject consisting of all four places and the transition from to . But precomposing our morphism with this automorphism does nothing! So we can't have a power object.
image-27fbc39f-0ad7-4289-ae1a-dadbb2915a8f.jpg
^ relevant pictures
Jade Master said:
Morgan Rogers interesting idea. The objects of this proposed comma category aren't really Petri nets anymore. They are Petri nets with only one place.
I wasn't putting forward as the topos, but the slice of the identity of this topos over the functor coming from . The result is your category of Petri nets but equipped with a function that sends each transition to the sum of the coefficients on its source and target, which is data already preserved by the morphisms you describe.
John Baez said:
I don't know. Is this trick enough to create a topos? Jade demands a topos! :upside_down:
Unfortunately no, it still isn't enough to make Artin gluing construction work. To show that it does is equivalent to checking that the original functor preserves pullbacks, which actually would be enough on its own, as mentioned in the remarks at the end of the Artin gluing page that you linked. And in fact you can check that it manages to preserve the pullback of a monomorphism along any morphism, but it fails to pullback epis against one another: a minimal counterexample is to take . Then contains elements and which are identified by the comparison morphism to . You can probably see that I've just doubled up an argument showing that the free commutative monoid functor doesn't preserve pullbacks; if you're trying to follow the reasoning it's easier to work with that.
Hi @Jade Master , here I am.
Hi @Daniel Cicala I just thought you might be interested in this conversation.
@Morgan Rogers yes I agree that this category isn't . It's just that it might as well be because the objects of this category are completely unrelated to the sets of places.
Oh now I think I understand what you mean.
sarahzrf said:
Joe Moeller said:
I wonder if there is any interesting Grothendieck topology one could put on this?
do you mean lawvere-tierney topology? otherwise i'm not sure what you'd mean by it restricting the objects
I just meant that a Gr topology allows you to restrict to sheaves.
I suppose that what I said amounts to the observation that the "sum of coefficients" maps are invariant under the given morphisms of Petri nets. Given the failure of the functor to preserve all pullbacks, it doesn't actually help show that the category is (or isn't) a topos :shrug:
@Thomas Read's description of the subobject classifier from earlier, does seem to work (ie I tried to construct one and ended up with the same thing and have convinced myself it works), although I don't yet understand his proof of the non-existence of certain power objects. The only example of a subobject classifier in the wild (ie in a non-trivial non-topos) that I've seen before is in the category $$\Set_*$$ of pointed sets, so I'm quite curious to see how far this fails to be a topos, as a nice example for the future!
Thanks for thinking of me. I'm a genuine dummy when it comes to navigating these kind of sites. What conversation do you mean? I only see Christian welcoming everybody.
Joe Moeller said:
I just meant that a Gr topology allows you to restrict to sheaves.
oh, whoops, i missed the message you were originally replying to so i thought you were talking about the original probably-not-a-topos category (in which case what is even the base category to put gr topology on)
Mike Shulman said:
Generally whenever you have strict commutativity appearing, topos-like properties tend to fail. See for instance https://arxiv.org/abs/1209.0414. It could be that the example therein could be adapted to Petri.
I went back and looked at this paper and I think their counterexample should almost literally apply to show that Petri is not cartesian closed (hence, of course, not a topos). Just read their section 2 with the following dictionary:
"2-degenerate 3-computad" = "Petri net"
"2-cell" = place
"3-cell" = transition
Yes, I think that works! It's interesting comparing that to my proof that there's no power object - they both centre around a similar net (in their case the net with a transition , in mine the net with a transition ), and the key point is that the product of that net with itself has two distinct transitions. But of course the rest is somewhat different - theirs is nice in that it's very concrete, whereas I had to figure out a bit about what a power object would look like supposing it existed.
Thank you Mike! :pray:
Is that the end of the story, then? Personally I would still be interested to know how far it fails with more precision (which objects are exponentiable, for example?) and if it can be built from/on top of a topos in a way that resembles some other familiar constructions.
For example, if we replace "free commutative monoid" with "free monoid", the resulting Artin gluing does give a topos, which is the category of "Petri nets with the places in the source and target of each transition ordered", and that admits a canonical functor to the category of Petri nets by forgetting the ordering. If that has an adjoint on one side or the other, it's likely to be pretty big (desymmetrizing usually involves taking a copy for each possible ordering), but whatever the situation, understanding the relationship between these categories should yield some deeper insight.
What you are defining are called pre-nets. They are more or less the same thing of free symmetric strict monoidal categories. You are tapping in a big research field right now :slight_smile:
And yes, this is more or less how you do the left adjoint here, you have to take any possible ordering of the places into consideration.
Ooh thanks for the name! In the nLab page on pre-nets there's a paper by Joyal and Street cited, The Geometry of Tensor Calculus, I. While it has been cited many times, neither they nor any of the papers citing them that I can find observe that the category of pre-nets/tensor schemes is a topos? Considering all the topos theory that Joyal has contributed to, is it really possible that this just... hasn't been noticed?
Or is it just that they're known by yet another name (maybe 2-computads, given the contents of Cheng's article?) wherever it's recognized that they form a topos?
I expect it's just that no one had any particular use for the fact yet. It would have been obvious to Joyal and Street that they are a (presheaf!) topos.
Thomas Read said:
they both centre around a similar net (in their case the net with a transition , in mine the net with a transition )
They mention somewhere early on that their morphisms could also have empty codomain.
Morgan Rogers said:
Is that the end of the story, then? Personally I would still be interested to know how far it fails with more precision (which objects are exponentiable, for example?) and if it can be built from/on top of a topos in a way that resembles some other familiar constructions.
I'd like to know the answer to John's question of whether Petri is adhesive. In particular, can anyone find a pushout of a monomorphism that is not stable under pullback? Any coequalizer can of course be written as a pushout, but not in general a pushout of a monomorphism.
I'm getting concerned that "some people talked about it on Zulip in 2020" will be the new "some people talked about it at a conference in Buffalo in 1965"
Jules Hedges said:
I'm getting concerned that "some people talked about it on Zulip in 2020" will be the new "some people talked about it at a conference in Buffalo in 1965"
There's a major difference, in that all the messages sent on Zulip are stored permanently, so it's possible to reference conversations here. In terms of folklore, this seems like a strict improvement.
I agree it's a strict improvement, but I don't think it's a very strict improvement. My hypothetical Buffalo conference was 55 years ago, wanna bet that the links into Zulip will still be alive in 2075?
It'd certainly be worth trying to make sure we have regular backups, although that's a conversation for #general: meta.
Mike Shulman said:
I expect it's just that no one had any particular use for the fact yet. It would have been obvious to Joyal and Street that they are a (presheaf!) topos.
If it's also obvious to you, would you mind describing the category over which prenets are presheaves? Not explicitly stating something "obvious" just because one doesn't yet have a use for it seems a little selfish; after all, no one else can make the fact useful if they don't know it!
Imagine one sort for objects, and for each pair , a sort of morphisms with inputs and outputs, and for each an operation which takes such a morphism to its th input, and so on.
So quite a big category, then! And we need to take covariant functors to Set from the category you're describing. Then if I write for the sort of objects/places, and for the sort of transitions with inputs and outputs, then the net corresponding to a functor has places and the disjoint union of the for transitions?
It probably happens the other way around for everyone else, but having this description immediately made it much clearer to me how pre-nets can constructed out of individual transitions with fixed numbers of inputs and outputs and some free places.
Well, if one states all the facts one can think of about a definition just in case someone else might have a use for them, then the paper gets rather long.
Morgan Rogers said:
So quite a big category, then!
If by "quite big" you mean "countably infinite"...
Mike Shulman said:
Well, if one states all the facts one can think of about a definition just in case someone else might have a use for them, then the paper gets rather long.
Surely it would only get countably infinitely long, at most? :upside_down:
Mike Shulman said:
Morgan Rogers said:
So quite a big category, then!
If by "quite big" you mean "countably infinite"...
Compared with the two sets and two functions that constitute the original definition... yes! Quite big!
John Baez said:
You may recall that Daniel Cicala used "Artin gluing" to get a lot of topoi as comma categories: if and are topoi and preserves finite limits, the comma category is a topos.
It's actually a little better than that: you only need to preserve pullbacks. This strengthening occasionally comes in handy (for example, the pre-nets example).
Oh, interesting! In one nLab article it said "pullback-preserving", but then in the article on Artin gluing it said "finite-limit preserving", so I corrected the "pullback-preserving" one. And I considered leaving y'all a note but I didn't.
I'll fix that...
Just to add some detail: the Artin gluing along is the category of coalgebras of a pullback-preserving comonad on the topos , taking to . This is indeed pullback-preserving if is. The classic result about the category of coalgebras of a lex comonad can be strengthened by replacing "lex" by "pullback-preserving"; see Johnstone's Elephant, A.4.2.3. Or, to toot my own horn, see here.
@Mike Shulman Fact 4.21 of this book shows that is a weak adhesive HLR category. I don't really understand weak adhesive HLR categories but it seems like a weaker version of being adhesive.
The point of this according to the book I linked is that that you can do double pushout rewriting in
Can you write out the definition of weak adhesive HLR category? I don't know what HLR means.
Sure.
A Category C is a weak adhesive HLR category with morphism class M if
So who's M in the case of Petri nets?
M is the class of injective morphisms
I assume that means morphisms where each component is injective.
Btw I am not understanding this stuff yet :) I am just quoting the book
I was asking because in your definition it seems that M is a parameter, so it can be everything you want, right?
Fact 4.21 proves that Petri satisfies these properties when M is the class of injective morphisms.
In general these categories can have any class of morphisms satisfying these properties though.
Jade Master said:
Fact 4.21 proves that Petri satisfies these properties when M is the class of injective morphisms.
Now I get it :D
Thanks. Sorry for dumb questions, but I don't know what VK means, much less what a weak VK square is. Not sure what "closed under decomposition" means here. What does HLR stand for, please?
VK must be "van Kampen"
Todd Trimble said:
Thanks. Sorry for dumb questions, but I don't know what VK means, much less what a weak VK square is. Not sure what "closed under decomposition" means here. What does HLR stand for, please?
Not a dumb question. I'm in the same boat. Out of context initialisms are always a recipe for confusion, and being closed under decomposition could mean one of four things to me (there's a "left" version, a "right" version, a "both" version, and an "either" version that come to mind), so I would like to second the request for clarification.
In the second bullet point, I assume the second "C" should be "M"?
John Baez said:
VK must be "van Kampen"
Oh, yes. Should have thought of that.
Closed under composition means that for , then whenever defined.
Reid Barton said:
In the second bullet point, I assume the second "C" should be "M"?
Yes you are correct.
Jade Master said:
Closed under composition means that for , then whenever defined.
That one I knew. "Closed under decomposition" was what I was unsure about.
Todd Trimble said:
Thanks. Sorry for dumb questions, but I don't know what VK means, much less what a weak VK square is. Not sure what "closed under decomposition" means here. What does HLR stand for, please?
I would recommend reading the book I linked as I don't understand this all yet myself. On page 86 it says this:
The main difference between adhesive HLR categories and adhesive categories is that a distinguished class M of monomorphisms is considered instead of all monomorphisms, so that only pushouts along M-morphisms have to be VK squares. Moreover, only pullbacks along M-morphisms, not over arbitrary morphisms, are required
Todd Trimble said:
Jade Master said:
Closed under composition means that for , then whenever defined.
That one I knew. "Closed under decomposition" was what I was unsure about.
I am confused a bit about this too. The book says that it means .
But I don't see how this could be well defined.
btw HLR stands for high-level replacement.
That seems unlikely to be satisfied in practice (e.g., for M = monos in Set)
Well, what I can see from Google books is somewhat limited. I can maybe piece together "weak VK square" though. A little awkward to discuss here because it really helps to see the commutative cubes under discussion.
Yes, that seems like an entirely weird definition to make for decomposition.
"High-level replacement" -- thanks.
I'm pretty far from being enlightened, but I guess we're all in that boat at the moment.
Oh I made a mistake. The book says that and implies that . That makes more sense.
Ah, there we go. Thanks.
Also @Todd Trimble 2006_Book_FundamentalsOfAlgebraicGraphTr.pdf here's a pdf.
and for anyone else who wants to know what the heck I'm talking about.
Thanks!
Just a little piece of terminology, which might come in handy: the condition that a functor T preserves pullbacks of monos is called "tautness". You might like this, Jade, as any analytic functor (coming from a Joyal species) is taut. That would appear to be a key feature in the proof of Fact 4.2.1. It's generally an important concept (one resonance for me is the way it features in Paul Taylor's theory of induction/recursion, which ought to be better known).
But I'm sorry: what did you want to use adhesiveness for, Jade?
Mike Shulman said:
Morgan Rogers said:
Is that the end of the story, then? Personally I would still be interested to know how far it fails with more precision (which objects are exponentiable, for example?) and if it can be built from/on top of a topos in a way that resembles some other familiar constructions.
I'd like to know the answer to John's question of whether Petri is adhesive. In particular, can anyone find a pushout of a monomorphism that is not stable under pullback? Any coequalizer can of course be written as a pushout, but not in general a pushout of a monomorphism.
So to get back to this, armed with the pdf that Jade provided, there seems to be an example on page 94. (I haven't absorbed this myself.)
Morgan Rogers said:
Mike Shulman said:
I expect it's just that no one had any particular use for the fact yet. It would have been obvious to Joyal and Street that they are a (presheaf!) topos.
If it's also obvious to you, would you mind describing the category over which prenets are presheaves? Not explicitly stating something "obvious" just because one doesn't yet have a use for it seems a little selfish; after all, no one else can make the fact useful if they don't know it!
So I expect one could get enlightenment here by reading the Carboni-Johnstone paper "Connected limits, familial representability and Artin glueing". Don't have details immediately to hand, but might be able to rummage them up in a bit.
Anyway, it must be reminiscent of where the exponent on the right refers to the category of elements of .
(Oh sorry, I see this was already answered by Reid Barton.)
Todd wrote:
But I'm sorry: what did you want to use adhesiveness for, Jade?
Maybe Jade wants to use adhesiveness for rewriting Petri nets - "double pushout writing", to be specific. That's what Lack and Sobocinski invented adhesive categories for. My student @Daniel Cicala put some time into studying them, since his thesis Rewriting Structured Cospans was about this sort of thing. Appendix A5 in his thesis defines adhesive categories, and he says there that people use HLRS to mean "high-level replacement system" - a concept he gives the definition of.
(I dislike acronyms, myself. They save the writer a short time and make everyone else spend time looking them up.)
Yes that indeed is what I'm interested in.
Since Morgan gave an encouraging sign, I'll say more: if preserves wide pullbacks (I'll write instead), then the Artin gluing is equivalent to the category of presheaves on a category sometimes referred to as a collage, . Spelling this out: for each object , the composite functor
taking to the set , also preserves wide pullbacks, and also lifts through the forgetful functor (consider, for any presheaf , the unique map , which gives a map , i.e., an object of ). Notice that this lift preserves wide pullbacks and the terminal object , so preserves all limits, hence has a left adjoint , given by a family of presheaves . So takes a presheaf to a presheaf of the form (one says is familially representable).
Thus an object in consists of a presheaf , a presheaf , and a family of maps
natural in . These data taken together may be construed as a presheaf on a category , which is something like a "graph" of a functor, or a fancy version of an ordinal sum in the sense of a paper by Lawvere. The objects are objects and pairs . A morphism between objects of in is a morphism in , a morphism of type is a morphism in such that (so basically a Grothendieck construction), and a morphism of type is an element in the set . There are no morphisms in the other direction. The composition law is the obvious thing.
Hi Jade, here are a few thoughts. In building a bi/double category where rewrites of structured cospans are the 2-arrows, the primary obstruction is getting certain spans (rewrite rules) of cospans (open Petri nets) to satisfy the interchange law. For this to work, it's not strictly necessary for Petri nets to form a topos. Here are two possible dodges.
(1) Instead of forming a topos, Petri nets can be regular, adhesive, and locally cartesian closed (i.e. all over-categories are cartesian closed). I talk about how these properties are sufficient for interchange in Section 3 of my paper Spans of Cospans (sorry for the self-promotion and not linking, I don't know how to link here but you can search arXiv or TAC). In this scenario, your 2-arrows are up-to-iso meaning that you can distinguish between different rewrite rules that have the same effect (rewrite A to B).
(2) If you don't care about distinguishing between different rewrites from A to B, then you can use what I called Bold Rewriting in Ch.4 of my thesis (Rewriting Structured Cospans on the arXiv). Here, you only need Petri nets to be nice enough to rewrite (adhesive, quasi-adhesive, high level replacements systems) and have enough limits and colimits. Bold rewriting takes 2-arrows to be connected components instead of isomorphisms. Here, interchange boils down to the existence of the canonical arrow colim lim --> lim colim (pushouts and pullbacks commute "laxly"? "lackadaisically"?). If you're working in a bicategory (inputs and outputs remain fixed during rewrites) instead of a double category (inputs and outputs can be permuted) then bold rewriting gets you a bicategory of relations, which is nice.
Jade Master said:
Yes that indeed is what I'm interested in.
Thanks! And thanks to John for supplying some context. In the past I'd only looked briefly at adhesive categories, mainly for "pure" reasons (it's a useful exactness property, after all), but now I'm motivated to understand the, um, motivation!
Todd Trimble said:
The objects are objects and pairs . A morphism between objects of in is a morphism in , a morphism of type is a morphism in such that (so basically a Grothendieck construction), and a morphism of type is an element in the set . There are no morphisms in the other direction. The composition law is the obvious thing.
Thanks for expanding on this, understanding how and when a construction on presheaf/Grothendieck toposes gives another presheaf/Grothendieck topos is very enlightening. This collage category was a lot easier to parse thanks to my participation in a discussion between @sarahzrf and @Fabrizio Genovese on profunctors in optics: after composing with the Yoneda embedding on one side and the functor to the slice category over on the other, a functor becomes a functor , where is the category of elements/Grothendieck construction for . After currying, this becomes a profunctor whose collage (in the profunctor sense) is exactly the category you describe. I take it left exactness is needed in a way that is not immediately obvious in order to get the equivalence between the presheaves over and the comma category , but I at least have some grip on where this construction comes from :grinning_face_with_smiling_eyes:
Daniel Cicala said:
I talk about how these properties are sufficient for interchange in Section 3 of my paper Spans of Cospans (sorry for the self-promotion and not linking, I don't know how to link here but you can search arXiv or TAC).
You can just paste the link directly, or use square bracketed text followed up by round bracketed web address,
[text](link address)
to make hyperlinked text. Your referenced papers are here, and here... I think! You have several papers with similar names which come up when searching.
I wasn't able to get my hands on Carboni-Johnstone, so I can't remember exactly how they go about it, but I was able to piece together what I wrote by recalling some stuff I had written in the nLab on connected limits and wide pullbacks (by the way, in case it wasn't clear, these wide pullbacks include the infinitary case as well: diagrams having one target and infinitely many sources, with one arrow from each source to the target, and no other arrows. If a category has a terminal object and wide pullbacks, then it is small-complete) -- and also, by cribbing from Tom Leinster's book, section C.3, which you might well find easier to read than what I put down here. The Carboni-Johnstone article is well worth having a look at (with little enjoyable nuggets, for example a functor that preserves finite pullbacks must preserve equalizers as well).
Todd Trimble said:
a functor that preserves finite pullbacks must preserve equalizers as well).
it seems like a nice exercise to reverse engineer the minimal assumptions for that. there seem to be finite counterexamples for the statement without any assumptions. if the category is monoidal and has the diagonals, then the equalizer of f and g is the pullback of <f,g> along the diagonal. but a functor that does not preserve the terminal object may preserve all pullbacks but not the diagonal. but the diagonal is the equalizer of the identity and the symmetry. what am i missing? is there a way to express the equalizers in terms of pullbacks without using the diagonals?
Suppose has finite limits. The claim is that a functor preserves equalizers if it preserves pullbacks. I thought a proof went as follows. A functor preserves the limit of a functor iff also preserves that limit for every object of , so it suffices to prove the claim in the case . Suppose preserves pullbacks. There is a lift of through the forgetful functor , taking in to . Since preserves and reflects pullbacks, and preserves pullbacks by assumption, also preserves pullbacks, as well as the terminal object by construction, so it preserves all finite limits. Then preserves equalizers since preserves equalizers.
See also Paré's paper here, page 742.
Todd Trimble said:
Suppose has finite limits. The claim is that a functor preserves equalizers if it preserves pullbacks. I thought a proof went as follows. A functor preserves the limit of a functor iff also preserves that limit for every object of , so it suffices to prove the claim in the case . Suppose preserves pullbacks. There is a lift of through the forgetful functor , taking in to . Since preserves and reflects pullbacks, and preserves pullbacks by assumption, also preserves pullbacks, as well as the terminal object by construction, so it preserves all finite limits. Then preserves equalizers since preserves equalizers.
sorry i disappeared. your proof looks complicated. since my example is simpler, maybe you could try to reconcile what we are saying, and whether we agree or disagree.
a functor that preserves pullbacks also preserves the equalizers if and only if it preserves the diagonals ((because every diagonal is an equalizer, and because every equalizer is a pullback of a diagonal)).
a functor that preserves pullbacks must preserve every diagonal ((because is a pullback of the identities, and is a pullback of , and factors one through the other)).
am i missing anything?
I'm sorry, dusko, but seeing how my taking the trouble to give a proof to settle a doubt is met with "your proof looks complicated" is just a little off-putting to me. Let's please not recreate a one-upmanship dynamic often seen on the categories list.
(Btw, I don't claim priority for the proof; it's probably much the same as you might find in Carboni-Johnstone. I do find it memorable -- it connects with the theme of parametrized right adjoints. And it's not that hard.)
By "reconcile what we are saying [using an example originally intended to demonstrate that something was wrong]" and "whether we agree or disagree", I can't tell if you're still claiming that something's wrong, or if you now agree that the statement is true (that if has finite limits and preserves pullbacks, then it preserves equalizers) and you want me to certify an alternative proof of yours that you like more. I'll guess the latter.
It's not immediately clear what you intend "preserves the diagonals" to mean. Take for example a functor . This preserves pullbacks. It takes a diagonal to . The latter is not a diagonal in the ordinary sense. It can be interpreted as a diagonal in a slightly more subtle fiber-product-y sense, of course. But then one has to go back and re-examine the glib argument in that light. If you are missing anything -- I don't know whether you are or not -- could it be in not acknowledging that non-preservation of products and of the terminal object mentioned in your last paragraph makes the argument (which recalls how one gets equalizers by pulling back ordinary diagonals) slightly more complicated? Running it through my head without writing anything down, I'm guessing it all works out fine, after making some necessary adjustments. Does that settle the matter?
I'm trying to work out some details here:
[Mod] Morgan Rogers said:
For example, if we replace "free commutative monoid" with "free monoid", the resulting Artin gluing does give a topos, which is the category of "Petri nets with the places in the source and target of each transition ordered", and that admits a canonical functor to the category of Petri nets by forgetting the ordering.
Let be the underlying set of the free monoid on the set - the set of words in . Let be the obvious functor sending to .
Let's form the comma category .
I think this is the category of pre-nets.
An pre-net is a pair of sets together with functions . We can write the pre-net simply as
So yes, a pre-net is an object of .
Given pre-nets and , a morphism of pre-nets from the first to the second is a function and a function making the two squares you can draw with this data both commute.
So yes, a morphism of pre-nets is a morphism in .
Now I'm going to show is a topos, using Artin gluing.
I'll use this result: if and are topoi and preserves pullbacks, the comma category is a topos.
To do this, I just need to check that preserves pullbacks. (This doesn't preserve finite limits since it doesn't preserve the terminal object.)
Okay, I just checked by hand that the "underlying set of the free monoid" functor preserves pullbacks.
(What's a nice general result that implies this?)
Since pullbacks are computed pointwise, this implies that the functor from to sending to preserves pullbacks.
The functor preserves pullbacks because it's right adjoint to the diagonal. So, with preserves pullbacks, and we're done!
Lists are like , so is that Beck-Chevalley together with being a right adjoint?
I don't get that... how do you use Beck-Chevalley to show something preserves pullbacks? I see that preserves pullbacks.
I'm not very good at this stuff, you may be perfectly right.
I think I might be wrong. Beck-Chevalley might be about the wrong pullback.
This is about the underlying functor of the free monoid monad preserving pullbacks, right? Then this is part of the statement that the free monoid monad is a cartesian monad. A more general statement is that every monad that comes from a non-symmetric operad is cartesian. This is Example 4.1.6 in Higher Operads, Higher Categories.
I haven't followed this thread, but is the way in which this comes up related to -multicategories?
Okay, "cartesian monad" is the generalization I want. I found that concept overly subtle the first dozen times I met it. I think I'm slowly getting why it's cool.
Yes, there's some connection between T-multicategories and what I'm talking about right now. One difference is that a morphism in a T-multicategory has a "T-thing of inputs and one output", very loosely speaking, while a transition in a pre-net has a "finite ordered set of inputs and a finite ordered set of outputs".
There are people who have generalized T-multicategories to allow multi-input, multi-output situations. Probably Mike Shulman is one?
John Baez said:
There are people who have generalized T-multicategories to allow multi-input, multi-output situations.
Really? I've been saying for a while that someone should do this, but I've never seen it done.
The closest thing I know of in the literature is Garner's paper "Polycategories via pseudo-distributive laws" that suggests how such a thing should go -- instead of one monad you have two, one for the inputs and one for the outputs, with some kind of distributive law between them.
Hmm. If you don't think anyone has done general "(T,T')-polycategories" yet, you must be right.