0

Intuitively, I want to show that if a commutative diagram is composed of only squares and triangles, then it commutes if and only if all squares and triangles sub-diagram commute, this is asked in this post, and many other questions, but I found all the answers to be a little unsatisfying.

First, formalizing a commutative diagram into a (possibly infinite) graph. We require:

(i) No parallel edges are allowed, and start with the self loop $id_{v}$ for every vertex $v$
(ii) We put an equivalence class on all walks (which are finite by def) to encode different ways of composing morphisms from any vertex $s$ and $t$ and require:
(a) For walk $W$ from $s$ to $t$, $id_{s}W \sim W \sim Wid_{t}$
(b) For walk $(s \xrightarrow{W_{1}} t) \sim (s \xrightarrow{V_{1}}t)$ and walk $(t \xrightarrow{W_{2}}u) \sim (t \xrightarrow{V_{2}}u)$, $(s \xrightarrow{W_{1}W_{2}} t) \sim (s \xrightarrow{V_{1}V_{2}} t)$

Now restricting to commutative diagrams with only triangles and squares, we use a definition similar to chordality (which allows immediate extensions to pentagons and etc)

(Chordal-like): On the underlying undirected subgraph, all cycles of length $5$ or more has a chord
This does not take into account diagrams such as 4 squares forming a larger square for instance (as described in comments), feel free to modify it so that it's less restrictive.

My question is that if we require cycles of lengths 4 or less commute:

(i) For any vertex $v$, all self loops on $v$ are equivalent
(ii) For any walks that is a cycle of length 2, $uv$ where $s \xrightarrow{u}t$, $t \xrightarrow{v}s$, we require $uv \sim id_{s}$ (iii) Any triangle and any square commute (definition of triangle(square) is 3(4) directed edges with self loop on every vertex. I will skip the formalization for simplicity)

Then, does the entire diagram commute? That is, will there be only one equivalence class of walks between every two vertex

My partial idea: Since walks are finite length, we may as well require the graph to be finite. If we do induction on the number of edges after fixing an arbitrary number of vertex. Specifically, I think we can always delete an edge from a (chordal-like) graph such that it remains (chordal-like). So for walks pass through the new edge, if the new edge is in some square and triangle, we may transform the edge to the equivalent one not passing through that edge. However, there are some difficulties when getting the details as this doesn't seem to be always possible, and sometimes the edge might not be in a square or triangle.

patchouli
  • 1,996
  • 3
    I think this should be formalized in terms of a directed graph $J$ rather than a category. The categorical claim is more tautological (composition makes chordality automatic) and not how we use this in practice. – Thorgott May 16 '24 at 12:25
  • @Thorgott Thank you. I reformulated everything in terms of directed graphs, do you think the formulation looks good now? – patchouli May 20 '24 at 17:37
  • 1
    I'm not sure I follow your formalism. What is the point of identity loops? What is the equivalence relation you're alluding to? In my opinion, all we need is objects and morphisms indexed by a directed graph. The commutativity condition means that given any two walks with same start and end, the resulting composites on the category are equal (here, the empty walk is allowed and corresponds to the identity). – Thorgott May 21 '24 at 21:07
  • @Thorgott The identity loop is identity morphism, which people omit in practice when drawing diagrams. I need a cycle that starts and ends at the same to be the identity. I required two walks to be equivalent if the composition is equal. Thus if a diagram commute, there is only one equivalence class between every two vertex. I tried to keep everything completely graph theoretic so that people do not refer to these "technically correct" proofs – patchouli May 21 '24 at 21:56
  • 1
    What's the definition of "commute" for a square $A \leftarrow B \rightarrow C \leftarrow D \rightarrow A$? And what about a square where all the arrows point clockwise? – Trebor May 22 '24 at 05:23
  • 2
    This looks way too restrictive and will almost never apply to real life diagrams, because even when they are made out of squares and triangles, they will not be chordal, since the outermost cycle likely doesn't have a chord. – Trebor May 22 '24 at 05:26
  • 1
    I doubt that your chordal-like condition reflects what you actually want. Take a grid consisting of four squares, and the cycle formed by the outermost edges. This cycle lacks a chord: but if all the inner squares are oriented suitably, and all commute, then so does the outer square, and Lang works with diagrams of this shape all the time. – Z. A. K. May 22 '24 at 05:37
  • @Z.A.K. Yeah, I did not take that into account. It would be nice to see proof for the simple case first nonetheless, unless somehow the less restrictive version is easier to deal with. We can add edges to make it chordal or reformulate the formulation. If you know a proof to either feel free to formulate it whatever you want as long as it's not more restrictive. – patchouli May 22 '24 at 17:11

