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.
Just as enriched categories, one can talk about "enriched graphs", and the notion appears in the literature here and there.
Has anyone studied them or worked with them consistently? (Maybe some graph theorists?)
I've definitely seen stuff about -graphs for a category : they've got a set of vertices and for any pair of vertices an object .
But I don't know a paper all about them.
@Jade Master's thesis perhaps?
Graph theorists certainly study graphs with "weights" on the edges, which you could call -enriched...
In her thesis Jade considers graphs with edges labelled by elements of a quantale she calls . This is a nice special case of -graphs, and it includes the weighted graphs Mike just mentioned.
Mike Shulman said:
Graph theorists certainly study graphs with "weights" on the edges, which you could call -enriched...
What are their morphisms? Or at least, which maps between them are relevant for the purpose of graph theorists?
I don't know.
Graph theorists don't think about morphisms as much as you'd hope. I guess a category theorist who never composes morphisms is called a graph theorist. :upside_down:
I'm pretty sure there's a whole conference dedicated to graph transformations, so that can't be true...
Perhaps relevant here, apparently one can "colour" edges in a graph. In this case, you have a graph with vertices and edges and a function where is presumably a set of colours.
@Paolo Perrone I have written about enriched graphs in my thesis. Mostly I was concerned with the free enriched category construction (on an enriched graph) and the compositionality of this construction in the case of quantale-enrichment like John said. There is also a paper by Wolff on the free enriched category construction: https://www.sciencedirect.com/science/article/pii/0022404974900188
As for the morphisms there are two choices I've thought about. In both, you have a function between sets of vertices. Then you can choose the "pullback option" which is a V-morphism for all x and y in X. The other option is the "pushforward option" which is a V-morphism for all x' and y' in Y.
In my thesis it turned out that I needed the pushforward option but there are definitely situations where you would want the pullback morphisms... I'm pretty sure that's what Wolff uses.
Also yes it's true, when enriching in a quantale enriched categories are weighted graphs (directed, self edges allowed, no multiple edges) and the free enriched category solves the algebraic path problem...which is a generalization of the shortest path problem to wide range of contexts.
I'm calling it pullback because you're "pulling back" the V-category on Y along f (not to be confused with the categorical pullback) and "pushforward" because you're pushing forward the V-category on X along f.
I think for both choices of morphism you have all finite colimits...there are also probably other nice properties of these categories. Does that help? Is there anything else specific you would like to know about them?
I don't know if this has any relation to what people actually do - which appears to be well over my head. But, I seem to recall that you can make a graph using a functor where is this category:
category C
Then is the set of edges, is the set of vertices, sends each edge to its source vertex and sends each edge to its target vertex.
Maybe one can get a coloured graph by consider a functor , where is this category:
category C'
Here, is a set of colours and is a function that sends each edge to its colour.
Then one could consider natural transformations between these functors, which would give some notion of morphism between coloured graphs.
Sure that's a perfectly cromulent definition, they're not the thing which generates enriched categories however...if that's what you're working for.
I must be missing something; aren't the pullback and pushforward definitions of morphism equivalent?
@Mike Shulman I don't see why they would be equivalent. For one thing you have a different number of V-morphisms when X and Y are different sizes. One for each pair in X for the pullback and one for each pair in Y for the pushforward.
Oh wait I think I see what you mean...the universal property of coproducts means the pushforward is a V-morphism from hom(x,y) -> hom(x',y') for each x and y in the preimage of x',y' and for each x',y' in Y... but is that the same as a V-morphism hom(x,y) -> hom(f(x),f(y)) for each x, and y in X?
I think they are the same when f is injective.
Oh wait maybe they are the same...
"a morphism hom(x,y) -> hom(x',y') for each x' and y', and each x and y in the preimages of x' and y' respectively" means "...for each x, y, x', y' such that f(x) = x' and f(y) = y'", which is the same as "a morphism hom(x,y) -> hom(f(x),f(y)) for each x and y".
Yes you're right they are the same. That's a nice observation and now that I think about it, it would be a bit concerning if they weren't the same because they both give enriched functors between their free categories.
Thank you Jade! That seems very interesting.
(I have to read your thesis.)
Morgan Rogers (he/him) said:
I'm pretty sure there's a whole conference dedicated to graph transformations, so that can't be true...
Yes, it's called ICGT. In that context, many usually employ the "classic" definition of graph transformation and try to generalize it in a way that plays well with the enrichment. I must stress that the focus is very different tho: most often one cares about graph rewriting that is done via single, double, sesqui-pushout and similar techniques. So in the end your definition of morphism is good as long as you have an adhesive category.
What I meant, btw, is that if you read an introductory text on graph theory, they will often define graphs but not morphisms of graphs. Which compared to a ring theory or group theory course is very weird!
As long as they don't cover graph transformations I do agree. They may focus on stuff like hamiltonian/eulerian paths, centrality measures etc. But graph rewriting is a pretty big topic in computer science, I doubt there are modern books on graph theory that don't mention graph rewriting, if only tangentially
(Or at least I hope so, lol)
I don't know!
I bet you might be surprised!
I'm imagining group theory where the basic textbooks don't mention homomorphisms but there are certain conference series that focus on homomorphisms. :upside_down:
(Of course "graph transformations" are more fancy than the basic "graph morphisms".)
Idk what the standard for "modern" is, but I don't think Diestel's book says anything about rewriting, and I'm not sure if the book talks about morphisms of graphs either. Of course, it's a pure math book and not a TCS book, so maybe the situation is different with books written for/by computer scientists.
John Baez said:
I'm imagining group theory where the basic textbooks don't mention homomorphisms but there are certain conference series that focus on homomorphisms. :upside_down:
I wouldn't even know how to state isomorphism theorems (or to define an isomorphism of groups, actually) without introducing homomorphisms...
Funny you say that, because in some random MIT course notes (from the CS department) that I found by searching for "graph theory", they define isomorphism of graphs but not any sort of morphisms of graphs (aside from subgraphs).
(I know you said groups not graphs, though.)
I was actually going to say that isomorphisms of gadgets are usually easier to define than morphisms.
For example: in morphisms of monoids you get to decide whether the identity is being treated as structure - which must be preserved - or mere property, which needn't. For isomorphisms, these two choices work out to be the same.
Similar issues show up in the various kinds of graphs, I think.
Reid Barton said:
Funny you say that, because in some random MIT course notes (from the CS department) that I found by searching for "graph theory", they define isomorphism of graphs but not any sort of morphisms of graphs (aside from subgraphs).
This is unfortunately the case with most graph theory and combinatorics texts.
They're trapped in the pre-categorical era.
They cannot talk about any invariant of graphs being functorial (except w.r.t. isomorphisms).
It's particularly frustrating since many combinatorial structures (trees, graphs, etc..) assemble into presheaf categories which means that there is a lot of extra machinery around that can be used.
Look, I'm sure it's fun to be smug and grouse about those "other" mathematicians who are "trapped in the pre-categorical era" but I hope you realise how this just makes them even less receptive to your ideas?
I seem to be doing fine in getting people to pay attention to my ideas.
Lucky you.
Not luck. Shitloads of hard work.
I spend hours each day explaining math to people. And I don't run around the halls of my department, stopping graph theorists and telling them "you're trapped in the pre-categorical era". :upside_down:
Good! Then why do you do it here, in a public forum, on the internet, where your words are likely to found by a search engine and used against you forever?
I'm really not worried that graph theorists are going to read that remark and "use it against me" (how, exactly?) or get so upset they vow to never use categories.
Lucky you.
Well, if I'm really so "lucky" I might as well take advantage of it.
To put it in more modern lingo: check your privilege, man.
If some people here have graph theorist colleagues who may not give them tenure because they read the archives of this conversation, then yes they should be careful about what they say. Maybe they even should attack me for what I just said!
Then they can say "yeah, Baez said some nasty things about graph theorists, but I defended you".
But as a "privileged" old fogey, I feel I should say what I think.
I have nothing against graph theorists or graph theory, by the way! I just think they could explore lots of new questions if they chose some categories of graphs and used them to study functorial invariants of graphs, the way people do in topology, group theory, etc.
I second John's final comment, but I also expect that there are people doing exactly that somewhere, just not enough of them to make it mainstream.
They may need to crack some well-known open problems, or invent great new ones, before these techniques catch on. (That's how it worked in topology.)
What are graph transformations?
Paolo Perrone said:
What are graph transformations?
Not an expert...but my understanding is that graph transformations are about formulating "rewrite rules" for graphs and studying the properties or using the resulting "rewrite systems". You might have a rule for example that whenever you "find" a graph G inside a graph H you "replace" G with H. Then you may chain these replacements together in increasingly complicated ways. Deciding what exactly you mean by "find" and "replace" requires a certain amount of care, and I think the most common approach is to use double pushout rewriting. I could tell you a bit about that sometime if you like.
Fawzi Hreiki said:
Reid Barton said:
Funny you say that, because in some random MIT course notes (from the CS department) that I found by searching for "graph theory", they define isomorphism of graphs but not any sort of morphisms of graphs (aside from subgraphs).
This is unfortunately the case with most graph theory and combinatorics texts.
John Baez said:
They're trapped in the pre-categorical era.
Fawzi Hreiki said:
It's particularly frustrating since many combinatorial structures (trees, graphs, etc..) assemble into presheaf categories which means that there is a lot of extra machinery around that can be used.
That sounds like you are talking graph theorists down. Could you give me one concrete application of introducing categorical terminology in graph theory? For instance, I don't think it's particularly useful for graph theorists to observe that the category of directed multigraphs has a subobject classifier, or what does "extra machinery" of presheaf categories refer to?
Also, what's wrong with only defining isomorphisms (and not homomorphisms)? I thought groupoids are nice categorical objects too.
I could give you an example, double pushout graph rewriting :P
Did that solve problems graph theorists came up with before?
I think it's more useful in the sciences...for example modeling the unfolding of proteins or sequences of chemical reactions.
@ww knows a lot about this :) much more than me. I'd love to hear his perspective.
Reid Barton said:
Funny you say that, because in some random MIT course notes (from the CS department) that I found by searching for "graph theory", they define isomorphism of graphs but not any sort of morphisms of graphs (aside from subgraphs).
It's funny that even Jacob Lurie talks almost never about morphisms in his notes on combinatorics. But he talks about isomorphisms a lot. See for instance Lecture 14: there he defines isomorphisms between "species" (Definition 2), but not morphisms.
Leopold Schlicht said:
Fawzi Hreiki said:
Reid Barton said:
Funny you say that, because in some random MIT course notes (from the CS department) that I found by searching for "graph theory", they define isomorphism of graphs but not any sort of morphisms of graphs (aside from subgraphs).
This is unfortunately the case with most graph theory and combinatorics texts.
John Baez said:
They're trapped in the pre-categorical era.
Fawzi Hreiki said:
It's particularly frustrating since many combinatorial structures (trees, graphs, etc..) assemble into presheaf categories which means that there is a lot of extra machinery around that can be used.
That sounds like you are talking graph theorists down. Could you give me one concrete application of introducing categorical terminology in graph theory? For instance, I don't think it's particularly useful for graph theorists to observe that the category of directed multigraphs has a subobject classifier, or what does "extra machinery" of presheaf categories refer to?
I'm definitely not talking graph theorists down at all. It's just an objective statement about what you'll find (or rather, not find) in most of the primary sources. If you want a graph theory book that actually does deal with homomorphisms, there is "Graphs and Homomorphisms" by Hell & Nešetřil.
I know that book.
Having studied texts on graph homomorpisms myself, I don't think invoking category-theoretic terminology will help much proving the conjectures graph theorists are interested in.
At least until somebody shows how. :-) But I think it's not appropriate to talk graph theorists down who are not using category theory. If category theorists think graph theorists should use category theory, I think it's their task to give concrete suggestions how category theory could be useful.
Maybe category theory suggests new questions. But why "should" graph theorists be interested in them?
Leopold Schlicht said:
Also, what's wrong with only defining isomorphisms (and not homomorphisms)? I thought groupoids are nice categorical objects too.
I'd be interested in answers to this question.
To take an initial stab at why we'd want morphisms that aren't isomorphisms: To my (a category theory beginner) understanding, we want non-isomorphic morphisms to enable us to compare objects that are related, yet significantly distinct. If we want to be able to talk about combining objects (e.g. through products), or looking at subobjects, I would expect we would want a category with morphsims that are not isomorphisms.
I suppose another angle to try and answer this question would be to take a category, like for example, and see what happens to limits and colimits if we delete all morphisms that are not isomorphisms.
David Egolf said:
If we want to be able to talk about combining objects (e.g. through products), or looking at subobjects, I would expect we would want a category with morphsims that are not isomorphisms.
I agree. But I don't think graph theorists should talk about categorical products or subobjects. They'll define the notions of products of graphs and subgraphs they need anyway, without having to know any category theory.
Leopold Schlicht said:
If category theorists think graph theorists should use category theory, I think it's their task to give concrete suggestions how category theory could be useful.
I passionately agree with this. No change in perspective is self-justifying, and no sceptic will be convinced of the value of categories or toposes just because we tell them they're missing out without having evidence to back that claim up. The burden of proof is on us, a priori.
That said, I still find the position of bitter sceptic of category theory bemusing. Even lacking final evidence that using categories will be productive, its tools are pervasive, and their success is hard to deny. While you can avoid categorical reasoning and it can often be excised from a proof if you insist on it, that doesn't detract from the pathways to results that it creates. And as I gain experience in category theory, I can increasingly figure out potential lines of attack using categorical tools once I'm exposed to a problem.
Leopold Schlicht said:
David Egolf said:
If we want to be able to talk about combining objects (e.g. through products), or looking at subobjects, I would expect we would want a category with morphsims that are not isomorphisms.
I agree. But I don't think graph theorists should talk about categorical products or subobjects. They'll define the notions of products of graphs and subgraphs they need anyway, without having to know any category theory.
You can talk about the collection of automorphisms of a graph without acknowledging that it's a group, too. But recognizing structure clearly puts tools at your disposal that you don't have when you ignore that structure.
I'm just going to drop the name Tien Chih as someone who talking about graphs with categories.
What would be three specific such "tools"?
Just to stir the pot. In this video it is explained what is meant by "limit of graphs".
https://youtu.be/7Gj9BH4IZ-4?t=200
(Don't stop at the beginning with graphons, but rather look at what they say starting from time 3:20.)
As I think was suggested by @fosco, it seems that colimits could be used in this setting. (I don't know if they would actually help with the problems in that field though, it's not my field.)
Morgan Rogers (he/him) said:
Leopold Schlicht said:
If category theorists think graph theorists should use category theory, I think it's their task to give concrete suggestions how category theory could be useful.
I passionately agree with this. No change in perspective is self-justifying, and no sceptic will be convinced of the value of categories or toposes just because we tell them they're missing out without having evidence to back that claim up. The burden of proof is on us, a priori.
Yeah. You'll notice my complaint about graph theorists was spoken to "us". I really meant it when I said I don't go around telling graph theorists "You're trapped in the pre-categorical era!" That, or anything resemblng that, is almost useless.
If "we" get sufficiently upset that graph theorists don't make adequate use of morphisms of graphs, functors from a category of graphs to other graphs, and other standard mathematical techniques, maybe one of "us" will get motivated to do something interesting using these techniques.
I've spent the last 10 years trying to introduce category theory in chemistry, electrical circuit theory, control theory, Markov process theory, and now epidemiology - not by scolding people who work on those subjects, but by writing papers about these subjects.
If I had the energy I might try this in graph theory. But I don't! The first step might be to spend a few years learning more graph theory.
What would be three specific such "tools"?
I could just list categorical gadgets like limits and colimits, but presumably you were looking for more than that. Consider functors, adjunctions and monadicity. The first allows us to directly compare your category of graphs with another category, the second provides useful constraints on such a comparison, and the third guarantees and provides a construction of certain structures (including but not limited to limits and colimits) in your chosen category of graphs.
And all of those tools are just from an introductory text on category theory...
Of course, none of this is a guarantee of progress on what a graph theorist cares about. But it should be enough to convince you that category theory might be able to produce progress if enough work is put into it.
Paolo Perrone said:
What are graph transformations?
If you want a category theorist's answer to this question, try this:
He explains double pushout graph rewriting (which is one answer to your question) and then generalizes the heck out of it, both by replacing the category of graphs with any topos, and by replacing objects (like graphs) with 'open' objects (like open graphs).
I actually share some of the skepticism of exactly how useful graph theorists would find category theory. That said, there is at least one prominent example I can think of where it was arguably useful. Hedetniemi's conjecture was an open problem in graph theory for over 50 years before it was disproved in 2019. The counterexample uses the exponential object in the category of graphs.
Morgan Rogers (he/him) said:
What would be three specific such "tools"?
I could just list categorical gadgets like limits and colimits, but presumably you were looking for more than that. Consider functors, adjunctions and monadicity. The first allows us to directly compare your category of graphs with another category, the second provides useful constraints on such a comparison, and the third guarantees and provides a construction of certain structures (including but not limited to limits and colimits) in your chosen category of graphs.
And all of those tools are just from an introductory text on category theory...
Alright, thanks. I don't see how adjunctions could yield new theorems in graph theory. The fact that adjoints preserve (co)limits is quite useful sometimes and can yield elegant proofs (the same is true for the Yoneda lemma), but I doubt it can do more than that. Most other concepts in basic category theory, such as limits, are only giving names to things.
Oh. Here's another example of category theory being useful in graph theory. I felt like this paper helped provide some insight about a result in graph theory which does involve graph homomorphisms, but which was first proved by László Lovász, who is a mainstream combinatorist. (Perhaps graph theorists would disagree, but I always found the similarity to the Yoneda lemma quite striking, so it was nice to see a formal explanation.)
Graham Manuell said:
I actually share some of the skepticism of exactly how useful graph theorists would find category theory. That said, there is at least one prominent example I can think of where it was arguably useful. Hedetniemi's conjecture was an open problem in graph theory for over 50 years before it was disproved in 2019. The counterexample uses the exponential object in the category of graphs.
Thanks for the example! In retrospect you might call his example an "exponential object in the category of graphs", but did Shitov really think about it that way when finding it? He doesn't use the words "category", "functor", "morphism", "universal property" in his text. One can invent direct products of groups without knowing it is called a "product in the category of groups". The same is true for "exponential object".
Yes, I agree that it's unclear that he thought about it as an exponential object, but it does seem like the universal property of the exponential played an important role in the counterexample whether it was thought of in explicitly categorical terms or not. If one concedes this was useful in this case it seems easier to believe that thinking about these things more systematically could provide further insights. Admittedly the chromatic number is one case where the utility of graph homomorphisms is particularly apparent.
Fair enough! Thanks again for your examples.
Leopold Schlicht said:
In retrospect you might call his example an "exponential object in the category of graphs", but did Shitov really think about it that way when finding it? He doesn't use the words "category", "functor", "morphism", "universal property" in his text. One can invent direct products of groups without knowing it is called a "product in the category of groups". The same is true for "exponential object".
Even supposing that Shitov was unaware that their constructions are special cases of categorical gadgets, doesn't that demonstrate that category theory is useful to graph theorists? Surely having to "invent" structures is more work than applying established constructions? You always can ignore that a construction is a special case of something more general, but you shouldn't: abstractions are what allow us to understand more precisely why and when things work!
Morgan Rogers (he/him) said:
Surely having to "invent" structures is more work than applying established constructions?
"Exponential object" is not a construction but a universal property. The explicit construction of an exponential object in a specific category doesn't need category theory. Of course it's really nice to have a name for that concept (exponential object), and it's interesting to investigate that concept in its own right, but I don't see how that demonstrates the usefulness of category theory.
I think Morgan saying that looking at exponential objects in the category of graphs would have lead them to the notion of exponential graphs, which they seem to agree are an important construction. (This might even be how they came to the definition of exponential graphs in the first place? I don't know the history.) Perhaps this construction could plausibly have been missed otherwise. And its links to chromatic number are certainly less obvious if you don't know the universal property.
Morgan Rogers (he/him) said:
Even lacking final evidence that using categories will be productive, its tools are pervasive, and their success is hard to deny.
Maybe that just applies to homological algebra and not to pure category theory?
Graham Manuell said:
I think Morgan saying that looking at exponential objects in the category of graphs would have lead them to the notion of exponential graphs, which they seem to agree are an important construction. (This might even be how they came to the definition of exponential graphs in the first place? I don't know the history.) Perhaps this construction could plausibly have been missed otherwise. And its links to chromatic number are certainly less obvious if you don't know the universal property.
Ah, I see, that makes sense!
Here's another rather silly example: the classification of epimorphisms in the category of planar graphs is related to the four-colour theorem in the sense that if you know the one result there is an easy proof of the other one. I'm not seriously suggesting this is an application of category theory to graph theory, and it certainly doesn't help with the proof, but since category theory is supposed to be helpful for suggesting good questions, it's perhaps at least worth noting that a natural categorical question ends up being essentially the same as a problem graph theorists agreed was a very important? (Link)
Paolo Perrone said:
Mike Shulman said:
Graph theorists certainly study graphs with "weights" on the edges, which you could call -enriched...
What are their morphisms? Or at least, which maps between them are relevant for the purpose of graph theorists?
graph theorist here..
There are no standard notions of homomorphisms between (what graph theorists call) labeled graphs. However, often you'll find that people will ask for some kind of non-decreasing property (assuming edges are labeled in $\mathbb{R}$, for example). Lots of graph theorists think about group-valued flows: flows on graphs whose edges are labeled by elements of some group. For examples, I suggest having a look at Geleen's work (and related things from U. Waterloo) or there also is a ton of material in Lex Schrijver's books (just to give a few reading hints).
Thank you, this is very interesting!
Benjamin Merlin Bumpus said:
However, often you'll find that people will ask for some kind of non-decreasing property (assuming edges are labeled in $\mathbb{R}$, for example).
Do you have an example of paper that does this? (Sorry, I'm really not an expert.)
Paolo Perrone said:
Thank you, this is very interesting!
Glad it helps :)
For the group-valued stuff, there's an example here: https://dl.acm.org/doi/10.1007/s00493-006-0030-1
For homomorphisms of edge-labeled graphs, there's really an abundance; a quick google gave me this paper (but I think it's best if you search for 'homo. of edge-labeled graphs' to find something more to your liking :) ): https://link.springer.com/article/10.1007/s10878-020-00680-3 which considers graph monos such that g and h are edge-labelings of g and H resp. and f preserves 'colors' .
Another alternative is to consider homomorphisms between the quotients (see my paper with Kocsis, for example: https://arxiv.org/abs/2104.01841 )
I'm trying to formulate networks of resistors using the algebraic path problem methodology, and I'm having a bit of trouble. More specifically, I'm having trouble ruling out (non-physical) loop currents.
We start with a quantale on describing composition or resistors, with serial composition and parallel composition (join) . Then we hope to compute resistance in the network using an analogue of the free category construction.
In the simplest case we just have a graph X ---R--- Y. As a directed graph, there are arrows in both directions, so infinitely many paths from X to Y. However, when we compute the resistance between X and Y, we don't want to include any of the loops.
Following my nose, we ought to add in a reflexive loop at each nodes with zero resistance (edit: I guess this is the identity). This would short-circuit the computation of Hom(X,X) to yield zero, which seems promising. Then we go to compute Hom(X,Y), and I want to replace the infinite loopy sum with the hom-object Hom(X,X). Perhaps via quotient on the free category?
Anyway, I would be happy for either techinical suggestions or references to similar issues. Thanks!
Do those two operations really give a quantale? A quick sketch of some circuits of resistors makes me doubt that series composition distributes over parallel composition (or vice versa).
I've spent a certain amount of time trying to understand the algebraic structure of series and parallel composition, so if they obeyed the distributive law all this time and I didn't notice it, I'd feel like quite a fool. But I'd be happy if it were true!
Maybe you know this paper on circuits made of resistors:
This was our attempt to get to the bottom of things.
Indeed, that approach is the basis for my question.
Okay, great! Anyway, are you really saying your operation distributes over ?
It looks like the distributive law does indeed fail. It would say that we could push resistors through buses without changing the resistance b/w terminals, but it clearly would change resistances b/w terminals on the other side of the bus.
Yes. One interesting thing is that is conjugated by taking reciprocals (and vice versa). There should be some sort of algebraic way to think about this. In electrical circuit theory it winds up getting connected to Poincare duality for planar graphs. But it's still sort of mysterious.
Nonetheless, it feels like there might be still be some relevant generalization. There is certainly a strong resemblance, in the calculations, since we are doing some kind of sum over possible paths.
You're reminding me of some theorem where you compute the electrical resistance between two points on a network of resistors as a fancy sum.
The name is on the tip of my tongue... let me go to a mirror and look at the tip of my tongue.
Does it say something like: compute the resistance between X and Y from the neighbors of X -- X' and the resistances b/w X' and Y?
It was something more complicated which might result from replying some rule like that over and over...
Expanding the recursive calls on X'
When I went to the mirror I saw the words Kirchoff's spanning tree theorem, but the Wikipedia article doesn't seem to explain the relevance to electrical circuits.
The Wikipedia version is secretly about circuits where all the edges have resistance 1, so you get facts about about graph theory, but I think there's a version that lets the edges have arbitrary resistance.
So each spanning tree gives a unique resistance b/w any pair of nodes, and then we sum over the set of spanning trees?
There are some theorems about resistor networks and random walks which could be relevant
Hmm. I suppose spanning trees are not nicely compositional, since we could decompose a network and break a spanning tree into several parts. I wonder if there is a nice generalization to spanning forests?
@Reid Barton: I've seen something about Markov chains and the probabilities that a particular electron will take a particular path. Is that the sort of idea you've got in mind?
Yes, this sort of thing.
If you impose a voltage of 0 at a vertex and 0 at another vertex , then the voltage potential at each vertex will be the probability that a random walk starting at will hit before (where the walk leaves a vertex through an edge with probability inversely proportional to the resistance of that edge, I guess).
Then there is also some way to recast that in terms of the effective resistance between and which I don't remember.
There's a really fun expository paper about resistor networks and random walks:
Besides the failure of distributivity, this also fails to be a quantale for the trivial reason that the 'join' is not idempotent.
True.
I guess I showed more than that it's not a quantale: it's not even a rig.
I remember looking into series-parallel operations and the algebraic path problem a while ago. AFAIK they don't form a rig, but they form something very close that Andrey Mokhov calls 'united monoids'. Here's a neat blog post on it: https://blogs.ncl.ac.uk/andreymokhov/united-monoids/