1 Introduction
To a linear subspace
$L \subset B\otimes C$
, with
$\dim L=d+1$
and
$\dim B=\dim C=n$
, we naturally associate a homogeneous polynomial
$P_L$
of degree d in
$n-1$
variables. We call the normalized coefficients of
$P_L$
, which are always integers, the characteristic numbers of L. The polynomials
$P_L$
belong to the important families of volume polynomials and Lorentzian polynomials. Two of the variables of
$P_L$
play a special role. Setting all the other variables to zero we obtain a bivariate homogeneous polynomial
${\chi }_L$
that we call the chromatic polynomial. Using a related construction, we also define the relative chromatic polynomial
${\chi}^{\prime }_L$
and give conditions under which
${\chi}_L={\chi}^{\prime }_L$
.
Our setting generalizes many important invariants in mathematics.
-
○ The reduced chromatic polynomial of a representable matroid. This is the case when $L\subset {\mathbb {C}}^n\otimes {\mathbb {C}}^n$
consists of diagonal matrices. -
○ More specifically, the reduced chromatic polynomial of a graph. This is the case when L is the row space of the incidence matrix of the graph, embedded in ${\mathbb {C}}^n\otimes {\mathbb {C}}^n$
as diagonal matrices. -
○ Characteristic numbers of linear systems of quadrics. More precisely, the number of quadrics in a linear system that are tangent to a given number of general subspaces. This is the case when L consists of symmetric matrices.
-
○ Maximum likelihood degree of general linear concentration models. This is the case when L is a general linear subspace of the space of symmetric matrices.
-
○ Euler characteristic of determinantal hypersurfaces. This case arises for arbitrary $L \subset B\otimes C$
. However, for special L (e.g., L consisting of diagonal matrices of
${\mathbb {C}}^n\otimes {\mathbb {C}}^n$
), we obtain interesting cases, like complements of hyperplane arrangements.
Our setting is based on the variety of complete collineations
${\text{COL}}_n$
. It is a smooth projective variety with a natural map
$\pi _1:{\text{COL}}_n\rightarrow {\mathbb {P}}({\mathbb {C}}^n\otimes {\mathbb {C}}^n)$
. By first taking projectivization
${\mathbb {P}}(L)$
and then the strict transform by
$\pi _1$
we obtain a subvariety
$H_L\subset {\text{COL}}_n$
. The main object of our study is the cohomology class
$[H_L]$
associated to
$H_L$
in the cohomology ring of
${\text{COL}}_n$
. In this case we may identify the Chow ring with the cohomology ring, where the convention for grading for the Chow ring (by codimension) is easier. The intersection product allows us to associate a polynomial function
$P_L$
to
$[H_L]$
on the Picard group
$\text{Pic}_{\mathbb {Q}}({\text{COL}}_n)$
. The vector space
$\text{Pic}_{\mathbb {Q}}({\text{COL}}_n)$
comes with a distinguished basis, and thus we obtain well-defined coefficients of
$P_L$
. It turns out that these numbers have already appeared in special cases in various disciplines of mathematics in the examples above, ranging from combinatorics and algebraic statistics to topology and intersection theory. As the reader might have noticed, in the examples above we have mentioned diagonal, symmetric, and general matrices but not skew-symmetric matrices. Our construction also works in that case, however, so far we have not found any direct applications.
Our article is very much inspired by and based on previous results. The first crucial ones are the seminal papers [Reference Huh1, Reference Huh and Katz2]. Those were later generalized from representable matroids to nonrepresentable ones [Reference Adiprasito, Huh and Katz3], however, in our case the geometry of the representable case plays the most important role. This topic may be seen as the “diagonal case” of our constructions. Although, as we point out, many very special things happen in this setting, the generalization to arbitrary tensors goes smoothly.
The second series of articles relates to algebraic statistics. Here our inspirations are drawn from the maximum likelihood for linear concentration models as described in [Reference Sturmfels and Uhler4]. In the recent papers [Reference Michałek, Monin and Wiśniewski5, Reference Manivel, Michałek, Monin, Seynnaeve and Vodička6] connections to the cohomology of complete quadrics were made. This topic may be seen as the “symmetric case” of our construction.
Finally, we would like to refer to [Reference Huh1, Reference Dimca and Papadima7], from where we have drawn the connections to topology.
Our main tools are based on results in classical algebraic geometry, especially [Reference Pragacz8, Reference Laksov, Lascoux and Thorup9, Reference Thaddeus10, Reference De Concini and Procesi11].
The plan of the article is as follows. We begin with Section 2, where we present motivating examples. In Section 3, we present our main construction of characteristic numbers and the chromatic polynomial. We further prove theorems about fundamental properties of those invariants. In the final section 4 we present a numerical algorithm to compute the characteristic numbers and apply this to obtain the numbers for random tensors of fixed rank. Furthermore, we prove that our invariants are semicontinuous and hence can be used to certify lower bounds on tensor rank.
2 Motivating examples
In this section we present various examples showing how our construction links different branches of mathematics. At this point, some of the equalities may seem numerically coincidental. However, as we will prove, these examples are instances of general theorems that work for arbitrary objects (graphs, linear systems of quadrics, linear concentration statistical models, determinantal hypersurfaces), irrespective of the choice made. In each example we use different fonts to indicate the numbers that are the same. Each case is based on a theorem from the next section. We hope that the examples exhibit how much information is provided in the polynomials
${\chi}_L$
and
${\chi}^{\prime }_L$
and with how many branches of mathematics they interact. In particular, the quite abstract Definition 3.3 of
${\chi}_L$
becomes better justified.
In the first example we show how our construction generalizes chromatic polynomials of arbitrary graphs. In order to make all of the objects as explicit as possible, we focus on the case when the graph G is the
$6$
-cycle. The general theorem, applicable to arbitrary graphs, is stated in Corollary 3.14.
Example 2.1. The number of proper vertex colorings of an undirected graph G with k colors may be obtained as the value of a certain univariate polynomial
${\chi}_G(x)$
at
$x=k$
, the chromatic polynomial. As long as G has at least one edge we have
${\chi}_G(1)=0$
, thus we define the reduced chromatic polynomial
$\bar {{\chi}}(x):= {\chi}(x)/(x-1)$
.
Let us fix an arbitrary orientation of all edges of G. We assume that G is connected. We define the incidence matrix
$A_G$
for the graph
$G=(V,E)$
as the
$|V|\times |E|$
matrix with columns labeled by edges E and rows labeled by vertices V, where
$A_G(v,e)=1$
if v is the head of e,
$A_G(v,e)=-1$
if v is the tail of e, and
$0$
otherwise. The matrix
$A_G$
defines a surjection from
${\mathbb {C}}^{|E|}$
to the codimension one subspace
$C_0\subset {\mathbb {C}}^{|V|}$
defined by the condition that the coordinates sum up to zero. Equivalently, the transpose
$A_G^t$
defines the injection
$C_0^{\ast }\subset {\mathbb {C}}^{|E|}$
.
Let G be the
$6$
-cycle. One can check [Reference Biggs12, Chapter 9] that we have
For a suitable labeling and orientation of the edges, the incidence matrix is
Our aim is to associate to G a linear subspace of diagonal matrices. The image of
$A_G^t$
is the five-dimensional subspace
$C_0^{\ast }\subset {\mathbb {C}}^{|E|}={\mathbb {C}}^6$
with coordinates summing up to zero. From now on we regard
${\mathbb {C}}^{|E|}$
as the space of
$6\times 6$
diagonal matrices and
$C_0^{\ast }$
as the subspace of diagonal matrices with trace zero.
Inverting all invertible matrices in
$C_0^{\ast }$
and taking the closure, we obtain a hypersurface of diagonal matrices of degree
$\mathbf {5}$
, defined by the fifth elementary symmetric polynomial in six variables. If we take a general subspace of codimension i (e.g.,
$i=2$
) of
$C_0^{\ast }$
, then the closure of the locus of inverses of invertible matrices in that space will be a variety of codimension
$i+1$
of degree equal to the absolute value of the
$(i+1)$
-st coefficient of
$\bar {{\chi}}_G$
(e.g.,
$\textit {10}$
). We have
In the second example we show how our construction generalizes enumerative problems on quadrics. The general theorem is given in Proposition 3.17.
Example 2.2. Consider the eight-dimensional family of degree two polynomials in four variables
$x_0,x_1,x_2,x_3$
where
$\alpha ,\beta ,\gamma ,\delta ,\epsilon ,\zeta ,\eta ,\theta $
are the parameters. Each (nonzero) member of this family defines a degree two hypersurface in
${\mathbb {P}}^3$
. Let us pick seven general hyperplanes in
${\mathbb {P}}^3$
. There are
$\mathbf {{9}}$
smooth projective quadratic surfaces from the family (2.1) that are tangent to all the given hyperplanes.
The family in (2.1) may be identified with the space L of symmetric matrices given by
Inverting all invertible matrices in that space and taking the closure of this set we obtain an affine algebraic variety of dimension eight and degree
$\mathbf {{9}}$
. We have
In the third example we show how our construction is related to the maximum likelihood degree. The general theorem is given in Proposition 3.16.
Example 2.3. Let us consider the linear space L of concentration matrices given by
This means that we consider a family of probability distributions, each one being a multivariate Gaussian distribution on
${\mathbb {R}}^3$
, parameterized by those
$\alpha ,\beta ,\gamma ,\delta ,\epsilon \in {\mathbb {R}}$
for which
$A_{\alpha ,\beta ,\gamma ,\delta ,\epsilon }$
is positive definite and the mean
$\mu \in {\mathbb {R}}^3$
. The associated probability distribution is
Such a family of probability distributions is called a statistical model. The one above is known as a linear concentration model [Reference Anderson13], as it is given by linear conditions on the concentration matrix. One of the aims of statistics is to fit the parameters (in our case
$\alpha ,\beta ,\gamma ,\delta ,\epsilon ,\mu $
) of the model, so that it best explains the given data. The data are a finite family of points
$x_1,\dots , x_n\in {\mathbb {R}}^3$
. Estimating
$\mu $
is easy, as one takes the mean of the data
$x_i$
. For simplicity let us assume that
$ \mu =0$
, which can always be achieved by shifting the data.
Our aim is to maximize the likelihood function in the parameters
$\alpha ,\beta ,\gamma ,\delta ,\epsilon $
,
As the logarithm is monotonic, one considers the log-likelihood function
which, up to a constant, equals
First one computes the number of complex critical points of the function. By taking the partial derivatives, when the vector of the
$x_i$
’s is general and
$n>3$
, we obtain 2 complex critical points. This number is known as the maximum likelihood degree, which in this case coincides with the degree of the model. Among the critical points, the maximum we look for will be the unique point for which
$A_{\alpha ,\beta ,\gamma ,\delta ,\epsilon }$
is positive definite.
We may take the inverses of all invertible matrices in the space of symmetric matrices specified by the model. After taking the closure of this set, we obtain a variety of degree 2. We have
In the last example we show how our construction is related to the Euler characteristic of a determinantal hypersurface. The general theorem is given in Proposition 3.18.
Example 2.4. Consider the homogeneous cubic
$f=(\alpha \gamma -\beta ^2)\delta $
in
${\mathbb {P}}^3$
. It defines a surface that consists of the plane
$\delta =0$
(a
${\mathbb {P}}^2$
) and the cone over a smooth conic in that plane, which is the image of
${\mathbb {P}}^1$
under the second Veronese embedding. The plane and the cone both intersect in the image of the second Veronese embedding of
${\mathbb {P}}^1$
. Thus, the Euler characteristic of the surface equals
Hence, the complement of
$V(f)$
in
${\mathbb {P}}^3$
has Euler characteristic equal to
$\textbf {0}$
.
The cubic f is the determinant of the matrix
Write L for the linear space of matrices of the form above. Inverting all invertible matrices in L and taking the closure, we obtain a variety of degree
$m_0=1$
(i.e., a linear subspace). We may also first intersect L with one (resp. two, resp. three) general hyperplanes. Then, inverting all remaining invertible matrices and taking the closure we obtain a variety of degree
$m_1=\textit {2}$
(resp.
$m_2=2$
, resp.
$m_3=1$
). We have
We have
3 Main results
As in the introduction, let B and C be vector spaces of dimension n. We start by presenting two equivalent constructions of the variety of complete collineations
${\text{COL}}_n$
. For more information we refer the reader to [Reference Thaddeus10, Reference Dinu, Michałek and Seynnaeve14, Reference Massarenti15, Reference De Concini and Procesi11].
For
$k=1,\dots , n-1$
let
$D_k\subset {\mathbb {P}}(B\otimes C)$
be the projectivization of the locus of matrices of rank at most k in
$B\otimes C$
. We may consider a sequence of blow-ups
where in the k-th step we blow-up the strict transform of
$D_k$
. We define the variety of complete collineations
${\text{COL}}_n$
to be
$X_{n-2}$
.
More explicitly, for each
$k = 1,\ldots ,n-1$
, there is a unique up to scale
$\text{GL} (B)\times \text{GL} (C)$
-equivariant degree k polynomial map
$m_k : B\otimes C \to \bigwedge ^k B\otimes \bigwedge ^k C$
obtained by the Veronese embedding
$B\otimes C \to S^k(B\otimes C)$
followed by projection to the unique submodule
$\bigwedge ^k B\otimes \bigwedge ^k C \subset S^k(B\otimes C)$
. In coordinates, this map extracts all
$k\times k$
minors of its argument: Let
$b_1,\ldots ,b_n$
and
$c_1,\ldots ,c_n$
be bases of B and C, respectively. Then
$m_k(\sum _{ij} M_{ij}b_i\otimes c_j) = \sum _{I,J} \text{det} (M_{I,J}) b_I \otimes c_J$
, where
$I=\{i_1,\dots ,i_k\}$
and
$J=\{j_1,\dots ,j_k\}$
range over size k subsets of
$\{1,\ldots ,n\}$
,
$M_{I,J}$
denotes the
$k\times k$
submatrix of
$[M_{ij}]$
with rows in I and columns in J, and
$b_I = b_{i_1}\wedge \cdots \wedge b_{i_k}$
and
$c_J = c_{j_1}\wedge \cdots \wedge c_{j_k}$
. Projectivizing and taking all maps simultaneously, we obtain a rational map
The closure of the image of this map is
${\text{COL}}_n$
.
Remark 3.1. Let
$m\in B\otimes C$
. Contraction with the first factor defines a canonical isomorphism
$B\otimes C \simeq \text{Hom} (B^{\ast },C)$
, so if m corresponds to an invertible linear map,
$m^{-1} \in \text{Hom} (C,B^{\ast })\simeq C^{\ast }\otimes B^{\ast }$
.
Furthermore, fixing an isomorphism
$f: C\simeq B^{\ast }$
allows one to define the determinant of an element of
$B\otimes C \simeq B\otimes B^{\ast }$
which depends only up to scale on the choice of f. In particular,
$[\nabla \text{det} (m)] \in {\mathbb {P}}((B\otimes C)^{\ast }) \simeq {\mathbb {P}}(B^{\ast }\otimes C^{\ast })$
and
$[\nabla (\text{det} |_{L}) (m)] \in {\mathbb {P}}(L^{\ast })$
are well-defined, where
$L\subset B\otimes C$
.
Furthermore, as
$\text{GL} (B)\times \text{GL} (C)$
-modules,
$\bigwedge ^{n-1} B \otimes \bigwedge ^{n-1} C \simeq B^{\ast } \otimes C^{\ast } \otimes \bigwedge ^n B \otimes \bigwedge ^n C$
. Projectivizing this isomorphism and dropping the dimension one tensor factors, we obtain
${\mathbb {P}}(\bigwedge ^{n-1} B \otimes \bigwedge ^{n-1} C)$
is equivariantly isomorphic to
${\mathbb {P}}(B^{\ast }\otimes C^{\ast })$
. Identifying the spaces by the appropriate equivariant isomorphisms,
$[m^{-1}] = [\nabla \text{det} (m)] = [m_{n-1}(m)]$
.
In coordinates, this is exactly the classical statement that the gradient of the determinant and matrix inversion are given up to scale by
$(n-1)\times (n-1)$
signed minors.
The second construction gives us natural projections
$\pi _k:{\text{COL}}_n\rightarrow {\mathbb {P}}(\bigwedge ^kB \otimes \bigwedge ^k C)$
for
$k=1,\dots , n-1$
. In the Picard group of
${\text{COL}}_n$
we obtain the classes
$[H_k]$
as pullbacks
$\pi _k^{\ast }({\mathcal {O}}(1))$
. Equivalently, the
$H_k$
’s, considered as Weil divisors, are pullbacks of hyperplanes. From now on we work in the vector space
$\text{Pic}_{\mathbb {Q}}({\text{COL}}_n)$
. The classes
$[H_k]$
form a basis of that vector space [Reference Massarenti15, Theorem 3.13].
Remark 3.2. We note that the vector space
$\text{Pic}_{\mathbb {Q}}({\text{COL}}_n)$
has another natural basis, the (line bundles corresponding to) exceptional divisors of the blow-ups from the first construction together with the class of the pull-back of a line bundle corresponding to a hyperplane in
${\mathbb {P}}(B\otimes C)$
, (i.e.,
$H_1$
). We also identify the Picard group with the divisor class group and with the degree one part of the Chow ring [Reference Eisenbud and Harris16, Proposition 1.10 and 1.30].
Every element S of degree
$\dim ({\text{COL}}_n)-k$
in the Chow ring of
${\text{COL}}_n$
gives a homogeneous polynomial
$P_S$
of degree k on
$\text{Pic}_{\mathbb {Q}}({\text{COL}}_n)$
defined by
where the product is taken in the Chow ring with rational coefficients. The top degree part of the Chow ring, which is identified with
$H_0({\text{COL}}_n,{\mathbb {Q}})$
, is isomorphic to
${\mathbb {Q}}$
via the degree function [Reference Fulton17, Definition 1.4], [Reference Eisenbud and Harris16, Proposition 1.21 and Appendix C.3.4].
Definition 3.3. Let
$L\subset B\otimes C$
be a dimension
$d+1$
subspace containing an element of rank at least
$n-1$
. We define the degree d polynomial
on
$\text{Pic}_{\mathbb {Q}}({\text{COL}}_n)$
, where S is the class of the strict transform of
${\mathbb {P}}(L)$
under
$\pi _1$
and the last isomorphism is given by taking the degree
$\int _{{\text{COL}}_n}$
. Observe that the condition that L contains matrices of rank at least
$n-1$
is needed so that the class S is well-defined.
In the basis
$[H_k]$
, we have
We call the coefficients
$L(b_1,\dots , b_{n-1}):= S\prod _{k=1}^{n-1} [H_k]^{b_k}$
the characteristic numbers of the linear subspace L.
Remark 3.4. The group
$\text{GL} (B)\times \text{GL} (C)$
acts on
${\text{COL}}_n$
, and, considered as Weil divisors, the set of representatives of
$[H_k]$
is also preserved under this group. Consequently,
$P_L$
is a
$\text{GL} (B)\times \text{GL} (C)$
-invariant.
Restricting
$P_L$
to the line through
$[H_1]$
and
$[H_{n-1}]$
we obtain the chromatic polynomial of L,
Remark 3.5. Let
$T\in A\otimes B\otimes C$
, with
$\dim B = \dim C$
. T determines the subspace
$T(A^{\ast })\subset B\otimes C$
, and up to the action of
$\text{GL} (A)$
,
$T(A^{\ast })$
determines T. Combined with the previous remark, we obtain that
$P_{T(A^{\ast })}$
is a
$\text{GL} (A)\times \text{GL} (B)\times \text{GL} (C)$
invariant of T, and likewise we may define the characteristic numbers and the chromatic polynomial of a tensor T.
Remark 3.6. We urge the reader to be careful about terminology. The coefficients of the chromatic polynomial of the linear subspace L corresponding to a graph G are, after removing the binomial factors appearing in equation (3.1), the absolute values of the coefficients of the reduced chromatic polynomial of G, whose coefficients are sign alternating. Thus the polynomials determine each other, but are not identical; see Corollary 3.14 for the precise statement. The objects we introduce appear as Lorentzian polynomials in [Reference Brändén and Huh18].
Remark 3.7. The Chow ring of the variety of complete collineations is quite complicated, and in general does not have to be generated in degree one. This means that one can introduce more invariants of the tensor by intersecting with other cohomology classes. This is a promising future direction, that we do not carry out in the present article.
We note that, by definition, the characteristic numbers are also the multidegree of the strict transform S of
${\mathbb {P}}(L)$
under the embedding
Proposition 3.8. The characteristic number
$L(b_1,\ldots ,b_{n-1})$
may be obtained as the number of elements of
${\mathbb {P}}(L)$
with rank at least
$n-1$
satisfying
$b_k$
general linear combinations of
$k\times k$
minors for each k.
If L contains an element of rank n, all such elements will be rank n.
Proof. All
$[H_k]$
are base point free. For each
$k=1,\dots ,n-1$
, we fix
$b_k$
general, rationally equivalent representatives of the class
$[H_k]$
. Intersecting them with the strict transform S of
${\mathbb {P}}(L)$
we obtain points in
${\text{COL}}_n$
, all of them outside of the exceptional divisors of the blow-up. By Bertini’s theorem [Reference Hartshorne19, Ch. III, Corollary 10.9], [Reference Jouanolou20], the intersection is generically transversal. Thus we obtain
$L(b_1,\dots ,b_{n-1})$
simple points.
Outside of the exceptional divisors, the blow-up map
${\text{COL}}_n\rightarrow {\mathbb {P}}(B\otimes C)$
is an isomorphism. The image of each representative
$H_k$
in
${\mathbb {P}}(B\otimes C)$
is the zero locus of a linear combination of
$k\times k$
minors. Hence, the images of the
$b_1+\dots +b_{n-1}=d$
chosen divisors intersect
${\mathbb {P}}(L)$
in
$L(b_1,\dots ,b_{n-1})$
points corresponding to rank at least
$n-1$
matrices (and possibly a large subset of matrices of rank at most
$n-2$
). This finishes the proof of the first part.
If L contains an element of rank n, the locus of rank
$n-1$
matrices inside
${\mathbb {P}}(L)$
has dimension strictly smaller than d. As the images of the representatives
$H_k$
are base point free on matrices of rank
$n-1$
, the intersection of d of them will be empty on this set.
Corollary 3.9. Suppose L contains an element of rank n, and let
$i:{\mathbb {P}}(B\otimes C)\dashrightarrow {\mathbb {P}}(C^{\ast }\otimes B^{\ast })$
be the rational map corresponding to matrix inversion, or equivalently, the gradient of the determinant. Let
$\Gamma _L\subset {\mathbb {P}}(B\otimes C)\times {\mathbb {P}}(C^{\ast }\otimes B^{\ast })$
be the closure of the graph of i restricted to
${\mathbb {P}} (L)$
(i.e., the closure of the locus of pairs of matrices
$([A],[A^{-1}])\in {\mathbb {P}}(B\otimes C)\times {\mathbb {P}}(C^{\ast }\otimes B^{\ast })$
where
$A\in L$
is invertible).
Then
where
$(m_0,\dots ,m_d)$
is the multidegree of
$\Gamma _L$
.
We see that we obtain the chromatic polynomial of L by restricting the gradient of the determinant to
${\mathbb {P}}(L)$
and looking at the multidegree of the graph. There is a closely related, but not the same in general, construction where we take the gradient of the restriction of the determinant.
Definition 3.10. Let
$L\subset B\otimes C$
. As discussed in Remark 3.1, there is a well defined map
Let
$(m_0',m_1',\dots ,m_d')$
be the multidegree of the closure of the graph of
$\nabla (\text{det} |_{L})$
considered as the subvariety of
${\mathbb {P}}(L)\times {\mathbb {P}}(L^{\ast })$
.
We define the relative chromatic polynomial of L
Equivalently,
$\nabla (\text{det} |_{L})$
may be defined as a composition of the inclusion
${\mathbb {P}}(L)\subset {\mathbb {P}}(B\otimes C)$
with the gradient of the determinant and then with the projection
${\mathbb {P}}(B^{\ast }\otimes C^{\ast })\dashrightarrow {\mathbb {P}}(L^{\ast })$
from
${\mathbb {P}}(L^\perp )\subset {\mathbb {P}}(B^{\ast }\otimes C^{\ast })$
.
Lemma 3.11. Let h be a homogeneous polynomial on a vector space V. Let
$L\subset V$
be a vector subspace not contained in the singular locus of
$V(h)$
. Consider two maps
Suppose that the map
$\nabla (h_{|L})$
is generically finite.
The multidegree of the graph of
$\nabla h$
restricted to
${\mathbb {P}}(L)$
equals the multidegree of the graph of
$\nabla (h_{|L})$
if and only if
${\mathbb {P}}(L^\perp )$
is disjoint from
$\overline {\nabla h({\mathbb {P}}(L))}$
. If L is general, then this condition is satisfied.
Proof. Note that the last entry
$\mu $
of the multidegree of the graph of
$(\nabla h)_{|{\mathbb {P}}(L)}$
is the degree of
$\overline {\nabla h({\mathbb {P}}(L))}$
(i.e., the number of points one obtains after intersecting
$\overline {\nabla h({\mathbb {P}}(L))}$
with
$\dim {\mathbb {P}}(L)$
general hyperplanes) times the degree of the map
$(\nabla h)_{|{\mathbb {P}}(L)}$
. On the other hand the last entry
$\nu $
of the multidegree of the graph of
$\nabla (h_{|L})$
is simply the degree of the map (as the closure of the image is the whole projective space). Hence,
$\nu $
is the product of the degree of
$(\nabla h)_{|{\mathbb {P}}(L)}$
and the number of points that do not belong to
${\mathbb {P}}(L^\perp )$
and are in the intersection of
$\overline {\nabla h({\mathbb {P}}(L))}$
and
$\dim {\mathbb {P}}(L)$
general hyperplanes that contain
${\mathbb {P}}(L^\perp )$
.
First, suppose that
${\mathbb {P}}(L^\perp )\cap \overline {\nabla h({\mathbb {P}}(L))}\neq \emptyset $
. Then,
$\mu>\nu $
by [Reference Améndola, Gustafsson, Kohn, Marigliano and Seigal21, Proposition 2.1].
Second, if
${\mathbb {P}}(L^\perp )\cap \overline {\nabla h({\mathbb {P}}(L))}=\emptyset $
, then the hyperplanes through
${\mathbb {P}}(L^\perp )$
form a base-point free system on
$\overline {\nabla h({\mathbb {P}}(L))}$
and hence, by Bertini’s theorem, the intersection consists of smooth points. Thus, their number must be equal to the degree of
$\overline {\nabla h({\mathbb {P}}(L))}$
, and hence
$\mu =\nu $
. The proof that the other coefficients of polynomials are equal, is exactly the same, taking into account that by choosing a subspace of L, we obtain a subvariety of
$\overline {\nabla h({\mathbb {P}}(L))}$
.
Last, by the results of Teissier [Reference Teissier22, Reference Teissier23] (how these fundamental results imply the following statement is explained in detail in [Reference Jiang, Kohn and Winter24, Lemma 3.1 and Corollary 3.2]), for general L, we know that
${\mathbb {P}}(L^\perp )\cap \overline {\nabla h({\mathbb {P}}(L))}=\emptyset $
.
Corollary 3.12. Suppose that the map
$\nabla (h_{|L})$
is generically finite. We have
${\chi}_L={\chi}^{\prime }_L$
if and only if
${\mathbb {P}}(L^\perp )$
is disjoint from
$\overline {\nabla \text{det} ({\mathbb {P}}(L))}$
.
Consider now the case that B and C have distinguished bases, That is,
$B=C={\mathbb {C}}^n$
, and
$L\subset {\mathbb {C}}^n \simeq {\text{Diag}}_n \subset {\mathbb {C}}^n \otimes {\mathbb {C}}^n$
consists of diagonal matrices. In this setting, matrix inversion becomes coordinatewise inversion and L is the data of a representable matroid on n points. By the more general results of Huh et al., the coefficients of
${\chi}_L'$
equal (up to binomial factors and alternating signs) the coefficients of the reduced chromatic polynomial of the associated matroid [Reference Huh1], and so do the coefficients of
${\chi}_L$
[Reference Huh and Katz2]. In particular,
${\chi}_L={\chi}_L'$
. As a direct proof is short and we find the fact very important, we present it below.
Corollary 3.13. Suppose
$L\subset {\text{Diag}}_n\subset {\mathbb {C}}^n\otimes {\mathbb {C}}^n$
consists of diagonal matrices. Then
and hence
${\chi}_L={\chi}_L'$
.
Proof. Let
$[a_1:\dots :a_n]\in {\mathbb {P}}(L^\perp )$
. Without loss of generality we may assume
$a_1=1$
,
$a_2\dots ,a_k\neq 0$
and
$a_{k+1}=\dots =a_n=0$
. For contradiction let us assume that
$[a_1:\dots :a_n]\in \overline {\nabla \text{det} ({\mathbb {P}}(L))}$
. This means that there exists a sequence of points indexed by j,
$[b_{1,j}:\dots :b_{n,j}]\in {\mathbb {P}}(L)$
, such that
In particular, by rescaling, we may assume
$b_{1,j}=1$
, so
$b_{i,j}\rightarrow a_i^{-1}$
for
$i=1,\dots , k$
. Then
which is a contradiction.
We next discuss why our setting of tensors, chromatic polynomials and characteristic numbers appears in different branches of mathematics, as shown in examples in Section 2. In the following, we will always define
$d = \dim {\mathbb {P}}(L) = \dim L - 1$
.
By the results in [Reference Huh1, Reference Huh and Katz2] we obtain the following corollary, which explains Example 2.1.
Corollary 3.14. Let G be a connected graph (or more generally a representable matroid) with v vertices and e edges. Let
$A_G$
be the incidence matrix of G. The row span of
$A_G$
defines
$L\subset {\mathbb {C}}^e \simeq {\text{Diag}}_e \subset {\mathbb {C}}^e\otimes {\mathbb {C}}^e$
,
$\dim L = v - 1$
.
Then the reduced chromatic polynomial
$\bar {{\chi}}_G(x)$
of G has degree
$v-1$
, has constant term zero, and, for each
$0\le k\le v-2$
,
In the above, we have written
$[cx^k]p(x)$
for the coefficient of
$cx^k$
in
$p(x)$
, or equivalently,
$\frac {1}{c}$
times the coefficient of
$x^k$
in
$p(x)$
.
Remark 3.15. In the case of graphs, all of the characteristic numbers were recently studied in [Reference Berget, Eur, Spink and Tseng25] and in [Reference Katz and Kutler26, Reference Liu, Michałek and Weigert27] under the name matroidal mixed Eulerian numbers.
Next, we provide relations to algebraic statistics, based on the results from [Reference Sturmfels and Uhler4, Reference Michałek, Monin and Wiśniewski5, Reference Manivel, Michałek, Monin, Seynnaeve and Vodička6]. This explains Example 2.3.
Proposition 3.16. Consider a linear concentration model given by a space of symmetric matrices
$L\subset S^2 V$
and assume that L contains an invertible matrix.
The characteristic number
$L(0,\dots ,0,d)$
(i.e., the last coefficient of the chromatic polynomial
${\chi}_L$
) is the degree of the associated statistical model. The last coefficient of the relative chromatic polynomial
${\chi}_L'$
is the maximum likelihood degree of the statistical model.
Proof. The first statement is straightforward as by Corollary 3.9, the number
$L(0,\dots ,0,d)$
is the degree of the variety
$L^{-1}$
obtained by inverting the matrices in L, which by definition is also the degree of the statistical model.
The second statement is proved in the following steps:
-
○ The ML-degree equals the degree of the projection map $\pi $
with center
$L^\perp $
restricted to
$L^{-1}$
[Reference Améndola, Gustafsson, Kohn, Marigliano and Seigal21]. -
○ The composition of the map $(\nabla \text{det} )_{|{\mathbb {P}}(L)}$
with
$\pi $
is the gradient of the restriction of the determinant to L. -
○ As the inversion of matrices map is birational, the ML-degree also equals the degree of the map $\nabla (\text{det} |_{L})$
. -
○ The last number is the last coefficient of ${\chi}_L'$
.
In the following proposition we explain why the characteristic numbers of tensors coincide with the characteristic numbers known in algebraic geometry. This is a very classical topic going back essentially to Schubert [Reference Schubert28].
Consider a linear system of quadrics
${\mathbb {P}}(L)\subset {\mathbb {P}}(S^2{\mathbb {C}}^n)$
. The classical characteristic number is the answer to the following enumerative problem: how many nondegenerate quadrics in
${\mathbb {P}}(L)$
pass through a general points and are tangent to b general hyperplanes? The following proposition explains Example 2.2.
Proposition 3.17. The classical characteristic number for a linear system of quadrics
${\mathbb {P}}(L)$
is equal to the characteristic number
$L(a,0,\dots ,0,b)$
, when
$a+b= d$
.
Proof. By Corollary 3.9 the number
$L(a,0,\dots ,0,b)$
is equal to the number of points one obtains by intersecting the restriction
$\Gamma '\subset {\mathbb {P}}(S^2V)\times {\mathbb {P}}(S^2V^{\ast })$
of the graph of the inversion map to
${\mathbb {P}}(L)$
with a general hyperplanes in
${\mathbb {P}}(S^2V)$
(times
${\mathbb {P}}(S^2V^{\ast })$
) and b general hyperplanes in
${\mathbb {P}}(S^2V^{\ast })$
(times
${\mathbb {P}}(S^2V)$
).
We note that passing through a point is a linear condition on the space of quadrics
$S^2V$
. On the other hand, being tangent to a hyperplane is a linear condition on the space of dual quadrics
$S^2V^{\ast }$
. Hence, the classical characteristic number is also the number of points P we obtain by intersecting
$\Gamma '$
with such linear conditions.
Note that this is not enough to conclude as neither passing through a general point, nor being tangent to a general hyperplane are general hyperplane conditions in
$S^2V$
or
$S^2V^{\ast }$
. Further, although such sets of hyperplanes do not have base points (there is no quadric going through every point), we cannot apply classical results on base point free systems, as these are not formally linear systems.
Let
$S\subset {\mathbb {P}}(S^2V)\times {\mathbb {P}}(S^2V^{\ast })$
be the set of pairs
$(A,A^{-1})$
of invertible matrices. For dimension reasons, all points P in the intersection of
$\Gamma '$
with the
$a+b$
hyperplane conditions coming from passing through a general point or being tangent to a general hyperplane must belong to the set S. On this set,
$\text{GL} (V)$
acts transitively, hence we may apply Kleiman’s transversality theorem to conclude that the intersection is transversal. Hence, the number of points must be the same as for the choice of general hyperplanes.
The generalization of the above result to the case where we count the number of quadrics passing through
$b_0$
points, tangent to
$b_1$
lines,
$b_2$
planes,
$\dots $
,
$b_{n-1}$
hyperplanes, given by
$L(b_0,\dots , b_{n-1})$
, is straightforward.
Finally, using results from [Reference Huh1] and [Reference Dimca and Papadima7], we show how the relative chromatic polynomial is related to Euler characteristic of the determinantal locus. This explains Example 2.4.
Proposition 3.18. Let
$L\subset B\otimes C$
be a linear subspace and let
$X={\mathbb {P}}(L)\cap V(\text{det} )$
. Let
${\chi}_L'(a,b)= \sum _{k=0}^d\binom {d}{k} m_ka^k b^{d-k}$
. Then the Euler characteristic
${\chi}(X)$
of X equals
and equivalently the Euler characteristic of the complement
${\chi}({\mathbb {P}}(L)\setminus X)$
equals
Proof. We prove the last statement first. The numbers
$m_k$
form the multidegree of the gradient of the restriction of the determinant to
${\mathbb {P}}(L)$
, that is, the gradient of the polynomial that defines the hypersurface X. Hence, the
$m_k$
are the mixed multiplicities defined in [Reference Huh1, Definition 8] – cf. [Reference Huh1, Remark 10]. The fact that the Euler characteristic of the complement is the signed sum of mixed multiplicities is stated as a corollary after [Reference Huh1, Theorem 9], based on the results of [Reference Dimca and Papadima7].
As the Euler characteristic is additive for constructible sets over complex numbers and
${\chi}({\mathbb {P}}(L))=\dim L$
, the first statement follows.
4 Relation to tensor rank
Let us recall a classical
$\text{GL} (A)\times \text{GL} (B)\times \text{GL} (C)$
invariant of tensors in
$A\otimes B\otimes C$
, the rank, defined as the smallest r so that T may be written as a sum of r rank one tensors. The famous problem of determining the exponent of matrix multiplication was shown by Strassen to be equivalent to determining the asymptotics of the rank of the structure tensor of the matrix multiplication operator [Reference Strassen29, Reference Landsberg30]. For matrices, tensor rank is the familiar notion of matrix rank, which may be efficiently computed with well-known algorithms. For tensors of three places or more, however, determining rank is a difficult problem for which no efficient algorithm exists. Results for specific tensors often involve establishing upper and lower bounds. For instance, the structure tensor of
$3\times 3$
matrix multiplication, a tensor in
${\mathbb {C}}^9\otimes {\mathbb {C}}^9\otimes {\mathbb {C}}^9$
, is known to have rank at least
$19$
and at most
$23$
[Reference Bläser31, Reference Laderman32].
In view of Remark 3.5, we may consider characteristic numbers and chromatic polynomials to be invariants of tensors. Since these invariants are potentially easier to determine than tensor rank, it is useful to understand any relation. One such relation arises in view of Proposition 4.3 below, which implies that characteristic numbers are semicontinuous, that is, they cannot increase under degeneration. Unlike for matrices, the set of tensors of rank at most r is not closed. There is, correspondingly, a notion of border rank of a tensor, the smallest r so that the tensor is a degeneration of tensors of rank r. In particular, since any tensor of border rank r is a degeneration of general tensors of rank r, if a tensor has a characteristic number larger than that of a general tensor of rank r, then it must have border rank strictly larger than r.
We compute the chromatic polynomials of general tensors
$T_{\text {gen},d,n,r}$
of rank r in
$A \otimes B\otimes C$
,
$\dim A = d+1$
,
$\dim B = \dim C = n$
, for small values of d, n, and r. Such tensors correspond to dimension
$d+1$
linear subspaces
$L_{\text {gen},d,n,r}\subset B\otimes C$
contained in the span of r rank one elements of
$B\otimes C$
and are general with respect to this property. By
$L_{\text {gen},d,n,r}(b_1,\ldots ,b_{n-1})$
we mean the characteristic number of the subspace associated to
$T_{\text {gen},d,n,r}$
. However, there is significant redundancy in these numbers; specifically, a general linear restriction of a general tensor of rank r is still a general tensor of rank r, so we have
Hence, we only need to give the numbers
$b_{d,n,r}= L_{\text {gen},d,n,r}(0,\ldots ,0,d)$
in order to describe all such chromatic polynomials. These values are presented in Table 1 for n up to
$6$
.
Values for
$b_{d,n,r}$
.

Table 1 Long description
The table is organized with columns for n, r, and d (ranging from 0 to 10).
* For n equals 2:
- r equals 2: d values are 1, 1.
- r equals 3: d values are 1, 1, 1.
- r equals 4: d values are 1, 1, 1, 1.
- r equals 5: d values are 1, 1, 1, 1.
* For n equals 3:
- r equals 3: d values are 1, 2, 1.
- r equals 4: d values are 1, 2, 4, 4.
- r equals 5: d values are 1, 2, 4, 8, 10.
- r equals 6: d values are 1, 2, 4, 8, 10, 8.
- r equals 7: d values are 1, 2, 4, 8, 10, 8.
* For n equals 4:
- r equals 4: d values are 1, 3, 3, 1.
- r equals 5: d values are 1, 3, 9, 17, 11.
- r equals 6: d values are 1, 3, 9, 27, 61, 55.
- r equals 7: d values are 1, 3, 9, 27, 61, 103, 105.
- r equals 8: d values are 1, 3, 9, 27, 61, 103, 133, 127.
- r equals 9: d values are 1, 3, 9, 27, 61, 103, 133, 143.
- r equals 10: d values are 1, 3, 9, 27, 61, 103, 133, 143.
* For n equals 5:
- r equals 5: d values are 1, 4, 6, 4, 1.
- r equals 6: d values are 1, 4, 16, 44, 56, 26.
- r equals 7: d values are 1, 4, 16, 64, 206, 356, 229.
- r equals 8: d values are 1, 4, 16, 64, 206, 524, 964, 786.
- r equals 9: d values are 1, 4, 16, 64, 206, 524, 1076, 1802, 1700.
- r equals 10: d values are 1, 4, 16, 64, 206, 524, 1076, 1874, 2906, 3044.
- r equals 11: d values are 1, 4, 16, 64, 206, 524, 1076, 1874, 2951, 4374.
- r equals 12: d values are 1, 4, 16, 64, 206, 524, 1076, 1874, 2951, 4374.
* For n equals 6:
- r equals 6: d values are 1, 5, 10, 10, 5, 1.
- r equals 7: d values are 1, 5, 25, 90, 170, 157, 57.
- r equals 8: d values are 1, 5, 25, 125, 520, 1312, 1660, 812.
- r equals 9: d values are 1, 5, 25, 125, 520, 1760, 4600, 7100, 4429.
- r equals 10: d values are 1, 5, 25, 125, 520, 1760, 4936, 11672, 19729, 15073.
- r equals 11: d values are 1, 5, 25, 125, 520, 1760, 4936, 11912, 25759, 45513, 41145.
- r equals 12: d values are 1, 5, 25, 125, 520, 1760, 4936, 11912, 25924, 52828, 95078.
- r equals 13: d values are 1, 5, 25, 125, 520, 1760, 4936, 11912, 25924, 52828, 101876.
- r equals 14: d values are 1, 5, 25, 125, 520, 1760, 4936, 11912, 25924, 52828, 101876.
In view of Proposition 3.8, characteristic numbers and coefficients of the chromatic polynomial can be obtained by counting solutions to a sufficiently general polynomial system. This can be done in practice in two conceptually distinct ways, either symbolically or numerically. In this article, the numerical method of homotopy continuation, as implemented in the HomotopyContinuation.jl Julia library [Reference Breiding and Timme33], was used to count solutions. The code may be obtained at https://github.com/adconner/CharacteristicNumbers.jl.
Remark 4.1. As a subspace of matrices
$L\subset B\otimes C$
moves to a special position, the pullback of
${\mathbb {P}}(L)$
to the variety of complete collineations breaks into several components. One of them is the strict transform. The other components have nonnegative contributions to the intersection product as they are intersected with basepoint free divisors. Thus special subspaces L give us smaller (or equal) characteristic numbers than general ones; a formal proof is presented below. For general L (thus for general tensors) we have explicit methods to compute the characteristic numbers [Reference Manivel, Michałek, Monin, Seynnaeve and Vodička6]. This means that if we take a general tensor of high enough rank r, we know
$b_{d,n,r}=: b_{d,n}$
. For example,
However, for small r the number
$b_{d,n,r}$
will be smaller. It is very interesting to see when the transition happens. Our numerical results show that, for
$d=n-1$
and
$n=3,4,5,6,7,8$
, these are, respectively,
$r=4,6,7,9,11,13$
.
The characteristic numbers of special tensors can also be computed using theoretical methods. One of the recent successful applications was a proof of a conjecture by Sturmfels and Uhler [Reference Sturmfels and Uhler4, Conjecture 2] given in [Reference Dinu, Michałek and Vodička34]. This shows that it is possible to provide explicit examples of tensors for which the characteristic numbers grow exponentially with respect to the dimension.
The proposition below shows that the coefficients of the chromatic polynomial are semicontinuous in the space of tensors, that is, in an irreducible subvariety of a tensor space, the coefficients of the chromatic polynomial are constant for generic points of the variety and decrease for nongeneric tensors.
Proposition 4.2. Let
$\gamma $
be a curve in the Grassmannian
$G(d+1,B \otimes C)$
. Let
$c\in \gamma $
be a smooth point that corresponds to a subspace
$L \subset B \otimes C$
that contains a full-rank matrix. The degree
$\text{deg} L^{-1}$
is less than or equal to
$\text{deg} L^{\prime -1}$
for any
$L'$
corresponding to a general point of
$\gamma $
.
Proof. Let
$I(c')$
be the ideal of
$L^{\prime -1} \subset C^{\ast } \otimes B^{\ast }$
, where
$L'$
corresponds to a point
$c'\in \gamma $
. The function
$k\mapsto \text{codim} I(c')_k$
is a polynomial function for sufficiently high k, with degree equal to
$\dim L^{\prime -1} - 1 = d$
and leading coefficient equal to
$\text{deg} L^{\prime -1} / d!$
, where
$I(c')_k$
is the set of homogeneous polynomials of degree k in
$I(c')$
[Reference Hartshorne19, Theorem 7.5 and Theorem 7.7]. In particular,
$\lim _{k\to \infty } d! \text{codim} I(c')_k / k^d$
exists and equals
$\text{deg} L^{\prime -1}$
. Let k be so that
$\lvert \text{deg} L^{\prime -1} - d! \text{codim} I(c')_k / k^d \rvert < \frac {1}{2}$
for both a general
$c'\in \gamma $
and
$c' = c$
. As a vector space
$I(c')_k$
is the solution space to a linear system with coefficients that are continuous functions of
$c'$
, so, by the semicontinuity of matrix rank,
$\text{codim} I(c)_k \le \text{codim} I(c')_k$
for general
$c'$
. Consequently,
$\text{deg} L^{-1} < \text{deg} L^{\prime -1} + 1$
, from which the result follows by the integrality of
$\text{deg} L^{-1}$
and
$\text{deg} L^{\prime -1}$
.
Slightly more generally we obtain the following.
Proposition 4.3. Let
$\gamma $
be a curve in the Grassmannian
$G(d+1,B \otimes C)$
. Let
$c\in \gamma $
be a smooth point that corresponds to a subspace
$L \subset B \otimes C$
that contains a full-rank matrix. The characteristic number
$L(b_1,\dots ,b_{n-1})$
is less than or equal to
$L'(b_1,\dots ,b_{n-1})$
for any
$L'$
corresponding to a general point of
$\gamma $
.
Proof. Let
$\tilde \gamma $
be the open set of smooth points of
$\gamma $
. Consider a constructible set
$X\subset \tilde \gamma \times {\mathbb {P}}(B\otimes C)\times {\mathbb {P}}\big (\bigwedge ^2 B\otimes \bigwedge ^2 C \big )\times \dots \times {\mathbb {P}}\big (\bigwedge ^{n-1} B \otimes \bigwedge ^{n-1} C\big )$
given by tuples
$(c',M_1,\dots , M_{n-1})$
, where
$M_1$
is a full rank matrix in the space represented by
$c'\in \tilde \gamma \subset G(d+1,B\otimes C)$
and
$M_k$
is a matrix obtained by taking all
$k\times k$
minors of
$M_1$
. Let
$\overline X$
be the closure of X. Note that X and
$\overline X$
are irreducible.
The general fiber of the projection
$f:\overline X \rightarrow \tilde \gamma $
over
$c'\in \tilde \gamma $
coincides with the strict transform
$S_{c'}\subset {\text{COL}}_n$
of the space
${\mathbb {P}}(L_{c'})$
corresponding to
$c'$
. By [Reference Hartshorne19, Proposition 9.7], the map
$\overline X\rightarrow \tilde \gamma $
is flat, and thus each fiber provides the same class in the Chow ring of
$\overline X$
. Now the fiber over
$c\in \tilde \gamma \subset \gamma $
may have several components but one of them must be
$S_c$
, the strict transform of
${\mathbb {P}}(L_c)$
. If we let the components be
$Y_1=S_c, Y_2,\dots , Y_N$
, we obtain:
where the last inequality follows from the fact that
$[H_k]$
’s are base point free and
$[Y_j]$
’s are effective.
Acknowledgements
We would like to thank Josh Grochow for pointing us towards possible applications in the theory of p-groups. We are grateful to Paul Breiding for interesting discussions about numerical algebra and condition numbers, which led us to a better, more stable version of our algorithms. We thank Rodica Dinu for a careful reading of the article and important comments. We also thank the anonymous reviewer for many remarks improving the exposition of the article.
Competing interest
The authors have no Competing interest to declare.
Financial support
AC is supported by NSF grant 2002149 and DFG grant 467575307. MM is supported by the DFG grant 467575307.

