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.
Not sure where to ask this, but here we go.
We can define a monoid operation over the set of nondeterministic finite-state automata (NFA) up to bisimilarity (reminiscent of the sum of regular expressions/automata up to language equivalence): given two automata , let be the automata whose (final) states are the disjoint sum of the (final) states of and , with the two initial states identified, and whose transition relation is also the disjoint union of the two transition relations, except on the initial state, where it behaves as you'd expect. This operation is a congruence for bisimilarity, so we can lift it to equivalence classes.
Moreover, because , we can define a partial order on NFA up to bisimilarity: iff .
The sum is the join for this partial order, but does it also have meets? An obvious candidate for is the automata that behaves like both and whenever possible: let be the NFA whose states are pairs of states of the two NFA, whose transition relation for each letter is given by iff and (where I'm writing for the transition relation of ), and whose final states are pairs of final states of the two NFA. I have not checked this carefully, but the operation seems to lift to bisimilarity classes and to define a valid meet, making automata up to bisimilarity a lattice.
If it is correct (I'm half expecting it not to be) someone must have done this before, given the volume of work on bisimilarity etc. Have you seen something like this before? Do you know of a reference?
Not an answer (but maybe a helpful discussion). Just to make sure I understand, we have implies the language recognized by (denoted by ) is included in , but not necessarily the converse. That is, we might have but not .
So we know the language recognized by the meet of and (if it exists) is included in the intersection of the languages. This suggests your construction, but the failure of the converse above does not help confirming your construction is the right one.
Hmm... I had not thought about the relationship of this order with language inclusion. My intuition is the same as yours (that the relationship between this order and language inclusion is the same as that between language equivalence and bisimilarity, namely that the latter is finer than the former). I suppose the construction I describe also the one that constructs an automaton for the intersection of the languages recognised by two automata, so in that sense it is well-known!
Robin Piedeleu said:
Not sure where to ask this, but here we go.
We can define a monoid operation over the set of nondeterministic finite-state automata (NFA) up to bisimilarity (reminiscent of the sum of regular expressions/automata up to language equivalence): given two automata , let be the automata whose (final) states are the disjoint sum of the (final) states of and , with the two initial states identified, and whose transition relation is also the disjoint union of the two transition relations, except on the initial state, where it behaves as you'd expect. This operation is a congruence for bisimilarity, so we can lift it to equivalence classes.
Moreover, because , we can define a partial order on NFA up to bisimilarity: iff .
The sum is the join for this partial order, but does it also have meets? An obvious candidate for is the automata that behaves like both and whenever possible: let be the NFA whose states are pairs of states of the two NFA, whose transition relation for each letter is given by iff and (where I'm writing for the transition relation of ), and whose final states are pairs of final states of the two NFA. I have not checked this carefully, but the operation seems to lift to bisimilarity classes and to define a valid meet, making automata up to bisimilarity a lattice.
If it is correct (I'm half expecting it not to be) someone must have done this before, given the volume of work on bisimilarity etc. Have you seen something like this before? Do you know of a reference?
I know I'm late to the party (hello again, Zulip!), but I suspect this has to do with the fact that weakly preserves pullbacks. If weakly preserves pullbacks, then has pullbacks. You can't define your join operation in terms of a pushforward (in ), but maybe in the category with functional simulations this is possible?
Sorry @Todd Schmid (he/they) , only saw this recently. I was asking about the meet, as is the join by construction, since we define the order from it ( iff ). But I am now convinced that the construction I gave above does not give a meet.
I am still curious about whether anyone has ever seen this order before though. It seems like a fairly natural order to consider on bisimilarity classes of NFA since, unlike the simulation pre-order, it is anti-symmetric. I'm now looking for a nice characterisation of it. If we reason on unfoldings of automata instead (or rather elements of the final coalgebra for the relevant functor), it looks like requires that the unfolding of be a subtree (modulo bisimilarity) of the unfolding of . But I'd prefer a nice coinductive definition rather than working with equivalence classes of automata or trees, neither of which I feel like I ever really get. Could it be a gsos-style rule of the form: if and then ?
It took me a bit to realize which precise order you mean! You literally mean the sum operator in classic process algebra (nondeterministic choice). If you are in need of a meet operation for this join that is defined on the final coalgebra, you can use Lambek's lemma: the final -coalgebra (or final -coalgebra, if you want labels) is a free semilattice with bottom, so you can indeed take finite intersections.
If you think about unfoldings (strongly extensional/up to bisimilarity, I mean), then the intersection of two trees is obtained by identifying the roots, and then identifying the pairs of children between the two trees that are bisimilar
(and deleting the rest of the children :grimacing:)
OK, I think these are the rules you want:
and and implies
and implies
All I'm doing here is mimicking the intersection in the final coalgebra, seeing it as a free semilattice with bottom
Thanks! If I unpack what you said a bit more: Lambek's lemma tells us that , the final -coalgebra, is isomorphic to , which gives me both finite meets and joins by pushing intersection and union through the isomorphism. I guess I would still need to check that these coincide with the joins as I've defined them above (via the sum operation of classic process algebra)? Because nothing guarantees that they're the same, unless I'm missing something.
And the rules you gave for the meet look convincing to me!
Now I'm wondering if there's a nice axiomatization of this join operation :thinking:
Edit: meet operation!
Do you mean the meet? The join is the usual sum of process algebra, for which there are several axiomatisations with fixed-point, prefixing etc. Or perhaps you mean something else by "axiomatisation" in this context?
I meant meet! I can never remember which is which :sweat_smile:
I suspect we would need some pretty interesting equations. Thinking about expressions like
which I think should be bisimilar to ...?
No, that's not quite right.