Updates on the Valuation paper

Here are some updates (mini blog) on Gauss-Bonnet for multi-linear valuations [ArXiv], On the local version, where minor updates are done. Also: A handout to a mathtable talk and a case analysis [PDF] showing how to distinguish the cylinder from the Moebius strip cohomologically. To summarize, we start to see the possibility that interaction cohomology could satisfy the Eilenberg-Steenrod axioms. But one has to be cautious as the process of making sense of the axioms need newer concepts like continuity, Cartesian product and homotopy of maps on finite geometric structures. Furthermore, we also did not experiment yet with relative versions of interaction cohomology as the task to understand the simplest cases of quadratic interaction cohomology H*(G)=H*((G,G),({},{})) is not yet done, even in the case when the pair of graphs is (G,G) and the relative subgraph pair is trivial.
  • [March 27] Can the formula dim(H1(v,G)) = dim(H0(S(v)))-1 be generalized to larger Hp(v,G)? It would relate the simplicial cohomology of the unit sphere S(v) of a vertex v with the interaction cohomology of the point v embedded in the graph G. Also, if we look at at H2(v,G), this looks related to H1(G). Lets look at examples: if v is the center vertex of a wheel graph, then the Betti vector is (0,0,1) and w(v,G) = 1. If v is the boundary of the wheel graph (a 2-ball), then the interaction cohomology H^*(v,G) is trivial. Similarly, if we take a three ball (which has a 2-sphere as boundary), then for the central point, the interaction Betti vector is (0,0,0,1). For a vertex v on the boundary, the interaction cohomology is trivial. The answer to the question is "yes": Indeed, for p>1,
    dim(Hp(v,G)) = dim(Hp-1(S(v)))
    Proof: the exterior derivative of the interaction cohomology is just df(v,A) = f(v,dA) which produces an isomorphism to the simplicial cohomology where g(A) = f(v,A) is now a classical form. This relation had been disguised a bit since for p=0, on zero forms, it is shifted. Using Euler-Poincaré, we recover what has been seen in a special case: The Wu characteristic w(v,G) of a vertex v in a finite simple graph G is
    w(v,G) = 1-X(S(v))
    where X(S(v)) is the Euler characteristic of the unit sphere S(v) and w(A,B) is the Wu characteristic for the pair A,B, which is the sum of (-1)dim(x) + dim(y), where (x,y) ranges over all pairs of interacting simplices x,y with x in A and y in B. We have seen a special case before, a point in a d-graph has the Wu intersection number (-1)d. But in general, if one looks at both sides of the formula, it follows from the definitions as any k-simplex in G which intersects v defines a (k-1) dimensional simplex in the unit sphere S(v). What is new, is that we have recovered it now via Euler-Poincaré for interaction cohomology.
  • [March 26] We look now more generally at the interaction cohomology Hp(A,G), where A is a subgraph of G. It belongs to the Wu intersection number w(A,G), which sums over all pairs of interacting simplices (x,y), where x is in A and y in G. This generalizes the case w(G,G) = w(G) which is the Wu characteristic of G. As mentioned already in the case analysis [PDF] the situation is the same. (It also works for any Hp(A,B), where A,B are subgraphs and for higher order cohomologies for three subgraphs but we stick with the case H(A,G) for now. There is a Euler-Poincaré formula telling that w(A,G) is the super sum of the Betti numbers and more generally a Brouwer-Lefschetz formula telling that the Lefschetz number wT(A,G) with respect to a graph automorphism is the sum of the Brouwer indices of the fixed points of T. Euler-Poincaré is as always the special case when T is the identity. The heat proof in the case H(G,G) is so simple that it works also here without any change. We just have to use the corresponding Laplacian belonging to the exterior derivative defining Hp(A,G). We have started to make some experiments to compute these cohomologies. They can be interesting for example to study knots A in a 3-sphere G. We have not yet made many experiments but it looks as if Hp(A,G) is quite robust and therefore not expected to give an interesting knot invariant if A is a knot in a 3 sphere, but it could lead to interesting invariants if we take A to be the complement of a knot in a 3 sphere. Some preliminary remarks:
    • Hp(A,G) = Hp(A,B(A)) where B(A) is a neighborhood of radius 1 of A. For example, if A is a one point graph (a case we will look at first, then Hp(A,G) = Hp(p,B(p)) only depends on the unit ball of p.
    • The cohomology satisfies Kuenneth and w(A,G) is compatible with the product w(A x B,G x H) = w(A,G) w(G,H). Especially, w(A,G) is invariant under simultaneous Barycentric subdivisions.
    • The fact that we have invariance under Barycentric subdivision will imply that Hp(A,G) is topological in the sense that if A is deformed nicely within G by analogues of homeomorphisms while fixing G, then the cohomology does not change. This is a homotopy invariance.
    We looked so far at two special cases. The first is if A is a one point graph (a point) within G:
    1. If p is a vertex in G with positive vertex degree then H0(p,G)=0.
    2. If p is a vertex in G with zero vertex degree, then H0(p,G) = 1.
    3. If p is not contained in a triangle then H1(p,G) = deg(p)-1
    4. If the unit sphere S(p) has k connected components, then H1(p,G) = k-1.
    Proof of 1: the vector space H0(p,G) consists of the kernel of d0 which maps a function on vertices to a function on vertex-edge pairs (p,(pq)) d0f(x,y) = f(p,d(pq)) = f(p,q)-f(p,p). Since f(p,q)=0 as two vertices do not intersect, we have f(p,p)=0 meaning that f must be zero.
    Proof of 2: if the vertex p is isolated, then there are no vertex-edge pairs and d0f=0 for any f. Since the set of 0-forms is just one dimensional as there is only one 0-0 vertex interaction which involves p, the cohomology is one dimensional.
    Proof of 3: we need to understand the vector space H1(p,G) = ker(d1)/im(d0) if e1,...,ek are the edges connected to the vertex p, then the kernel of d1 (the vector space of closed forms) is k dimensional since there are no edge-edge nor point triangle interactions by assumption. The image of d0 consists of functions on vertex-edge pairs (p,(pb)) given by df(p,(pb)) = f(p,p) showing that exact 1-forms are all locally constant f(p,(pb))=c The quotient can be seen as the set of all functions on neibhboring edges of p, for which the sum of the function values is zero. This vector space is k-1= deg(p)-1 dimensional.
    Proof of 4: Its very similar than before but now, the presence of the triangle shows there are much less closed forms as there are edge-edge interactions in 2forms which come as boundaries of the triangle. Let (pq) and (pr) be two edges bounding a triangle t =(pqr), then df(p,(pqr)) = f(p,qr)-f(p,pr)+f(p,pq). Since p and qr do not interact, this is -f(p,pr)+f(p,pq) =0. This means that the function values must agree on edges which share a common triangle.
    If A is a subgraph with maximal dimension k of and G has maximal dimension d, then there are k+d+1 cohomologies H^*(A,G) which can be studied. We have just seen that the number of connected components in the unit sphere of a vertex has a cohomological interpretation. In a graph without triangles this is the vertex degree.

    The second case is if G is a bundle with base A. Like if G is the product of A with an other graph (which is a trivial bundle). In this case we always measured so far that Hp(A,G)=0 for all p. And this seems to hold also for nontrivial bundles like the Moebius strip and A is a circle. Only if A is thickened, we believe to get interesting interaction cohomologies.
  • [March 25] Also the latest job with 500 Gig died on Odyssey over night. 500 Gig of RAM is not enough. Here is the linear algebra problem (7.5 Meg gzipped Mathematica file containing a matrix from which we want to find the kernel using NullSpace). I will try to do this more efficiently. But already now, I had been using tricks like the analogue cellular cohomology on the math side, the smallest possible number of 3D cells for the homology sphere and packed array computations on the data structure side, but it should be able to simplify this more, like computing the individual form Laplacian separately. Better spend the time improving this theoretically than wasting more time with computer limits (for which I have no idea where the threshold will be. Maybe it would need 1TeraBytes of RAM, maybe 10TB?). What would be nice are routine for computing the kernel of a packed array effectively. Currently, Mathematica obviously does seem to unpack the array at least partially when computing NullSpace, grabbing too much memory.
  • [March 24, 2016] Tried to compute the quadratic cohomology of the Poincaré homology 3-sphere on my work stations. I would be surprised to see a different interaction cohomology than for the 3-sphere, but lets see. Since the fundamental group is not trivial, it might be that some interaction constraints occur. The computations have become heavy. I could reduce everything to a computation of the kernel of the interaction form Laplacian L, a matrix with 70616x70616 entries. Using packed array it has maybe 5 million nonzero entries, but still, the jobs keep dying. I'm running it now on the Harvard Odyssey cluster, where I have more memory.
  • [March 20, 2016] When looking through the computations below, an other remarkable example is the Dunce hat, a prototype of a contractible but not collapsible space. It was introduced in 1963 by Zeeman in the context of the Poincaré conjecture. As it is contractible (homotopic to a point), its cohomology is trivial. Of course we can compute and investigate the geometry more conveniently using graphs. The picture shows a twice Barycentric refined version of this graph (using a tamed refinement method which does not grow the vertex degrees). This does not change the failure to collapse as the graph first needs to be thickend and become a three dimensional object temporarily before being able to shrink it a point. The Betti vector of the graph is (1,0,0) which is the same than the Betti vector of the 2-disc (i.e. Wheel graphs). But now, the interaction cohomology Betti vector is (0, 0, 0, 1, 2), showing that it is not homeomorphic to a disc. All discs have the interaction cohomology Betti vector (0,0,1,0,0). Both have Wu characteristic 1. Again, neither simplicial cohomology, nor Wu characteristic distinguish the dunce hat from the disc. But interaction cohomology does.
    (Side remark: The cubic interaction cohomology is not yet computed due to too much complexity. The graph we use has f-vector 17, 52, 36 and 62769 cubic interactions. The size of the cubic interaction Laplacian, a 62769 x 62769 matrix which is too large. We could imagine that this could be implementable fast in a specialized C program, where the programming language allows to work on much larger data structures without loading therm first in full to memory like Mathematica does with matrices. Computing the kernel of a matrix only needs row reduction, which allows to work on the matrix locally without seeing the entire object. )
  • [March 19, 2016] Made some computer search for Erdoes Renyi graphs with trivial quadratic interaction cohomology (this means invertible interaction Laplacian). In ErdoesRenyi[10,0.5], we found 4 in 20000 samples. They all appear homeomorphic to the Moebius strip.
  • [March 18, 2016]Interaction cohomology [PDF]. A case study: like Stiefel-Whitney classes, interaction cohomology is able to distinguish the cylinder from the Möbius strip. The cohomology also admits the Lefschetz theorem.
  • [March 17, 2016]

    Interaction cohomology seems indeed be able to distinguish between the cylinder and the Moebius strip as the quadratic interaction cohomologies H2 and H3 are both different. Stiefel-Whitney classes can do that too, but these are invariants for vector bundles. The interaction cohomology tool does not need a bundle structure. It works for any graphs. While not interesting for manifolds, where one can derive the quadratic cohomology from simplicial cohomology, it could be useful for varieties.
    Its actually quite common that the Euler and Wu characteristic and traditional cohomology are the same but that the cohomology distinguishes them.

    Here are two graphs with the same f-vector, the same simplicial cohomology, the same quadratic and cubic Wu characteristic, but for which the quadratic cohomology distinguishes it.

    Here is a better example: for these two graphs, the f-vector (9, 18, 9, 1) and f-matrix {{{9, 36, 27, 4}, {36, 136, 96, 13}, {27, 96, 65, 8}, {4, 13, 8, 1}} are both the same. The Betti vector is the same (1, 2, 0, 0) so linear simplicial cohomology is the same but the quadratic Wu cohomology differs: It is {0, 0, 6, 3, 0, 0, 0} for the first graph and {0, 0, 4, 1, 0, 0, 0} for the second graph.
  • [March 16, 2016] Quadratic interaction cohomology can distinguish more.: after rerunning some computations and a few more, especially the Moebius strip, a big surprise: the interaction cohomology can "see" the topology and distinguish it from the cylinder. That is remarkable. While usual cohomology does not distinguish the Moebius strip from the cylinder as it is homotopic, conventional cohomologies can not distinguish the topology. But the quadratic interaction cohomology does seem to see it, similarly as Whitney-Stiefel classes do. But interaction cohomology is more elementary.

    The second interaction cohomology of the Moebius strip G is completely zero: the second Dirac operator D and Laplacian L=D2 are invertible. Since the interaction cohomology of G does not agree with the interaction cohomology of the cylinder, topological realizations of the two simplicial complexes can not be homeomorphic. We have so obtained a simple classical algebraic tool to distinguish the two graphs: just compute some incidence matrices and determine their nullity. The interaction Betti numbers allow to distinguish graphs which usual cohomology can not.


    Euler chi  Betti(1)   Wu(2)   Betti(2)    Wu(3)   Betti(3)
    --------------------------------------------------------------------------
    0          (1,1,0)    0       (0,0,0,0,0)  0      (0,0,0,0,1,1,0)       Moebius
    0          (1,1,0)    0       (0,0,1,1,0)  0      (0,0,0,0,1,1,0)       Cylinder
    
    Both simplicial cohomology as well as cubic interaction cohomology does not "See" the diffference between the two graphs. The quadratic interaction cohomology does.

    To make sure that there is not some stupid mistake, lets give more details. The Moebius strip is defined as a finite simple graph G with vertex set {1,2,3,4,5,6,7,8} and edges set E:
    UndirectedGraph[Graph[
    {1 -> 2, 1 -> 5, 1 -> 8, 2 -> 3, 2 -> 5, 2 -> 6, 3 -> 4, 3 -> 6, 
     3 -> 7, 4 -> 5, 4 -> 7, 4 -> 8, 5 -> 6, 5 -> 8, 6 -> 7, 7 -> 8}]]
    
    The Whitney complex of the graph G is here:
    {1}, {2}, {3}, {4}, {5}, {6}, {7}, {8}           (Vertices)
    {1, 2}, {1, 5}, {1, 8}, {2, 3}, {2, 5}, 
    {2, 6}, {3, 4}, {3, 6}, {3, 7}, {4, 5},          (Edges)
    {4, 7}, {4, 8}, {5, 6}, {5, 8}, {6, 7}, {7, 8}}
    {1, 2, 5}, {1, 5, 8}, {2, 3, 6}, {2, 5, 6}, 
    {3, 4, 7}, {3, 6, 7}, {4, 5, 8}, {4, 7, 8},      (triangles)
    
    Here is the Wu interaction complex given by all the 424 ordered pairs of simplices in G which intersect. One can get the number 424 also by adding up all numbers in the f-matrix of the Moebius graph G. This f-matrix is
     8     32    24
    32    114    74
    24     74    42
    
    The Dirac operator D and the Laplacian L=D2 of G are both 424x424 matrices. A picture of the Laplacian is given below. But first to the quadratic interaction complex, defined by all the interacting pairs of simplices in the graph:
    (* First the 8 vertex-vertex interactions, these are the 0-forms  *)
    {{8}, {8}}, {{7}, {7}}, {{6}, {6}}, {{5}, {5}}, {{4}, {4}}, 
    {{3}, {3}}, {{2}, {2}}, {{1}, {1}}, 
    
    (* Now the 32+32 vertex-edge interactions. These are the 1-forms  *)
    {{7, 8}, {8}}, {{7, 8}, {7}}, {{6, 7}, {7}}, {{6, 7}, {6}}, 
    {{5, 8}, {8}}, {{5, 8}, {5}}, {{5, 6}, {6}}, {{5, 6}, {5}}, 
    {{4, 8}, {8}}, {{4, 8}, {4}}, {{4, 7}, {7}}, {{4, 7}, {4}}, 
    {{4, 5}, {5}}, {{4, 5}, {4}}, {{3, 7}, {7}}, {{3, 7}, {3}}, 
    {{3, 6}, {6}}, {{3, 6}, {3}}, {{3, 4}, {4}}, {{3, 4}, {3}}, 
    {{2, 6}, {6}}, {{2, 6}, {2}}, {{2, 5}, {5}}, {{2, 5}, {2}}, 
    {{2, 3}, {3}}, {{2, 3}, {2}}, {{1, 8}, {8}}, {{1, 8}, {1}}, 
    {{1, 5}, {5}}, {{1, 5}, {1}}, {{1, 2}, {2}}, {{1, 2}, {1}}, 
    {{8}, {7, 8}}, {{8}, {5, 8}}, {{8}, {4, 8}}, {{8}, {1, 8}}, 
    {{7}, {7, 8}}, {{7}, {6, 7}}, {{7}, {4, 7}}, {{7}, {3, 7}}, 
    {{6}, {6, 7}}, {{6}, {5, 6}}, {{6}, {3, 6}}, {{6}, {2, 6}}, 
    {{5}, {5, 8}}, {{5}, {5, 6}}, {{5}, {4, 5}}, {{5}, {2, 5}}, 
    {{5}, {1, 5}}, {{4}, {4, 8}}, {{4}, {4, 7}}, {{4}, {4, 5}}, 
    {{4}, {3, 4}}, {{3}, {3, 7}}, {{3}, {3, 6}}, {{3}, {3, 4}}, 
    {{3}, {2, 3}}, {{2}, {2, 6}}, {{2}, {2, 5}}, {{2}, {2, 3}}, 
    {{2}, {1, 2}}, {{1}, {1, 8}}, {{1}, {1, 5}}, {{1}, {1, 2}}, 
    
    (* And now to the 16 edge-edge self interactions. These are 2-forms*)
    {{7, 8}, {7, 8}}, {{7, 8}, {6, 7}}, {{7, 8}, {5, 8}}, {{7, 8}, {4, 8}}, 
    {{7, 8}, {4, 7}}, {{7, 8}, {3, 7}}, {{7, 8}, {1, 8}}, {{6, 7}, {7, 8}}, 
    {{6, 7}, {6, 7}}, {{6, 7}, {5, 6}}, {{6, 7}, {4, 7}}, {{6, 7}, {3, 7}}, 
    {{6, 7}, {3, 6}}, {{6, 7}, {2, 6}}, {{5, 8}, {7, 8}}, {{5, 8}, {5, 8}}, 
    
    (* And now the 98 edge-edge interactions  Also this are 2 forms    *)
    {{5, 8}, {5, 6}}, {{5, 8}, {4, 8}}, {{5, 8}, {4, 5}}, {{5, 8}, {2, 5}}, 
    {{5, 8}, {1, 8}}, {{5, 8}, {1, 5}}, {{5, 6}, {6, 7}}, {{5, 6}, {5, 8}}, 
    {{5, 6}, {5, 6}}, {{5, 6}, {4, 5}}, {{5, 6}, {3, 6}}, {{5, 6}, {2, 6}}, 
    {{5, 6}, {2, 5}}, {{5, 6}, {1, 5}}, {{4, 8}, {7, 8}}, {{4, 8}, {5, 8}}, 
    {{4, 8}, {4, 8}}, {{4, 8}, {4, 7}}, {{4, 8}, {4, 5}}, {{4, 8}, {3, 4}}, 
    {{4, 8}, {1, 8}}, {{4, 7}, {7, 8}}, {{4, 7}, {6, 7}}, {{4, 7}, {4, 8}}, 
    {{4, 7}, {4, 7}}, {{4, 7}, {4, 5}}, {{4, 7}, {3, 7}}, {{4, 7}, {3, 4}}, 
    {{4, 5}, {5, 8}}, {{4, 5}, {5, 6}}, {{4, 5}, {4, 8}}, {{4, 5}, {4, 7}}, 
    {{4, 5}, {4, 5}}, {{4, 5}, {3, 4}}, {{4, 5}, {2, 5}}, {{4, 5}, {1, 5}}, 
    {{3, 7}, {7, 8}}, {{3, 7}, {6, 7}}, {{3, 7}, {4, 7}}, {{3, 7}, {3, 7}}, 
    {{3, 7}, {3, 6}}, {{3, 7}, {3, 4}}, {{3, 7}, {2, 3}}, {{3, 6}, {6, 7}}, 
    {{3, 6}, {5, 6}}, {{3, 6}, {3, 7}}, {{3, 6}, {3, 6}}, {{3, 6}, {3, 4}}, 
    {{3, 6}, {2, 6}}, {{3, 6}, {2, 3}}, {{3, 4}, {4, 8}}, {{3, 4}, {4, 7}}, 
    {{3, 4}, {4, 5}}, {{3, 4}, {3, 7}}, {{3, 4}, {3, 6}}, {{3, 4}, {3, 4}}, 
    {{3, 4}, {2, 3}}, {{2, 6}, {6, 7}}, {{2, 6}, {5, 6}}, {{2, 6}, {3, 6}}, 
    {{2, 6}, {2, 6}}, {{2, 6}, {2, 5}}, {{2, 6}, {2, 3}}, {{2, 6}, {1, 2}}, 
    {{2, 5}, {5, 8}}, {{2, 5}, {5, 6}}, {{2, 5}, {4, 5}}, {{2, 5}, {2, 6}}, 
    {{2, 5}, {2, 5}}, {{2, 5}, {2, 3}}, {{2, 5}, {1, 5}}, {{2, 5}, {1, 2}}, 
    {{2, 3}, {3, 7}}, {{2, 3}, {3, 6}}, {{2, 3}, {3, 4}}, {{2, 3}, {2, 6}}, 
    {{2, 3}, {2, 5}}, {{2, 3}, {2, 3}}, {{2, 3}, {1, 2}}, {{1, 8}, {7, 8}}, 
    {{1, 8}, {5, 8}}, {{1, 8}, {4, 8}}, {{1, 8}, {1, 8}}, {{1, 8}, {1, 5}}, 
    {{1, 8}, {1, 2}}, {{1, 5}, {5, 8}}, {{1, 5}, {5, 6}}, {{1, 5}, {4, 5}}, 
    {{1, 5}, {2, 5}}, {{1, 5}, {1, 8}}, {{1, 5}, {1, 5}}, {{1, 5}, {1, 2}}, 
    {{1, 2}, {2, 6}}, {{1, 2}, {2, 5}}, {{1, 2}, {2, 3}}, {{1, 2}, {1, 8}}, 
    {{1, 2}, {1, 5}}, {{1, 2}, {1, 2}}, 
    
    (* And now 24+24 the vertex-triangle interactions, 2-forms too       *)
    {{4, 7, 8}, {8}}, {{4, 7, 8}, {7}}, {{4, 7, 8}, {4}}, {{4, 5, 8}, {8}}, 
    {{4, 5, 8}, {5}}, {{4, 5, 8}, {4}}, {{3, 6, 7}, {7}}, {{3, 6, 7}, {6}}, 
    {{3, 6, 7}, {3}}, {{3, 4, 7}, {7}}, {{3, 4, 7}, {4}}, {{3, 4, 7}, {3}}, 
    {{2, 5, 6}, {6}}, {{2, 5, 6}, {5}}, {{2, 5, 6}, {2}}, {{2, 3, 6}, {6}}, 
    {{2, 3, 6}, {3}}, {{2, 3, 6}, {2}}, {{1, 5, 8}, {8}}, {{1, 5, 8}, {5}}, 
    {{1, 5, 8}, {1}}, {{1, 2, 5}, {5}}, {{1, 2, 5}, {2}}, {{1, 2, 5}, {1}}, 
    {{8}, {4, 7, 8}}, {{8}, {4, 5, 8}}, {{8}, {1, 5, 8}}, {{7}, {4, 7, 8}}, 
    {{7}, {3, 6, 7}}, {{7}, {3, 4, 7}}, {{6}, {3, 6, 7}}, {{6}, {2, 5, 6}}, 
    {{6}, {2, 3, 6}}, {{5}, {4, 5, 8}}, {{5}, {2, 5, 6}}, {{5}, {1, 5, 8}}, 
    {{5}, {1, 2, 5}}, {{4}, {4, 7, 8}}, {{4}, {4, 5, 8}}, {{4}, {3, 4, 7}}, 
    {{3}, {3, 6, 7}}, {{3}, {3, 4, 7}}, {{3}, {2, 3, 6}}, {{2}, {2, 5, 6}}, 
    {{2}, {2, 3, 6}}, {{2}, {1, 2, 5}}, {{1}, {1, 5, 8}}, {{1}, {1, 2, 5}}, 
    
    (* And now the 74+74 edge-triangle interactions  3 forms              *)
    {{7, 8}, {4, 7, 8}}, {{7, 8}, {4, 5, 8}}, {{7, 8}, {3, 6, 7}}, 
    {{7, 8}, {3, 4, 7}}, {{7, 8}, {1, 5, 8}}, {{6, 7}, {4, 7, 8}}, 
    {{6, 7}, {3, 6, 7}}, {{6, 7}, {3, 4, 7}}, {{6, 7}, {2, 5, 6}}, 
    {{6, 7}, {2, 3, 6}}, {{5, 8}, {4, 7, 8}}, {{5, 8}, {4, 5, 8}}, 
    {{5, 8}, {2, 5, 6}}, {{5, 8}, {1, 5, 8}}, {{5, 8}, {1, 2, 5}}, 
    {{5, 6}, {4, 5, 8}}, {{5, 6}, {3, 6, 7}}, {{5, 6}, {2, 5, 6}}, 
    {{5, 6}, {2, 3, 6}}, {{5, 6}, {1, 5, 8}}, {{5, 6}, {1, 2, 5}}, 
    {{4, 8}, {4, 7, 8}}, {{4, 8}, {4, 5, 8}}, {{4, 8}, {3, 4, 7}}, 
    {{4, 8}, {1, 5, 8}}, {{4, 7}, {4, 7, 8}}, {{4, 7}, {4, 5, 8}}, 
    {{4, 7}, {3, 6, 7}}, {{4, 7}, {3, 4, 7}}, {{4, 5}, {4, 7, 8}}, 
    {{4, 5}, {4, 5, 8}}, {{4, 5}, {3, 4, 7}}, {{4, 5}, {2, 5, 6}}, 
    {{4, 5}, {1, 5, 8}}, {{4, 5}, {1, 2, 5}}, {{3, 7}, {4, 7, 8}}, 
    {{3, 7}, {3, 6, 7}}, {{3, 7}, {3, 4, 7}}, {{3, 7}, {2, 3, 6}}, 
    {{3, 6}, {3, 6, 7}}, {{3, 6}, {3, 4, 7}}, {{3, 6}, {2, 5, 6}}, 
    {{3, 6}, {2, 3, 6}}, {{3, 4}, {4, 7, 8}}, {{3, 4}, {4, 5, 8}}, 
    {{3, 4}, {3, 6, 7}}, {{3, 4}, {3, 4, 7}}, {{3, 4}, {2, 3, 6}}, 
    {{2, 6}, {3, 6, 7}}, {{2, 6}, {2, 5, 6}}, {{2, 6}, {2, 3, 6}}, 
    {{2, 6}, {1, 2, 5}}, {{2, 5}, {4, 5, 8}}, {{2, 5}, {2, 5, 6}}, 
    {{2, 5}, {2, 3, 6}}, {{2, 5}, {1, 5, 8}}, {{2, 5}, {1, 2, 5}}, 
    {{2, 3}, {3, 6, 7}}, {{2, 3}, {3, 4, 7}}, {{2, 3}, {2, 5, 6}}, 
    {{2, 3}, {2, 3, 6}}, {{2, 3}, {1, 2, 5}}, {{1, 8}, {4, 7, 8}}, 
    {{1, 8}, {4, 5, 8}}, {{1, 8}, {1, 5, 8}}, {{1, 8}, {1, 2, 5}}, 
    {{1, 5}, {4, 5, 8}}, {{1, 5}, {2, 5, 6}}, {{1, 5}, {1, 5, 8}}, 
    {{1, 5}, {1, 2, 5}}, {{1, 2}, {2, 5, 6}}, {{1, 2}, {2, 3, 6}}, 
    {{1, 2}, {1, 5, 8}}, {{1, 2}, {1, 2, 5}}, {{4, 7, 8}, {7, 8}}, 
    {{4, 7, 8}, {6, 7}}, {{4, 7, 8}, {5, 8}}, {{4, 7, 8}, {4, 8}}, 
    {{4, 7, 8}, {4, 7}}, {{4, 7, 8}, {4, 5}}, {{4, 7, 8}, {3, 7}}, 
    {{4, 7, 8}, {3, 4}}, {{4, 7, 8}, {1, 8}}, {{4, 5, 8}, {7, 8}}, 
    {{4, 5, 8}, {5, 8}}, {{4, 5, 8}, {5, 6}}, {{4, 5, 8}, {4, 8}}, 
    {{4, 5, 8}, {4, 7}}, {{4, 5, 8}, {4, 5}}, {{4, 5, 8}, {3, 4}}, 
    {{4, 5, 8}, {2, 5}}, {{4, 5, 8}, {1, 8}}, {{4, 5, 8}, {1, 5}}, 
    {{3, 6, 7}, {7, 8}}, {{3, 6, 7}, {6, 7}}, {{3, 6, 7}, {5, 6}}, 
    {{3, 6, 7}, {4, 7}}, {{3, 6, 7}, {3, 7}}, {{3, 6, 7}, {3, 6}}, 
    {{3, 6, 7}, {3, 4}}, {{3, 6, 7}, {2, 6}}, {{3, 6, 7}, {2, 3}}, 
    {{3, 4, 7}, {7, 8}}, {{3, 4, 7}, {6, 7}}, {{3, 4, 7}, {4, 8}}, 
    {{3, 4, 7}, {4, 7}}, {{3, 4, 7}, {4, 5}}, {{3, 4, 7}, {3, 7}}, 
    {{3, 4, 7}, {3, 6}}, {{3, 4, 7}, {3, 4}}, {{3, 4, 7}, {2, 3}}, 
    {{2, 5, 6}, {6, 7}}, {{2, 5, 6}, {5, 8}}, {{2, 5, 6}, {5, 6}}, 
    {{2, 5, 6}, {4, 5}}, {{2, 5, 6}, {3, 6}}, {{2, 5, 6}, {2, 6}}, 
    {{2, 5, 6}, {2, 5}}, {{2, 5, 6}, {2, 3}}, {{2, 5, 6}, {1, 5}}, 
    {{2, 5, 6}, {1, 2}}, {{2, 3, 6}, {6, 7}}, {{2, 3, 6}, {5, 6}}, 
    {{2, 3, 6}, {3, 7}}, {{2, 3, 6}, {3, 6}}, {{2, 3, 6}, {3, 4}}, 
    {{2, 3, 6}, {2, 6}}, {{2, 3, 6}, {2, 5}}, {{2, 3, 6}, {2, 3}}, 
    {{2, 3, 6}, {1, 2}}, {{1, 5, 8}, {7, 8}}, {{1, 5, 8}, {5, 8}}, 
    {{1, 5, 8}, {5, 6}}, {{1, 5, 8}, {4, 8}}, {{1, 5, 8}, {4, 5}}, 
    {{1, 5, 8}, {2, 5}}, {{1, 5, 8}, {1, 8}}, {{1, 5, 8}, {1, 5}}, 
    {{1, 5, 8}, {1, 2}}, {{1, 2, 5}, {5, 8}}, {{1, 2, 5}, {5, 6}}, 
    {{1, 2, 5}, {4, 5}}, {{1, 2, 5}, {2, 6}}, {{1, 2, 5}, {2, 5}}, 
    {{1, 2, 5}, {2, 3}}, {{1, 2, 5}, {1, 8}}, {{1, 2, 5}, {1, 5}}, 
    {{1, 2, 5}, {1, 2}}, 
    
    (* and now the 42  triangle-triangle interactions, the 4-forms       *)
    
    {{4, 7, 8}, {4, 7, 8}}, {{4, 7, 8}, {4, 5, 8}}, {{4, 7, 8}, {3, 6, 7}}, 
    {{4, 7, 8}, {3, 4, 7}}, {{4, 7, 8}, {1, 5, 8}}, {{4, 5, 8}, {4, 7, 8}}, 
    {{4, 5, 8}, {4, 5, 8}}, {{4, 5, 8}, {3, 4, 7}}, {{4, 5, 8}, {2, 5, 6}}, 
    {{4, 5, 8}, {1, 5, 8}}, {{4, 5, 8}, {1, 2, 5}}, {{3, 6, 7}, {4, 7, 8}}, 
    {{3, 6, 7}, {3, 6, 7}}, {{3, 6, 7}, {3, 4, 7}}, {{3, 6, 7}, {2, 5, 6}}, 
    {{3, 6, 7}, {2, 3, 6}}, {{3, 4, 7}, {4, 7, 8}}, {{3, 4, 7}, {4, 5, 8}}, 
    {{3, 4, 7}, {3, 6, 7}}, {{3, 4, 7}, {3, 4, 7}}, {{3, 4, 7}, {2, 3, 6}}, 
    {{2, 5, 6}, {4, 5, 8}}, {{2, 5, 6}, {3, 6, 7}}, {{2, 5, 6}, {2, 5, 6}}, 
    {{2, 5, 6}, {2, 3, 6}}, {{2, 5, 6}, {1, 5, 8}}, {{2, 5, 6}, {1, 2, 5}}, 
    {{2, 3, 6}, {3, 6, 7}}, {{2, 3, 6}, {3, 4, 7}}, {{2, 3, 6}, {2, 5, 6}}, 
    {{2, 3, 6}, {2, 3, 6}}, {{2, 3, 6}, {1, 2, 5}}, {{1, 5, 8}, {4, 7, 8}}, 
    {{1, 5, 8}, {4, 5, 8}}, {{1, 5, 8}, {2, 5, 6}}, {{1, 5, 8}, {1, 5, 8}}, 
    {{1, 5, 8}, {1, 2, 5}}, {{1, 2, 5}, {4, 5, 8}}, {{1, 2, 5}, {2, 5, 6}}, 
    {{1, 2, 5}, {2, 3, 6}}, {{1, 2, 5}, {1, 5, 8}}, {{1, 2, 5}, {1, 2, 5}}
    
    Since there are 0,1,2,3,4 forms, the quadratic Betti vector (Wu Betti vector) has 5 components. It is (0,0,0,0,0).
    Here is the Laplacian L of the Wu characteristic of the Moebius graph and then the inverse matrix L-1.

    The smallest eigenvalue of L is 0.0975297 (it is not zero!), the largest eigenvalue is 10.9754. And here is the Laplacian of the Wu characteristic of the Cylinder graph. It has a two dimensional kernel and Betti vector (0,0,1,1,0).

  • [March 15, 2016] The cubic Wu characteristic w3(G) works now too and is implemented in the computer. The exterior derivative is
     dF(x,y,z) = F(dx,y,z) + (-1)dim(x) F(x,dy,z) + (-1)dim(x)+dim(y) F(x,y,dz) .
    
    Here are some computations of the cubic Betti vector, telling about the dimensions of the various cubic interaction cohomology groups. They appear invariant under Barycentric refinement. Of course this still needs to be proven but it should be no problem: just extend the Kuenneth formula to products of graphs. It appears just a technicality to push the chain homotopy construction due to de Rham from the Euler characteristic case (k=1) to the quadratic (k=2), cubic or general k-Wu characteristic case. As in the classical de Rham case, the de Rham construction of cohomology will be a considerable reduction of complexity. De Rham cohomology is considerably less computationally intense than simplicial cohomology, essentially because there are less cubes than simplices needed to cover the geometric structure. However it can only be used if the graph can be patched with charts which have a local product structure (as in manifolds). Complexity reduction is badly needed as the computations of the cohomology groups are getting heavy. In the cubic case, the machine chokes already, when dealing with the relatively small 3-sphere (which is the 16-cell, a Platonic 3-dimensional polytop, a graph with 8 vertices, 24 edges which is classically realized as a convex polytop in 4D and so often dubbed "four dimensional polytop", even so its topological realization is a 3-sphere, a topological 3-manifold). [ Tried first on my Mac Air. But the process even quits due to lack of memory on my office workstation where I always keep the heaviest Thinkmate metal I can afford. The bottle neck is first an innocent looking part which sorts triples of simplices using a built in conditional sort algorithm in Mathematica and then of course linear algebra, where the machine has to deal with 140'816x140'816 matrices. (There are 140'816 ordered triples of intersecting simplices in that graph). To store such a Dirac matrix, one already needs 158 GBytes, which requires a lot of swap space. On my mac air, I have only 8 Gig memory. On my work station (which soon needs to be replaced), I have currently only 32 Gig of RAM. In the next one, I will certainly go to at least 256 Gig of RAM. For now, I might have to deal with less time effective but less memory heavy algorithms or then use theory.] In the following table, the size of the Dirac operator is given to illustrate that linear algebra gets heavy. Bary(G) refers to the Barycentric refinement of G. The Betti vectors for the 3-spheres, 4-spheres, Projective plane and Kleinbottle is what I expect it to be. The projective plane and Klein bottle could be implemented on smaller graphs.
    Euler  Betti     Wu3   Cubic Betti          name           Dirac operator
    -----------------------------------------------------------------------
      1    (1)       1     (1)                  K_1 (point)            1x1
      0    (1,1)     0     (0,0,1,1)            1-sphere C_4         104x104   
      1    (1,0)     1     (0,0,1,0)            K2         15x15
      2    (1,0,1)   2     (0,0,0,0,1,0,1)      2-sphere (octah.)   4058x4058   
      2    (1,0,1)   2     (0,0,0,0,1,0,1)      2-sphere (icosah.) 15182x15182  
      0    (1,0,0,1) 0     (0,0,0,0,0,0,1,0,0,1)  3-sphere        140816x140816 
      2    (1,0,0,0,1) 2   (0,0,0,0,0,0,0,0,1,0,0,0,1)  4-sphere 4583282x4583282
      1    (1,0)     1     (0,0,1,0)            1-ball L(2)           41x41    
      1    (1,0,0)   1     (0,0,0,0,1,0,0)      2-ball W(4)         1457x1457  
      1    (1,0)    -5     (0,0,0,5)            3-star graph          85x85    
      1    (1,0)    -23    (0,0,0,23)           4-star graph         153x153  
      1    (1,0)    -59    (0,0,0,59)           5-star graph         251x251  
      1    (1,0)    -59    (0,0,0,59)           Bary(5star)          381x381  
     -1    (1,2)    -25    (0,0,0,25)           Figure 8 graph       279x279   
     -2    (1,3)   -122    (0,0,0,122)          Clover (3 bouquet)   574x574
     -3    (1,4)   -339    (0,0,0,339)          Lucky  (4 bouquet)  1037x1037
     -4    (1,5)   -724    (0,0,0,724)          5 bouquet           1716x1716
     -1    (1,2)    -25    (0,0,0,25)           Bary(Figure8)        487x487  
      1    (1,0)     -5    (0,0,0,6,1,0,0)      Rabbit graph         335x335   
      1    (1,0)     -5    (0,0,0,6,1,0,0)      Bary(Rabbit)        3651x3651  
      0    (1,1)      0    (0,0,0,1,1,0,0)      House graph          342x342    
      0    (1,1)      0    (0,0,0,1,1,0,0)      Bary(House)         3672x3672 
     -4    (1,5)    -52    (0,0,0,52)           Cube graph           500x500
     -16   (14,30)  -400   (0,0,0,400)          Tesseract           1968x1968
      0    (1,1,0)   0     (0,0,0,0,1,1,0)      Moebius strip       4016x4016
      0    (1,1,0)   0     (0,0,0,0,1,1,0)      Cylinder           12296x12296
      1    (1,0,0)   1     (0,0,0,0,0,0,1)      Projective plane   26953x26953
      0    (1,1,0)   0     (0,0,0,0,0,1,1)      Klein bottle      137100x137100
      1    (1,0,0)   1                          Dunce Hat       
    
    
    Here are pictures of the new Laplacian for the house graph G and its Barycentric refinement G1:
    Cubic Dirac GCubic Laplacian G Cubic Dirac G1Cubic Laplacian G1
  • [March 14, 2016, piday] The interaction cohomology definition worked for the theorems but there was a major problem: it was not invariant under Barycentric refinement! Yesterday and today, I ran experiments with other definitions. Hybrid singular-de-Rham type things like dF(x,y) = (F(dx,y),F(x,dy)) = (P,Q), d(P,Q) = Q(dx,y)-P(x,dy) etc does not work because it is not compatible in higher dimensions and would rather be a de-Rham type construct for a refined graph. The correct definition is the exterior derivative:
    dF(x,y) = F(dx,y) + (-1)dim(x) F(x,dy) 
    
    Here, x,y are the interacting simplices in the graph and dx,dy are the boundary chains and F is a discrete quadratic differential form (or better anti-symmetric quadratic valuation as it is a functional on pairs of oriented subgraphs). All the theorems still work (the heat proof below for Lefschetz for example is so simple and universal that it works for any cohomology given by concrete exterior derivative. This is nice but it seduced to stick with the first best cohomology which came to mind). New is that the cohomology groups are now combinatorial invariants which go over to the continuum. In other words, the Betti numbers are now reasonable. For a triangle for example it is b=(0, 0, 1, 0, 0), for a K4 graph, it is (0,0,0,1,0,0,0) etc. For a circular graphs Cn (the discrete circle) it is (0,1,1). For the octahedron graph (the discrete 2-sphere) (0,0,1,0,1). For the discrete 2-torus, it is (0,0,1,2,1). Lets compute it for list of graphs. For discrete d-manifolds, the Interaction Betti vector is just shifted, adding d zeroes, but for discrete varieties, the numbers are interesting. So, like Wu characteristic, for manifolds, the quantities do not produce any new invariants. This changes however for varieties or more general structures, where the Betti numbers are interesting quantities to study. Also, as there are a couple of cohomologies in the continuum, one has to see whether it belongs to one seen in the continuum.
    Euler   Betti       Wu    Interaction-Betti     graph name
    -------------------------------------------------------------
      1     (1)         1     (1)                   K1 (point) 
      1     (1,0)       -1    (0,1,0)               K2 interval
      0     (1,1)       0     (0,1,1)               1-sphere
      2     (1,0,1)     2     (0,0,1,0,1)           2-sphere
      0     (1,0,0,1)   0     (0,0,0,1,0,0,1)       3-sphere
      2     (1,0,0,0,1) 2     (0,0,0,0,1,0,0,0,1)   4-sphere 
      0     (1,2,1)     0     (0,0,1,2,1)           2-torus
      1     (1,0)       -1    (0,1,0)               1-ball
      1     (1,0,0)     1     (0,0,1,0,0)           2-ball
      1     (1,0,0,0)   -1    (0,0,0,1,0,0,0)       3-ball
      1     (1,0)       1     (0,0,1)               3-star graph
      1     (1,0)       1     (0,0,0,0,1)           3-star x 3-star
      1     (1,0)       5     (0,0,5)               4-star graph
      1     (1,0)       11    (0,0,11)              5-star graph
     -1     (1,2)       7     (0,0,7)               Figure 8 graph (w bouquet) 
     -2     (1,3)      22     (0,0,22)              Clover (3 bouquet)
     -3     (1,4)      45     (0,0,35)              Lucky  (4 bouquet)
     -4     (1,5)      76     (0,0,76)              5 bouquet 
      1     (1,0)       3     (0,0,3,0,0)           Rabbit graph
      0     (1,1)       2     (0,0,2,0,0)           House graph
     -4     (1,5)      20     (0,0,20)              Cube graph 
     -16    (14,30)   112     (0,0,112)             Tesseract 
      0     (1,1,0)     0     (0,0,0,0,0)           Moebius strip 
      0     (1,1,0)     0     (0,0,1,1,0)           Cylinder K2xC4
      0     (1,1,0)     0     (0,0,0,1,1)           Klein bottle
      1     (1,0,0)     1     (0,0,0,0,1)           Projective plane
      1     (1,0,0)     1     (0,0,0,1,2)           Dunce Hat 
    
    Here are some computations for random Erdoes-Renyi graphs with 10 vertices. We clearly observe Euler-Poincaré both for Euler characteristic and Wu characteristic: the super sum of the betti numbers are Euler characteristic, the super sum of the interaction betti numbers is the Wu characteristic.
    Euler  Betti        Wu     Interaction-Betti   
    -----------------------------------------------
    -3    {1, 4, 0}      5     {0, 0, 6, 1, 0}
    -4    {1, 5, 0}     12     {0, 0, 13, 1, 0}
     0    {1, 1, 0, 0}  -6     {0, 0, 1, 7, 0, 0, 0}
    -1    {1, 2, 0, 0}  -3     {0, 0, 1, 4, 0, 0, 0}
    -2    {1, 3, 0, 0}   2     {0, 0, 3, 1, 0, 0, 0}
    -2    {1, 3, 0, 0}   4     {0, 0, 7, 3, 0, 0, 0}
     0    {1, 1, 0, 0}   2     {0, 0, 3, 1, 0, 0, 0}
     0    {1, 1, 0, 0}   2     {0, 0, 3, 2, 1, 0, 0}
    -4    {1, 5, 0, 0}  12     {0, 0, 15, 3, 0, 0, 0}
    -1    {1, 2, 0, 0}   1     {0, 0, 4, 3, 0, 0, 0}
    
    Here are some larger graphs with 12 vertices:
    Euler  Betti           Wu      Interaction-Betti
    -----------------------------------------------
    -2    {1, 3, 0, 0, 0}   6      {0, 0, 5, 0, 1, 0, 0, 0, 0}
    -3    {1, 4, 0, 0}      1      {0, 0, 6, 5, 0, 0, 0}
     1    {1, 2, 2, 0}     -5      {0, 0, 2, 11, 4, 0, 0}
    -2    {1, 3, 0, 0}     -4      {0, 0, 3, 7, 0, 0, 0} 
    -2    {1, 3, 0, 0, 0}   6      {0, 0, 5, 0, 1, 0, 0, 0, 0}
    -3    {1, 4, 0, 0}      5      {0, 0, 10, 5, 0, 0, 0}
     0    {1, 1, 0, 0}      2      {0, 0, 1, 0, 1, 0, 0}
     1    {1, 1, 1, 0}     -3      {0, 0, 1, 5, 1, 0, 0}
     2    {1, 0, 1, 0}     -4      {0, 0, 0, 5, 1, 0, 0}
    -1    {1, 2, 0, 0, 0}   1      {0, 0, 4, 4, 1, 0, 0, 0, 0}
    
    We still need to implement the cohomology for cubic Wu characteristic. It certainly will go the same way: define
     dF(x,y,z) = F(dx,y,z) + (-1)dim(x) F(x,dy,z) + (-1)dim(x)+dim(y) F(x,y,dz)
    
    Now the cubic Wu characteristic will be the super sum of the Interaction betti numbers and the Lefschetz formula will hold.

    A benefit of programming the more general Dirac operators is to have rebuilt from scratch the code for computing the standard Dirac operator for simplicial cohomology. The computation of the Betti numbers for an arbitrary simplicial complex is now 12 lines of Mathematica code (the code is displayed at the end of the Dirac paper had been about 18 lines.) To compute it for graphs which have the simplicial complex only impliciely defined, one has to include "Whitney", the procedure to find the Whitney simplicial complex of the graph). The code is now not only more elegant, it also has sped up the computation by a factor 2.
  • [March 11, 2016] An other concept which can be generalized from Euler to all Wu characteristics is that if T is a graph endomorphism, one can average the function iT(x) which is only nonzero on interacting k-tuples of indices x which are fixed poits of T. We can average this index over all automorphisms T to get a curvature. The Lefschetz formula for Wu characteristic shows that the sum of all these values is the Lefschetz number Xk,T(G) of the endomorphism T. For T=Identity, this is wk(G), the k-th Wu characteristic. As pointed out in the fixed point article (which only deals with the Euler characteristic case), one can look at the Brouwer index iT(x) as a Poincaré-Hopf index. When averaged it becomes a curvature. The average of the Lefschetz formula becomes now a Gauss-Bonnet formula. This would apply also to the continuum, where the Brouwer index of a diffeomorphim T on a manifold is under mild genericity conditions a Dirac measure located on finitely many points or a divisor in the curve case. A technical difficulties in the continuum in that we have to require some Morse type transversality condition of the map T: M -> M in order that the classical theorem works. The discrete is free of any artificial technical difficulties. Since there are no conditions, the proofs are easy too.
    [ By the way, the averaging point of view for curvature is heavily motivated from physics: given a specific "wave" function f, the curvature of space is localized on the Poincaré-Hopf indices. When averaging over all wave functions (a picture of Feynman), we get geometric Euler or more generally Wu curvature. The Feynman picture is omni present in mathematics. Already in the Leibniz definition of determinants where we sum over all closed paths in a complete weighed graph G which is equivalent to summing some action of a path over the automorphism group of G which is the full permutation group. Determinants are a prototype of a path integral. ]
    When averaging the Lefschetz numbers iT(x) over all automorphism, this gives a curvature number which has lost its dynamical nature and becomes geometric: it only depends on the graph G. This also works in the Wu characteristic case
       sumT in Aut(G)  XT,k(G) ,
    
    where XT(G) is the Lefschetz number for the T on G for the k-th Wu characteristic. The curvature could be pushed from simplices to vertices as in the proof of the Gauss-Bonnet theorem. In the case when the graph has a trivial automorphism group, the average Lefschetz number is the k'th Wu characteristic of G. In general, it will be the Wu characteristic of a quotient chain. Examples
    1) Lets look at it in the case of the graph Cn with n>3, where Aut(G) is a dihedral group. In that case, for any orientation preserving automorphism, the Lefschetz number XT,k(G) is zero and for any orientation reversing automorphism, it is 2. The average is 1.

    2) Lets look at the rabbit graph which is also in the handout. All the 4 automorphisms have Lefschetz number 1 (as mentioned in the handout too). We did also compute the Lefschetz numbers with respect to Wu characteristic: the indices are (3, 1, 1, -1), the first one belongs to the identity and agrees with the Wu characteristic of the graph. The average over all Lefschetz numbers is 1.

    3) Now lets look at the Wheel graph with 6 spikes. The Automorphism group is the dihedral group D6 and each of the 12 automorphisms has Lefschetz number 1. The Wu-Lefschetz numbers are either 1 or -1. Half of them are minus 1. The average Wu Lefschetz number is 0.

    4) For a star graph with 5 spikes, the automorphism group has 5! = 120 elements. The Lefschetz story for Euler characteristic is boring: all 120 automorphisms have the same Lefschetz number 1. The average is 1. For Wu characteristic, there is one automorphism, the identity with Lefschetz number 11, the others are either 1 or -1 and the sum is 0.

    5) For the line graph with 4 vertices and 3 edges, the average Lefschetz number is 1, the average Wu Lefschetz number is 0.

    5) For the cube graph, the Lefschetz numbers of the 48 automorphisms are (-4, 2, 2, 2, 2, 2, 4, 2, 0, 0, 0, 0, 0, 0, 4, 0, 2, 0, 0, 0, 0, 4, 0, 2, 2, 2, 0, 0, 0, 2, 2, 2, 0, 0, 2, 0, 0, 2, 2, 0, 2, 0, 2, 0, 0, 2, 2, 0) which average to 1. The Wu Lefschetz numbers of the 48 automorphisms are (20,-2, -2, 2, 2, -2, 4, 2, 0, 0, 0, 0, 0, 0, 4, 0, 2, 0, 0, 0, 0, 4, 0, 2, -2, 2, 0, 0, 0, 2, 2, -2, 0, 0, 2, 0, 0, 2, 2, 0, -2, 0, 2, 0, 0, 2, 2, 0), which again averages to 1.

    As shown in the fixed point paper, the average Lefschetz number is an integer as it is the Euler characteristic of the quotient chain G/Aut(G) which is not a graph in general. This also holds in the Wu characteristic generalization: The average Lefschetz number of an automorphism is the Wu characteristic of the quotient chain (if we make a Barycentric refinement first, we can assure that the quotient is a graph.
  • [March 10, 2016] The handout claims a bit boldly that Euler characteristic is the most important quantity in all of mathematics as it appears in so many theorems: Gauss-Bonnet, Poincaré-Hopf, Euler-Poincaré, McKean-Singer, Steinitz-DeRham [P.S. I actually do not know who really proved first that the Euler characteristic is multiplicative but these mathematicians seem have known, and I needed a two person label to fit the other theorems], Brouwer-Lefschetz, Riemann-Hurwitz and Riemann-Roch. [Again, Gauss-Bonnet could also be Gauss-Bonnet-Chern because it is the analogue of the multidimensional theorem in differential geometry. For Brouwer-Lefschetz, one sometimes calls it Lefschetz-Hopf theorem, but Brouwer has proven the most important special case when all cohomology groups except the 0th one are trivial].
    What other numerical quantity could compete? Entropy comes in mind. It is a functional which satisfies many interesting properties like extremal variational properties, explains some central limit theorems in renormalization pictures, where it is a Lyapunov function similarly than energy is in other contexts. The number maximizing entropy -x log(x) is 1/e, where e is the Euler constant 2.718..., somehow showing that e is a most natural number which almost can compete with Pi. And then there are dynamical entropy quantities like topological or metric entropies. They are fair to include as a "dynamical entropy" to the concept "entropy", considering that the Lefschetz number is a "dynamical Euler characteristic". There are a few nice theorems for entropy, especially in ergodic theory or probability theory. It is for example the logarithm of a determinant for some discrete Hamiltonian systems. It is a Lyapunov function under Markov flows. An other candidate for "most important quantity in mathematics" is probably the notion of determinant. Like Euler characteristic, it satisfies a multiplicative property, the Cauchy-Binet formula, even a bit more general. An other candidate could be some values of zeta functions ("quantity" should not include "functions", but numerical quantities, a competition on "functions" would certainly put "Zeta functions" very top). And then there is the notion of "dimension" which also competes rather well as a numerical quantity for geometries. It also satisfies the product formula in many cases or an inequality dim(A x B) >= dim(A) + dim(B), like for Hausdorff dimension and for inductive graph dimension. Other quantities which come to mind are general functionals like probability, energy, action or complexity, the number of Turing computation steps needed for a computation, or the number of proof steps in a predefined axiomatic frame work. Without further structure these notions are however too general to compete. They are so general, that there are not many general theorems for them. So, here is a larger set for candidates for "the most important numerical functional in mathematics":

    1. Euler characteristic
    2. Entropy
    3. Determinant
    4. Dimension
    5. Complexity
    6. Probability


    Wu characteristic as a generalization of Euler characteristic certainly has a shot at that list.
  • [March 8, 2016] A handout for a mathtable talk.
  • [March 7, 2016] The proof of the Lefschetz formula could be done similarly as in the Euler characteristic case. Here is a new proof using super symmetry which readily generalizes to all the Wu characteristics. It shows that whenever we have a Laplacian L=(d+d*)^2 belonging to an exterior derivative d (producing cohomology) and a transformation T, there is a Lefshetz formula equating the sum of the indices of fixed points and super trace of transformation induced on interaction cohomology:

    PROOF: We have a permutation matrix = unitary Koopman transformation U=UT induced by the graph automorphism on the total interaction Hilbert space of all the simplex interactions in the graph. And then there is the heat flow V(t) = exp(-t L) which is for every t a matrix of the same size. Now compose these two transformations to get the heat permutation flow W(t) = U V(t) and look at its super trace, the trace on the even part minus the trace on the odd part. For t=0, this trace is nothing else than the sum of the indices of the fixed interaction k-tuples. Now use the McKean-Singer magic, the super trace of any positive power of L on the complement of the kernel is always zero. This is the super symmetry: (See here): the union of the positive eigenvalues on the even dimensional part of the interaction Laplacian L is the same than the union of the positive eigenvalues on the odd dimensional part of L. This symmetry always holds for an operator L = D2, where D=d+d* with d2=0. The reason is that the Dirac operator D maps between even and odd dimensional parts and induces an isomorphism on the complement of the harmonic part. Now, for t reaching to infinity, the heat flow kills the eigen space to the positive eigenvalues and pushes the operator W(t) towards a projection onto the kernel. The projection onto harmonic interaction differential forms build the attractor.
    [March 10: it is maybe still necessary to clarify, why the super trace for t=0 is the sum of the Brouwer indices of the fixed points. First of all, the fixed points are in the diagonal of the Koopman operator, but U also permutes the individual vertices of the fixed simplices. Now if we look at a differential form f (or quadratic differential form f in the Wu case), then permuting the simplex induces a sign change of the form, by definition of differential forms. Together with the super trace definition, every fixed point contributes (-1)dim(x) sign(T|x) or (-1)dim(x)+dim(y) sign(T|x) sign(T|y). ]
    Since by Hodge theory (which in the discrete just linear algebra because we are in a finite dimensional setup), the kernel of the Laplacian Lm on m-interaction forms parametrized representatives of the m-th cohomology group, the transformation W(infinity) is nothing else than the induced linear transformation on cohomology. Its super trace is by definition the Lefschetz number. In other words,
    The heat-permutation flow produces a natural interpolation between the fixed point picture (t=0) and the cohomology picture (t=infinity)
    The super symmetry relation assures that the super trace does not depend on t. The heat flow washes away the positive spectrum and leaves only the bare harmonic part responsible for the cohomology description. For T=Identity, the heat flow interpolates between the combinatorial definition of the Wu characteristic and the cohomological definition of the Wu characteristic, similarly as in the case of the Euler characteristic.


    The proof shows that in any situation for which one has Euler Poincaré, there is also a Lefschetz formula for interaction cohomology. The earlier proof in the case of Euler characteristic uses a very simple principle: an action of a permutation on a finite set has two type of invariant sets: either they are cycles or then they are fixed points. The cycles have characteristic zero, the fixed points survive. Note that we have cycles of three points for example, then this is a triangle and counts as a fixed point.

  • [Mar 6, 2016] Having proven it and after implemented it numerically and see confirmed, it is possible also to announce a Lefschetz theorem for Wu characteristic. Given a finite simple graph G and an automorphism T, we can look at the super trace of the induced map on the interaction cohomology of the Wu characteristic and call this the Lefschetz number of the transformation T. Given a pair of simplices (x,y) which intersect, we call it a fixed point of T if T(x)=x,T(y)=y. Define the Brouwer index of the fixed point as (-1)dim(x) + dim(y) sign(T|x) sign(T|y), where sign is the signature of the permutation induced on the simplex. Similarly, one can define an index in the case of k-tuples of intersecting simplices. This is an adaptation of the Brouwer index, I have used for the Lefschetz formula in the case of the Euler characteristic, which corresponds classically to the Lefschetz theorem in topology. The theorem is

    Theorem: Lefschetz formula for Wu characteristic:

    For any graph homomorphism T of a finite simple graph G and any positive k, the Lefschetz number of T with respect to k'th Wu cohomology is the same than the sum of the indices of the fixed interaction k-tuples of T. If T is the identity, then the Lefschetz number is the k'th Wu characteristic and the identity is the Euler-Poincaré formula for Wu characeteristic. For k=1, this is the classical Brouwer-Lefschetz fixed point theorem.


    Note again, we have to stress, that no assumption whatsoever are necessary. The theorem holds for any general finite simple graph = network. Automorphisms are a bit rigid, especially for general networks, the automorphism group is in general rather small. However, the group of homeomorphsims on a graph is much larger. Generalizing Brouwer to a discrete Kakutani theorem was actually the motivation for this paper. In the discrete, graph homeomorphisms are naturally "pointless topological objects" which means when looked upon classically that we have multi-valued maps. This is needed to get any decent version of "homeomorphism" or "rubber geometry" on a graph. Now, in the case of Wu characteristic, there is no proof yet that Wu characteristic is invariant under homeomorphisms. If it should not be the case, I would be even willing to restrict the allowed topologies on graphs or restrict the class of graphs to have it work. [March 10: (one example could be to assume he restriction of having a shellable Whitney complex). It should still be true in general however: it holds for geometric graphs with boundary and if we grow lower dimensional parts, it sill works. And there are certainly non-shellable graphs for which Wu characteristic behaves nicely. Under Barycentric subdivision (which are homeomorphic), the graph grows to a monstrum consisting of patched discrete varieties, something one could visualize a scheme to look like if one would have to make a picture of a scheme. ]

    The theorem could be applied in the same way as in classical topology: if the Lefschetz number is not zero, then there are fixed interaction k-tuples. This still needs to be harvested. One would need an application where the interaction between various cliques is of interest and does not change under some transformation. Classical simplicial cohomology gives cliques which are fixed. In the case of Euler characteristic, where one deals with the classical simiplicial cohomology, any transformation on a contractible graph has Lefschetz number 1 and one has the Brouwer fixed point theorem, telling that an automorphism on a contractible graph always has a fixed simplex. Again, as in the case of Euler characteristic, also for Wu characteristic, the Lefschetz formula reduces in the case of the identity just the Euler-Poincaré theorem. Except for very small graphs, examples are hard to compute by hand. Here are two examples. The first one can be done by hand:

    Example 1: let G=C4 be the circle graph and T=(4,3,2,1) an orientation reversing transformation. The Euler characteristic and Wu characteristic of G are both zero. The Lefschetz number of T is 2 for Euler characteristic as well as for Wu characteristic: the transformation not only reverses the order of the edges but also the order of edge-vertex interactions. But there are only two fixed points in the Wu chase and both are self interactions of edges by themselves. The index of each of these fixed points is 1. They add up to the Lefschetz number 2.

    Example 2: let G be the octahedron graph. It has 6 vertices, 12 edges and 8 triangle. The Hilbert space in which everything works has already dimension 386, which is the sum over all the entries in the f-matrix whose entry Vij encodes how many i-simplices interact with j-simplices:
    V(G) = | 6    24   24 |
           |24    84   72 |
           |24    72   56 |
    
    Let the numbering be so that the edge set of G is E={ (1,2),(1,3),(1,4),(1,5),(2,3),(2,4),(2,6),(3,5),(3,6),(4,5),(4,6),(5,6) }. Let the transformation be T= {1, 4, 5, 2, 3, 6}. This transformation fixes the north and south poles 1 and 6 and flips the pairs 2-4 and 3-5. The traces on the various cohomologies are
    {0, 0, -2, 2, 4}
    
    It super sums to 0. Here is a list of fixed pairs of simplices:
    fixed interaction       index
    -----------------------------
    {{1}, {1}}              1
    {{1}, {1, 2, 4}}       -1
    {{1}, {1, 3, 5}}       -1
    {{6}, {6}}              1
    {{6}, {2, 4, 6}}       -1
    {{6}, {3, 5, 6}}       -1
    {{1, 2, 4}, {1}}       -1
    {{1, 2, 4}, {1, 2, 4}}  1
    {{1, 2, 4}, {1, 3, 5}}  1
    {{1, 2, 4}, {2, 4, 6}}  1
    {{1, 2, 4}, {2, 4}}    -1
    {{1, 3, 5}, {1}}       -1
    {{1, 3, 5}, {1, 2, 4}}  1
    {{1, 3, 5}, {1, 3, 5}}  1
    {{1, 3, 5}, {3, 5, 6}}  1
    {{1, 3, 5}, {3, 5}}    -1
    {{2, 4, 6}, {6}}       -1
    {{2, 4, 6}, {1, 2, 4}}  1
    {{2, 4, 6}, {2, 4, 6}}  1
    {{2, 4, 6}, {3, 5, 6}}  1
    {{2, 4, 6}, {2, 4}}    -1
    {{3, 5, 6}, {6}}       -1
    {{3, 5, 6}, {1, 3, 5}}  1
    {{3, 5, 6}, {2, 4, 6}}  1
    {{3, 5, 6}, {3, 5, 6}}  1
    {{3, 5, 6}, {3, 5}}    -1
    {{2, 4}, {1, 2, 4}}    -1
    {{2, 4}, {2, 4, 6}}    -1
    {{2, 4}, {2, 4}}        1
    {{3, 5}, {1, 3, 5}}    -1
    {{3, 5}, {3, 5, 6}}    -1
    {{3, 5}, {3, 5}}        1
    
    Also the sum of the indices is zero. Lets compare this with the classical Lefschetz fixed point formula, where the transformation T induces a linear map on classical simplicial cohomology, the traces 1,0,-1 which gives the Lefschetz number 0. Classically, the transformation has 8 fixed simplices:
    fixed simplices        index
    ----------------------------
    {1}                    1 
    {6}                    1
    {1, 4, 2}             -1
    {1, 5, 3}             -1
    {4, 2, 6}             -1
    {5, 3, 6}             -1
    {4, 2}                 1 
    {5, 3}                 1
    
    whose indices add up to zero, the Lefschetz number of the graph automorphism.
  • [Feb 20, 2016] Implementing the cubic interaction cohomology only required small changes. As expected, the story is the same. The cubic Wu characteristic, which sums over triples of intersecting simplices has also a cohomological definition. But the matrices become even larger. Lets look at everything in the case of the house graph G, a circular graph with a triangle attached, given algebraically as f=a + b + a b + c + b c + d + a d + c d + e + b e + c e + b c e. The f-vector of G is (5,6,1) as there are 5 degree 1 monomials (representing vertices), 6 degree 2 monomials (representing edges) and 1 degree 3 monomials (representing the triangle). The Euler characteristic is 5-6+1=0 which also can be seen from the fact that the graph is homotopic to the circular graph C4 which has Euler characteristic 0.

    [ The traditional way to look at the house graph (as Cayley or Coxeter for example would have seen them) is to look at the "square" as an other face and also include the "outside" as a face thinking as the graph being on a 2-sphere. When viewed like that, the Euler formula v-e+f=2 would hold. This point of view is problematic in higher dimensions as it produces confusions, what "faces" are, especially in higher dimensions. As probably best analyzed by Lacatos brilliant analysis [See Curry's review PDF]. [Feb 24, 2016: while Lacatos view is different, one can also draw an even more important conclusion from it (*): definitions are important! Wrong or misleading definitions are as harmful as wrong or misleading conclusions. Maybe even more as it is hard to find a mistake if different definitions are used by different mathematicians. If different definitions appear at the same time detecting errors can be very hard. This in particular appears with the notion of polyhedron. Other notions which are used in different way are "triangulations". Fortunately, the notion of a "finite simple graph" does not suffer from this, one reason why it is a good frame work, to do geometry in. ]

    (*) An other eloquent exposition about the difficulty was done here by Gruenbaum. His own book on polyhedra wisely just looks at polyhedra which are represented by convex solids in Euclidean space. Here is one of the core points, where Gruenbaum hits the spot:
    "How come that results established by such accomplished mathematicians as Euclid, Cauchy, Coxeter, Dress were seemingly disproved after a while? The answer is simple - all the results mentioned are completely valid; what changed is the meaning in which the word "polyhedron" is used."

    The Betti vector of G is (1,1,0) and again 1-1+0 = 0, confirming Euler-Poincaré. The eigenvalues of the 0-form Laplacian (the Kirchhoff matrix) is {4.61803, 3.61803, 2.38197, 1.38197, 0}, the eigenvalues of the 1-form Laplacian (the electromagnetic Laplacian) is {4.61803,3.61803,3, 2.38197, 1.38197, 0}. The zero eigenvalue corresponds to a one-dimensional harmonic form winding around the circle. The harmonic eigenvector [3, -3, -2, -1, -3, 1] is naturally the image of the Hurewicz homomorphism from the fundamental group of the graph to the first cohomology group. The 3-form Laplacian is [3] with eigenvalue 3. There is only one triangle. We see the super symmetry: the spectrum on 2-forms and 0-forms together make up the spectrum of 1-forms. That leads to the McKean-Singer formula in graph theory.
    Lets now look at the Wu characteristic. The f-matrix is
           | 5   12  3 |
    V=     | 12  24  5 |
           | 3   5   1 |   . 
    
    The Wu characteristic is (X.V)X, with X=(1,-1,1) which is 2. While the linear Dirac operator of G is a 12 x 12 matrix, the quadratic Dirac operator D is a 70 x 70 matrix. The Betti vector of the quadratic cohomology is
         {0, 4, 7, 1, 0} 
    
    and indeed, b0-b1+b2-b3+b4=0-4+7-1+0=2. The spectrum of the 0-form Laplacian dealing with the vertex-vertex interactions is {3, 3, 2, 2, 2} (where we see no cohomological obstructions) the spectrum of the 1-form Laplacian dealing with vertex-edge interactions is {4,3.61803,3.61803,3.61803,3.61803,3,3,3,2,2,2,2,2,2,2,1.38197,1.38197,1.38197,1.38197,1,0,0,0,0} (with a 4 dimensional kernel) the spectrum of the 2-form Laplacian dealing with edge-edge and triangle-point interactions is {4,4,3.61803,3.61803,3.61803,3.61803,3.41421,3,3,3,3,2,2,2,2,2,2,1.38197,1.38197,1.38197,1.38197, 1,0.585786,0,0,0,0,0,0,0} (with a 7 dimensional kernel). The spectrum of the 3-form Laplacian dealing with edge-triangle interactions is {4,3.41421,3,3,3,3,2,2,0.585786,0} and the spectrum of the 4-form Laplacian dealing with triangle-triangle interactions is {3}. Nicely confirmed is supersymmetry which means that every nonzero eigenvalue for an even form (Bosonic) Laplacian appears as an eigenvalue of an odd form (Fermionic) Laplacian and vice versa.
    We still don't know what the harmonic forms represent. As always in cohomology they are obstructions to the solutions of some equations, in this case coming by the interactions of the various pieces of geometry. Some cocycles F (satisfying dF(A,B)=0) are not coboundaries (satisfying dG(A,B) = G(dA,B) ). They are represented by kernel elements of the corresponding Laplacians. What are these harmonic forms? In the case of edge-vertex interactions, (1-forms) they come from interactions at the vertices where the triangle is attached. In the case of the edge-edge or triangle vertex interactions (1+1 forms or 2+0 forms) there is a seven dimensional space of obstructions. As mentioned already, these obstructions are not geometric, because they change with Barycentric refinement. The Betti vector for discrete quadratic differential forms is
         {0, 7, 13, 4, 0}
    
    The super sum is still 2 but the cohomology has changed. By the way, quadratic Dirac operator for the Barycentric refinement is already a 378x378 matrix even-so the graph has only 12 vertices and 18 edges and 6 triangles.

    For the cubic Wu characteristic, we need to look at the f-tensor
                         5    12   3
                         12   30   8
                         3    8    3
    
    V =                  12   30   8
                         30   72   19
                         8    19   5
    
                         3    8    3
                         8    19   5
                         3    5    1
    
    The cubic Wu characteristic is ((V.X).X).X which is here 0. The Dirac operator of the cubic differential forms is a 342x342 matrix. The cubic Betti vector is
        {0, 4, 20, 27, 12, 1, 0}
    
    whose super sum is 0+20+12-4-27 -1=0. This is Euler-Poincaré for the cubic Wu characteristic. While the cubic Wu characteristic
       w3(G) = sumx,y,z w(x) w(y) w(z) 
    
    summing over all triples of intersecting simplices in the graph G is also invariant under Barycentric refinement (even satisfies the product formula), also the cubic interaction obstruction numbers bk (= Betti numbers for cubic cohomology) change under Barycentric refinement. The cubic Dirac operator D=d+d* of the Barycentric refinement G1 of the house graph G is already a 3672x3672 matrix. Here is the cubic Betti vector of that Barycentric refinement:
        {0, 7, 37, 66, 74, 56, 18}
    
    Interestingly, as there is now more than one triangle, there are also interaction obstructions for the 6 triangles. Here are pictures of the Dirac operator, quadratic Dirac operator and cubic Dirac operator
    And here are the picture of the Laplacians, the square of the Dirac operator.
    And here are the same pictures where the graph is replaced by Barycentric refinement: first for the Dirac operator of Euler characteristic w1(G), Wu characteristic w(G)=w2(G) and cubic Wu characteristic w3(G).
    and then the Laplacians L = D2 = (d+d*)2 = d d* + d* d which are as in the Euler characteristic case block diagonal as d2 = (d*)^2 = 0. Also here first for the classical Laplacian, then the quadratic and finally the cubic one.
  • [Feb 15, 2016] Presidents day allowed a bit of programming: the cohomology which is related to the Wu characteristic is now implemented numerically and works well. The matrices are of course much larger. The goal had been to answer Question F in the Preprint. As predicted already, there is a similar story as for Euler characteristic but the intersection cohomology groups come a bit with a twist.
    • There is a Euler Poincaré formula. The Wu characteristic is the alternating sum of the Betti number of the cohomology. The proof is identical and basic linear algebra. Essentially the Rank-Nullety theorem (which by accident will is taught this week in our Math21b course.
    • The form Laplacian (d+d*)2 satisfies the McKean-Singer formula. The proof is identical to the proof for the standard cohomology. There is super symmetry. The story is completely parallel to The McKean-Singer formula for standard cohomology.
    • Also identical is the Hodge story. The cohomology groups are isomorphic as vector spaces to the space of harmonic forms of the corresponding form Laplacians. We don't have a feel yet what the harmonic forms really mean. Since they are not topological and change under deformation, this might be more difficult to answer. But they certainly play a role when looking at wave, heat or other PDE dynamics related to the new Laplacian as these are stationary states. Whether this wave dynamics is physically interesting is not clear yet. I personally do not doubt this for a moment. Any Laplacian defined through exterior derivatives has turned out to be interesting. This one might be a bit exotic. But fundamental basic physics is exotic.
    • Also the isospectral deformation of the new Dirac operator defines still an integrable system. It deforms the intersection cohomology by isospectrally deforming the exterior derivative. We did not check the details but believe the story to be similar and that the dynamics produces an inflationary start and expansion of geometry.
    • Unlike the standard cohomolgy, the cohomology groups change with homotopy deformations. A bit disappointing: the cohomology also changes when doing Barycentric refinement. We can not expect the groups to be relevant in the continuum limit therefore. Anyway, there does not seem to be anything like that in the continuum. Intersection homology of Goresky and MacPherson for example looks very different. But this intersection cohomology is one of infinitely many cohomologies one can define for graphs (this is the quadratic one, one can also look at cubic versions and higher order versions in exactly the same way by looking at the exterior derivative dF(A,G,G,...,G) = F(dA,G,G,...G) For every of the Wu characteristic wk(G), there are cohomology groups Hkn. I might implement the cubic one to see whether there is something going on.
    Here are pictures of the Dirac operator D and Laplacian L=D2 of a graph with f-vector v=[10,27,25,6] and f-matrix V=[[10,54,75,24],[54,293,389,114],[75,389,477,130],[24,114,130,34]] of some random graph with 10 vertices. The Betti numbers of the intersection cohomology in this case are [0, 0, 7, 36, 33, 6, 0]. These are the dimensions of the various cohomology groups. As the graph has maximal dimension d, the Betti vector has now 2d+1=7 entries, while the usual Betti vector has only d+1=4 entries. The Wu characteristic is the super sum 0-0+7-36+33-6+0 of this intersection cohomology Betti vector. This is the Euler-Poincaré formula for Wu characteristic. The Wu characteristic is of course much easier to computed from the definition -2 = [1,-1,1,-1]. (V.[1,-1,1,-1]). The cohomological derivation requires to find the kernel of huge matrices (already for n=10 vertices, there can be thousands of columns of the Dirac operator).
    Dirac operator of the Intersection cohomology Form Laplacian of the Intersection cohomology
  • [Feb 10, 2016] An other nice observation from Tamas Reti is a complete answer to the variational problem of the Wu characteristic on trees. He can confirm with different methods that the line graph minimizes the Wu characteristic but also gets the maximum: they are star graphs. On graphs without triangles which are not star graphs, bipartite graphs are maxima as we have seen in small examples.

    Proposition (Reti): Among all trees, the Wu characteristic is maximized by star graphs and minimized by line graphs.


  • [Feb 9, 2016] A nice observation which was communicated to me by Tamas Reti It relates the Wu characteristic with the first Zagreb index, a quantity is known in mathematical chemistry as the sum of the squares of the vertex degrees.

    Lemma (Reti)
    For a triangle free graph with n vertices and m edges, the Wu characteristic is n-5m+M(G) where M(G) is the first Zagreb index,


    A corollary also stated by Tamas Reti is

    For triangle free graphs, the degree sequences alone completely determine the Wu characteristic.




    Alternatively, one can see the corollary also from the fact that Barycentric refinement separates the singularities and the fact that the degree of a singularity determines the type of singularity if the graph has no triangles.

    The Zagreb indices seem to be really nice and relevant in Mathematical chemistry, where it seems have been quite useful.
  • [Feb 6, 2016] For any finite simple graph, the difference between Euler characteristic and Wu characteristics is always a multiple of 2. We noticed this experimentally, were first quite exited until realizing that one can easily deduce this from the definitions. Similarly, the difference between the Euler characteristic and the cubic Wu characteristic is a multiple of 6. One you see this, it is also clear.
  • [Jan 31, 2016] Coming back to an older topic of graph endomorphisms and especially graph automorphisms. We can actually now see the cohomologically defined Lefschetz number L(T) of an automorphism as a self-intersection number w(A,B) of the diagonal A = (x,x) with B = (x,T(x)) in the product graph G x G as each intersection point corresponds to a fixed point. In the special case, when T is the identity, the Lefshetz number is the Euler characteristic. And again, the formula w(G,G) = w(G) = X(G) emerges for d-graphs. At the time, when writing the fixed point article, I did not have the graph product at hand and had to search experimentally for the right definition of the discrete Brouwer index of a fixed point. The experiments led to (-1)^dim(x) sign(T|x), where sign(T|x) is the sign of the permutation which the permutation T induces on the simplex x. By the way, that fixed point theorem with fixed simplices becomes a fixed point theorem for fixed vertices in the Barycentric refinement G1, as the automorphism T lifts to an automorphism on the Barycentric refinement of the graph. But we see that unless the Lefschetz-Brouwer fixed point formula, which holds for any finite simple graph, the interpretation as a graph intersection number of in the product only still bites verbatim yet if G is a d-graph = discrete d-manifold. For a star graph G with n spikes, where the Wu characteristic grows quadratically with n (evaluate the Fibonnacci polynomial), the Lefschetz number of the identity is no more the Euler characteristic. But this would also be strange, as we expect that we have to look for a Lefschetz number using the cohomology for Wu characteristic and not the cohomology for Euler characteristic. This is addressing one of the questions in the preprint, we have to look at an other cohomology to match the Wu characteristic. Now, what is this cohomology? It probably is very simple: let dA denote the boundary of a graph A in which simplices have previously been oriented. As usual it does not matter at all what choice of orientations we chose, as long as we do that before and fix the orientation while doing computations. Note that dA is no more a graph in general but a chain (belonging to a larger Abelian category defined by Poincaré and used since the very beginnings of combinatorial topology). The boundary will depend on the orientation. For orientable d-graphs A with boundary, the boundary dA is the boundary. For a wheel graph for example, if all triangles are oriented in a consistent manner, the boundary is a circular graph. When flipping the orientation of one triangle, we still get a boundary but it is only a chain but homologous to the graph boundary. It is like choosing a basis when working in Euclidean space. While the Dirac operator D=d+d* as a matrix depends on the orientation, its spectrum, the Laplacian D2 and especially the dimensions of the kernel of its block Laplacians (which are the Betti numbers by discrete Hodge theory), do not depend on the choice of the orientations. Changing the orientation of one facet (largest dimensional simplex) in the graph is an orthogonal change of variables in the Hilbert space H on which the Dirac operator works. The exterior derivative is just given as df(A) = f(dA), which is Stokes theorem in the discrete. (For discrete calculus, see here or or here). Note that we can describe this more elegantly using the language of valuations, as there is an obvious analogue of form valuations which work on graphs equipped with an orientation. One can deal with all k-forms simultaneously. The only important thing is that ddA=0, the boundary of a boundary is zero leading to homology on chains or dd f=0 leading to cohomology. How do we define a cohomology for quadratic forms? There are many cohomologies. For any graph B, we can look at real-valued form-valuations A -> F(A,B) and exterior derivative dF(A,B) = F(dA,B). This gives for every fixed graph B some cohomology groups HBp(G). We especially have the cohomology groups if B is the host graph G itself. It currently appears as if the Euler-Poincaré formula holds for this: w(G) = b_0 - b_1 + b_2 - ... , where w(G) is the Wu characteristic and where the integers bp are the associated Betti numbers, the dimensions of the cohomology groups Hp and also, since Hodge is just linear algebra in the discrete, the Betti numbers agree with the kernel of the form Laplacian Lp on p-forms, which is defined in exactly the same way as when dealing with Euler characteristic. This article summarizes a bit the linear algebra in the Euler characteristic case. Spinning this further will lead to a McKean-Singer formula which in the Euler characteristic case is described here. Again, I want to stress that the discrete McKean-Singer formula holds for any network. No geometric assumptions whatsoever are assumed. It just reflects a symmetry sometimes dubbed super symmetry. If an eigenvalue appears in the even dimensional part of the L, then it also appears in the odd dimensional part. The Wu case still has to be written down but the up-shot is that the Wu characteristic satisfies the McKean-Singer formula w(G) = str(exp(-t L)) for a Laplacian L=d d* + d*d defined by the exterior derivative d for the valuation given by the Wu characteristic. Additionally, the cohomologically defined "Euler characteristic" of the cohomology defined by the Wu characteristic, should agree with the algebraically defined Wu characteristic. Again, this Euler-Poincaré formula holds, like McKean-Singer for all networks. Coming back to the Lefshetz formula, the Wu-Lefshetz number L(T) should now also for any automorphism agree with the sum of the Wu intersection numbers of the graph (x,T(x)) with the diagonal (x,x) in the product graph G x G. And we expect also this to be true for all finite simple graphs. This might need some time to be written down and implemented on the computer, because first the valuation part has to be condensed and proofs more detailed. And no surprise, if one or the other twists might appear on the way.
  • [Jan 30, 2016] What happens with the intersection number w(A,G) if A is a subgraph of G? It is now an "embedding invariant". This is already interesting if A is a single point. For a star graph G with n rays and central point a, we have w( A,G) = n-1 if A=( {a},{}) and w(A,G)=0 for any other one point subgraph. Here, the number depends on where the point is. In the case of a one point graph in a geometric graph, it only depends on dimension of the host graph. If A is a one point graph in an even dimensional d-graph G, then w(A,G)=1 and in an odd dimensional graph,l then w(A,G)=-1. This is very transparent as it can be written as 1-X(S(a)), where X is the Euler characteristic. And now use that the Euler characteristic of a sphere is either 0 or 2 depending on whether G is even or odd dimensional. We see:

    The Wu embedding number of a single point v in a graph is the Euler-Poincaré index of a function f which has the vertex v as a maximum!


    Now, as explored a bit in this article on Graphs in Eulerian unit spheres, the dual graph of a simplex x in a geometric graph is the intersection of spheres and so a sphere. This is an almost trivial statement but important here too. As we can see that if A is a k-simplex in a geometric d-graph then w(A,G) = (-1)d-k. Super cool, since we have now the general formula

    w(A,G) = (-1)d X(A) if G is a d-graph.


    In the special case if A=G, then this reduces to w(G) = (-1)^d X(G). But stop, is this not a contradiction to the formula w(G) = X(G) which we have proven for d-graphs? Actually not. It reproves that X(G)=0 for odd dimensional graphs!

    Now, I must admit that I would have been much more excited if the embedding number w(A,G) would have produced some interesting numbers. Initially, I was looking for closed curves A in 3-spheres G, objects which are also called knots. Wouldn't it have been cool too if the number w(A,G) would be a number which is homotopy invariant but depend on how the knot is embedded? It would give a knot invariant. Actually, I was looking at this question experimentally before getting into the theory and had the disappointment already seen there. The answer had always been zero. But it had been clear already before looking that both scenarios are interesting, the situation that it does not depend on the embedding, and the situation that it does depend on the embedding. In the fall of 2015, we had also asked students to generate knots. This one is by Nari Yoon.


  • [Jan 23, 2016] Some slides about the Wu characteristic:
  • In the lemma which shows that the curvature of the Dehn-Sommerville valuation is a Dehn-Sommerville valuation on the unit sphere, the assumption that G is a d-sphere is not necesssary. It is true for all finite simple graphs. Anyway, the Gauss-Bonnet proof of the Dehn-Sommeville relations is really cool.
  • Here is the computer algebra implementation of the computation of the Poinaré-Hopf index. The procedures simultaneously computes it for all valuations which are Barycentric characteristic numbers. In the first procedure, we use the provided formula, the second does it by chip firing to the largest vertex. The values are the same (which provides a proof. Once you see it, it becomes obvious).
    (* indices of barycentric characteristic as defined  *)
    BIndices0[f_,s_]:=Module[{a,b,V,A,B,d,VL,v,X,H},
      VL=VertexList[s]; d=CliqueNumber[s]; Table[ X=Bvector[k,d];
      Table[a={};b={};v=VL[[l]]; V=VertexList[NeighborhoodGraph[s,v]];
      Do[If[f[[V[[i]]]] Length[B],0,B[[j]]*X[[j]]]
        - If[j>Length[A],0,A[[j]]*X[[j]]],{j,d}],{l,Length[VL]}],{k,d}]];
    
    (* Bindices done differently: chip fire  *)
    BIndices[f_,s_]:=Module[{d=CliqueNumber[s],c=Whitney[s],v,m},
    Table[X=Bvector[k,d];a=Table[0,{Length[VertexList[s]]}];
    Do[u=c[[l]]; ff=Table[f[[u[[j]]]],{j,Length[u]}];
     m=Max[ff];t=Position[f,m][[1,1]];a[[t]]+=X[[Length[u]]],
    {l,Length[c]}];a,{k,1,d}]];
    
    Here is an example. Lets take the 2-sphere given by the Octahedron graph. As it is 2-dimensional, of course, the clique number is 3. The three Barycentric vectors are (1,-1,1), (0,2,-3), (0,0,1) called Euler characteristic, Boundary valuation and volume. Take the function f=(1,2,3,4,5,6)
    s=sphere2; d=CliqueNumber[s]; 
    f=Range[Length[VertexList[s]]];
    BIndices[f,s]
    
    gives
    {{1, 0, 0, 0, 0, 1}, 
     {0, 2, 1, 1, 0, -4}, 
     {0, 0, 1, 1, 2, 4}}
    
    You see that the function f is a nice Morse function with 2 critical points of index 1. This is of course the maximum and minimum of f. There are no saddles. The boundary indices add up to 0, which is a trivial case of the Dehn-Sommerville relations. It reflects that the graph is a 2-graph without boundary. Finally, the last valuation, the volume gives indices 1,1,2,4 which add up to 8, the number of triangles of the octahedron. The Barycentric characteristic functions of the Octahedron are (2,0,8), and we have computed the Poincaré-Hopf indices which add up to each of these values. Since G is regular, the curvatures are constant. They are constant 1/3 for the Euler characteristic, constant 0 for the Boundary valuation and 4/3 for volume. In general, volume curvature at a vertex v is the face degree at v divided by 3. If you want to try this out yourself (all the code is available on the LaTeX source) try to find a function f, on the 2-sphere for which there are two maxima, one minimum and one saddle point. Try RFunction, which produces a random function on the graph.
    BIndices[RFunction[s],s] 
    
    Here are some exercises. The possibilities are endless.
    1. Show that on the octahedron graph the Poincaré-Hopf indices of a vertex are always either 0 or 1 or -1.
    2. Construct an example of a 2-sphere and a function f for which the index at at some vertex is -2. (this is the discrete case of a Monkey-Saddle! We need a larger graph than an octahedron in view of the previous problem.)
    3. Verify that the Poincaré-Hopf indices of volume are always non-negative.
    4. Verify that in the case of the Octahedron, the Poincaré-Hopf indices of the volume valuation are supported always on at least 2 vertices.
    5. Construct a graph and a function for which the Poincaré-Hopf index of the volume is located on one point only.
    6. What is the Boundary valuation in the case of a wheel graph of volume n?
  • Wenjun Wu, the discoverer of the Wu characteristic is a student of Ehresmann Here is a picture.
  • Tracking some updates or typos:
    • The term combinatorial invariant should be used consistently instead of topological invariant. The reason is that having a quantity which is invariant under Barycentric refinement does not necessarily mean to have a quantity which is invariant under homeomorphisms It is still possible that the Wu characteristic becomes a topological invariant but this is not yet proven. While obvious for Euler characteristic, it is not yet proven that Wu characteristic is invariant under homeomorphisms.
    • As a corollary of the boundary formula we can only conclude that for manifolds without boundary, the Wu and Euler characteristic agree. For even dimensional graphs with boundary, we can glue two copies along the boundary and see that the Euler characteristic and the Wu characteristic agree. An example is the 2-disc where the Wu and Euler characteristic is 1, half of the value of the sphere. For an odd dimensional graph with boundary, gluing gives an odd dimensional graph without boundary for which the Euler and Wu characteristic are both zero. The Wu characteristic is then minus half of the Euler characteristic of the boundary.
    • In figure 14, the Wu characteristic of the torus is of course 0 not 1. By the way, this torus G has been obtained with
         GraphProduct[CycleGraph[4],CycleGraph[4]]
        
      a 2-graph with 64 vertices and 192 edges and 128 triangles. It is shown to the right. Its f-vector is v={64,192,128), its f-matrix is [[64, 384, 384], [384, 2368, 2176], [384, 2176, 1920]].
    • There were no examples yet of Poincaré-Hopf and index expectation for general valuations. For Poincaré-Hopf only the old proof was given. When looking at the general result, the proof is even easier (the above code illustrates it): given a function f, take the values of the valuation on the simplices x and "fire" them to the vertex of the simplex where f is maximal. This immediately shows why the Poincaré-Hopf index of a general valuation at a vertex v of the graph is the formula
           X(B-fv) - X(S- f(v) 
         
      because this counts the valuations up from all simplices attached to v on which f(v) is maximal. Here is an amusing example: the index to the volume valuation X=vd counting the number of simplices of maximal dimension has the index if(v) counting the number of facets, for which f(v) is the maximum on the simplex.
    • in the explanation why the addition (V,E)+(W,F) = (F+W,E+F) of finite simple graphs is only a chain there had been a typo in( {1,2},{(12)} ) + ( {2,3},{(23)} ) = ({1,3},{(12),(23)}) which is not a graph as for a graph (V,E), the union of the vertices in E has to be a subset of V. Here is more elaboration why the lack of a linear structure on the category of graphs makes the evaluation of valuations is an important issue: assume we had a Boolean linear algebra structure on graphs, then we could use the valuations on a basis to compute the valuation on any graph. The computations would be polynomial.
    • dimensions missing when mentioning Betti numbers b0,b1.