1 Answers1

3

I would leave this as a comment, but I don't have the reputation for it. So I'll expand it out a bit.

I may not understand the formulation that you want, but the general statement is false. Here, the general statement I interpret is: "If we have a diagram, made up of triangles and squares (in some sufficient sense), where all triangles and squares commute, then the entire diagram commutes."

Here is a quick counterexample (I apologize for the primitive commutative diagram, I run my cd's through so much personal code I don't really remember how to make them from scratch): $$\begin{array}{ccccc} \{1,2\}&\rightarrow&\{1\}&\rightarrow&\{1\}\\ &\nwarrow&\uparrow&&\downarrow\\ &&\{1\}&\leftarrow&\{1\} \end{array}$$ Any chosen maps work (although I guess only one map has a choice). The triangle and square both commute, but going around the pentagon from $\{1,2\}$ is not the identity map.

To make a statement like "a diagram made up of smaller commutative diagrams commutes" true, one would normally factor the defining functor (from directed graphs to the category) through a preorder. In particular, what is making at least my stated general statement less than true is that non-trivial cycles are allowed. Usually, when people want results like this, the diagrams have a general "direction" which is what makes it work out. Think a page of long exact sequences (maybe with some nifty little triangles in there for fun), where morphisms all move towards the bottom right.

I apologize if I misunderstood your question. With your given precise formulation for $2$-gons, it seems like I interpreted it correctly. But I could easily be mistaken.

EDIT:

On a walk in the rain, I was thinking about how I would formulate the general statement, without appealing to general abstract nonsense. The following statements are less fact-checked than the above.

Note the desire to avoid appealing to general abstract nonsense of "the functor defining the diagram factors through a preorder" is that this isn't really saying much. A preorder is frequently defined as a thin category in this context, and a diagram is trivially commutative if it factors through a thin category (this is the abstract nonsense definition).

First, another counterexample. To emphasize, this is not a counterexample of your chordal statement, but rather an attempt at a generalization. Let $T$ be a terminal object in the category. $$ \begin{array}{ccccccc} &&B&\rightarrow&C\\ &\nearrow&&\swarrow&\downarrow\\ A&\rightarrow&T&\leftarrow&F\\ &\searrow&&\nwarrow&\uparrow\\ &&D&\rightarrow&E \end{array} $$ The squares $ABCT$ and $ADET$ commute as $T$ is terminal; similarly the triangles $CFT$ and $EFT$ commute. The only other triangle or square I see is $CFET$, which (at least by the definition I usually see) does not have an additional check for commutativity. However, the hexagon $ABCFED$ only commutes if $ABCF$ is the same as $ADEF$, which there is no reason for this to be the case in general.

This counterexample is, perhaps, notable, as it does not have any non-trivial cycles but the result still fails. My above answer at least implied that cycles were the explicit reason for failure, so this gives another explicit way it can fail. Note that this diagram is (hence) not a (categorical) preorder, despite how it might really "feel like" it is ordered "towards" $T$ in some sense.

