Category Theory
Zulip Server
Archive

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.


Stream: learning: questions

Topic: Examples of directed graphs with specific properties


view this post on Zulip Eric Forgy (Nov 10 2023 at 17:30):

Hi. One challenge I have always had is finding the right question to ask and then how to phrase it properly so people who might be able to help understand what I am talking about :sweat_smile:

I am (kind of) an engineer interested in topological spaces based on directed graphs. That aside, I'll start by just asking about directed graphs.

I am interested in directed graphs with two specific properties:

  1. No intermediate edges, i.e. if (i,j) is a directed edge of the graph and (j,k) is a directed edge, then (i,k) cannot be a directed edge.
  2. No opposite edges, i.e. if (i,j) is a directed edge, then (j,i) cannot be a directed edge.

First question: Does this structure ring any bells? I'd love to relate this to any work others have done before.

Second question: Is there some nice "arrow theoretic" way to express these constraints?

I think the two constraints together imply a smallest 2-cell

i ----->----- j
|             |
v             v
|             |
k ----->----- l

These, in turn, imply a smallest 3-cell, 4-cell, etc. I call these smallest cells "diamond cells".

I have an ancient "engineer's conjecture" that just as any smooth manifold can be triangulated, any smooth directed space can be "diamonated":

https://ncatlab.org/ericforgy/show/diamonation

Struggling to express this clearly :sweat_smile:

view this post on Zulip JR (Nov 10 2023 at 17:33):

Eric Forgy said:

  1. No opposite edges, i.e. if (i,j) is a directed edge, then (j,i) cannot be a directed edge.

This is an oriented graph

view this post on Zulip JR (Nov 10 2023 at 17:39):

Have you seen https://arxiv.org/abs/2105.06955

view this post on Zulip Eric Forgy (Nov 10 2023 at 17:40):

Here is what GPT-4 had to say :robot:

When combined, these constraints produce a unique type of directed graph. This kind of graph could be relevant in fields like:

I'm thinking of this as a special kind of causal set skeleton (not saying that clearly, I know. I am cursed :sweat_smile: ).

view this post on Zulip JR (Nov 10 2023 at 17:42):

I would guess (i.e., it needs proving that) you can take any transitive arc in a digraph and split it into two. I would guess that this is pretty easy to prove in the finite case because you get termination.

view this post on Zulip JR (Nov 10 2023 at 17:43):

This decimation procedure would be at the heart of the rectangular nature of your 2-cells, no?

view this post on Zulip Eric Forgy (Nov 10 2023 at 17:45):

I'm trying to summarize some of my old notes and up to that point, the closest structure that I found is a Moore complex.

view this post on Zulip Eric Forgy (Nov 10 2023 at 17:49):

Any such directed graph is also a directed acyclic graph (DAG), but the "No intermediate edges" constraint is more strict than a DAG.

view this post on Zulip JR (Nov 10 2023 at 17:49):

From p 396 of https://doi.org/10.1016/0012-365X(93)90176-T:

image.png

view this post on Zulip Eric Forgy (Nov 10 2023 at 17:51):

JR said:

From p 396 of https://doi.org/10.1016/0012-365X(93)90176-T:

image.png

Cool! Yes. Dimakis and Mueller-Hoissen often mention Hasse diagrams. Thank you for reminding me! :pray:

view this post on Zulip Eric Forgy (Nov 10 2023 at 17:52):

Given a poset, I suppose there are multiple possible Hasse diagrams?

view this post on Zulip JR (Nov 10 2023 at 17:54):

I dont think so. The poset corresponds to a DAG and the transitive reduction of that is unique.

view this post on Zulip JR (Nov 10 2023 at 17:54):

Maybe in the infinite case things are trickier? https://en.wikipedia.org/wiki/Transitive_reduction#In_directed_acyclic_graphs

view this post on Zulip Eric Forgy (Nov 10 2023 at 18:01):

Also from Wikipedia: https://en.m.wikipedia.org/wiki/Hasse_diagram#Diagram_design

Although Hasse diagrams are simple, as well as intuitive, tools for dealing with finite posets, it turns out to be rather difficult to draw "good" diagrams. The reason is that, in general, there are many different possible ways to draw a Hasse diagram for a given poset.

So, it seems that given a poset, it's Hasse diagram is a directed graph of the sort I am interested in. I think this should also imply that the graphs I am interested in generate posets, which seems obvious. This makes me think of forgetful functors and free functors, which sounds like progress toward explaining things arrow theoretically :blush:

view this post on Zulip Eric Forgy (Nov 10 2023 at 18:09):

"Transitive reduction" is an awesome pointer. Thank you so much :blush: :pray:

https://community.wolfram.com/groups/-/m/t/2312623

Causal Sets and Hasse Diagrams: The points of a causal set are most commonly visualised through the use of Hasse Diagrams, where each vertex is a point and the directed edges represent the immediate causal relations. Thus, taking the transitive reduction of a causal network yields the Hasse Diagram of the related causal set.

view this post on Zulip Eric Forgy (Nov 10 2023 at 18:23):

This seems to be the way to link our previous work to the broader causal set theory approach. And it is interesting that the Woldram article is about entanglement because linking the CST, our approach and entanglement is what brough me here to this Zulip originally :blush:

I started my stream before that Wolfram article was written so it is fun to see we were thinking in the same direction :blush:

view this post on Zulip Jencel Panic (Nov 11 2023 at 12:14):

By the way, you can think of poset, partial order, causal set, directed graph, Hasse diagram as all the same structure (they are isomorphic).

view this post on Zulip Jencel Panic (Nov 11 2023 at 12:16):

(actually a Hasse diagram is not a structure itself, but a way to visualize a structure)

view this post on Zulip Jencel Panic (Nov 11 2023 at 12:21):

The Wikipedia paragraph that you quote talks about the aestetic qualities of the diagrams, note that all the different diagrams that are shown represent the same graph.
image.png

view this post on Zulip Todd Trimble (Nov 11 2023 at 12:59):

Sorry again (Jencel), but a directed graph is not the same thing as a poset. There are connections between these notions, sure.

view this post on Zulip Jencel Panic (Nov 11 2023 at 13:50):

Ha, no need to say sorry, in fact it will be a nice exercise to make the correspondence precise, I will attempt to write it up when I have time....

view this post on Zulip John Baez (Nov 11 2023 at 17:47):

There is an functor from the category of directed graphs to the category of preorders, where an edge from x to y gives the relation x \le y.

There are infinitely many nonisomorphic directed graphs with two vertices x and y, no edges going from y to x, and a nonempty set of edges going from x to y. Each one gives rise to the same preorder on {x,y}, namely the one with x \le y but not y \le x. This preorder is a partial order.

There are also directed graphs that give preorders that aren't partial orders.

view this post on Zulip John Baez (Nov 11 2023 at 17:49):

So, directed graphs are not "the same structure" as partial orders, or even preorders.

(On the other hand, 'poset' is just another name for a set with a partial order.)

view this post on Zulip Todd Trimble (Nov 11 2023 at 18:40):

In fact, "poset" stands for p.o.set (partially ordered set).

Usual parlance is that a partial order(ing) is a structure on a set, so there is some sort of pedantic distinction between a partial order and a poset, although there is in practical terms always some underlying substrate that supports a partial order anyway. Not to have this would be like the smile without the Cheshire Cat. (Although I guess one could say that naive Platonic sets are partially ordered by inclusion, without themselves forming a set.)

Usually when category theorists talk about directed graphs, they allow multiple parallel edges, so this would be something quite different from a poset.

view this post on Zulip Jencel Panic (Nov 11 2023 at 18:44):

I was a bit sloppy in my prev comment, so I will try to summarize the connections between the aforementioned structures.

Posets or partial orders (not sure if there is a difference between those two). They are defined by a set of points and a set of arrows, where arrows represents relationships that are transitive and antisymetric (such as "Bigger than").

Causal sets From reading the article, it seems that they are a kind of posets, which contain events, ordered by "is caused by" relation (which is transitive and antisymetric)

Hasse diagrams: They are a convenient way to represent posets graphically.

