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.
Hi,
I've been struggling a bit to figure out exactly what category I'm in for a problem I'm working on. I should end up in a category whose objects are bimodules and morphisms are bimodule homomorphisms. The catch is that I want to freely construct this functorially starting with a directed graph.
A directed graph is often defined as a functor
where is a category with two objects and two morphisms This doesn't work for me because I don't see any way that can map to bimodule homomorphisms.
I just had a thought :light_bulb:
What if instead, we defined a directed graph as a functor
from the interval category with two objects and 1 non-identity morphism .
This would map
and the one morphism maps to the span
This plays nicer with my bimodule category because that morphism as a span maps to a bimodule morphism.
Is that crazy?
It feels correct
Yeah. Same here. Composing that morphism with itself times generates [Edit: consists of] paths of length .
What do you mean by 'composing'?
Oh I see. You can compose with itself as spans
I mean the usual composition of spans via pullback.
Yeah
consists of paths of length 2.
This feels nice :+1:
Functors from the interval category classify morphisms, so if is the category whose objects are sets and morphisms spans of sets, then a functor from is a span between two possibly different sets. Rather it's endomorphisms that correspond to directed graphs.
The “classifier for endomorphisms” would be the monoid . Maybe that's what you want.
Then, yeah, a functor is determined by what the image of is, and that's a directed graph. The image of is the directed graph whose edges are length- paths in the image of .
Eric wrote:
I should end up in a category whose objects are bimodules and morphisms are bimodule homomorphisms.
Bimodules of some particular specified algebra(s) that you're not telling us?
People don't usually say things like what you just said: they might say "a category whose objects are (A,B)-bimodules and whose morphisms are bimodule homomorphisms" for some algebras A and B...
or if A = B, you might say "(A,A)-bimodules" or maybe "A-bimodules".
I just feel like adding that there's a super-important bicategory where:
So here we aren't choosing a particular A and B: we're choosing all of them!
Is that part of a framed bicategory, even?
Yes! These days the politically correct term is "fibrant double category".
So there are three different names now?
What's the third one?
Proarrow equipment.
Oh, right! I knew that.
"Framed bicategory" was deprecated by topologists, who use "framed" to mean "equipped with a trivialization of the normal bundle" - and @Mike Shulman's original work at this was aimed to some extent at homotopy theorists (like his thesis advisor).
Since it's a kind of double category it probably does make sense to call it a ".... double category".
"Proarrow equipment" has its own advantages but it really brings a completely different set of mental associations to mind: it makes me feel like I'm generalizing and profunctors!
In my work on network theory I say "fibrant double category".
In those applications the "proarrows" are the guys you really focus on: they're the "open systems".
Yeah. The 'proarrow' mindset seems like it probably has plenty of examples, though. Like various combinations of homomorphisms and 'relations' into a single category
Of course, "fibrant double category" is not without its own problems. For instance, the category of double categories admits at least half a dozen different model structures, and as far as I know these are not the fibrant objects in any of them!
Where is the quote from, by the way? nlab's "fibrant double category" just links to framed bicategory.
Oh, I guess it wasn't a direct quote of anyone?
I think John probably meant to say "framed bicategory" -- I haven't heard anyone say "framed double category" except by accident.
I think I just saw fewer quotation marks than are there, so thought he was quoting something about topologists not liking "framed bicategory".
When I said
"Framed double category" was deprecated by topologists,...
I meant
"Framed bicategory" was deprecated by topologists,...
That was me talking.
And yeah, I kinda hate how "fibrant double categories" aren't fibrant objects in some famous model structure on some category of double categories.
If it weren't so long I'd probably say something like "double categories with twistable arrows".
Where does the name come from? Are the objects of the double category somehow considered to be fibrant? Like, is the promotion of an arrow to a proarrow like a lifting property?
The name comes from @Mike Shulman, so I'll let him answer that!
Good morning :coffee:
Thank you Matteo. Thank you Amar. Thank you (as always) John :raised_hands:
Although I feel I am on the right track, I woke up thinking "Oops!". A functor maps to two objects , in and one morphism in . That isn't what I want :thinking: So I am happy to see some corrections / help :santa: :pray:
I woke up not in despair though because I thought I could fix it by considering, instead of , a category with two objects , and one morphism being a span . Then despair started to sink in again when I thought about how that is an endomorphism and how to deal with its powers, i.e. compositions with itself?
But, Amar, thank you for removing my despair again with
Amar Hadzihasanovic said:
Then, yeah, a functor is determined by what the image of is, and that's a directed graph. The image of is the directed graph whose edges are length- paths in the image of .
That sounds like it is definitely in the right direction for me :raised_hands:
John Baez said:
People don't usually say things like what you just said: they might say "a category whose objects are (A,B)-bimodules and whose morphisms are bimodule homomorphisms" for some algebras A and B...
You're right. Sorry. I really need to pin this down once and for all. All this time, I thought I was working with -bimodules, but now I'm not so sure because can be decomposed trivially into separate algebras, i.e.
Each is a commutative associative unital algebra with a prescribed basis (coming from nodes of a directed graph) and unit element so that the unit element of is The product is defined by how it acts on these basis elements, i.e.
I don't know if this decomposition is worth thinking about though :thinking:
If I do this, then I have -bimodules that connect "nodes of " to "nodes of ".
The algebra can be interpretted as the algebra generated by the set of nodes at time .
I need to think about this some more :thinking:
Dan Doel said:
Where does the name come from? Are the objects of the double category somehow considered to be fibrant? Like, is the promotion of an arrow to a proarrow like a lifting property?
A double category is fibrant, in this sense, if and only if the (source, target) functor is a Grothendieck fibration.
(And if and only if that same functor is an opfibration.)
That's in the original framed bicategories paper.
@Eric Forgy wrote:
. Sorry. I really need to pin this down once and for all. All this time, I thought I was working with -bimodules, but now I'm not so sure because can be decomposed trivially into separate algebras, i.e.
Sounds like an -bimodule will do just fine. If breaks up as you suggest, then I bet you can use that to automatically break up any -bimodule as you suggest - so those details are not something you need to carry around your neck all the time.
Oh, okay.
John Baez said:
Sounds like an -bimodule will do just fine. If breaks up as you suggest, then I bet you can use that to automatically break up any -bimodule as you suggest - so those details are not something you need to carry around your neck all the time.
Cool. Thank you :pray:
If I am ok to stick with -bimodules, then looking at:
John Baez said:
I just feel like adding that there's a super-important bicategory where:
- objects are algebras over some field k,
- morphisms from A to B are (A,B)-bimodules,
- 2-morphisms are bimodule homomorphisms.
So here we aren't choosing a particular A and B: we're choosing all of them!
If I am only concerned with one algebra , then I would have just one object and -bimodules as endomorphisms, but itself is trivially (I think) an -bimodule, so I shifted this down one step with
More specifically, my category consists of (all objects are -bimodules):
The data to freely construct all of the above is contained in a directed graph (with possible restrictions, e.g. no loops, no cycles, so I'm thinking "directed acyclic graphs"). Putting all the pieces together seems too manual, so I am trying to find a clean and concise magical free functor. This isn't even the whole story because I also have daggers that reverse the direction of edges that let us define an inner product etc so I think I end up with some kind of Hilbert bimodule.
To explain a little more, we know there is a free functor
A differential algebra freely constructed this way is "universal", i.e.
We also know (since is universal) that any other differential algebra factors through this one and there is a unique -bimodule morphism
with
If is generated from the vertices of a directed graph, then the -bimodule morphism is generated from the "adjacency matrix" of the directed graph we call the "graph operator" given by
where if there is a directed edge and zero otherwise.
So to summarize, if I only give you a set of vertices, I can construct a "universal differential algebra" on that set which corresponds to the complete graph. To get another differential algebra besides the universal one, we need to set some of the directed edges to zero. That is captured by so we need the full data of a directed graph to construct a general differential algebra.
Eric Forgy said:
To explain a little more, we know there is a free functor
A differential algebra freely constructed this way is "universal", i.e.
That gunk just says you've got a differential from your algebra to this -module . It doesn't say anything about why this guy is "universal". So I object to your use of the words "i.e." here: you're not actually explaining what's "universal" about it.
Yes, I'm nitpicking.. but you're in an audience of category theorists, who take universal properties seriously... so they'll wonder what universal property you're alluding to... and I just want to make it clear to them that you're not explaining that (and also you, in case you thought you were).
Sure :+1: I'll try to :pray:
What I'm talking about is spelled out in
and I fumbled around with it until I felt I understood it here (where I also pasted the relevant paragraphs from EoA).
In a nutshell, given an associative unital -algebra , is the kernel of the product with , i.e. the product in , and
generates as a left module (Proof is a couple lines in Bourbaki).
If is an -bimodule homomorphisms, then
is a derivation. So given , we get a derivation .
Conversely, given a derivation , since is -bilinear, there is a unique morphism given by This can be restricted to so that given a derivation , we obtain a unique -bimodule homomorphism and we have
What I'm doing is aplying this to the case where is generated by vertices of a directed graph.
I am throwing in a bit of a twist though because if is generated from vertices of a directed graph, we have constructed from the adjacency of the directed graph as I mentioned above.
To see this, let
then
is a sum over all pairs of vertices and corresponds to a complete graph.
Now, let be an -bimodule homomorphism that simply maps some pairs (edges) to zero, then we have our graph operator
which gives rise to the unique derivation given by
which can also be written as
(Note: If that :point_of_information: made any sense at all, I feel like I've gained some super powers :muscle: I've been thinking about this on and off for the last 20+ years and have never been able to state that much as succinctly before.)
Nice!
Amar Hadzihasanovic said:
Then, yeah, a functor is determined by what the image of is, and that's a directed graph. The image of is the directed graph whose edges are length- paths in the image of .
I've never seen the functor
before, but it looks pretty interesting. Does it have a name? Does it fit into any other interesting machinery?
But for the image of the morphism to be a directed graph, wouldn't the domain category need to consist of two objects? :thinking:
If I understand (big "if"), has one object so it seems like the image of would be a span in :thinking:
An object in is a set . A morphism from to is a pair of a set and a span .
So the image of the unique object of is a set , and the image of the morphism is an "endospan" .
Which I think is what you want.
Yeah, but do and need to be in the image of the functor? If , then where did come from? :thinking:
The image of in has just one object so would be a span involving just one set, i.e.
It almost seems like the domain should be the monoid plus one object such that , and
The other set is part of the data of a morphism!
The fact that the domain of the functor has a single object just means that all morphisms in the image will have the same source and target.
I think you're getting confused by the fact that an endomorphism in the category of spans is given by the data of two functions which are not themselves endomorphisms in .
That makes sense. Thank you :blush:
It feels a little weird that the image of a functor from a monoid has more than 1 object, but if we can consiser it part of the data of the morphism, then I think I'm ok with it :+1:
Amar Hadzihasanovic said:
I think you're getting confused by the fact that an endomorphism in the category of spans is given by the data of two functions which are not themselves endomorphisms in .
That helps :+1:
I was actually ok with the idea that those two functions were part of the data and not endomorphisms so I should have also been fine with the idea that the other object is also part of the data. Thanks for helping me see that :pray:
Back to my other question...
Does the functor
have a name? Does it fit into any other interesting machinery (that I can read about)?
It is cool how is a directed graph and consists of "evolving paths of length ".
Where a directed edge in has source and target a 2-path in has a source and a target
This is also nice because is a -category.
Eric Forgy said:
Does the functor
have a name? Does it fit into any other interesting machinery (that I can read about)?
It isn't a unique functor, so there's no reason for it to have a special name..! Amar was pointing out that there is a correspondence between directed graphs and such functors, so you could call it "the functor corresponding to the directed graph "?
Yeah. I was just thinking. According to the nLab, a directed graph is already a functor
but where has two objects and two morphisms .
The functor
seems at least as unique as that (and cooler) so I wouldn't be surprised if it had a name, but I also wouldn't be surprised if it doesn't have a name. I'm just curious :blush:
Anyway, thank you Amar :pray:
That functor gives me a lot to think about :blush:
The reason why one usually considers functors (in your notation) as directed graphs is that their natural transformations correspond to what people usually consider to be morphisms of graphs, namely, assignments of vertices to vertices and edges to edges that are compatible with source and target. That is, the functor category “is” the category of directed graphs.
Whereas natural transformations of functors are a bit strange as a notion of morphism between directed graphs.
If I'm not mistaken, if you take two such functors corresponding to graphs and , a natural transformation between and may be pictured as a third, bipartite graph where the source of each edge of is a vertex of and its target is a vertex of , with the property that there is a bijection between
So the functor category is not the “usual” category of directed graphs.
Amar Hadzihasanovic said:
So the functor category is not the “usual” category of directed graphs.
Oh. For sure :+1: Thanks for your note :pray:
This functor is definitely different, but I think it is cool :+1: If there is no existing name, I'd be tempted to call this functor (if the name wasn't already taken :tm: ) a "path space" and the functor category is the "category of path spaces". is a directed graph, i.e. 1-path space, and is an -path space.
Replacing with some other (special type of) category , we have functors
which I might call a "path space in " :thinking:
I actually think this is a better "path space" than the standard path space, but oh well :blush:
Maybe a good name for this would be "discrete path space" :thinking:
I'm still thinking about this so thanks for your thoughts :pray:
"Path space" is a very widely used term...
Yeah. I definitely won't use that :blush:
In case you're wondering, I didn't follow your conversation with Amar: I don't get what you're talking about.
That's mainly because I just look here now and then, and if people are engaged in a complicated conversation with a lot of back-and-forth, I usually don't have the energy to figure out what's going on.
In particular I don't know what the category is.
Amar seemed to be saying it's the category of with sets as objects and spans of sets as morphisms. Is that all? That's usually called .
True. I should probably start a new topic and leave this one behind because we kind of settled on a new understanding after my initial question / idea was a dead end and Amar was kind enough to give a way forward. Basically, I ran into a problem because the usual definition of directed graph as a functor is not compatible with bimodules and bimodule homomorphisms (since source and target maps can never be bimodule homomorphisms), so I was looking for something that gives directed graphs, but works nicely with bimodules. I knew it should involve mapping something to spans, but my first guess was wrong so now we are talking about functors:
where is the 1-category of spans in with objects sets and morphisms isomorphism classes of spans.
John Baez said:
Amar seemed to be saying it's the category of with sets as objects and spans of sets as morphisms. Is that all? That's usually called .
Yeah. Almost. From the nLab:
The 1-category of spans
Let be a category with pullbacks and let be the 1-category of objects of and isomorphism class of spans between them as morphisms.
Then
is a dagger category.
Next assume that is a cartesian monoidal category. Then clearly naturally becomes a monoidal category itself, but more: then
is a dagger compact category.
Okay - yeah, when I said "it's the category of with sets as objects and spans of sets as morphisms" I really meant "it's the category of with sets as objects and isomorphism classes of spans of sets as morphisms."
I think the subscript is only useful if you're talking both about the category and the bicategory and worried that people will mix them up... people don't usually do that; the nLab is just trying to be ultra-precise.
And even if you're talking about both, you have to say what the subscript 1 means, or nobody will guess.
Just sociology of mathematics here...
Thank you for helping me in my attempt to be a good citizen :blush:
the usual definition of directed graph as a functor is not compatible with bimodules and bimodule homomorphisms (since source and target maps can never be bimodule homomorphisms)
I don't know what "compatibility" you want...
Anyway, if you got things to work out with Amar I don't need to get involved.
But if not, I could help out.
Amar got me to the starting point. Your input is always appreciated :pray:
If you want, you can tell me what "compatible with" means here....
John Baez said:
I don't know what "compatibility" you want...
So I recently explained (above) what I meant by directed graphs giving rise to differential algebras. I think there should be some way to express this as a functor.
A directed edge in a graph corresponds to the basis element in
It seems intuitive that the source and target maps on directed graphs should map to "morphisms" in a differential algebra with
and
and extended linearly. However, these are not bimodule morphisms so they don't live in my category.
I "think" Amar's suggestion solves this problem for me, but it is still a fresh idea in my mind and I'm just thinking about it now.
That messy looking category I described above involves spans so I think there should be some functor
,
where is that messy looking category above with objects -bimodules and morphisms -bimodule homomorphisms (not sure what to call that either).
As an intermediate step, I think it makes sense to look at
,
so that
That looks right, so then a next logical step would be
That also looks right, so then we go one more step
I'm not sure if I should throw some in there, but this feels like the right direction :+1:
I think the steps
are all pretty well established and the last step
is also understood, but I have a twist that involved "diamonds" :large_blue_diamond: that is pretty cool if I say so :nerd:
By the way, in hindsight, this seems related to Scott Wilson's (student of Dennis Sulliven) presentation
that I recently mentioned here, where he describes a commutative differential graded algebra as a monoidal functor
where is the category of chain complexes and chain maps. It is curious that Scott and I both derive the Navier-Stokes equation as almost a tautology of the formalism.
I find this pretty complicated, but here's my instant reaction:
You are very interested in this thing:
There's a category where the objects are short chain complexes: pairs of vector spaces equipped with a linear map between them, like this:
I'm writing the linear map as just to make you interested in it - in general it's just any linear map. Similarly, the phrase "short chain complex" is supposed to give you ideas about why we care about this, but it's just a name for two vector spaces and a linear map!
The category is just the category where
The category of graphs is very similar: it's where
I would write more beautifully if I easily could: it's supposed to be a picture of two objects and two morphisms going from the first object to the second! You're using some other name for this category.
There's an important functor
which takes a graph and turns it into a short chain complex. YOU KNOW THIS FUNCTOR - YOU'RE USING IT ALL THE TIME!
There's a lot more to say; people know a lot about this....
I'll just say one more thing: the functor is equal to a more fundamental functor
composed with a functor
The stuff about algebras can also easily be worked into this story.
There's a lot more to say; people know a lot about this....
Yeah. This seems like such low hanging fruit. I believe the math is well-known, but no one I am aware of has ever used this to produce numerical algorithms and write actual code for scientific computation, which just feels like a shame. I am trying to bridge this gap in a way "scientists and engineers" (like myself) can understand :pray: :blush:
The math is well-known, and I feel people like Robert Kotiuga have done a lot to produce numerical algorithms for it, though he's less interested in the category theory than some.
The one person I know who even thinks about this is your old friend Robert Kotiuga, but even he has only scratched the surface of what can be done.
Have you read his book?
https://www.amazon.com/Electromagnetic-Theory-Computation-Mathematical-Publications/dp/0521801605
He's mainly interested in electromagnetism, but he does a lot with that....
John Baez said:
Have you read his book?
https://www.amazon.com/Electromagnetic-Theory-Computation-Mathematical-Publications/dp/0521801605
No. I haven't seen this. It was published after I got sucked into a new life of finance. Will check it out :blush: I should reconnect with Robert.
Yeah, I'd forgotten you knew him.
I know he was taking advantage of cohomology to be able to solve Maxwell's equations using just the vector potential.
As far as I know, he wasn't using this stuff to construct new numerical methods (which is what I'm trying to do). Him and Alain Bossavit were both in the "mimectic" camp, but I think they still only scratched the surface. There is so much that can be done.
He's been involved in a lot of numerical methods stuff, I think. Here's a paper that's quicker to get ahold of:
I haven't read it, but the grumbling tone of the title should appeal to you. Here's the abstract:
We look at computational physics from an electrical engineering perspective and suggest that several concepts of mathematics, not so well-established in computational physics literature, present themselves as opportunities in the field. We emphasize the virtues of the concept of elliptic complex and highlight the category theoretical background and its role as a unifying language between algebraic topology, differential geometry and modelling software design. In particular, the ubiquitous concept of naturality is central. We discuss the Galerkin finite element method as a way to achieve a discrete formulation and discuss its compatibility with so-called cochain methods. Despite the apparent differences in their underlying principles, in both one finds a finite-dimensional subcomplex of a cochain complex. From such a viewpoint, compatibility of a discretization boils down to preserving properties in such a process. Via reflection on the historical background and the identification of common structures, forward-looking research questions may be framed.
A quote from the first paragraph:
Through articulating physics via such concepts as natural differential operatorsand elliptic complexes, the framework of category theory provides a sense of synthesis to the seemingly scattered field. At first glance, the concepts of category theory may steer the reader’s thoughts towards foundations of mathematics. However, on a closer look, it is also the glue and common ground throughout computational physics.
Yes. The finite element method has some tantalizing mimectic properties, but you definitely lose the algebraic characteristics as currently formulated. Discrete differential geometry (as formulated by Urs and I) maintain this.
You should definitely talk to Robert, since either he will convince you that your ideas are already known, or he'll get excited to hear about them.
The main ingredient missing is "diamonds" :blush:
It was so fun hanging out with Robert and Alain. "I was a contender." We were doing cool things in computational electromagnetics. I regret giving that up.
If I get this paper written up and start generating new numerical results, it would mark my return :pray:
Sounds good.
Alain who? Connes?
Alain Bossavit
(I didn't really think you were hanging out with Alain Connes.)
Bossavit was a pioneer in computational electromagnetics focusing on topological aspects. Mainly the nilpotency of and the duality via Stokes' theorem with the boundary map , which translates to conservation of charge among other things. Naive discretizations do not necessarily satisfy However, it is generally assumed that you can't maintain the algebraic aspects, but I never accepted that. Discrete differential geometry insists that we work with associative DGAs (Wilson's DGAs are not associative on cochains).
Finitary associative DGAs are noncommutative (but noncommutative in a cool way). Finitary commutative DGAs are nonassociative. Only in the continuum limit do associative DGAs become commutative (like a classical limit in QM).
That's cool. Of course there are plenty of finite-dimensional (super)commutative associative DGAs, but I guess they don't do what you want. It could be nice for the theorem-proving crowd to make that into a theorem, by turning "what you want" into some precise hypotheses. (Maybe you've already done it.)
Good morning :coffee:
John Baez said:
That's cool. Of course there are plenty of finite-dimensional (super)commutative associative DGAs, but I guess they don't do what you want. It could be nice for the theorem-proving crowd to make that into a theorem, by turning "what you want" into some precise hypotheses. (Maybe you've already done it.)
Working on it :blush:
If a theorem-proving person was interested, there are two theorems I'd love to have proofs for, but I can't even state them clearly enough for anyone to start thinking about proofs yet.
Roughly speaking, the first theorem would relate to the "No go" statement above that a finitary DGA cannot be both (super)commutative and associative at the same time. The big challenge is to define precisely what I mean by "finitary DGA" and that is what I'm working on now. In our paper, we explicitly construct a simple / restricted example but it already spans 20+ pages and lacks a succinct statement like "A finitary DGA is a functor from to ." I need to pin down exactly what are and . After help here from Amar, I'm pretty sure should be and I think is probably a category of -bimodules and bimodule homomorphisms, but still working on it :pray: I'm pretty sure the functor I'm after should be a composition with (which I'm tentatively calling "directed paths" - suggestions welcome).
The second theorem I'd love to be able to state and prove (or disprove) is what I call "diamonation", but I don't want to think about that right now :sweat_smile: (Note: I see on that page, I describe a diamond as a directed cube, but I recently discovered diamonds are more general than that and that is the cool new result I'll put into this paper I'm working on :blush: :runner: )