This, of course, does not satisfy your chordal condition. My general statement would be this. Suppose we have a diagram in a category such that:

  • There are no directed $n$-cycles, for any finite $n$.
  • Every triangle and square commute.
  • The diagram is "strongly composed" of triangles and squares, in the sense that for every undirected $n$-cycle in the diagram (with $n\geq5$), there exists a directed chordal walk bisecting the $n$-cycle into two (again, undirected) cycles of strictly smaller length. To be precise in what I mean, if $v_1,v_2,\dots,v_n$ is an undirected cycle of length $n$, with $n\geq5$, then there exists $k<\ell$ and a walk (in the diagram) $v_k,w_1,\dots,w_m,v_\ell$ (with $m=0$ allowed) such that: (1) the undirected cycle $v_k,\dots,v_\ell,w_m,\dots,w_1$ has length less than $n$; (2) the undirected cycle $v_\ell,\dots,v_n,v_1,\dots,v_k,w_1,\dots,w_m$ has length less than $n$; (3) the walk $v_k,w_1,\dots,w_m,v_\ell$ is either directed or reverse directed.

Then the entire diagram commutes.

This is a slight strengthening of your statement (except the removal of cycles), which simply requires that $m=0$ (where the chord being directed is trivial). This strengthening allows for the example of four commuting squares pushed into a bigger square, as given in the comments, where we have $m=1$.

The requirement about directed cycles, one might think that you could instead require that all directed cycles compose to the identity. This would eliminate my counterexample above, but does not handle: $$\begin{array}{ccccc} &&E&\leftarrow&D\\ &\nearrow&&\swarrow&\uparrow\\ A&\rightarrow&B&\rightarrow&C \end{array}$$ The issue is the square on the left "commuting" tells us nothing. Thus, there is no reason why the pentagon would commute.

The requirement that the chordal walk be directed is about the second counterexample. The chordal walk for the outer hexagon passes through $T$, and is hence not directed.

I didn't fully check the proof of this, but it should be proven by induction on the length of an undirected $n$-cycle. But this is what it would sort of look like.

  • We want to prove that $v_1\to v_2\to\dots\to v_t$ and $v_1\to v_n\to\dots\to v_t$ are equal, where the $v_k$ are "distinct". (Note if the $v_k$ are not distinct, we either get a non-trivial directed cycle which is disallowed, or we have multiple cycles of length less than $n$ which would be handled by the inductive hypothesis.) If $n=3$ or $n=4$, then we are done since triangles and squares commute, which is the base case.
  • If $t=n$, then we have a directed $n$-cycle which is disallowed. Thus, we know $1<t<n$.
  • We now take a directed chordal walk, from $v_k$ to $v_\ell$, with $k<\ell$. We split into various cases. I write some examples below, to show what it looks like with some diagrams. The full proof wouldn't be that much different.
  • Example Case 1: $1<k<t<\ell<n$, and the chordal walk points $k$ to $\ell$. We get a diagram that looks like this: $$\begin{array}{cccc} v_n&\rightarrow&v_\ell&\rightarrow&v_t\\ \uparrow&&\uparrow&\nearrow\\ v_1&\rightarrow&v_k \end{array}$$ where the maps are all the composed maps around the cycle, except the $v_k$ to $v_\ell$ map is the directed chordal walk. The "square" on the left is an undirected cycle of length less than $n$, so it commutes by the inductive hypothesis. The "triangle" on the right is similar. Thus, we've reduced to this simple case which is readily verified.
  • Example Case 2: $1<k<t<\ell<n$, but the chordal walk points from $\ell$ to $k$. Then we get a similar diagram: $$\begin{array}{cccc} v_n&\rightarrow&v_\ell&\rightarrow&v_t\\ \uparrow&&\downarrow&\nearrow\\ v_1&\rightarrow&v_k \end{array}$$ Again, the "square" and "triangle" are cycles of smaller length, so we can reduce to this case which is readily verified.
  • Example Case 3: $1<k=t<\ell<n$, with the chord pointing from $k$ to $\ell$. This looks like: $$\begin{array}{cccc} v_n&\rightarrow&v_\ell&\rightarrow&v_{\ell-1}\\ \uparrow&&\uparrow&\swarrow\\ v_1&\rightarrow&v_t \end{array}$$ This produces a non-trivial cycle, so is discarded. This is a degenerate case of Example Case 1, drawn with a modified diagram to show what is happening.
  • Example Case 4: $1<k<\ell<t<n$, with the chord pointing from $k$ to $\ell$. Now we have two paths from $v_k$ to $v_\ell$. This gives the following: $$\begin{array}{ccccc} v_n&\rightarrow&v_t&\leftarrow&v_\ell\\ \uparrow&&&\nearrow&\uparrow\\ v_1&\rightarrow&v_k&\rightarrow&v_{k+1} \end{array}$$ where the diagonal path is the chordal path. We see that this left "pentagon" is shorter than $n$, so by the inductive hypothesis it must commute. Same goes for the "triangle".
  • Example Case 5: $1<k<\ell<t<n$, with the chord pointing from $\ell$ to $k$. This gives a similar diagram: $$\begin{array}{ccccc} v_n&\rightarrow&v_t&\leftarrow&v_\ell\\ \uparrow&&&\swarrow&\uparrow\\ v_1&\rightarrow&v_k&\rightarrow&v_{k+1} \end{array}$$ Now we have a non-trivial directed cycle, so this case is discarded.
  • Example Case 6: $1=k<\ell=t<n$, with the chord pointing from $k$ to $\ell$. Then we have: $$\begin{array}{ccccc} v_n&\rightarrow&v_t\\ \uparrow&\nearrow&\uparrow\\ v_1&\rightarrow&v_2 \end{array}$$ The two "triangles" have length less than $n$ so commute by induction and we are done. This is really a degenerate case of Example Case 4.
  • Example Case 7: $1<t\leq k<\ell\leq n$. By symmetry, this would reduce to $1\leq k<\ell\leq t<n$.