Directed graphs: Here things become interesting. Given a directed graph, you can generate the free category of that graph by just adding the arrows that are the result of composition (I suppose you have to also add the identity arrows, although the Wikipedia article doesn't mention that).

Directed graphs have just one arrow between any two points. And categories that have at most one arrow between two points are posets or preorders. And so, some directed graphs (or the categories that are generated from them) are posets.

Not all directed graphs are posets, but the question is which directed graphs are posets. I think that they are almost exactly the ones which Eric refers to.

No intermediate edges, i.e. if (i,j) is a directed edge of the graph and (j,k) is a directed edge, then (i,k) cannot be a directed edge.

Note that although a directed graph has just one arrow between given two points, there might be more than one arrows when we add the compositional arrows, that is, if the graph has f:IJf: I \to J, g:JKg: J \to K, and h:IKh: I \to K, then the category would also have gf:IKg \circ f : I \to K and so you would end up with two IKI \to K morphisms. This requirement exclude all those cases.

No opposite edges, i.e. if (i,j) is a directed edge, then (j,i) cannot be a directed edge.

This requirement clearly expresses the law of anti-symmetry.

There is one requirement missing, namely that there should not be any circular sets of arrows (e.g IJI \to J, JKJ \to K KIK \to I) as these would lead to symmetric relationships, but other than that I think that the directed graphs Eric refers to can be translated to posets.

I hope this make sense. And if it doesn't, they say that the best way to get the correct answer on the Internet is to post the wrong answer :)

view this post on Zulip Jencel Panic (Nov 11 2023 at 18:48):

@John Baez @Todd Trimble I wrote all this before reading your last comments, btw.

view this post on Zulip Eric Forgy (Nov 11 2023 at 20:19):

Thanks you, everyone :pray:

Let's give the kind of directed graph I am interested in, i.e. those with no intermediate edges and no opposites, a name:

Definition: A diamond graph (not to be confused with this) is a directed graph with:

I've learned that a diamond graph can be obtained as the transitive reduction of a poset. That helps link discrete differential geometry (DDG) and causal set theory (CST). However, I feel this viewpoint puts these special graphs in a kind of secondary position of importance. I think these things are fundamentally important.

Given any diamond graph, we can obtain a kind of path algebra and first-order differential calculus with unit

1=ie(i)1 = \sum_i e(i)

and differential

df:=[G,f]df := [G,f]

where

G=i,je(i,j)G = \sum_{i,j} e(i,j)

and

f=if(i)e(i).f = \sum_i f(i) e(i).

With diamond graphs, we can construct higher order cells, i.e. nn-diamonds, by requiring d2=0d^2 = 0, which is satisfied if

G2=i,j,ke(i,j,k)=0.G^2 = \sum_{i,j,k} e(i,j,k) = 0.

This is progress. Thank you again :pray:

To summarize:

However, we don't need to start with a poset. We could just start with a diamond graph. This will generate both the poset and the DGA.

view this post on Zulip David Egolf (Nov 14 2023 at 03:27):

I notice that the nLab has a rather large disambiguation page on "directed graph": here. It's not clear to me which particular concept described on that page @Eric Forgy is interested in!

view this post on Zulip Eric Forgy (Nov 14 2023 at 03:28):

The kind of directed graph I am interested in is not on that page (I helped create that page - I literally create the first revision back in 2008) :blush:

view this post on Zulip David Egolf (Nov 14 2023 at 03:30):

I notice that above you were using the term "directed graph". For example:
Eric Forgy said:

I am interested in directed graphs with two specific properties:

Could you maybe explain what you mean by "directed graphs" in this sentence?

To clarify, I assume there is some basic concept of "directed graph" you are starting with, and then you wish to investigate particular examples which satisfy certain additional properties. I'm curious what the basic concept is that you have in mind - before we start talking about additional properties.

view this post on Zulip Eric Forgy (Nov 14 2023 at 03:34):

Sure! What I am interested in is a special kind of directed graphs, but there are directed graphs that are not of the kind I am interested in. But here is a nice discussion of the directed graph.

view this post on Zulip David Egolf (Nov 14 2023 at 03:35):

Ah, I see! So by "directed graph" you mean what the nlab calls a "digraph". Thanks for explaining that. I was guessing you maybe meant what the nlab calls a "quiver".

view this post on Zulip Eric Forgy (Nov 14 2023 at 03:40):

I think digraphs and quivers are equivalent :sweat_smile: Both as opposed to directed multigraphs.

From quiver:

While therefore, as concepts in themselves, quiver and directed graph are just the same, using the term quiver serves to indicate certain constructions that one is interested in (a concept with an attitude), notably the corresponding quiver representations which much of the theory revolves around. The key result here is Gabriel's theorem from the same article Gabriel 72 that introduced the terminology quiver.

view this post on Zulip David Egolf (Nov 14 2023 at 03:47):

Here is one big difference between quivers and digraphs (assuming I'm reading the nLab correctly!):

Another big difference is this:

I believe that every digraph can be thought of as a quiver. But there are quivers that have features that aren't allowed in digraphs!

view this post on Zulip David Egolf (Nov 14 2023 at 03:57):

So, I think I'm really asking this:
When you say "directed graph", do you mean a graph where...

...or do you wish to disallow these features? (Or maybe you don't have a strong opinion either way!)

I suspect you don't want to allow multiple arrows with the same starting and ending vertices - as you indicate that you do not want directed multigraphs. But I'm less sure how you feel about allowing loops!

view this post on Zulip Eric Forgy (Nov 14 2023 at 05:52):

This is the definition I am interested in, which excludes self loops and with the addition that, as you rightly point out, there is just one edge between any two nodes (although there are applications where I would consider multigraphs, but not here). I discussed that a bit here.

view this post on Zulip John Baez (Nov 14 2023 at 07:24):

Okay, those are completely different from quivers.

view this post on Zulip Eric Forgy (Nov 14 2023 at 07:26):

nLab said directed graphs were the same as quivers. Not me. And I never mentioned quivers in anything I've said above (other than quote nLab).

view this post on Zulip John Baez (Nov 14 2023 at 07:27):

It does? Where? Are directed graphs supposed to be the same as digraphs?

Quivers are arguably the logically simplest concept: a quiver is two sets EE, VV and two functions s,t:EVs, t: E \to V.

view this post on Zulip Eric Forgy (Nov 14 2023 at 07:28):

https://categorytheory.zulipchat.com/#narrow/stream/229199-learning.3A-questions/topic/Examples.20of.20directed.20graphs.20with.20specific.20properties/near/401899045

view this post on Zulip John Baez (Nov 14 2023 at 07:29):

Okay, thanks. "Directed graph" is probably used to mean different things, one being a quiver, but this remark needs to be fixed. David Egolf seems to be reading a different, better part of the nLab:

David Egolf said:

Here is one big difference between quivers and digraphs (assuming I'm reading the nLab correctly!):

Another big difference is this:

I believe that every digraph can be thought of as a quiver. But there are quivers that have features that aren't allowed in digraphs!

view this post on Zulip John Baez (Nov 14 2023 at 07:31):

It's possible "digraph" is not being treated as a synonym for "directed graph" in some parts of the nLab. But anyway, David has listed the two (and only) ways in which digraphs are less general than quivers.

view this post on Zulip Eric Forgy (Nov 14 2023 at 07:33):

Apparently, it is not so easy to keep all this straight: https://ncatlab.org/nlab/show/digraph#idea

In combinatorics, a digraph (a shortening of directed graph) consists of a set and a binary relation on that set that is irreflexive.

view this post on Zulip Mike Shulman (Nov 14 2023 at 07:35):

It's pretty common in category theory for "directed graph", or even just "graph", to refer to a quiver.

view this post on Zulip Mike Shulman (Nov 14 2023 at 07:36):

In my experience, it doesn't usually get shortened to "digraph" in that context, but I wouldn't be surprised if it happens.

view this post on Zulip John Baez (Nov 14 2023 at 07:49):

I don't mind using "graph" to mean "quiver", since "graph" is so bloody ambiguous that you should assume you don't know what it means unless the person saying it either told you or conveys, by their general manner, what kind of person they are thus what they'd mean by "graph".

view this post on Zulip John Baez (Nov 14 2023 at 07:50):

On the other hand I'd tend to feel that anyone who uses "directed graph" to mean "quiver" is almost deliberately trying to ignore the subject called graph theory and what graph theorists mean by "directed graph".

view this post on Zulip John Baez (Nov 14 2023 at 07:52):

And if someone uses "digraph" to mean "quiver" I'd feel sure they are flaunting their disrespect for graph theorists. :upside_down:

view this post on Zulip John Baez (Nov 14 2023 at 07:53):

I've tackled that nLab article that gave Eric Forgy the unfortunate impression that

nLab said directed graphs were the same as quivers.

view this post on Zulip Mike Shulman (Nov 14 2023 at 07:53):

That doesn't seem fair to me. I don't think there's any reason for it to be obvious to someone who's not an expert in graph theory that graph theorists feel very strongly that a "directed graph" means a "directed simple graph", since it is often given a more expansive meaning.

view this post on Zulip Mike Shulman (Nov 14 2023 at 07:54):

E.g. on wikipedia I read

In one more general sense of the term allowing multiple edges, a directed graph is an ordered triple G = (V, E, ϕ) ... To avoid ambiguity, this type of object may be called precisely a directed multigraph.

view this post on Zulip Mike Shulman (Nov 14 2023 at 07:55):

I don't think someone reading that page and concluding that "directed graph" can refer to a directed multigraph can be said to be trying to ignore graph theory.

view this post on Zulip Mike Shulman (Nov 14 2023 at 07:59):

And while I'm certainly not an expert in graph theory, I've taught introductions to graph theory several times in my discrete math class, and multigraphs do come up. For instance, the famous Seven Bridges of Konigsburg graph, which inspired the subject of Eulerian paths, is an (undirected) multigraph. And its Wikipedia page just says that "The resulting mathematical structure is a graph" and doesn't even include the word "multigraph".

view this post on Zulip Eric Forgy (Nov 14 2023 at 08:01):

Here is a disambiguation page David referred to that attempts to sort this out: https://ncatlab.org/nlab/show/directed+graph

view this post on Zulip John Baez (Nov 14 2023 at 08:01):

That Wikipedia article already gave the usual definition of directed graph in boldface. Now it's trying to politely say that if this is what you think a directed graph is, you should instead call it a directed multigraph. Unfortunately it also put boldface on this definition of directed graph, which is confusing. I've removed that.

Luckily the main Wikipedia article on directed graphs gives the usual, and I'd say "correct", definition of directed graph.

As for the nLab article, it started by acting like quivers and directed graphs are "just the same":

While therefore, as concepts in themselves, quiver and directed graph are just the same, using the term quiver serves to indicate certain constructions that one is interested in (a concept with an attitude), notably the corresponding quiver representations which much of the theory revolves around.

But then it turned around and said

On the other hand, beware that in graph theory, the term “directed graph” is often taken to mean that there is at most one edge from one vertex to another.

That is: among mathematicians who actually devote their lives to studying graphs, "directed graph" is usually used to mean something else.

I have tried to improve this nLab article.

view this post on Zulip Eric Forgy (Nov 14 2023 at 08:09):

I took the approach of "quiver", i.e. just make up a new name entirely to (hopefully) avoid confusion :sweat_smile:

The graphs I want to study are "diamonds" :diamond_with_a_dot: :blush:

view this post on Zulip Mike Shulman (Nov 14 2023 at 08:10):

John Baez said:

That Wikipedia article already gave the usual definition of directed graph in boldface. Now it's trying to politely say that if this is what you think a directed graph is, you should instead call it a directed multigraph. Unfortunately it's also putting boldface on this definition of directed graph, which is confusing.

That's not how it reads to me. The two definitions given are phrased very parallely.

In one restricted but very common sense of the term,[8] a directed graph is...To avoid ambiguity, this type of object may be called precisely a directed simple graph.
...
In one more general sense of the term allowing multiple edges,[8] a directed graph is... To avoid ambiguity, this type of object may be called precisely a directed multigraph.

The "to avoid ambiguity" sentences are written precisely the same, so I don't see any reason a reader should assume that "directed multigraph" is the "correct" name for the latter one. The only indication of any difference in importance between the two definitions is the "very common" on the first one. Both even have the same citation to a graph theory book.

view this post on Zulip Mike Shulman (Nov 14 2023 at 08:12):

I'm not disagreeing that graph theorists use "directed graph" almost exclusively for the simple case. I'm just saying that, given that references like this are easy to find (Wikipedia is just one example), I don't think it's fair to say that someone who uses it for the multi case is deliberately ignoring graph theory.

view this post on Zulip John Baez (Nov 14 2023 at 08:14):

Eric Forgy said:

Apparently, it is not so easy to keep all this straight:

Indeed! It's a famous quagmire: there are at least 12 important kinds of graph: directed/nondirected, multiple edges/single edges, allowing self loops/not allowing self-loops/having distinguished self-loops. And people have the annoying habit of being unclear about these things and expecting other people to get the idea. I particularly dislike definitions of the sort "a multigraph is a graph that allows multiple edges between vertices" - except when you're in the mood for a vague hand-wave - since it's defining "multigraph" in a way that assumes you already agree on what a graph is, and are "just changing this one thing".

In combinatorics, a digraph (a shortening of directed graph) consists of a set and a binary relation on that set that is irreflexive.

That is the usual definition of digraph - or if you prefer, it's equivalent to the usual definition of digraph.

view this post on Zulip John Baez (Nov 14 2023 at 08:16):

For example, you'll notice that the Wikipedia article Directed graph starts by giving an incredibly vague rough definition of directed graph = digraph, and then gives a definition equivalent to this one.

view this post on Zulip John Baez (Nov 14 2023 at 08:18):

Mike Shulman said:

I'm not disagreeing that graph theorists use "directed graph" almost exclusively for the simple case. I'm just saying that, given that references like this are easy to find (Wikipedia is just one example), I don't think it's fair to say that someone who uses it for the multi case is deliberately ignoring graph theory.

I think you sometimes take my jocular gibes as conjectures to be refuted.

view this post on Zulip John Baez (Nov 14 2023 at 08:19):

I ended the passage you're arguing about with a smiley face, precisely to lessen the chance of this.

view this post on Zulip Mike Shulman (Nov 14 2023 at 08:22):

Sorry. :upside_down: is one of the emojis for which I never have any idea what it means, plus it wasn't clear to me that it applied to the whole sequence of comments rather than just the one to which it was appended.

view this post on Zulip Eric Forgy (Nov 14 2023 at 08:22):

Now, this is fun: https://ncatlab.org/nlab/show/n-poset

And this: https://ncatlab.org/nlab/show/Hasse+n-graph

Which leads to this: https://nforum.ncatlab.org/discussion/237/all-kdiagrams-commute/

Good times :smiley:

view this post on Zulip John Baez (Nov 14 2023 at 08:25):

Mike Shulman said:

Sorry. :upside_down: is one of the emojis for which I never have any idea what it means, plus it wasn't clear to me that it applied to the whole sequence of comments rather than just the one to which it was appended.

I'm happy to tell anyone who asks that I use :upside_down: to mean "just kidding" or "not completely serious here: don't sue me". Nobody uses it but me, basically, but that's what I always mean by it.

view this post on Zulip Mike Shulman (Nov 14 2023 at 08:33):

I feel like at some point in the past I complained about not knowing what emojis meant, and was told that I could basically ignore them because they don't convey important information. And I don't want to make a habit of asking everyone what they mean by their emojis, because people use so many emojis that if I did that it would overwhelm every conversation.

But speaking of overwhelming conversations, this is rather off the rails, so I'll stop now and wish I could go to bed instead of grading midterms. (-:

view this post on Zulip Eric Forgy (Nov 14 2023 at 08:36):

I had to go back in time to revision 40 to find the conversation that the n-Forum refers to. Here it is: https://ncatlab.org/nlab/revision/preorder/40 :blush:

view this post on Zulip John Baez (Nov 14 2023 at 08:56):

Mike Shulman said:

I feel like at some point in the past I complained about not knowing what emojis meant, and was told that I could basically ignore them because they don't convey important information.

Well, whoever said that probably ended that comment with :rolling_eyes:. It's not true. Emojis are communication like everything else, and like all forms of communication you either "just pick it up" or ask. But anyway, good luck on those midterms.

view this post on Zulip Spencer Breiner (Nov 14 2023 at 11:59):

(deleted)

view this post on Zulip John Baez (Nov 14 2023 at 12:06):

By the way, @Spencer Breiner, you can truly delete your comment by clicking on the 3 gray dots at the right of that comment and choosing "Delete comment". I used to do this for other people back when I was a moderator, but I no longer have that power.

view this post on Zulip Spencer Breiner (Nov 14 2023 at 12:08):

John Baez said:

Indeed! It's a famous quagmire: there are at least 12 important kinds of graph: directed/nondirected, multiple edges/single edges, allowing self loops/not allowing self-loops/having distinguished self-loops.

What are the rest?

Another possible distinction: when graph theorists talk about (simple) directed graphs, do they mean Edge(x,y)1|{\rm Edge}(x,y)|≤1 or Edge(x,y)+Edge(y,x)1|{\rm Edge}(x,y) + {\rm Edge}(y,x)|≤1?

view this post on Zulip Todd Trimble (Nov 14 2023 at 12:09):

Anyway, the nLab mentions that "quiver" is one of those concepts with an attitude*, and partly for that reason I don't use it, but mainly I don't use it because "directed graph" is what I grew up saying. I don't talk with graph theorists that often, so I generally feel safe inside my bubble, but if/when I do, then I get this issue sorted out tout de suite. I myself typically add in the word "simple" if I don't want multiple parallel edges, and if I also mean "irreflexive", then I guess I should say so but maybe haven't always.

*And now I see "pseudograph" mentioned at nLab: yikes!

view this post on Zulip Todd Trimble (Nov 14 2023 at 12:09):

"Digraph" is not part of my vocabulary if I mean to speak of directed graphs in my sense (quiver). I use it in the discrete math classroom for the "simple" notion.

view this post on Zulip Spencer Breiner (Nov 14 2023 at 12:10):

Another question: does anyone know of some interesting graph theory on simple digraphs that doesn't generalize to the multi- case? Are there good reasons for rejecting multigraphs?

view this post on Zulip Todd Trimble (Nov 14 2023 at 12:10):

[Toby Bartels was involved in a lot of those nLab discussions. He (oh wait, I think it's "they" now) also counseled "categorial" where I would naturally say "categorical", I guess to avoid confusion with "categorical" in the model theorist's sense. But I was never interested in following that counsel.]

view this post on Zulip JR (Nov 14 2023 at 13:25):

Mike Shulman said:

I don't think someone reading that page and concluding that "directed graph" can refer to a directed multigraph can be said to be trying to ignore graph theory.

I have never seen a combinatorist, much less a graph theorist, use the word digraph (versus perhaps "directed graph" on rare occasions) without meaning single arcs between vertices.

view this post on Zulip Todd Trimble (Nov 14 2023 at 13:30):

John: thanks!

In response to Spencer's question: I don't have a great response in hand to the exact question, but since this is a category theory zulip, I guess no one will mind my mentioning that the category of directed graphs = quivers is a topos, whereas various types of simple graphs often form a quasitopos but not a topos. For example, if "graph" is taken to mean a set equipped with a symmetric binary relation, then those graphs form a quasitopos. Same with sets equipped with a reflexive symmetric relation.

view this post on Zulip JR (Nov 14 2023 at 13:40):

Spencer Breiner said:

Another question: does anyone know of some interesting graph theory on simple digraphs that doesn't generalize to the multi- case? Are there good reasons for rejecting multigraphs?

It's more that most questions that graph theorists ask of digraphs can be asked of quivers, but pointlessly: i.e., they factor through the forgetful functor. Typically these are questions of reachability, distance, flows, structural properties (e.g., Hamiltonicity, cycles), etc.

view this post on Zulip JR (Nov 14 2023 at 13:47):

Though I suppose spectral (or more generally some other aspects of algebraic) graph theory as realized for digraphs would fit the bill specifically.

view this post on Zulip Mike Shulman (Nov 14 2023 at 16:56):

JR said:

Mike Shulman said:

I don't think someone reading that page and concluding that "directed graph" can refer to a directed multigraph can be said to be trying to ignore graph theory.

I have never seen a combinatorist, much less a graph theorist, use the word digraph (versus perhaps "directed graph" on rare occasions) without meaning single arcs between vertices.

I didn't disagree with this. Rather, I was saying that publicly available references for the definition of "directed graph" don't always convey that information to someone who may want to align with graph-theoretic terminology but may not personally know any graph theorists.

view this post on Zulip John Baez (Nov 14 2023 at 17:14):

Eric Forgy said:

I took the approach of "quiver", i.e. just make up a new name entirely to (hopefully) avoid confusion :sweat_smile:

The graphs I want to study are "diamonds" :diamond_with_a_dot: :blush:

That's good, btw.

view this post on Zulip Eric Forgy (Nov 14 2023 at 17:52):

Spencer Breiner said:

Another question: does anyone know of some interesting graph theory on simple digraphs that doesn't generalize to the multi- case? Are there good reasons for rejecting multigraphs?

Kind of the opposite happened for me. In all my work, I always used simple directed graphs, but then when John started writing about electrical networks, you need to consider parallel elements, so I had to augment my notation to support multigraphs. The result was kind of neat: Electrical networks.

view this post on Zulip Eric Forgy (Nov 14 2023 at 18:41):

Eric Forgy said:

Kind of the opposite happened for me. In all my work, I always used simple directed graphs, but then when John started writing about electrical networks, you need to consider parallel elements, so I had to augment my notation to support multigraphs. The result was kind of neat: Electrical networks.

Can't resist saying something about this.
In discrete calculus, you get a derivation

df=[G,f]df = [G,f]

as the commutator with the discrete 1-form

G=i,jei,jG = \sum_{i,j} e^{i,j}

representing the sum of all directed edges.

Ohm's law, using discrete calculus, can be written as

[G,V]=I[G,V] = I

where GG is a conductance 1-form

G=i,jGi,jei,jG = \sum_{i,j} G_{i,j} e^{i,j}

Notational similarities aside, if you have multiple edges connecting ii to jj, then I show the conductance is merely the "number" of edges, which implies a fundamental discreteness to conductance so that any conductance is a multiple of some smallest conductance.

It is just so fun to explore this stuff :blush:

view this post on Zulip Eric Forgy (Nov 14 2023 at 18:47):

If anyone is interested in seeing real-world applications of this stuff in decentralized finance, I have a more recent blog post here:

This is the basis of my new protocol (which I promised not to shill), but the math is still fun to talk about :blush:

view this post on Zulip David Egolf (Nov 14 2023 at 19:15):

I would like to better understand the idea this thread started out with.

I now believe I understand what kind of structure is meant by the quote below, thanks to the discussion above:

Eric Forgy said:

Definition: A diamond graph (not to be confused with this) is a directed graph with:

If you wouldn't mind explaining, @Eric Forgy, I'm curious what leads you to consider these particular graphs. I'm especially interested in understanding why you don't want "intermediate edges". I've been thinking recently about modelling things with categories, and one of the things I like about categories is that you can compose morphisms. This is good, I believe, for modelling applications where the following situation occurs:

Or maybe this situation occurs:

In both of the scenarios I just mentioned, it's helpful to be able to compose things of interest to get a new thing of interest. So it intrigues me that you disallow 'intermediate edges': in a diamond graph, if you have a edge from i to j, and you have an edge from j to k, then you never have an edge from i to k.

This kind of structure seems very non-compositional, and I am intrigued by the context that leads to this requirement!

view this post on Zulip JR (Nov 14 2023 at 19:48):

Speculating: if you're _given_ generating morphisms on that structure then you get the rest by composition.

view this post on Zulip Eric Forgy (Nov 14 2023 at 19:55):

Hi David. It is definitely neat and useful to associate directed edges with morphisms in a category, but there is no requirement to do so. Given a diamond, which is essentially a Hasse diagram, you can generate a category and recover the intermediate edges, but that would be a different structure than the one I am studying.

I was always motivated by electromagnetic theory and the cleanest way to express Maxwell's equations utilitizes the langauge of exterior calculus and differential forms. Thinking hard about this for years and years, I came to believe that two properties of the exterior derivative dd are fundamental to physics, i.e.

  1. d2=0d^2 = 0
  2. d(αβ)=(dα)β+(1)αα(dβ)d(\alpha\beta) = (d\alpha)\beta + (-1)^{|\alpha|} \alpha (d\beta)

In a discrete world, this brings in cool things like algebraic topology, cochains, cup products, etc. Stuff that stretched my brain (but people here eat for breakfast). I eventually stumbled on some work by Dimakis and Mueller-Hoissen (see my intro).

From that work, you can see that any directed graph gives raise to a fully robust first-order differential calculus. There is some neat math that goes into that I talked about here.

In a nutshell, defining "multiplication" as a form of path concatenation, you can obtain a differential dd that satsfies the two properties above, i.e. nilpotency and graded product rule, on discrete 0-forms via

dei=GeieiG=j(ej,iei,j)\begin{aligned} de^i &= G e^i - e^i G \\ &= \sum_j \left(e^{j,i} - e^{i,j}\right) \end{aligned}

and on discrete 1-forms via

dei,j=Gei,jeiGej+ei,jG=k(ek,i,jei,k,j+ei,j,k)\begin{aligned} de^{i,j} &= G e^{i,j} -e^i G e^j + e^{i,j} G \\ &= \sum_k \left(e^{k,i,j} - e^{i,k,j} + e^{i,j,k}\right) \end{aligned}

where GG is the discrete 1-form representing the sum of all directed edges I mentioned above.

On discrete 2-forms it proceeds in the same way

dei,j,k=Gei,j,keiGej,k+ei,jGekei,j,kG\begin{aligned} d e^{i,j,k} = G e^{i,j,k} - e^i G e^{j,k} + e^{i,j} G e^k - e^{i,j,k} G \end{aligned}

with the extension to discrete nn-forms obvious. You just stick in "intermediate edges" in an alternating sum and you end up with a cool form of discrete graded differential algebra which can be used to solve practical problems in computational physics (and finance).

If your directed graph has no intermediate edges to start with, several magical things happen. For one, all those terms in the alternating sum with intermediate edges vanish and you just get the first and last terms remaining:

  1. dei=GeieiGd e^i = G e^i - e^i G
  2. dei,j=Gei,j+ei,jG d e^{i,j} = G e^{i,j} + e^{i,j} G
  3. dei,j,k=Gei,j,kei,j,kG de^{i,j,k} = G e^{i,j,k} - e^{i,j,k} G

In general, we have

dei1,,ip=Gei1,,ip(1)pei1,,ipd e^{i_1, \cdots , i_p} = G e^{i_1, \cdots, i_p} - (-1)^p e^{i_1, \cdots, i_p}

which is just a graded commutator so that

dα=[G,α].d\alpha = [G,\alpha].

(To be continued...)

view this post on Zulip Eric Forgy (Nov 14 2023 at 20:02):

BUT... I kind of lied (not in a malicious way). You only get a proper graded derivation dd from those alternating sums if your graph contains all edges, i.e. it needs to be a complete graph (which leads to the universal differential envelope :exploding_head: ).

When you start deleting edges from the complete graph, the nipotency of dd imposes relationships between edges. In a "diamond graph", we get

d2α=[G2,α]d^2 \alpha = [G^2, \alpha]

so we require

G2=0.G^2 = 0.

This is pretty neat and powerful. For example, if this is your directed graph:

i ----->----- j
|             |
v             v
|             |
k ----->----- l

then the condition G2=0G^2 = 0 implies that

ei,j,l=ei,k,le^{i,j,l} = -e^{i,k,l}

which means that we actually have an oriented 2-cell here. I think you can see why I call these "diamonds" now :blush:

view this post on Zulip JR (Nov 14 2023 at 20:04):

OK so you can get these gizmos by having vertices of the form (x,t)(x,t) where tZt \in \mathbb{Z} and disallowing "spacelike" arcs right? Is that what you do?

view this post on Zulip Eric Forgy (Nov 14 2023 at 20:05):

Check out sections 2.2 and 2.3 of our paper for more info. It is pretty fun stuff, but the notation is admittedly a bit of a buzz kill :sweat_smile:

https://arxiv.org/abs/math-ph/0407005

view this post on Zulip Eric Forgy (Nov 14 2023 at 20:08):

JR said:

OK so you can get these gizmos by having vertices of the form (x,t)(x,t) where tZt \in \mathbb{Z} and disallowing "spacelike" arcs right? Is that what you do?

You get the idea :thumbs_up: I discuss this here:

The binary tree is a particularly simple (and useful!) form of diamond.

The iidea is that traversing an edge requires some finite amount of time. In fact, the time coordinate is just

dt=ΔtGdt = \Delta t G

:blush:

view this post on Zulip JR (Nov 14 2023 at 20:12):

So IIRC Dimakis and Mueller-Hoissen cohomology specifically grabs onto diamonds (and triangles) which is part of its allure right?

view this post on Zulip Eric Forgy (Nov 14 2023 at 20:21):

Well, to clarify, I know you're not suggesting they are , but triangles are not diamonds because of the intermediate edge, so our work focuses on diamonds, which is more specialized than D&MH. This specialization results in some magical mimetic properties.

For example, in the intro to our paper:

With respect to this fact it is interesting that on topologically hypercubic graphs there is a preferred inner product \langle\cdot |\cdot\rangle which renders all edges lightlike and induces a pseudo-Riemannian metric on the discrete space. A notion of time hence appears naturally in this framework.

I am pretty sure that this property carries over to non-hypercubic graphs as long as it's transitive reduction is a diamond, i.e. if it is a poset (I think).

view this post on Zulip David Egolf (Nov 15 2023 at 00:57):

Thanks for your explanation above, @Eric Forgy ! I would need to do some more work to more clearly understand the ideas and notation you reference from "discrete differential calculus" (e.g. as developed here).

But, very roughly, it sounds like we have some linear operator dd that "moves us up dimensions". If we put in a point (like a vertex in our digraph?), it spits out some linear combination of arrows in our digraph, I think. Specifically, I think you indicate that for a vertex eie^i, d(ei)d(e^i) is the sum of the arrows entering ii minus the sum of the arrows leaving ii. I then guess that we can apply dd to an arrow in our digraph to get some kind of sum of 2D objects which are described by specifying three ordered vertices.

You end up with a formula that describes how to compute dd for inputs of various "dimension" (e.g. vertices, arrows, and higher dimensional things). I think you are saying that if our digraph doesn't have "intermediate edges", then the formula to compute dd becomes a lot simpler!

view this post on Zulip Eric Forgy (Nov 15 2023 at 02:22):

You got it! :partying_face:

The fun part comes when you start working with discrete 0-forms as linear combinations of vertices, i.e.

f=ifieif = \sum_i f_i e^i

and compute

df=[G,f]=GffG=i,j(fjfi)ei,j.\begin{aligned} df &= [G,f] \\ &= Gf - fG \\ &= \sum_{i,j} (f_j - f_i) e^{i,j}. \end{aligned}

This is the discrete version of the gradient from vector calculus.

Then for a discrete 1-form

dα=[G,α]=Gα+αG=i,j,k(αi,j+αj,k)ei,j,k\begin{aligned} d\alpha &= [G,\alpha] \\ &= G\alpha + \alpha G \\ &= \sum_{i,j,k} (\alpha_{i,j} + \alpha_{j,k}) e^{i,j,k} \end{aligned}

this is the discrete version of the curl from vector calculus.

Can't resist one more...

Next compute

d2f=i,j,k(fjfi+fkfj)ei,j,k=i,k(fkfi)jei,j,k=0\begin{aligned} d^2 f &= \sum_{i,j,k} (f_j - f_i + f_k - f_j) e^{i,j,k} \\ &= \sum_{i,k} (f_k - f_i) \sum_j e^{i,j,k} \\ &= 0 \end{aligned}

This is zero because we enforce G2=0G^2 = 0, which means

jei,j,k=0,\sum_j e^{i,j,k} = 0,

i.e. the sum of all paths of length 2 that start and end on the same vertices must be zero.

view this post on Zulip David Egolf (Nov 15 2023 at 21:21):

That does indeed look fun! To understand what you're saying, I've been trying to understand what GfGf means.

GG is the sum of the arrows of our digraph DD. So, G=(i,j)De(i,j)G = \sum_{(i,j) \in D}e(i,j) where e(i,j)e(i,j) denotes the arrow from vertex ii to vertex jj. ff is a C\mathbb{C}-weighted linear combination of the vertices, I believe, so f=kDf(k)e(k)f = \sum_{k \in D}f(k) e(k) where kk ranges over the indices of all the vertices in DD, and f(k)Cf(k) \in \mathbb{C}, and e(k)e(k) is the kthk_{th} vertex of the digraph DD.

view this post on Zulip David Egolf (Nov 15 2023 at 21:25):

I want to try computing GfGf. To do this, we use the following multiplication between arrows and vertices: e(k,l)e(i)=δ(i,l)e(k,l)e(k,l)e(i) = \delta(i,l)e(k,l).
We want to compute Gf=((i,j)De(i,j))fGf = \left(\sum_{(i,j) \in D}e(i,j) \right) f.
I assume that we have the distributivity needed so this becomes:
=(i,j)De(i,j)f=(i,j)De(i,j)(kf(k)e(k))=\sum_{(i,j) \in D}e(i,j)f = \sum_{(i,j) \in D}e(i,j) \left( \sum_k f(k)e(k) \right)
I assume that this multiplication of arrows distributes over vertices:
=(i,j)Dke(i,j)f(k)e(k)=\sum_{(i,j) \in D}\sum_k e(i,j) f(k) e(k)
I assume also I can move the complex number f(k)f(k) around in the product e(i,j)f(k)e(k)e(i,j)f(k)e(k) without changing the result:
=(i,j)Dke(i,j)e(k)f(k)=\sum_{(i,j) \in D}\sum_k e(i,j) e(k) f(k)

view this post on Zulip David Egolf (Nov 15 2023 at 21:29):

Using our multiplication rule, we get:
=(i,j)Dkδ(j,k)e(i,j)f(k)=\sum_{(i,j) \in D} \sum_k \delta(j,k) e(i,j)f(k)
The sum over kk only has one nonzero term for a given value of jj. In this term, k=jk=j.
So our sum becomes:
Gf=(i,j)De(i,j)f(j)Gf=\sum_{(i,j) \in D} e(i,j)f(j)

view this post on Zulip Eric Forgy (Nov 15 2023 at 21:33):

(as I realize in panic that I wrote something incorrectly above which might well have confused you :scream: )
This first equality here is not correct

dei,j=Gei,jeiGej+ei,jG=k(ek,i,jei,k,j+ei,j,k)\begin{aligned} de^{i,j} &= G e^{i,j} -e^i G e^j + e^{i,j} G \\ &= \sum_k \left(e^{k,i,j} - e^{i,k,j} + e^{i,j,k}\right) \end{aligned}

Instead, it should just be

dei,j=k(ek,i,jei,k,j+ei,j,k)\begin{aligned} de^{i,j} &= \sum_k \left(e^{k,i,j} - e^{i,k,j} + e^{i,j,k}\right) \end{aligned}

Sorry about that if it caused confusion :pray:

view this post on Zulip David Egolf (Nov 15 2023 at 21:39):

Based on your checkmarks, I'm glad to know that I'm following along up to this point!
I hadn't looked carefully at the equality you just mentioned a fix for, but thanks for fixing it!
(I hope to think about this a bit more later, but for now I'm going to take a break.)

view this post on Zulip Eric Forgy (Nov 15 2023 at 22:11):

Awesome! It makes me happy to see someone working through this. I think it is fun and I've put it to good use through the years (including my current startup).

You got the algebraic expression for GfG f correct, but there is also a neat intuitive intepretation. GfG f picks out the values of ff at the ends of each edge and assigns them to the respective edge.

Similarly, fGf G picks out the values of ff at the beginnings of each edge and assigns them to the respective edge.

Hence,

df=GffG=(i,j)E[f(j)f(i)]e(i,j)\begin{aligned} df &= Gf - fG \\ &= \sum_{(i,j)\in E} \left[f(j) - f(i)\right] e(i,j) \end{aligned}

It might be a little easier to see by just looking at one edge e(i,j)e(i,j) and a function ff. Here we have

e(i,j)f=f(j)e(i,j)e(i,j) f = f(j) e(i,j)

and

fe(i,j)=f(i)e(i,j).f e(i,j) = f(i) e(i,j).

One of the main themes here is that discrete 0-forms and discrete 1-forms do not commute whereas in the continuum, they do. This source of noncommutativity is not a flaw. Rather, it has been very powerful and I can't help think that it relates more accurately to nature than the continuum / commutative counterpart (which I consider as an approximation to a true finitary underlying spacetime).

In regular calculus, when you are taking an integral

abfdx,\int_a^b f dx,

you never think about whether this should be writen that way or rather

abdxf\int_a^b dx f

because in the contuum limit, it doesn't matter (as long as ff is not stochastic). In a finitary universe, it does matter.

The noncommutativity of discrete 0-forms and discrete 1-forms can give rise to stochastic processes, which is how I connected this work to finance, where stocks and other assets are assumed to follow a geometric Brownian motion.

When a process is stochastic and you're defining integration, it matters whether you evaluate a function at the begining of an interval or the end (or anywhere in between). This is the source of Ito vs Stratonovich integration. Here is a good, fairly high-level, explanation of the difference:

People working in finance generally use the Ito representation. People working in physics generally use the Stratonovich representation.. Of course, you can map back and forth between them :blush:

view this post on Zulip David Egolf (Nov 16 2023 at 20:13):

Thanks for the intuitive explanation of fGfG and GfGf!

I can now see how GffGGf-fG is like a gradient! Looking at the equation, GffG=(i,j)D(f(j)f(i))e(i,j)Gf- fG = \sum_{(i,j) \in D}(f(j) - f(i))e(i,j), I can see that GffGGf-fG is basically a weighted sum of the arrows in our digraph DD, where the weight for each arrow e(i,j)e(i,j) is the change in ff as we move from the source vertex ii to the target vertex jj for that arrow. So we are keeping track of "how fast" ff is changing when you take a step along an arrow from one vertex to another!

This is all slowly starting to make sense. :smile:

view this post on Zulip Eric Forgy (Nov 16 2023 at 20:39):

Zactly :blush:

The intuition around curl is a little less obvious, but equally cool imo.

If we look at the simplest 2-diamond

i ----->----- j
|             |
v             v
|             |
k ----->----- l

then we can explicitly write a general discrete 1-form as

α=α(i,j)e(i,j)+α(j,l)e(j,l)+α(i,k)e(i,k)+α(k,l)e(k,l)\alpha = \alpha(i,j) e(i,j) + \alpha(j,l) e(j,l) + \alpha(i,k) e(i,k) + \alpha(k,l) e(k,l)

and we have

Gα=α(j,l)e(i,j,l)+α(k,l)e(i,k,l)=[α(k,l)α(j,l)]e(i,k,l)\begin{aligned} G\alpha &= \alpha(j,l) e(i,j,l) + \alpha(k,l) e(i,k,l) \\ &= \left[\alpha(k,l) - \alpha(j,l)\right] e(i,k,l) \end{aligned}

since e(i,j,l)=e(i,k,l)e(i,j,l) = -e(i,k,l).

SImilarly,

αG=α(i,j)e(i,j,l)+α(i,k)e(i,k,l)=[α(i,k)α(i,j)]e(i,k,l).\begin{aligned} \alpha G &= \alpha(i,j) e(i,j,l) + \alpha(i,k) e(i,k,l) \\ &= \left[\alpha(i,k) - \alpha(i,j)\right] e(i,k,l). \end{aligned}

Bringing it together, we have

dα=Gα+αG=[α(i,k)+α(k,l)α(j,l)α(i,j)]e(i,k,l)\begin{aligned} d\alpha &= G\alpha + \alpha G \\ &= \left[\alpha(i,k) + \alpha(k,l) - \alpha(j,l) - \alpha(i,j)\right] e(i,k,l) \end{aligned}

which is what you get by performing a line integral around the diamond following the closed path

iklji.i\to k\to l\to j\to i.

This is the discrete "curl".

Finally, we can write a general discrete 0-form on this 2-diamond as

f=f(i)e(i)+f(j)e(j)+f(k)e(k)+f(l)e(l)f = f(i) e(i) + f(j) e(j) + f(k) e(k) + f(l) e(l)

with

df=[f(j)f(i)]e(i,j)+[f(l)f(j)]e(j,l)+[f(k)f(i)]e(i,k)+[f(l)f(k)]e(k,l)df = \left[f(j) - f(i) \right] e(i,j) + \left[f(l) - f(j) \right] e(j,l) + \left[f(k) - f(i) \right] e(i,k) + \left[f(l) - f(k) \right] e(k,l)

and it is straightforward to show that

d2f=0d^2 f = 0

i.e. the "curl of a gradient is always zero".

view this post on Zulip Eric Forgy (Nov 16 2023 at 20:44):

Another thing...

Recall that we enforce G2=0G^2 = 0 which imposes relationships among "paths". We can see this on this simple 2-diamond by explicitly writing

G=e(i,j)+e(j,l)+e(i,k)+e(k,l)G = e(i,j) + e(j,l) + e(i,k) + e(k,l)

so that

G2=e(i,j,l)+e(i,k,l)=0    e(i,j,l)=e(i,k,l).G^2 = e(i,j,l) + e(i,k,l) = 0 \implies e(i,j,l) = -e(i,k,l).

view this post on Zulip David Egolf (Nov 17 2023 at 17:46):

Very cool to see the discrete "curl" in your illustration above!

Based on your examples, and from reading the paper mentioned above, I think I now get how the "multiplication" works. I believe we have e(i1,i2,,in)e(j1,j2,,jm)=δ(in,j1)e(i1,i2,,in,j1,j2,jm)e(i_1, i_2, \dots, i_n)e(j_1, j_2, \dots, j_m) = \delta(i_n, j_1)e(i_1, i_2, \dots, i_n, j_1, j_2, \dots j_m). Basically, if the path in our digraph written on the left ends where the path written on the right starts, we get a longer path by doing the first path and then the second path. But if these two paths aren't compatible in this way, then we get zero.

The dd operator is still a little bit scary-looking, but I think we define it using a sort of inductive setup. First we define df=GffGdf = Gf - fG, for any "zero form" ff (a C\mathbb{C}-weighted sum of graph vertices). Then we can repeatedly apply the "Leibniz rule" to figure out what dd of higher order forms is.

I can now start to appreciate the stuff you're saying about the simpler form for dd, and how this relates to constraints on GG. And I guess that the constraint G2=0G^2=0 then indicates certain constraints on the graph structure. (Presumably this is where the diamond graphs come from? That is, they are the ones on which G2=0G^2=0?)

view this post on Zulip David Egolf (Nov 17 2023 at 17:54):

To elaborate slightly on the last point, we are given the below expressions for dd of certain 1-forms and 2-forms here:
d of certain forms

We notice that the middle terms have ρ2\rho^2 in them. I believe that ρ\rho is the notation this paper uses for what we are calling GG. So, if G2=0G^2=0, all those middle terms go away.

view this post on Zulip Eric Forgy (Nov 17 2023 at 18:58):

Very cool that you looked up some of the earlier work by D&MH. They are awesome :raised_hands:

The best place to start from zero with this stuff is an article by Mueller-Hoissen that is no longer online at the original site, but thankfully, I preserved a copy on the nLab:

One way to get comfortable conceptually with dd is to think about its dual \partial, i.e. the boundary operator.

If you think of s(i,j,k)s(i,j,k) as an oriented triangle (2-simplex) with

s(i,j,k)=s(j,k,i)=s(k,i,j)=s(i,k,j)=s(j,i,k)=s(k,j,i)s(i,j,k) = s(j,k,i) = s(k,i,j) = -s(i,k,j) = -s(j,i,k) = - s(k,j,i)

and s(i,j)s(i,j) as a directed edge (1-simplex) with

s(i,j)=s(j,i)s(i,j) = -s(j,i)

the boundary is given by

s(i,j,k)=s(j,k)s(i,k)+s(i,j).\partial s(i,j,k) = s(j,k) - s(i,k) + s(i,j).

Note how this is an alternating sum of edges obtained by removing an index from the original simplex with the sign determined by the position of the index being removed.

For a general pp-simple s(i0,,ip)s(i_0,\cdots, i_p), you have

s(i0,,ip)=r=0p(1)rs(i0,,ir^,,ip)\partial s(i_0,\cdots,i_p) = \sum_{r=0}^p (-1)^r s(i_0, \cdots , \hat{i_r} , \cdots , i_p)

where ir^\hat{i_r} means "remove the rthr^{th} index".

dd is doing the dual thing. It is inserting indices in an alternating sum

ds(i0,,ip)=ir=0p[s(ir,i0,,ip)s(i0,ir,i1,,ip)+(1)ps(i0,,ip,ir)].d s(i_0, \cdots, i_p) = \sum_{i_r = 0}^p \left[ s(i_r, i_0, \cdots, i_p) - s(i_0, i_r, i_1, \cdots, i_p) + \cdots - (-1)^p s(i_0, \cdots, i_p, i_r) \right].

Now, the "boundary of a boundary is zero" is one of the most beautiful and profound pieces of mathematics with implications throughout physics. For example, in electromagnetic theory, "boundary of a boundary is zero" leads to charge conservation. Examples are limitless :blush:

Even more profound, imo, is the "coboundary of a coboundary is zero", i.e. d2=0d^2 = 0, but they are mostly just an expression of the same thing (with the word "same" being loaded especially on this chat :blush: ).

(Continued...)

view this post on Zulip Eric Forgy (Nov 17 2023 at 19:06):

Now... I spent a LONG time in grad school trying to get all this to work on simplices in a practical setting, and by "practical", I mean I can write code and generate numerical results of interest to engineers. My PhD was in computational electromagnetics after all :sweat_smile:

I got fairly far on my own, but it turns out simplices were not the right structure. I was missing diamonds :sweat_smile: I got far enough to convince Urs that this was worth looking into, he got excited for a few weeks and discovered that diamonds were somehow "special" in this formulation and I've been trying to catch up since then. He got more done in a couple weeks than I did in my entire PhD program :sweat_smile:

I've been trying to both explain and extend this for the past 20 years (on and off when I can spare some time from the day job, family, etc.).

I've generated enough numerical results based on this that I think I've proven its usefulness, but I hate publishing so all my results are scattered across blog posts and discussion forums :sweat_smile:

view this post on Zulip Eric Forgy (Nov 17 2023 at 19:14):

mexico.pdf
Let me upload a copy of this beautiful paper here too to reduce the chance it gets lost.

view this post on Zulip Eric Forgy (Nov 17 2023 at 19:17):

Eric Forgy said:

mexico.pdf
Let me upload a copy of this beautiful paper here too to reduce the chance it gets lost.

Looking at this again, I notice (and love), how MH ended his proofs with a heart symbol " :hearts:" :blush:

view this post on Zulip David Egolf (Nov 17 2023 at 19:20):

Thanks again for your long and interesting response!

I'm planning to take a break from this over the weekend, but hopefully I can come back to it and give your response a proper thoughtful read at that time.

I appreciate the link to the article. By looking at papers that cite this paper, I also found a couple other interesting resources. I first found this paper, which pointed me to this and this. I'm not sure how strongly related these are the topic of this thread, but I always am pleased to learn about the existence of an area of mathematics I was unaware of!

view this post on Zulip Eric Forgy (Nov 17 2023 at 19:25):

Yes. I have collected all of their papers and probably most references over the years. Of them all, I still recommend starting with the Mexico paper by Meuller-Hoissen. It is simple and pure. Like any research effort spanning several years (decades!), their papers evolved and are not entirely consistent (especially notations), but the ideas are beautiful throughout.

view this post on Zulip David Egolf (Nov 17 2023 at 19:32):

By the way, I'm starting to get ideas about how to describe some parts of this setup using some concepts from category theory :upside_down:. I'm not sure how useful this would be, but it's kind of fun to think about!

One thing that catches my attention about this setup is that we have things (e.g. vertices, arrows, sequences of arrows) that have certain positions (a starting vertex and an ending vertex - at least for sequences of arrows) and that we have a couple ways to "combine" these things:

  1. When one path (a sequence of arrows) "flows into" another path (so the end of one is the start of the other), we can compose them to get a longer path. For example, we can compute e(i,j)e(j,k)=e(i,j,k)e(i,j)e(j,k) = e(i,j,k).
  2. We can write sums of these things even if they don't connect nicely. For example, we have the term e(i,j)+e(k,l)e(i,j) + e(k,l) even if jkj \neq k.

So we have two ways of combining the arrows (at least) of our digraph.

Recently, I've been recently learning a little bit about monoidal categories. In monoidal categories, we have two ways to combine morphisms: intuitively in series and in parallel. So I start wondering if maybe there is a monoidal category lurking here, where the the arrows of our digraph (or perhaps sequences of composable arrows in our digraph) are the morphisms!

view this post on Zulip JR (Nov 17 2023 at 20:25):

https://en.wikipedia.org/wiki/Monoidal_category#Free_strict_monoidal_category

view this post on Zulip Eric Forgy (Nov 17 2023 at 20:28):

With your help, David, and with JR watching over us, I feel some real hope that we can crack this :blush:

view this post on Zulip Jean-Baptiste Vienney (Nov 17 2023 at 20:58):

How I would put order into this is by saying that:

view this post on Zulip Jean-Baptiste Vienney (Nov 17 2023 at 20:58):

view this post on Zulip Jean-Baptiste Vienney (Nov 17 2023 at 21:00):

view this post on Zulip Jean-Baptiste Vienney (Nov 17 2023 at 21:01):

view this post on Zulip Jean-Baptiste Vienney (Nov 17 2023 at 21:04):

view this post on Zulip Eric Forgy (Nov 17 2023 at 22:30):

Hi Jean-Baptiste. I appreciate your thoughts :pray: I wish it was that easy though :sweat_smile:

What you outline looks similar to the road Scott Wilson (student of Dennis Sullivan) took.

There is something of a "no-go" theorem that says, roughly speaking (the only way I know how), that you cannot construct a differential graded algebra on a finite space like this that is both (skew)commutative and associative. By anti-symmetrizing the product like that, you are sacrificing associativity, which imo is a bigger sin than giving up skew commutativity.

In our case, the noncommutativity is not a bug. It is an important feature.

view this post on Zulip Eric Forgy (Nov 17 2023 at 22:37):

For reference:

view this post on Zulip JR (Nov 18 2023 at 14:58):

Jean-Baptiste Vienney said:

Pretty sure this is related to path cohomology (aka GLMY cohomology).

view this post on Zulip JR (Nov 18 2023 at 15:09):

Dimakis and Mueller-Hoissen invented it though.

view this post on Zulip Patrick Nicodemus (Nov 18 2023 at 15:15):

Eric Forgy said:

Thanks you, everyone :pray:

Let's give the kind of directed graph I am interested in, i.e. those with no intermediate edges and no opposites, a name:

Definition: A diamond graph (not to be confused with this) is a directed graph with:

Eric this seems like an interesting notion. Have you figured out what kind of posets you can capture this way? For example you cannot capture the poset of real numbers or another poset which is "dense". If we can capture a poset in this way we can capture one of its sub posets I think, so analogously to "forbidden graphs" in graph theory there are forbidden subposets that can block the whole poset from being a graph. An example of a forbidden poset is the ordinal ω+1\omega+1 or the opposite of ω+1\omega+1.
Are these examples sufficient, i.e. is every poset either a diamond graph or contains an embedded copy of ω+1\omega+1 or its opposite?

It should be able to capture every finite poset.

view this post on Zulip Patrick Nicodemus (Nov 18 2023 at 15:29):

If we can capture a poset in this way we can capture any of its sub posets I think
Actually now that I think about this it's less obvious. It seems like it should be true but the proof probably requires some care.

view this post on Zulip Patrick Nicodemus (Nov 18 2023 at 15:29):

Is a diamond graph structure on a given poset unique?

view this post on Zulip Jean-Baptiste Vienney (Nov 18 2023 at 17:09):

You said that this kind of discrete differential calculus has applications in finance. Could you give some pointers to that?

view this post on Zulip Eric Forgy (Nov 18 2023 at 18:20):

Patrick Nicodemus said:

Eric this seems like an interesting notion. Have you figured out what kind of posets you can capture this way?

Hi Patrick. Thank you for your interest :pray:

No. I haven't really looked into questions like that. I am like a gunslinging cowboy when it comes to this stuff :sweat_smile: I tend to put my head down and just calculate stuff, or more precisely, build models that that allow the calcultion of stuff.

Taking a cue from causal set theory though, I would imagine what I'm working on applies to locally finite posets.

For example you cannot capture the poset of real numbers or another poset which is "dense".

Right. Real numbers are not locally finite.

If we can capture a poset in this way we can capture one of its sub posets I think, so analogously to "forbidden graphs" in graph theory there are forbidden subposets that can block the whole poset from being a graph. An example of a forbidden poset is the ordinal ω+1\omega+1 or the opposite of ω+1\omega+1.

I have no idea about ordinals or forbidden graphs :sweat_smile:

Are these examples sufficient, i.e. is every poset either a diamond graph or contains an embedded copy of ω+1\omega+1 or its opposite?

No idea, but this sounds very cool and exactly why I am rambling about this stuff here, so that people like you might see something worthwhile. This definitely sounds worthwhile to look into :pray:

It should be able to capture every finite poset.

This would be super cool because this would capture the set (collection?) of viable discrete spacetimes. It would be important in my work as well as that of people working in causal set theory.

Is a diamond graph structure on a given poset unique?

If you are given a locally finite poset, as I've learned from JR, it's transitive reduction is a diamond graph (or Hasse diagram) and I'm pretty sure it is unique.

Having said that, I think these diamond graphs are more fundamental than posets because you need the diamond structure to build discrete differential geometry. The diamond also generates the poset. More people think about posets than diamonds, though :sweat_smile:

view this post on Zulip Patrick Nicodemus (Nov 18 2023 at 18:37):

@Eric Forgy By ω\omega I just mean the natural numbers N\mathbb{N} together with their standard ordering. So ω=(N,<N)\omega =(\mathbb{N}, <_{\mathbb{N}}). By ω+1\omega+1, I mean the standard natural numbers N\mathbb{N} together with a special additional element, say \infty, such that n<n<\infty for each natural number nn.
So, this poset cannot be regarded as a "diamond graph". I am conjecturing that every poset is either a diamond graph or contains an embedding of this poset (or its opposite)

view this post on Zulip Patrick Nicodemus (Nov 18 2023 at 18:40):

I will point out that there are examples of posets which are not locally finite but are diamond graphs. For example, let II be an infinite set, and have an extra element \top which is greater than everything in II, and \bot which is less than everything in II, but every two elements of II are incomparable.
This is not locally finite because [,][\bot,\top] is infinite.
But it should be expressible as a diamond graph if I understand correctly.

view this post on Zulip Eric Forgy (Nov 18 2023 at 19:23):

Jean-Baptiste Vienney said:

You said that this kind of discrete differential calculus has applications in finance. Could you give some pointers to that?

Oh! Be caareful what you ask for :cowboy:

The first article I wrote on the subject can be found here:

I am pretty sure I can claim to be the first one to ever apply noncommutative geometry to finance :blush:

There is a section (2.9) on discrete stochastic calculus in my paper with Urs:

Shortly after that, I (self) published the first paper applying discrete (noncommutative) stochastic calculus to a practical problem in mathematical finance, i.e. pricing a derivative using a "discrete" Black-Scholes formulation:

Shortly after that, my CV ran across the desk of an actual mathematician (studied under Ross Street) working at a large (largest) asset manager who had read my papers. 21 interviews (with the same asset manager) later, I disappeared into the corporate world of finance and asset management, had kids, and life took over. I still tried to keep one foot in the research to keep my sanity though.

A couple years later, the global financial crisis hit and that made life "interesting". I was just getting my sea legs so started my blog to have a place to vent.

From there, I started writing a bit about discrete differential geometry in the hopes of cleaning it up and turning it all into a book someday. Here is a collection of articles:

In a nutshell, a binary tree is a particularly simple kind of 2-diamond. If you assign discrete coordinate 0-forms xx and tt to the binary tree with spacing Δx\Delta x and Δt\Delta t, you can work out the commutative relations (see, e.g. this):

[dx,x]=(Δx)2Δtdt[dt,t]=Δtdt[dx,t]=[dt,x]=Δxdx\begin{aligned} [dx,x] &= \frac{(\Delta x)^2}{\Delta t} dt \\ [dt,t] &= \Delta t dt \\ [dx,t] &= [dt,x] = \Delta x dx \end{aligned}

The main observation is that there are two distinct continuum limits you can consider here. For one, you can consider

Δx=cΔt,Δt0\Delta x = c \Delta t, \Delta t \to 0

for some constant cc. In this case, all the commutative relations vanish and you end up with the standard exterior calculus (in the limit). Because this limit results in the standard exterior calculus, I refer to the discrete case (with finite Δt\Delta t) as "discrete exterior calculus".

The cool thing about this from a practical scientific computing perspective is that any model that involves exterior calculus can be robustly "discreteized" merely by reinterpreting the continuum forms as discrete forms and any model that converges with continuum forms is guaranteed to converge when using discrete forms because the mathematical framework itself converges. I call this a "meta algorithm". It is an algorithm for generating algorithms and takes all the typical choices that plague traditional numerical analysis away from you.

The more fun, in my opinion, continuum limit is

Δt=(Δx)2,Δx0.\Delta t = (\Delta x)^2, \Delta x \to 0.

In this case, one of the commutative relations survives even in the continuum, i.e.

[dx,x]=dt[dx,x] = dt

There is a funny story here about how Urs and I independently came up with this, but Dimakis and Mueller-Hoissen beat us both to it long before. As far as I know, D&MH were the first to recognize you can derive stochastic calculus from noncommutativity with no measure theory in sight! :exploding_head:

Similar to exterior calculus, since we can obtain stochastic calculus from the continuum limit, I refer to the discrete case (with finite Δt\Delta t) as "discrete stochastic calculus".

Any stochastic PDE that converges in the continuum can be cast as a discrete stochastic equation and it automatically contructs a converging numerical algorthm for you free of choices. It is a meta algorithm.

I tried to shy away from using too much heavy math jargon, but these concepts also permeate the practical work I am currently doing:

I refer to "Node Functions" and "Edge Functions", which are really just discrete 0-forms and discrete 1-forms.

view this post on Zulip Jean-Baptiste Vienney (Nov 18 2023 at 19:46):

Thank you very much ahah.

view this post on Zulip Eric Forgy (Nov 18 2023 at 20:03):

Warning: Highly speculative thoughts ahead...

What I am going to say here ranks me pretty high on John's infamous crackpot index :sweat_smile:

What if, somehow, discrete exterior calculus and discrete stochastic calculus, were important? What if they did describe something about the foundations of the universe? If they did, we can't have two different continuum limits. What if these two calculi were related somehow?

The two calculi would correspond, i.e. be the same, if the following two formulas were consistent:

σ=(Δx)2Δt\sigma = \frac{(\Delta x)^2}{\Delta t}

and

c=ΔxΔt.c = \frac{\Delta x}{\Delta t}.

Combining them, we have

σ=c2Δt=cΔx.\sigma = c^2\Delta t = c \Delta x.

This would imply some kind of "Planck diffusion" :sweat_smile:

If you have a few drinks (or maybe smoke a special herb), it is fun to think about this.

view this post on Zulip David Egolf (Nov 20 2023 at 17:36):

Ah, I think I understand your analogy between then boundary operator and the dd in our case (which is more like a "coboundary" operator). That's pretty cool! I find it interesting that our dd takes us "up a dimension" (e.g. from vertices to arrows), while the boundary operator takes us "down a dimension" (e.g. from arrows to vertices).

Do you happen to know if we can define a "boundary" operator for paths in our digraphs of interest? As a first try, I wonder if we could modify the formula you gave above (which was for simplices):
e(i0,,ip)=r=0p(1)r(e(i0,,ir1)+e(ir+1,,ip))\partial e(i_0,\dots,i_p) = \sum_{r=0}^p (-1)^r \left( e(i_0, \dots,i_{r-1}) + e(i_{r+1}, \dots, i_p) \right) where the rthr_{th} term in the sum on the right side omits the rthr_{th} vertex in our original path. So we get a sum where we have a pair of paths in each term.

If we can do this, it might be fun to see what the boundary of the coboundary is.

view this post on Zulip David Egolf (Nov 20 2023 at 17:41):

On a different topic, I'm still trying to understand what it means to have G2=0G^2=0 for a digraph. Consider the digraph D=123D=1 \to 2 \to 3. I think this is a diamond graph, but when I compute G2G^2 I don't get zero!

To illustrate, we first recall that G=(i,j)De(i,j)G = \sum_{(i,j) \in D} e(i,j). In this case, G=e(1,2)+e(2,3)G=e(1,2) + e(2,3). Now we can compute G2G^2. We get: (e(1,2)+e(2,3))(e(1,2)+e(2,3))=e(1,2,3)(e(1,2) + e(2,3))(e(1,2) + e(2,3)) = e(1,2,3).

So, if G2=0G^2=0, we need that e(1,2,3)=0e(1,2,3)=0! So I start to think that it takes a bit more data than our digraph DD to really get something where G2=0G^2=0: we also need to say something about how e(1,2,3)=0e(1,2,3)=0, I think.

view this post on Zulip JR (Nov 20 2023 at 18:00):

David Egolf said:

Ah, I think I understand your analogy between then boundary operator and the dd in our case (which is more like a "coboundary" operator). That's pretty cool! I find it interesting that our dd takes us "up a dimension" (e.g. from vertices to arrows), while the boundary operator takes us "down a dimension" (e.g. from arrows to vertices).

Do you happen to know if we can define a "boundary" operator for paths in our digraphs of interest? As a first try, I wonder if we could modify the formula you gave above (which was for simplices):
e(i0,,ip)=r=0p(1)r(e(i0,,ir1)+e(ir+1,,ip))\partial e(i_0,\dots,i_p) = \sum_{r=0}^p (-1)^r \left( e(i_0, \dots,i_{r-1}) + e(i_{r+1}, \dots, i_p) \right) where the rthr_{th} term in the sum on the right side omits the rthr_{th} vertex in our original path. So we get a sum where we have a pair of paths in each term.

If we can do this, it might be fun to see what the boundary of the coboundary is.

If you use e(i0,,ir1,ir+1,,ip)e(i_0, \dots,i_{r-1}, i_{r+1}, \dots, i_p) instead of e(i0,,ir1)+e(ir+1,,ip)e(i_0, \dots,i_{r-1}) + e(i_{r+1}, \dots, i_p) you get path (aka GLMY) homology.

view this post on Zulip JR (Nov 20 2023 at 18:05):

Actually, I should mention that you get path/GLMY homology if you take a suitable restriction of this map. You need to restrict to images that actually correspond to paths in the digraph.

view this post on Zulip Jason Erbele (Nov 21 2023 at 00:50):

David Egolf said:

On a different topic, I'm still trying to understand what it means to have G2=0G^2=0 for a digraph. Consider the digraph D=123D=1 \to 2 \to 3. I think this is a diamond graph, but when I compute G2G^2 I don't get zero!

To illustrate, we first recall that G=(i,j)De(i,j)G = \sum_{(i,j) \in D} e(i,j). In this case, G=e(1,2)+e(2,3)G=e(1,2) + e(2,3). Now we can compute G2G^2. We get: (e(1,2)+e(2,3))(e(1,2)+e(2,3))=e(1,2,3)(e(1,2) + e(2,3))(e(1,2) + e(2,3)) = e(1,2,3).

So, if G2=0G^2=0, we need that e(1,2,3)=0e(1,2,3)=0! So I start to think that it takes a bit more data than our digraph DD to really get something where G2=0G^2=0: we also need to say something about how e(1,2,3)=0e(1,2,3)=0, I think.

This is a directed graph with no intermediate edges, no opposite edges, and no self-loops, so it satisfies the definition of a diamond graph Eric Forgy gave here. So I think we are confused together.

As an aside, @Eric Forgy, you mentioned binary trees earlier. When I looked at your link, I encountered something very different from what I thought binary trees were.....

view this post on Zulip Jason Erbele (Nov 21 2023 at 01:02):

I haven't dealt too much with binary trees, specifically, but my understanding in the undirected graph case is that they are trees (undirected connected graphs with no cycles) that have vertices with only one incident edge (leaves) and "internal" vertices that have exactly three incident edges, and one of the leaves can be declared to be the root.

I have not dealt at all with directed binary trees, so my naive assumption was that you would have the shape of an undirected binary tree, but all the arrows would either point toward or away from the root. The mismatch between this and what you are calling binary trees could be due to my ignorance, but it certainly surprised me.

view this post on Zulip Eric Forgy (Nov 21 2023 at 01:47):

David Egolf said:

On a different topic, I'm still trying to understand what it means to have G2=0G^2=0 for a digraph. Consider the digraph D=123D=1 \to 2 \to 3. I think this is a diamond graph, but when I compute G2G^2 I don't get zero!

To illustrate, we first recall that G=(i,j)De(i,j)G = \sum_{(i,j) \in D} e(i,j). In this case, G=e(1,2)+e(2,3)G=e(1,2) + e(2,3). Now we can compute G2G^2. We get: (e(1,2)+e(2,3))(e(1,2)+e(2,3))=e(1,2,3)(e(1,2) + e(2,3))(e(1,2) + e(2,3)) = e(1,2,3).

So, if G2=0G^2=0, we need that e(1,2,3)=0e(1,2,3)=0! So I start to think that it takes a bit more data than our digraph DD to really get something where G2=0G^2=0: we also need to say something about how e(1,2,3)=0e(1,2,3)=0, I think.

I said enforcing G2=0G^2 = 0 imposes constraints. In this case, you have discovered that the graph

1231\to 2\to 3

is one dimensional, i.e. has no 2-diamonds :blush:

view this post on Zulip Eric Forgy (Nov 21 2023 at 01:57):

To add a bit more, the only possible 2-cell (or 2-path) that would make sense on 1231\to 2\to 3 is e(1,2,3)e(1,2,3), but G2=0G^2=0 says that e(1,2,3)=0e(1,2,3)=0 so there are no 2-diamonds and the graph is 1-dimensional.

Imposing G2=0G^2 = 0 gives rise to dimensionality.

Think about a 2-dimensional checkerboard with all edges directed in such a way to imply a flow across the diagonal.

If you compute G2G^2 on this directed graph and force it to be zero, you find that there are no 3-diamonds, but there are nonzero 2-diamonds, so this graph is 2-dimensional.

Recall what I said here.

view this post on Zulip Eric Forgy (Nov 21 2023 at 02:02):

Jason Erbele said:

As an aside, Eric Forgy, you mentioned binary trees earlier. When I looked at your link, I encountered something very different from what I thought binary trees were.....

You are right. I was being sloppy. I should have said "binomial tree". Sorry about that :sweat_smile:

view this post on Zulip David Egolf (Nov 21 2023 at 02:14):

I think I understand how setting G2=0G^2=0 imposes certain equations between paths in a digraph DD. (And that's pretty cool! The idea that there is a connection to dimension is intriguing...)

I'm currently wondering why we require our digraphs to be diamond graphs, if we need to add in more restrictions later to ensure G2=0G^2=0 anyways. I thought the constraints of "no intermediate edges, no opposite edges, and no self-loops" were primarily to ensure that G2=0G^2=0. But now I see that even with those constraints being met, we still need to impose additional equations to ensure G2=0G^2=0. So I'm guessing that the reason for these constraints ("no intermediate edges, no opposite edges, and no self-loops") is perhaps a bit more subtle, or maybe for a slightly different reason(?).

view this post on Zulip Eric Forgy (Nov 21 2023 at 02:18):

It might be worth being super explicit here. Let's go back to the directed graph:

i ----->----- j
|             |
v             v
|             |
k ----->----- l

You can verify that we have

G2=e(i,k,l)+e(i,j,l)G^2 = e(i,k,l) + e(i,j,l)

and forcing this to be zero implies that

e(i,k,l)=e(i,j,l)e(i,k,l) = -e(i,j,l)

but what does that mean???

This means e(i,k,l)e(i,k,l) and e(i,j,l)e(i,j,l) are not really paths anymore. They are equivalence classes of paths that can be interpretted as an oriented 2-dimensional surface, i.e. a 2-diamond :blush:

We are constructing higher-dimensional spaces from 1-dimensional directed graphs by imposing G2=0G^2 = 0.

view this post on Zulip Eric Forgy (Nov 21 2023 at 02:21):

So I'm guessing that the reason for these constraints ("no intermediate edges, no opposite edges, and no self-loops") is perhaps a bit more subtle, or maybe for a slightly different reason(?).

TL;DR: This is required in order to construct discrete spacetimes from directed graphs that support a discrete form of differential geometry :blush:

view this post on Zulip David Egolf (Nov 21 2023 at 02:24):

Heh, when I see that drawing, I helplessly start thinking about "the right hand rule". When I "curl the fingers of my right hand along the path e(i,k,l)e(i,k,l)", my thumb points out of the screen. When I "curl the fingers of my right hand along the path e(i,j,l)e(i,j,l)", my thumb points toward the screen. So if we think as the "thumb directions" as specifying vectors normal to the screen, the vector induced by e(i,k,l)e(i,k,l) is the negative of the one induced by e(i,j,l)e(i,j,l).

view this post on Zulip Eric Forgy (Nov 21 2023 at 02:25):

Your intuition is serving you well. That is exactly what you should be thinking of and gets back to that "curl" calculation we did earlier :blush:

view this post on Zulip David Egolf (Nov 21 2023 at 02:34):

This is rather vague, but I'm reflecting on the following:

To recap all this:

view this post on Zulip Eric Forgy (Nov 21 2023 at 02:35):

Tantalizing isn't it? Makes you think of n-categories :cowboy:

view this post on Zulip David Egolf (Nov 21 2023 at 02:43):

This starts to remind me of the concepts of "simplicial set" and "globular set".

A simplicial set is a functor from Δop\Delta^{op} to Set\mathsf{Set}, where Δ\Delta is the simplex category. A functor F:ΔopSetF: \Delta^{op} \to \mathsf{Set} associates some additional data (a set) to each kind of object in Δ\Delta.

A globular set is a functor from Gop\mathbb{G}^{op} to Set\mathsf{Set}, where G\mathbb{G} is the globe category.

Both the simplex category and the globe category consist of a bunch of objects (which I think we can think of as being of "increasingly higher dimension") and some morphisms that describe how objects of different dimension relate to one other. At least in the case of the globe category we also add in some equations that describe how these morphisms have to relate to one another.

I wonder if there is some category CC so that every functor F:CSetF: C \to \mathsf{Set} (or possibly to another, more "geometric" category) can provide one of the structures that you are interested in.

view this post on Zulip Eric Forgy (Nov 21 2023 at 02:49):

I can't resist saying one more thing about our friend the 2-diamond.

i ----->----- j
|             |
v             v
|             |
k ----->----- l

There is one nonzero 2-diamond that can be written as either e(i,k,l)e(i,k,l) or e(i,j,l)-e(i,j,l) since both represent the same 2-diamond. So the space of discrete 2-forms is one dimensional, i.e.

β=β(i,k,l)e(i,k,l).\beta = \beta(i,k,l) e(i,k,l).

There is a special discrete 2-form called the "volume form"

vol=vol(i,k,l)e(i,k,l).vol = vol(i,k,l) e(i,k,l).

Consider the discrete 1-form

e(i,k)=vol(i,k,l)e(k,l).\star e(i,k) = vol(i,k,l) e(k,l).

If we multiply e(i,k)e(i,k) and e(i,k)\star e(i,k) we get

e(i,k)e(i,k)=vol(i,k,l)e(i,k,l)=vol.\begin{aligned} e(i,k)\star e(i,k) &= vol(i,k,l) e(i,k,l) \\ &= vol. \end{aligned}

view this post on Zulip Eric Forgy (Nov 21 2023 at 02:49):

If you take a discrete pp-form α\alpha and multiply it by a discrete (np)(n-p)-form β\beta and it results in the volume form (in nn dimensions), then we can write

β=α\beta = \star \alpha

and α\star\alpha is the dual of α\alpha and \star is referred to as the "discrete Hodge star".

view this post on Zulip Eric Forgy (Nov 21 2023 at 02:51):

The discrete Hodge star was the elusive holy grail I spent 6 years of grad school looking for and Urs found it in a couple of exciting weeks :blush:

view this post on Zulip David Egolf (Nov 21 2023 at 03:23):

Very cool! (Although I think I don't know enough about to the usual Hodge star operator to really appreciate what you just shared).

I'm still working on learning more about things in this direction. My current approach is to do some reading in "Smooth Manifolds and Observables". (I'm not sure how far I'll get, but it's a fun read so far!) So I may or may not learn cool things from that book which would be relevant to the discussion here :upside_down:.

view this post on Zulip Eric Forgy (Nov 21 2023 at 04:01):

The funny thing, to me anyway, is that you don't need all that fancy higher math to understand what I'm doing. This could potentially become the way to teach these concepts :blush:

view this post on Zulip Jason Erbele (Nov 21 2023 at 06:11):

If you lengthen each path in our favorite 2-diamond by one (ijkni \to j \to k \to n one the one hand and ilmni \to l \to m \to n on the other hand), the condition G2=0G^2 = 0 seems to indicate all four of the two-edge paths equal zero: e(i,j,k)=e(j,k,n)=e(i,l,m)=e(l,m,n)=0e(i,j,k) = e(j,k,n) = e(i,l,m) = e(l,m,n) = 0. Does that mean this hexagon is merely 1-dimensional, as far as diamond graphs are concerned?

view this post on Zulip Eric Forgy (Nov 21 2023 at 08:33):

Apparently, yes :blush:

If G2=0G^2 = 0, we must also have

e(p)G2e(r)=qe(p,q,r)=0e(p) G^2 e(r) = \sum_{q} e(p,q,r) = 0

so the sum of all 2-paths that begin and end at the same vertex must be zero. In the hexagon, there is only one 2-path connecting any two points, so that one 2-path must be zero meaning all 2-paths are zero so the hexagon is one-dimensional.

view this post on Zulip Eric Forgy (Nov 21 2023 at 08:50):

The smallest 2-diamond is the one we've already drawn with two 2-paths conecting ii and ll.

A cube with directed edges from one corner to the oppposite corner across the major diagonal is an example of a non-vanishing 3-diamond, but there is a smaller one than that.

Challenge: Can you find it? What does it look like? :blush:

Note: A 3-diamond is bounded by 2-diamonds.

view this post on Zulip Jason Erbele (Nov 21 2023 at 10:02):

I suppose the directed hypercubes would give a family of non-vanishing n-diamonds, where the diamond dimension matches the usual dimension. As for your challenge, I think I found two examples that are both smaller than a directed cube (in both edge count and vertex count) – I'm not confident I completely understand the diamond dimension, so either of my examples might be off by one dimension, though I doubt both would be. I will give David a chance to play with the puzzle before I show my hand.

view this post on Zulip David Egolf (Nov 21 2023 at 17:48):

Eric Forgy said:

The smallest 2-diamond is the one we've already drawn with two 2-paths conecting ii and ll.

A cube with directed edges from one corner to the oppposite corner across the major diagonal is an example of a non-vanishing 3-diamond, but there is a smaller one than that.

Challenge: Can you find it? What does it look like? :blush:

Note: A 3-diamond is bounded by 2-diamonds.

(Thanks for giving me a chance to try out the puzzle, Jason!)

If we have a nonzero 2-diamond, I think we have a digraph where G2=0G^2=0 means that we have equations relating different paths of length 2 (those having two arrows).

So, by a nonzero 3-diamond, I believe we mean a digraph where G2=0G^2=0 means that we have equations relating different paths of length 3.

view this post on Zulip David Egolf (Nov 21 2023 at 17:48):

To get such equations, let's look at the consequences of G2=0G^2=0. If this is true, then in particular e(i,j)G2=0e(i,j)G^2=0 for every arrow e(i,j)e(i,j) in our digraph. I think G2G^2 is the sum of all the length 2 paths in our digraph. So then e(i,j)G2=0e(i,j)G^2=0 is the sum of all length 3 paths having as their first arrow e(i,j)e(i,j).

To get multiple terms in this sum, we construct a digraph where there are multiple length 3 paths starting with e(i,j)e(i,j). For example, this one has multiple length 3 paths starting with e(1,2)e(1,2):
digraph

Let's compute G2G^2 for this graph. First, G=e(1,2)+e(2,3)+e(3,4)+e(3,4)G = e(1,2) + e(2,3) + e(3,4) + e(3,4'). Then G2=e(1,2,3)+e(2,3,4)+e(2,3,4)G^2=e(1,2,3) + e(2,3,4) + e(2,3,4'). And e(1,2)G2=e(1,2,3,4)+e(1,2,3,4)e(1,2)G^2 = e(1,2,3,4) + e(1,2,3,4'). Since G2=0G^2=0, e(1,2)G2=0e(1,2)G^2=0 too, and so e(1,2,3,4)=e(1,2,3,4)e(1,2,3,4)=-e(1,2,3,4'). So we do indeed get an equation relating paths of length 3.

I think this graph is an example of a nonzero 3-diamond, assuming I understand what we mean by a nonzero 3-diamond.

view this post on Zulip David Egolf (Nov 21 2023 at 17:55):

I'm probably not understanding something, because it seems like you could use a similar line of argument to construct a smaller nonzero 2-diamond than the one given above as the smallest one!

view this post on Zulip Eric Forgy (Nov 21 2023 at 20:49):

Hmm... recall what I said here.

The sum of all paths of length 2 connecting any two vertices is zero. In your example, there is at most 1 path of length 2 connecting any two verticies, so those must all be zero. Consequently, your example is one-dimensional and is not a 2-diamond :sweat_smile:

view this post on Zulip David Egolf (Nov 21 2023 at 21:45):

Thanks for your explanation, Eric! To illustrate in this particular case, since G2=0G^2=0, then e(1)G2e(3)=0e(1)G^2e(3)=0, which means that e(1,2,3)=0e(1,2,3)=0. Similarly, e(2,3,4)=0e(2,3,4)=0 and e(2,3,4)=0e(2,3,4')=0. That means that e(1,2)e(2,3,4)=e(1,2)(0)=0e(1,2)e(2,3,4) = e(1,2)(0) = 0, so e(1,2,3,4)=0e(1,2,3,4) = 0. And similarly e(1,2,3,4)=0e(1,2,3,4') = 0. So my equation above e(1,2,3,4)+e(1,2,3,4)=0e(1,2,3,4) + e(1,2,3,4') = 0 is just 0+0=00 + 0 = 0.

view this post on Zulip David Egolf (Nov 21 2023 at 21:51):

So, we are looking specifically for equations that relate non-zero paths of length 3. To get non-zero paths of length 3, we must have non-zero paths of length 2. To get non-zero paths of length 2, we must have multiple paths of length 2 that start and end at the same place (as otherwise G2=0G^2=0 would force each of these these paths to be 0).

Based on this, I will start my construction with two paths of length two that start and end at the same place. Then I'll add on another arrow so that we can get two different paths of length 3 that start and end at the same place:

another digraph

view this post on Zulip David Egolf (Nov 21 2023 at 21:56):

Working out G2G^2:
G=e(1,2)+e(1,2)+e(2,3)+e(2,3)+e(3,4)G=e(1,2) + e(1,2') + e(2,3) + e(2',3) + e(3,4)
G2=e(1,2,3)+e(1,2,3)+e(2,3,4)+e(2,3,4)G^2 = e(1,2,3) + e(1,2',3)+e(2,3,4)+e(2',3,4)
This needs to be zero. We can make it be zero in multiple different ways.

For example, we could set e(1,2,3)=e(1,2,3)e(1,2,3) = -e(1,2',3) and e(2,3,4)=e(2,3,4)e(2,3,4) = -e(2',3,4).
Then if G2e(3,4)=0G^2e(3,4) = 0, that implies e(1,2,3,4)+e(1,2,3,4)=0e(1,2,3,4) + e(1,2',3,4)=0. And I don't think these paths of length three are forced to be zero(?) (I hope at least!). So we have an equation relating nonzero paths of length 3.

It seems a bit weird that there are multiple ways to make G2=0G^2=0. I could have instead required e(1,2,3)=0e(1,2,3) =0 and e(1,2,3)=e(2,3,4)e(2,3,4)e(1,2',3) =-e(2,3,4)-e(2',3,4), for example. At first glance, it seems like G2=0G^2=0 leaves a lot more flexibility in these relationships than I would have expected.

view this post on Zulip Eric Forgy (Nov 21 2023 at 22:05):

In this case, you have a 2-diamond attached to a 1-diamond. That does not make it a 3-diamond :sweat_smile:

I think the rules need tightening up. Privately, Jason shared two potential solutions. One of them was the one I was looking for. The other one satiisfies the rules as given, similar to your latest one here, but is not a 3-diamond :sweat_smile:

An additional rule that would eliminate your valid solution and Jason's valid solution by changing the definition of "valid" is to require that the boundary of an nn-diamond consists of (n1)(n-1)-diamonds.

One way to refine this is to say that if you remove the first or last vertex, you end up with diamonds. In your case, if you remove the first vertex, you do not end up with 2-diamonds, but if you remove the last vertex, you do, so it is not a 2-diamond.

Sorry for changing the rules in the middle of the game :sweat_smile:

view this post on Zulip David Egolf (Nov 21 2023 at 22:06):

I just realized that we need e(2,3,4)=0e(2,3,4)=0 and e(2,3,4)=0e(2',3,4) = 0, as they are the only paths of length 2 between these vertices. That means that e(1,2,3,4)=0=e(1,2,3,4)e(1,2,3,4)=0=e(1,2',3,4).

Back to the drawing board!

view this post on Zulip Eric Forgy (Nov 21 2023 at 22:07):

David Egolf said:

I just realized that we need e(2,3,4)=0e(2,3,4)=0 and e(2,3,4)=0e(2',3,4) = 0, as they are the only paths of length 2 between these vertices. That means that e(1,2,3,4)=0=e(1,2,3,4)e(1,2,3,4)=0=e(1,2',3,4).

Back to the drawing board!

Nice observation! I missed that :blush:

Do note I changed the rules of the game slightly though :blush:

view this post on Zulip David Egolf (Nov 21 2023 at 22:10):

Eric Forgy said:

Do note I changed the rules of the game slightly though :blush:

Alright! I'm going to see if I can solve the original puzzle first, but then I'll absorb the rule change.

view this post on Zulip Eric Forgy (Nov 21 2023 at 22:12):

The simple 2-diamond results in 1-diamonds if you remove any one of the vertices, so maybe we should define it like that. In the examples I know of, I think that is always the case, i.e. removing one vertex from an nn-diamond results in only (n1)(n-1)-diamonds.

view this post on Zulip Eric Forgy (Nov 21 2023 at 22:14):

We know the cube is a valid 3-diamond and removing any vertex from a cube (and all edges connected to it) results in square faces (2-diamonds).

view this post on Zulip David Egolf (Nov 21 2023 at 22:32):

I'm currently wondering if this works:
digraph

view this post on Zulip David Egolf (Nov 21 2023 at 22:32):

Ah, it won't - as e(2,3,4)=0e(2,3,4)=0. The other related thing I was considering was this:
another digraph

I think in this digraph we've got two distinct paths of length 2 from aa to bb, whenever there is a path of length 2 from aa to bb. So that should hopefully stop the paths of length 2 from going to zero!

view this post on Zulip Eric Forgy (Nov 21 2023 at 22:37):

Please consider a narrower challenge wherein nn-diamond consist only of paths of length nn :pray:

That is what I intended from the beginning :pray:

view this post on Zulip David Egolf (Nov 21 2023 at 22:43):

Eric Forgy said:

The simple 2-diamond results in 1-diamonds if you remove any one of the vertices, so maybe we should define it like that. In the examples I know of, I think that is always the case, i.e. removing one vertex from an nn-diamond results in only (n1)(n-1)-diamonds.

Not to get too sidetracked from the (rather fun) puzzle, but this reminds me a lot of how removing a vertex from a simplex gives a simplex of one lower dimension (e.g. removing the apex of a triangular pyramid gives us a triangle).

(Which then reminds me of this: cubical set).

view this post on Zulip David Egolf (Nov 21 2023 at 22:51):

Eric Forgy said:

Please consider a narrower challenge wherein nn-diamond consist only of paths of length nn :pray:

That is what I intended from the beginning :pray:

I think this proposed 3-diamond digraph has only (full-length) paths of length 3, by the way:
digraph

(Unless I'm misunderstanding what you mean by "only paths of length nn").

view this post on Zulip Eric Forgy (Nov 21 2023 at 22:56):

This is what I was looking for! :partying_face:

Sorry. It wasn't obvious to me the way you laid it out. I should have read it more carefully :sweat_smile:

This diamond graph has a nice representation on a 2-sphere. Place the first vertex 11 and last vertex 44 at opposite poles. Then make two transverse slices along the diameter connecting them chopping the sphere into 3 piece. Place the next 2 vertices 22 and 22' on the boundary of the slice closest to the first vertex and arrange them diametrically opposite on the slice boundary. Do the same for the next 2 vertices 33 and 33', but rotate 90 degrees around the axis.

You just tiled a 2-sphere with 2-diamonds! :partying_face:

view this post on Zulip Eric Forgy (Nov 21 2023 at 23:10):

I've been thinking about this stuff off and on for the last 20 years and it wasn't until around this time 2 years ago, I discovered this 3-diamond smaller than a cube here (although my sketch is missing an edge) :blush:

view this post on Zulip Eric Forgy (Nov 22 2023 at 05:46):

Here is something...

In a diamond graph, the 'boundary" of a path of length pp can be written

e(i0,,ip)=e(i1,,ep)+(1)pe(i0,,ip1).\partial e(i_0,\cdots,i_p) = e(i_1,\cdots,e_p) + (-1)^p e(i_0,\cdots,i_{p-1}).

In our paper, we introduce "adjoint paths". An adjoint edge

e(i,j)e^\dagger(i,j)

is like an "anti-matter" version of an edge that when multiplied by a directed paths eats up edges of the path in reverse order, e.g.

e(j,i)e(i,j,k)=e(j,k).e^\dagger(j,i) e(i,j,k) = e(j,k).

With this, we can write

G=(i,j)Ee(i,j)G^\dagger = \sum_{(i,j)\in E} e^\dagger(i,j)

and the boundary can be written as an anti-commutator

α=Gα+(1)ααG={G,α}.\begin{aligned} \partial \alpha &= G^\dagger \alpha + (-1)^{|\alpha|} \alpha G^\dagger \\ &= \{ G^\dagger, \alpha \}. \end{aligned}

From this, we can see

2α={(G)2,α}\partial^2 \alpha = \{\left(G^\dagger\right)^2, \alpha\}

so that if G2=0G^2 = 0, then we also have (G)2=0(G^\dagger)^2 = 0 so that 2=0\partial^2 = 0.

view this post on Zulip Jason Erbele (Nov 22 2023 at 14:26):

David Egolf said:

Not to get too sidetracked from the (rather fun) puzzle, but this reminds me a lot of how removing a vertex from a simplex gives a simplex of one lower dimension (e.g. removing the apex of a triangular pyramid gives us a triangle).

When I sketched out the (correct) solution to this challenge, I noticed it looks an awful lot like a 3D simplex, except instead of triangular faces it has square faces. I can't quite "see" the tiling of the 2-sphere from Eric's description, but I suspect it's the same intuition.

My other (incorrect) solution was what I thought of first: three 2-paths from aa to bb. Then I challenged myself to find something larger than that, but still smaller than a cube. That's when I found the intended solution. At this point I wasn't sure I understood the rules of the game correctly and decided there were three possibilities:

  1. Both my solutions were 3-diamonds
  2. The first one I found was a 2-diamond and the second one was a 3-diamond
  3. The first one I found was a 3-diamond and the second one was a 4-diamond

which explains my comment, "either of my examples might be off by one dimension, though I doubt both will be."

view this post on Zulip Eric Forgy (Nov 22 2023 at 18:34):

Jason Erbele said:

David Egolf said:

Not to get too sidetracked from the (rather fun) puzzle, but this reminds me a lot of how removing a vertex from a simplex gives a simplex of one lower dimension (e.g. removing the apex of a triangular pyramid gives us a triangle).

When I sketched out the (correct) solution to this challenge, I noticed it looks an awful lot like a 3D simplex, except instead of triangular faces it has square faces.

By now, we should surely be calling them 2-diamonds :blush: :large_blue_diamond:

I can't quite "see" the tiling of the 2-sphere from Eric's description, but I suspect it's the same intuition.

This sketch is not great, but using your notation along the top of the sketch for reference, here is the 2-sphere wrapped in 2-diamonds:

image.png

The two "1"s at either end are the antipodes of a 2-sphere. The first "2" marks a traverse slice of the 2-sphere with 2 antipodal points on the boundary of the slice. The second "2" similarly marks the second slice, but the placement of the two vertices are rotated 90 degrees around the axis.

I discovered this almost 2 years ago, but I've had zero time to think about it since then. I'm not 100% sure if this has a right to be 3-dimensional so maybe it isn't a 3-diamond after all. In our paper, we say that an nn-diamond has nn edges coming out of its earliest vertex. This has 2, but we didn't really think about it that much, so that could be wrong.

This example is interesting to me because a concern I have (and I think anyone who has looked at our paper has) is the question, "Does this work only on hypercubic spaces?" That would be quite disappointing and limiting. Having a simple non-hypercubic example would help dispell those concerns.

view this post on Zulip Jason Erbele (Nov 22 2023 at 22:53):

I see what you were saying now, and it is indeed what I was thinking of in describing it as a "3-simplex, but with diamond faces." Taking this idea seriously, we could call this small 3-diamond a "simplicial diamond": The 1-simplicial diamond is an edge (111 \to 1); the 2-simplicial diamond is the standard 2-diamond (1211 \to 2 \to 1); the 3-simplicial diamond is this thing with 6 vertices (12211 \to 2 \to 2 \to 1); so the 4-simplicial diamond might be something with 8 vertices (maybe 122211 \to 2 \to 2 \to 2 \to 1. I'm not sure if that will work, though... maybe 123211 \to 2 \to 3 \to 2 \to 1 with 9 vertices would work better? I haven't drawn that one yet. But I'm pretty sure the 8-vertex one doesn't have K5K_5 as a subgraph.)

To help others follow what the heck I'm saying, in the parenthetical notation, each neighboring pair of numbers (each mnm \to n) is a directed complete bipartite graph, Km,nK_{m,n}, directed in the obvious way, as a subgraph of the entire thing.

view this post on Zulip Eric Forgy (Nov 23 2023 at 06:15):

Awesome! Thanks for your thoughts, Jason :raised_hands:

Simplices are the atomic elements of spaces. Diamonds are the atomic elements of directed spaces (or spacetimes) :blush:

Starting with any directed graph, we can generate the space of 0-diamonds and 1-diamonds directly from the graph info. From there, we define multiplication as concantenation to get an algebra of paths (which is different than the usual path algebra bcause it only involves edges of the graph with no composition). Then we get essentially a graded algebra

P=r=0pr,\mathcal{P} = \bigoplus_{r=0}^\infty \mathcal{p}^r,

where Pr\mathcal{P}^r is the space generated by paths of length rr.

For a general, "algebra of paths" (distinct from path algebra) GnG^n is the sum of all path elements of length nn.

The structures I want to work with have nn-dimensional basis elements that consist of linear combinations of paths of length nn that start at the same point in the past and end at the same point in the future with the additional property that for n2n\ge 2, the sum of all their paths is zero.

In the case of n=2n = 2, it means we want the smallest collection of paths of length 2 such that their sum is zero. We already know this one. It is the 2-diamond:

i ----->----- j
|             |
v             v
|             |
k ----->----- l

(continued...)

view this post on Zulip Eric Forgy (Nov 23 2023 at 06:53):

For n=3n = 3, we don't need to impose G3=0G^3 = 0 because G2G^2 is already zero so Gn=0G^n = 0 for all n2n\ge 2.

The smallest collection of paths of length 3 that can sum to zero is the one David gave (stealing his nice diagram):
image.png

To eliminate this candidate as a valid 3-diamond, we need to impose an additional (very reasonable) rule that the boundary of a nn-diamond is a linear combination of (n1)(n-1)-diamonds. This is why I wrote this.

With this constraint, the smallest 2-diamond is the one both David and Jason found:

Again, stealing David's nice diagram:
image.png

Jason introduced a nice shorthand notation, i.e. 12211\to 2\to 2\to 1, for this by noticing that if you collect the 1's into one group (of one), the 2's into another group (2 & 2') and the 3's into another group (3 & 3') and the 4's into another group (of one), then each "time step" constitutes a complete bipartite graph:

12=K1,222=K2,221=K2,1.\begin{aligned} 1\to 2 &= K_{1,2} \\ 2 \to 2 &= K_{2,2} \\ 2\to 1 &= K_{2,1}. \end{aligned}

If you take the first "face" of this, i.e. 2212\to 2\to 1, you get a combination of two 2-diamonds. Similarly, if you take the last face, i.e. 1221\to 2\to 2, you also get a combination of two 2-diamonds.

I'll spare the details, but if you start with an arbitrary discrete 2-form β\beta and compute dβd\beta on this, you get a valid 3-form, so this is a valid 3-diamond. Morever, it is the smallest possible 3-diamond (which means maybe it is the only real structure that deserves to be called a 2-diamond?).

view this post on Zulip Eric Forgy (Nov 23 2023 at 07:03):

Extending this logic, it seems pretty clear to me that 122211\to 2\to 2\to 2\to 1 should be a valid 4-diamond whose boundary consists of 3-diamonds. The first face, 22212\to 2\to 2\to 1 consists of 2 3-diamonds and the last face 12221\to 2\to 2\to 2 also consists of 2 3-diamonds.

This prescription I'm talking about is actually a close cousin to the Moore complex. I first made that connection here :blush:

Quoting from a post in my link:

Moore complexes are forward looking open cones. Diamonds are the intersection of forward and backward looking cones.

PS: Take this relation to Moore complex with a big grain of salt. Not really sure about this at all.

view this post on Zulip Jason Erbele (Nov 23 2023 at 08:54):

I should mention that while the notation I used can technically express any diamond graph, it will not always be a simplification over drawing the graph normally – for the directed 3-cube, it merely replaces each vertex with a set of one vertex: no two vertices in the directed 3-cube share both all the vertices pointing to them and all the vertices they point to.

view this post on Zulip Eric Forgy (Nov 23 2023 at 09:17):

Here is a sketch of how 9 3-diamonds 12211\to 2\to 2\to 1 can fill a cube 13311\to 3\to 3\to 1:
Screenshot-2023-11-23-at-1.15.05AM.png

view this post on Zulip Jason Erbele (Nov 23 2023 at 13:33):

The number of ways you can fill 13311 \to 3 \to 3 \to 1 with 12211 \to 2 \to 2 \to 1 is (11)(32)(32)(11)=9\binom{1}{1} \binom{3}{2} \binom{3}{2} \binom{1}{1} = 9, so your listing gets all of them, but 13311 \to 3 \to 3 \to 1 is not exactly a cube. That was the point of my last message: the cube is missing three edges. All nine of your drawings include one or two of those missing edges.

view this post on Zulip David Egolf (Nov 23 2023 at 18:00):

I thought it was cool that you can draw the 3-diamond under discussion like this:
3-diamond

It's kind of interesting to compare this to a similar style drawing of a cube
cube

I'm copying the style of diagram used in "Introduction to Lattices and Order" by Davey and Priestely. The rough idea is to draw "bigger" vertices higher up the page, where we are viewing these graphs as partial orders.

view this post on Zulip Eric Forgy (Nov 23 2023 at 18:01):

That was the point of my last message: the cube is missing three edges. All nine of your drawings include one or two of those missing edges.

Yeah. You can see that in each individual diagram there is at least one edge the goes across the interior of the cube that isn't there in the original cubic diamond.

I'm not sure how clear this is, but here again is the sketch of the smallest 3-diamond wrapping a 2-sphere:
image.png

With my physicist hat on, I like to think of each edge as a ray of light. This illustration shows that in order for edges of the 3-diamond to have equal length when embedded in Euclidean space, the edges must be curved and the interior angles of each 2-diamond sum to more than 2π2\pi. (Sidenote: This reminds me of Regge calculus.)

When we flatten out 2 of the 3 edges of each 3-diamond, the third gets stretched across the interior of the cube, which tells me the interior of the cube has some concentrated curvature.

This is speculative thinking, but recall that these are not really paths. They are linear combinations of equivalence classes of paths, so it is conceivable those interior edges somehow effectively cancel when forming a cube.

It kind of makes me think of magnets. When these 3-diamonds come together to form a cube, it reminds me of magnets coming together to form a lowest energy state. A naked individual 3-diamond wants to combine with other 3-diamonds.

I've been thinking about hypecubic diamonds, where the math is better understood, for so long, this new way of thinking about them is fun, but still highly speculative :sweat_smile:

view this post on Zulip John Baez (Nov 23 2023 at 20:13):

David Egolf said:

I'm copying the style of diagram used in "Introduction to Lattices and Order" by Davey and Priestely. The rough idea is to draw "bigger" vertices higher up the page, where we are viewing these graphs as partial orders.

As you may know, this sort of diagram is called a Hasse diagram. Not a big deal... but it can be useful to know buzzwords like this.

view this post on Zulip David Egolf (Nov 23 2023 at 20:14):

Another related thought:
The book "Introduction to Lattices and Order" notes that the "cube" partial order (pictured in my last post above) is the partial order of the subsets of a set {1,2,3}\{1,2,3\} with three elements, like this:
partial order of subsets

I wonder if we can find some object in some category so that its partial order of subobjects forms the "smallest 3-diamond" (discussed above) partial order.

view this post on Zulip John Baez (Nov 23 2023 at 20:27):

Nice question!

If you think of that "smallest 3-diamond" as the Hasse diagram of a poset, you can see this poset doesn't have sups (least upper bounds, i.e. coproducts) and infs (greatest lower bounds, i.e. products). There are many kinds of categories where the poset of subobjects of any object has either sups or infs. So, these categories are ruled out.

For example, suppose CC is a category with pullbacks. Then given two subobjects of an object cCc \in C corresponding to monomorphisms i:xci: x \to c, j:ycj: y \to c, the pullback of these monos is the inf of these two subobjects!

So, your hoped-for category cannot have pullbacks.

view this post on Zulip John Baez (Nov 23 2023 at 20:31):

However, perhaps you can take your hoped-for category to be the poset whose Hasse diagram is your "smallest 3-diamond":

.

Then take the object 44 that's the largest element of this poset. If all the other elements of this poset are subobjects of 44, you are done!

view this post on Zulip David Egolf (Nov 23 2023 at 20:45):

John Baez said:

However, perhaps you can take your hoped-for category to be the poset whose Hasse diagram is your "smallest 3-diamond":

.

Then take the object 44 that's the largest element of this poset. If all the other elements of this poset are subobjects of 44, you are done!

I thought of this shortly after posting my question.... But somehow it feels like cheating! :upside_down:

view this post on Zulip John Baez (Nov 23 2023 at 20:47):

Yeah. But in math you sometimes have to cut the Gordian knot and find the easy solution. Then you can find harder solutions later.

The virtue of the easy solution here is that by generalizing it, we see a poset PP is the poset of subobjects of some object in some category iff PP has one element that's \ge all the others!

view this post on Zulip David Egolf (Nov 23 2023 at 20:53):

John Baez said:

The virtue of the easy solution here is that by generalizing it, we see a poset PP is the poset of subobjects of some object in some category iff PP has one element that's \ge all the others!

Ah, that's a good thing to notice!

view this post on Zulip John Baez (Nov 23 2023 at 23:19):

Yeah, I'm not sure I ever noticed it until now!

view this post on Zulip Eric Forgy (Nov 24 2023 at 20:10):

I am currently deep down a rabbit hole. Apparently there has been some research on "causal diamonds" which seems ripe for "discretizing". Briefly, I stumbled on this fairly recent paper:

This paper starts with:

Feynman interpreted the Einstein field equation as directly relating radius excess of some small spatial ball with the matter energy contained within, while holding the area same as in flat Minkowski space.

If you squint hard, this seems to resonate with our smallest 3-diamond and my speculative remarks here.

Wang's paper builds upon the earlier work:

This paper has a really nice section on "Causal Diamonds", which is another word for "Alexandrov open sets", but I have heard those just referred to as "Alexandrov diamonds", which is one reason I call these elementary spacetime cells diamonds (other than the fact they look like diamonds so I would have come up with the name anyway :blush: ). Given causally connected points in spacetime pp and qq with qq in the future of pp, the causal diamond D(p,q)D(p,q) is the intersection of the past of qq with the future of pp.

Another way to think of our "discrete" diamonds would be as the small causal diamonds in a space generated diamond graphs.

Wang's paper also builds on:

This paper refers to:

Wang's paper refers to:

which refers to

The latter paper works in reverse. Starting with general relativity, you can derive statements relating entropy to the area of a black hole. Jacobson derives general relativity by relating area to entropy. Pretty cool.

In my mind, all of these results scream to be discretized.

It is interesting to me that all these references, aside the 1995 one, were published after I stopped researching discrete differential geometry seriously back in 2004. It would have been fun to exchange ideas with them. Never too late I suppose :blush:

view this post on Zulip John Baez (Nov 24 2023 at 20:24):

To you everything screams to be discretized. :upside_down:

view this post on Zulip Eric Forgy (Nov 24 2023 at 20:24):

True true :rolling_on_the_floor_laughing:

view this post on Zulip John Baez (Nov 24 2023 at 20:26):

Ted Jacobson's paper contains one of the most amazing results I know connecting thermodynamics to general relativity. He's a cool guy, too.

view this post on Zulip Eric Forgy (Nov 24 2023 at 20:32):

I am watching one of his talks now. My other favorite topic (that screams to be discretized):

view this post on Zulip David Egolf (Nov 24 2023 at 20:47):

I think I might have found another category where we get the "smallest 3-diamond" in terms of the subobjects of a particular object. The category is as follows:

For example, if our set of symbols is {a,b}\{a,b\}, then some objects are aa,bb, abab, and abbababbab. I also allow the empty sequence of symbols, which I'll call ee. There are two morphisms from abab to abbababbab, and three morphisms from bb to abbaababbaab.

Then we can construct a diagram of objects and morphisms which reminds me of our smallest 3-diamond:
diagram

I am hoping this is the poset of subobjects of abaaba, but I haven't checked this carefully.

view this post on Zulip John Baez (Nov 24 2023 at 21:01):

Looks promising to me. Let me propose another way to think about this kind of category:

I think I might have found another category where we get the "smallest 3-diamond" in terms of the subobjects of a particular object. The category is as follows:

I think this category can be described as follows:

First take the free monoid F(S)F(S) on your set SS of symbols. (This has as elements possibly empty sequences of symbols from that set.)

For any monoid MM there's a poset P(M)P(M) such that xyx \le y if axb=yaxb = y for some a,ba,b.

Then, form P(F(M))P(F(M)).

If I'm right this is just a more highbrow way of saying what you said.

view this post on Zulip David Egolf (Nov 24 2023 at 21:11):

At first I thought your description was equivalent to what I intended to describe, but now I think it's not quite what I meant. (Although I suspect that the category you describe probably gives us the 3-diamond I'm looking for in terms of the subobjects of abaaba).

I was intending to allow the presence of multiple morphisms from one object to another, corresponding to "how" or "where" a given sequence fits inside another. For example, there are two distinct morphisms from aa to abaaba: the one that sends aa to the left aa in abaaba, and the one that sends aa to the right aa in abaaba.

view this post on Zulip John Baez (Nov 24 2023 at 21:24):

Okay, good point. I hope my way of getting a poset P(M)P(M) from a monoid MM may be just a watered down version of a way to get a category C(M)C(M) from a monoid MM, where an object is an element of MM and a morphism from xx to yy is a pair (a,b)(a,b) such that axb=yaxb = y. In this category I guess we have

(a,b)(a,b)=(aa,bb)(a',b') \circ (a,b) = (a'a, bb')

view this post on Zulip John Baez (Nov 24 2023 at 21:27):

Here's what I mean by "watered down":

There's a functor from Cat to Poset that sends any category to its "posetal reflection": we have xyx \le y in this posetal reflection if there's a morphism f:xyf: x \to y in the original category. So I'm hoping my original poset P(M)P(M) is the posetal reflection of the category C(M)C(M) I'm now proposing.

view this post on Zulip David Egolf (Nov 24 2023 at 21:36):

Very cool! I think that matches what I had in mind.

(It seems like this is another example of this theme: you can get "fancier" structures by keeping track of how you do something, instead of just noting that you can do it somehow).

view this post on Zulip John Baez (Nov 24 2023 at 21:40):

Yes, there's a general theme that:

1) in the most naive approach to a subject we say two things are equal if we can get from one to the other, thus getting a set

2) in a somewhat deeper approach we say one thing is \le another if we can get from one to the other, thus getting a preorder,

3) in an even deeper approach we have a morphism from one thing to another for each way we can get from one to the other.

The funny thing is that in the third, "deepest" approach we do the least messing around: we just say what's going on!

view this post on Zulip John Baez (Nov 24 2023 at 21:44):

But that in itself is another theme of category theory: try to invent the concepts needed to say what's actually going on, don't warp reality by forcing it to fit the concepts you happen to have at hand.

view this post on Zulip Jean-Baptiste Vienney (Nov 24 2023 at 21:58):

I agree with that! The mathematics I like the most is when you suceed to represent all the underlying structure, you reveal all the landscape and then if your painting is rich enough, everything becomes trivial. That's why I like big theories much more than elementary but weird arguments. The first ones are much more about contemplation, the elementary arguments are just good to make suffer students, asking them question without giving them the proper tools to answer them.

view this post on Zulip Jean-Baptiste Vienney (Nov 24 2023 at 22:10):

When I was in high-school, I took some class where we were manipulating numbers in a weird way to prove facts in arithmetic. I was finding it quite difficult. On the contrary, the definition of homology groups of a chain complex for instance is very easy I think!