Not a very clean argument, but it seems to work to me.

bob
  • 131
  • Thank you for the detailed answer! I'll look at the steps more carefully later. So I guess Lang's original statement is quite inaccurate, and that we can't even allow a directed 3 cycle. So besides using the restriction you said, is there anything else we can do for diagrams containing directed cycles? – patchouli May 29 '24 at 05:18
  • I would say that Lang's statement is not meant to be taken so precisely, but is instead a "rule of thumb". As one point, he says triangles and squares "as above" (where the examples given are not cyclic). A precise understanding of what Lang meant would require a formal definition of what it means for a diagram to be "composed" of triangles and squares. For example, if you add maps from $B$ and $D$ to $T$ in my second counterexample, is that "composed" of triangles and squares? Or do the "invalid" squares (i.e., ones that Lang does not list "above") make it not "count"? – bob May 29 '24 at 15:38
  • For including cycles, my recommendation would be to not. If you want to include a cyclic triangle, instead include it as a square with a map $A\to A$ as the identity on the bottom. Then the above argument would apply. (Note this is not the same information, since a cyclic triangle has three relations: That the three cyclic permutations compose to the identity. It is probably "close enough" for most applications.) – bob May 29 '24 at 15:39
  • This is, in part, since there is disagreement over what a cycle in a commutative diagram means. Some interpret a cycle as meaning it must compose to the identity; others want to leave the option that it could compose to some other endomorphism. It should always be idempotent, since tracing the cycle twice should equal tracing the cycle once. – bob May 29 '24 at 15:42
  • If you want to try to include cyclic permutations, then you should trace through the above "proof" and see what goes wrong. Specifically, whatever generates the third counterexample is a problem (which looks sort of like Example Case 5). If you do this carefully, you may be able to find a condition for "composed" that would make it work with cycles. I find it unlikely you can get a "good" condition: A "standard" commutative $n$-gon has a single relation, but a cyclic commutative $n$-gon has $n$ relations (for the $n$ cyclic permutations). – bob May 29 '24 at 15:43