1 Introduction

We are interested in the problem to decompose a tensor in \(\mathbb{C }^{a_1+1}\otimes \cdots \otimes \mathbb{C }^{a_q+1}\) as a sum of decomposable tensors. We study the decomposition of the general tensor of given rank \(k\). Conditions which guarantee the uniqueness of this decomposition are quite important in the applications [13]. Indeed, many decomposition algorithms converge to one decomposition, so that a uniqueness result guarantees that the decomposition found is the one we looked for. Even from a purely theoretical point of view, the study of the decomposition shows some beautiful and not expected phenomena. After a look at the table in Sect. 7, we see that there are some exceptional sporadic cases which are intriguing.

It is well known that when \(k\) is bigger that the critical value

$$\begin{aligned} k_c:=\frac{\prod _{i=1}^q(a_i+1)}{1+\sum _{i=1}^q a_i} \end{aligned}$$

then the decomposition can never be unique (see the introduction of [3]). Only one case is known when \(k_c\) is an integer and there is a unique decomposition for tensors of rank equal to \(k_c\), namely when \(q=3\) and \(a_1=1, a_2=a_3\).

So, let us consider the range \(k<k_c\), where the problem can be understood better.

Indeed, we consider two different cases, where the behavior is quite different. Let us order the numbers \(a_i\), so that \(a_1\le \cdots \le a_q\). The first case is when \(a_q\ge \prod _{i=1}^{q-1}(a_i+1) -\left( \sum _{i=1}^{q-1}a_i\right) \), that is when the last dimension is much bigger with respect to the others. In this case, there are always values of \(k< k_c\) such that the general tensor of rank \(k\) has a not unique decomposition. This case is completely described, see Corollary 8.4.

The second remaining case is when \(a_q\le \prod _{i=1}^{q-1}(a_i+1)- \left( 1+\sum _{i=1}^{q-1}a_i\right) \). We believe in this case that the decomposition is almost always unique (for \(k< k_c\)), with the exception of few cases which we list in Sect. 7 and have been studied in previous papers [3, 7, 8]. Further references can be found in [7]. In general, we believe that the aforementioned list of exceptional cases is complete.

We illustrate some situations, where our analysis covers almost all the possible ranks.

In the case of many copies of \(\mathbb{P }^1\), we prove (Theorem 4.4) that the general tensor of rank \(\le \frac{4095}{4096}k_c\) has a unique decomposition. Notice that \(\frac{4095}{4096}=0.9997\ldots \), so we are very close to cover the range \(k\le k_c\).

In the case of many copies of \(\mathbb{P }^2\), we prove (Theorem 5.3) that the general tensor of rank \(\le \frac{728}{729}k_c\) has a unique decomposition. Notice that \(\frac{728}{729}=0.998\ldots \). A similar result for many copies of \(\mathbb{P }^3\) is listed in the same section.

To give some evidence to our guess, that only a small set of exceptional cases occur, in the range \(a_q\le \prod _{i=1}^{q-1}(a_i+1)-\left( 1+\sum _{i=1}^{q-1}a_i\right) \), we have implemented an algorithm that uses the concept of weak defectivity [5]. With respect to the algorithm implemented in [7], it is much faster, because it reduces the problem to numerical linear algebra operation, while the algorithm in [7] needed Gröbner basis computations.

We can prove that the list of exceptional cases, appearing at the end of Sect. 7, is complete for all \((a_1,\ldots , a_q)\) such that \(\prod _{i=1}^q(a_i+1)\le 100\) (see Theorem 7.5).

Our general technique goes back to the seminal paper of Strassen [15], and we owe a lot to his point of view. Strassen proved the case \(c\) even of our Theorem 6.1, which provides a starting point for general results on cubic and general tensors (Theorems 7.1, 7.2).

In fact, we point out that our technique is inductive: once we know that a particular Segre product \(X\) of projective spaces satisfies the \(k\)-tangency condition in Lemma 3.1 and consequently is \(k\)-identifiable for \(k\le \alpha k_c\), where \(\alpha \) is some positive real \(\le 1\), then the same happens to be true for a larger product \(X\times \mathbb{P }^a\).

This principle, which is indeed our main tool in the paper, is enlightened in Corollary 3.3. We hope that it will produce even more interesting results, when applied to specific types of tensors that people working in Multilinear Algebra are considering.

A consequence of this technique is a result on the dimension of secant varieties (Corollary 7.3), which can be seen as a generalization, to any number of factors, of previously known results in the case of three factors.

Let we finish with a short account of the status of the art, for the identifiability of binary tensors, i.e., tensors in the span of \(\mathbb{P }^1\times \dots \times \mathbb{P }^1\). After the paper of Strassen [15], and using methods of Algebraic Geometry, Elmore, Hall and Neeman proved in [10] the following asymptotic result: when the number \(m\) of factors is “very large” with respect to \(k,a\), then the Segre product \(\mathbb{P }^a\times \dots \times \mathbb{P }^a\) is \(k\)-identifiable. A much more precise bound for identifiability of binary products was obtained by Allman, Matias, and Rhodes. In [2] (Corollary 5), they proved that the product of \(m\) copies of \(\mathbb{P }^1\) is \(k\)-identifiable when \(m> 2\lceil \log _2 (k+1)\rceil +1\). Thus, they gave a lower bound for \(2^m\) which is quadratic with respect to \(k+1\). Successively, using Geometric methods as well as a result by Catalisano et al. [4], the first and second authors in [3] improved the bound, showing that a product of \(m>5\) copies of \(\mathbb{P }^1\) is \(k\)-identifiable for all \(k\) such that \(k+1\le 2^{m-1}/m\). The case of \(5\) copies of \(\mathbb{P }^1\) was shown to be exceptional. The bound, which happened to be the best known up to now, is substantially improved in the present paper.

2 Preliminaries

We follow [14] for basic facts about the geometric point of view on tensors. For any irreducible projective varieties \(X\), we denote by \(S_k(X)\) the \(k\)-th secant variety of \(X\), which is the Zariski closure of the set \(\bigcup _{x_1,\ldots , x_k\in X}\langle x_1,\ldots , x_k\rangle \). In other words, \(S_k(X)\) is the Zariski closure of the set of elements having \(X\)-rank equal to \(k\).

We recall, from [7] Definition 2.1, the following:

Definition 2.1

\(X\) is called \(k\)-identifiable if the general element of \(S_k(X)\) has a unique decomposition as the sum of \(k\) elements of \(X\).

Those who wonder why we ask for the uniqueness just for a general element of \(S_k(X)\) should consider that for any \(k\ge 2\) there are always points of \(S_k(X)\) which have rank smaller than \(k\).

Notice that \(k\)-identifiable implies \((k-1)\)-identifiable, and so on.

A fundamental Geometric tool for the analysis of the identifiability of tensors is Proposition 2.4 in [7], which is essentially a consequence of Terracini Lemma.

Proposition 2.2

If there exists a set of \(k\) particular points \(x_1,\ldots ,x_k\in X\), such that the span \(\langle \mathbb{T }_{x_1}X,\ldots , \mathbb{T }_{x_k}X\rangle \) contains \(\mathbb{T }_xX\) only if \(x=x_i\) for some \(i=1,\ldots ,k\), then \(X\) is \(k\)-identifiable.

3 The Main Lemma

The inductive step, that allows us to provide effective results on the identifiability of tensors, relies in the following:

Lemma 3.1

Let \(X\) be a smooth non-degenerate projective subvariety of \(\mathbb{P }^N\), of dimension \(n\). Let \(Y\) denote the canonical Segre embedding of \(X\times \mathbb{P }^m\) into \(\mathbb{P }^M, M=mN+m+N\). Fix \(k\) with \((n+1)k<N+1\) and \(r<N\) such that \(r+1\ge (n+m+1)k\). Assume that a general linear subspace of \(\mathbb{P }^N\), of dimension \(r\), which is tangent to \(X\) at \(k\) general points, is not tangent to \(X\) elsewhere.

Then, the general linear subspace of \(\mathbb{P }^M\), of dimension \(mr+m+r\), which is tangent to \(Y\) at \((m+1)k\) general points, is not tangent to \(Y\) elsewhere.

Proof

First of all, notice that \(\dim (Y)=(m+n)\), and \((m+1)(r+1)\ge (m+n+1)(m+1)k\). Thus, by an obvious parameter count, there are linear subspaces of dimension \(mr+m+r\) which are tangent to \(Y\) at \((m+1)k\) general points.

Fix \(m+1\) independent points \(p_0,\dots ,p_m\) of \(\mathbb{P }^m\) and for \(j=0,\dots ,m\) take \(k\) general points \(q_{ij}\) of the fiber \(X\times \{p_j\}\). Call \(\pi _j\) the natural projection of \(X\times \{p_j\}\) to \(X\).

For \(h=0,\dots ,m\), fix a general linear subspace \(R_h\), of dimension \(r\), which is tangent to \(X\times \{p_h\}\) at the \(k\) points \(q_{1h},\dots ,q_{kh}\) and passes through the points \(\pi _j(q_{ij})\times \{p_h\}\), for \(j\ne h\). Since \(r+1\ge k(n+1)+km\), such spaces \(R_h\) exist. Moreover, \(R_h\) is tangent to \(X\times \{p_h\}\) only at the point \(q_{1h},\dots , q_{kh}\), by our assumption on \(X\).

Let \(R\) be the span of all the \(R_h\)’s. We claim that \(R\), which is a linear subspace of dimension \(mr+m+r\), is tangent to \(Y\) at all the points \(q_{ij}\), and it is not tangent to \(Y\) elsewhere. This will conclude the proof of the lemma by semicontinuity.

First notice that for all \(i,j\), \(R\) contains \(m+1\) general points of \(\{\pi _j(q_{ij})\}\times \mathbb{P }^m\); hence, it contains these fibers. Since \(R\) also contains the tangent spaces to \(X\times \{p_h\}\) at the points \(q_{ih}\)’s for all \(h\), then it is tangent to \(Y\) at all the points \(q_{ij}\)’s.

Assume now that there exists a point \(x\in Y\), different from the \(q_{ih}\)’s, such that \(R\) is tangent to \(Y\) at \(x\). Call \(x^{\prime }\) the projection of \(x\) to \(\mathbb{P }^m\), so that in some coordinate system, we can write \(x^{\prime }= a_0p_0+\dots +a_mp_m\). There is at least one of the \(a_i\)’s, say \(a_0\), which is non-zero. Assume that also \(a_1\ne 0\). Then, the projection of \(R\) to \(\mathbb{P }^N\times \{p_0\}\), which by construction coincides with \(R_0\), is also tangent to \(X\times \{p_0\}\) at the projection of \(q_{k1}\). By the generality of the choice of the \(q_{ij}\)’s, \(q_{k1}\) cannot coincide with any of the points \(q_{10},\dots ,q_{k0}\). Thus, we get a contradiction.

So, we conclude that \(a_1=0\). Similarly we get that \(a_2=\dots =a_m=0\). It follows that \(x=x^{\prime }\) belongs to \(X\times \{p_0\}\) and since \(R_0\) is tangent to \(X\times \{p_0\}\) at \(x\), then \(x\) must coincide with some point \(q_{i0}\). \(\square \)

Remark 3.2

It is worthy of spending one Remark to point out that, by semicontinuity, if a general linear subspace of \(\mathbb{P }^N\), of dimension \(r\), which is tangent to \(X\) at \(k\) general points, is not tangent to \(X\) elsewhere, then the same phenomenon occurs for general linear subspaces of dimension \(r-1, r-2\), and so on.

The Lemma, together with Theorem 2.2, produces the following general principle:

Corollary 3.3

With the same assumptions on \(X\) of Lemma 3.1, then \(Y=X\times \mathbb{P }^m\) is \((m+1)k\)-identifiable.

Thus, we will prove the identifiability of Segre products, starting with a \(X\) who is a Segre product for which we know that the assumptions of Lemma 3.1 hold (by computer-aided specific computations or by Theorem 6.1 below) and then extending the number of factors of \(X\), and using Lemma 3.1 inductively.

4 Many copies of \(\mathbb P ^1\)

The main case in which the previous result applies is the Segre product of many projective lines.

Proposition 4.1

Let \(X\) be the product of \(n\) copies of \(\mathbb{P }^1, 6\le n\le 12\), naturally embedded in \(\mathbb{P }^{2^n-1}\). Then, for \(k<k_c=\frac{2^n}{n+1}\), the linear span of \(k\) general tangent spaces at \(X\) is not tangent to \(X\) elsewhere. In particular, \(X\) is \(k\)-identifiable for all \(k<k_c\).

Proof

Just a computer-aided computation, following the algorithm presented in Sect. 9. In the case of \(12\) copies, the algorithm goes out of memory if implemented in a straightforward way. We used a “divide and conquer” technique to save memory, running in 2 h on a PC with two processors at 2 GHz. \(\square \)

Theorem 4.2

For \(n\ge 12\), let \(X\) be the product of \(n\) copies of \(\mathbb{P }^1\), naturally embedded in \(\mathbb{P }^N\), with \(N=2^n-1\). Then, for \(r< 2^n-2^{n-12}\) and for \(k\le \frac{r+1}{n+1}\), a general linear subspace of dimension \(r\) which is tangent to \(X\) at \(k\) points, is not tangent to \(X\) elsewhere.

Proof

The proof goes by induction on \(n\ge 12\). If \(n=12\), the claim follows from the previous Proposition and Remark 3.2.

Assume the claim holds for \(n-1\). Again by Remark 3.2, it suffices to prove the claim for \(r+1=2^n-2^{n-12}\). Fix \(k\) as above. Notice that \(k^{\prime }:=\lceil k/2\rceil \) is at most \((2^{n-1}-2^{n-13})/(n+1)+1\), which is smaller than \((2^{n-1}-2^{n-13})/n\) for \(n\ge 12\). Thus, we may apply induction: the general linear subspace of \(P^{N^{\prime }}, N^{\prime }:=2^{n-1}-1\), of dimension \((2^{n-1}-2^{n-13})-1\), which is tangent to \(X^{\prime }:=(\mathbb{P }^1)^{n-1}\) at \(k^{\prime }\) points, is not tangent to \(X^{\prime }\) elsewhere. The claim now follows directly from the Main Lemma 3.1. \(\square \)

Remark 4.3

The assumption \(n\ge 6\) is motivated by the fact that for 5 copies of \(\mathbb{P }^1, X\) is \(k\)-identifiable if and only if \(k\le 4\), while the general tensor of rank \(5\) has exactly two decompositions [3].

We recall that for 4 copies of \(\mathbb{P }^1, X\) is \(k\)-identifiable if and only if \(k\le 2\), while it is a result of Strassen that the general tensor of rank 3 has infinitely many decompositions.

For 3 copies of \(\mathbb{P }^1, X\) is \(k\)-identifiable if and only if \(k\le 2\), 2 being the general rank.

As a corollary, we get

Theorem 4.4

For \(n\ge 12\), let \(X\) be the product of \(n\) copies of \(\mathbb{P }^1\), naturally embedded in \(\mathbb{P }^N\), with \(N=2^n-1\). Then, for \(k\le (2^n-2^{n-12})/(n+1), X\) is \(k\)-identifiable.

Let us compare the result with the (best known) bound on the identifiability of \(\mathbb{P }^1\times \dots \times \mathbb{P }^1\) given in [3], which makes a fundamental use of the main result in [4].

The main result of [3] proves that \(X\) is \(k\)-identifiable for \(k< 2^{n-1}/n\), which is a little better than half way from the critical (maximal) value \(k_c\).

The previous result shows that \(X\) is \(k\)-identifiable for

$$\begin{aligned} k\le \frac{2^n}{n+1}\left( 1-\frac{1}{2^{12}}\right) = \frac{4095}{4096}\ \frac{2^n}{n+1} = {0,9997\ldots } \cdot k_c \end{aligned}$$

a sensible improvement, as \(n\) grows.

5 Many copies of \(\mathbb P ^2\) and \(\mathbb P ^3\)

Let us see what happens with the Segre product of many projective planes.

Proposition 5.1

Let \(X\) be the product of \(n\) copies of \(\mathbb{P }^2, 4\le n\le 6\), naturally embedded in \(\mathbb{P }^{3^n-1}\). Then, for \(k<k_c=\frac{2^n}{n+1}\) the linear span of \(k\) general tangent spaces at \(X\), is not tangent to \(X\) elsewhere. In particular \(X\) is \(k\)-identifiable for all \(k<k_c\).

Proof

Just a computer-aided computation, following the algorithm presented in Sect. 9. \(\square \)

Remark 5.2

The assumption \(n\ge 4\) is motivated by the fact that for 3 copies of \(\mathbb{P }^2, X\) is \(k\)-identifiable if and only if \(k\le 3\), while it is a result of Strassen ([15], §4) that the general tensor of rank 4 has infinitely many decompositions.

Theorem 5.3

For \(n\ge 6\), let \(X\) be the product of \(n\) copies of \(\mathbb{P }^2\), naturally embedded in \(\mathbb{P }^N\), with \(N=3^n-1\). Then, for \(r< 3^n-3^{n-6}\) and for \(k\le (r+1)/(2n+1)\), a general linear subspace of dimension \(r\) which is tangent to \(X\) at \(k\) points, is not tangent to \(X\) elsewhere.

Proof

The proof goes by induction on \(n\ge 6\). If \(n=6\), the claim follows from the previous proposition and Remark 3.2.

Assume \(n\ge 7\) and the claim holds for \(n-1\). Again by Remark 3.2, it suffices to prove the claim for \(r+1=3^n-3^{n-6}\). Fix \(k\) as above. Notice that \(k^{\prime }:=\lceil k/3\rceil \) is at most \((3^{n-1}-3^{n-7})/(2n+1)+1\), which is smaller than \((3^{n-1}-3^{n-7})/(2n-1)\) for \(n\ge 5\). Thus, we may apply induction: the general linear subspace of \(P^{N^{\prime }}, N^{\prime }:=3^{n-1}-1\), of dimension \((3^{n-1}-3^{n-7})-1\), which is tangent to \(X^{\prime }:=(\mathbb{P }^2)^{n-1}\) at \(k^{\prime }\) points, is not tangent to \(X^{\prime }\) elsewhere. The claim now follows directly from the Main Lemma 3.1. \(\square \)

As a corollary, we get

Theorem 5.4

For \(n\ge 6\), let \(X\) be the product of \(n\) copies of \(\mathbb{P }^2\), naturally embedded in \(\mathbb{P }^N\), with \(N=3^n-1\). Then, for \(k\le (3^n-3^{n-6})/(2n+1), X\) is \(k\)-identifiable.

The previous result shows that \(X\) is \(k\)-identifiable for

$$\begin{aligned} k\le \frac{3^n}{2n+1}\left( 1-\frac{1}{3^6}\right) = \frac{728}{729}\ \frac{3^n}{2n+1}, \end{aligned}$$

i.e. up to \(728/729=0.998\ldots \) of the critical (maximal) value \(k_c\).

And now the reader can see how the trick goes, at least for cubic tensors. Once one determines a starting point, for few copies of given projective spaces (e.g. by using a computer-aided computation), then the Main Lemma 3.1 provides an extension to the product of an arbitrary number of copies of projective spaces, in which the bound is expressed as a constant fraction of the critical value \(k_c\).

We end the list of particular cases with the product of many copies of \(\mathbb{P }^3\), which is relevant because of its connection with the Algebraic Statistics of DNA chains.

Theorem 5.5

Let \(X\) be the product of \(n\ge 5\) copies of \(\mathbb{P }^3\), naturally embedded in \(\mathbb{P }^N\), with \(N=4^n-1\).

  1. (i)

    for \(n=5\), a general linear subspace of dimension \(r=1,007\) which is tangent to \(X\) at \(k\le 63\) points, is not tangent to \(X\) elsewhere.

  2. (ii)

    For \(n>5\) and \(k\le (4^n-4^{n-3})/(3n+1)\), a general linear subspace of dimension \(r=4^n-4^{n-3}-1\) which is tangent to \(X\) at \(k\) points, is not tangent to \(X\) elsewhere.

  3. (iii)

    For \(k\le (4^n-4^{n-3})/(3n+1)\), then \(X\) is \(k\)-identifiable. In other words, \(X\) is \(k\)-identifiable up to \(63/64={0.98\ldots }\) of the critical (maximal) value \(k_c\).

Proof

(i) follows from a computer-aided computation, following the algorithm presented in Sect. 9. (ii) is a consequence of (i) and the inductive Lemma 3.1. (iii) follows from (ii) and Theorem 2.2. \(\square \)

6 Products of three projective spaces

For the general case, in which we have projective spaces of arbitrary dimension, in order to produce examples similar to the ones of the previous section, we need a starting point for the induction.

We obtain a starting point, for the case of the product of three projective spaces \(X=\mathbb{P }^a\times \mathbb{P }^b\times \mathbb{P }^c, 2<a\le b \le c\), from the following Theorem, which is due to Strassen in the case \(c\) odd (see [15], Corollary 3.7), and we generalize to any \(c\).

Our proof is apparently independent from the argument given by Strassen. Indeed, following correctly the details of the steps, one realizes that the two arguments are essentially equivalent.

Theorem 6.1

Let \(X\) be the product of three projective spaces \(X=\mathbb{P }^a\times \mathbb{P }^b\times \mathbb{P }^c, 2<a\le b \le c\), naturally embedded in \(\mathbb{P }^N\), with \(N=(a+1)(b+1)(c+1)-1\). Then, a general linear subspace \(L\) of codimension \(a+b+2\) in \(\mathbb{P }^N\), that contains the span of the tangent spaces to \(X\) at \(k\) general points, with:

$$\begin{aligned} k{\le }\frac{(a+1)(b+1)(c+1)}{a+b+c+1}-c-1, \end{aligned}$$

is not tangent to \(X\) elsewhere.

Proof

Let \(\mathbb{P }^c=\mathbb{P }(C)\), where \(C\) is a vector space of dimension \(c+1\). Fix one vector \(v_0\in C\) and split \(C\) in a direct sum \(C= \langle v_0\rangle \oplus C^{\prime }\), where \(C^{\prime }\) is a supplementary subspace of dimension \(c\). From the geometric point of view, this is equivalent to split the product \(X\) in two products

$$\begin{aligned} X^{\prime }=\mathbb{P }^a\times \mathbb{P }^b\times \mathbb{P }^{c-1}\;\text{ and }\; X^{\prime \prime }=\mathbb{P }^a\times \mathbb{P }^b\times \{P_0\} =\mathbb{P }^a\times \mathbb{P }^b. \end{aligned}$$

Fix general points \(P_1,\dots , P_k\in X^{\prime }\), with \(P_i=v_i\,\otimes \, w_i\,\otimes \, u_i\) and let \(Q_1,\dots , Q_k, Q_i=v_i\,\otimes \, w_i\), be the corresponding points of \(X^{\prime \prime }\). The linear span of the \(Q_i\)’s is a space of dimension \(k-1\) in \(\mathbb{P }^{N^{\prime \prime }}\), where \(N^{\prime \prime } = ab+a+b\).

By assumption \(k-1{\le } N^{\prime \prime }-\dim (X^{\prime \prime })=N^{\prime \prime }-a-b\). Indeed if \(c+1\ge a+b\) then

$$\begin{aligned} k-1\le \frac{(a+1)(b+1)(c+1)}{a+b+c+1}-a-b-1\le (a+1)(b+1)-a-b-1. \end{aligned}$$

If \(c+1<a+b\) then \(k< (a+1)(b+1)/2\) and \((a+1)(b+1)/2>a+b\).

Fix a linear space \(L^{\prime \prime }\) of codimension \(a+b+1\) in \(\mathbb{P }^{N^{\prime \prime }}\), which contains the span of the \(Q_i\)’s. Since the points \(Q_i\)’s are general in \(X^{\prime \prime }\), it follows from the Theorem 2.6 in [6] (it is a generalization of the “trisecant lemma”) that the linear space \(L^{\prime \prime }\) does not meet \(X^{\prime \prime }\) in other points. Moreover \(L^{\prime \prime }\) is not tangent to \(X^{\prime \prime }\) at any of the points \(Q_i\)’s.

Let \(L^{\prime }\) be a hyperplane in \(\mathbb{P }^{N^{\prime }}, N^{\prime }=(a+1)(b+1)c-1\), which is tangent to \(X^{\prime }\) at the points \(P_i\)’s. The hyperplane \(L^{\prime }\) exists, since by assumption

$$\begin{aligned} k(\dim (X^{\prime })+1) < (a+1)(b+1)(c+1)-c(a+b+c)< N-1. \end{aligned}$$

Let \(L\) be the linear span of \(L^{\prime }\) and \(L^{\prime \prime }\). \(L\) has codimension \(a+b+2\) and it is tangent to \(X\) at the \(k\) points \(P_1, \dots , P_k\), since it contains the tangent spaces to \(X^{\prime }\) at the \(P_i\)’s; moreover, it contains the points \(Q_i\)’s, so it contains the fiber \(\mathbb{P }^c\) passing through each \(P_i\).

We want to exclude that \(L\) is tangent to \(X\) at any other point \(P\ne P_i\). Call \(Q\) the projection of \(P\) to \(X^{\prime \prime }\). If \(L\) is tangent to \(X\) at \(P\), then it must contain the fiber \(\mathbb{P }^c\) passing through \(P\), and thus, it contains \(Q\). This proves that \(Q\) is one of the \(Q_i\)’s (say \(Q=Q_1\)), since \(L\) does not meet \(X^{\prime \prime }\) elsewhere. But then \(L\) contains the fibers \(\mathbb{P }^a\) and \(\mathbb{P }^b\) at two points \(P,P_1\) with the same projection to \(X^{\prime \prime }\). Thus, it contains these fibers at any point of the line \(\ell \) joining \(P,P_1\). As \(\ell \) contains \(Q_1\), we get a contradiction, since \(L^{\prime \prime }=L\cap \mathbb{P }^{N^{\prime \prime }}\) is not tangent to \(X^{\prime \prime }\) at \(Q_1\).   \(\square \)

Corollary 6.2

Let \(X\) be the product of three projective spaces \(X=\mathbb{P }^a\times \mathbb{P }^b\times \mathbb{P }^c, 2<a\le b \le c\), naturally embedded in \(\mathbb{P }^N\), with \(N=(a+1)(b+1)(c+1)-1\). Then, for

$$\begin{aligned} k{\le }\frac{(a+1)(b+1)(c+1)}{a+b+c+1}-c-1, \end{aligned}$$

\(X\) is \(k\)-identifiable.

Proof

Follows immediately from the previous Theorem and [7]. \(\square \)

The identifiability of products of three projective spaces has been studied by a long list of authors, who refined the celebrated Kruskal’s bound for arbitrary tensors. We mention De Lauthawer’s results for unbalanced tensor ([9]), and the general bounds found by the second and third authors in [7].

We believe that the bound of Corollary 6.2, at least for some balanced case, is the best-known result for tensors of type \(a,b,c\).

7 Inductive bounds for the identifiability of general tensors

The same procedure we used for products of many projective lines and planes, based on the bound found in Corollary 6.2, can produce results for cubic tensors, which, in some cases, are far beyond any known result on the identifiability problem.

Then, with the above notation, we have:

Theorem 7.1

For \(n\ge 3\), let \(X\) be the product of \(n\) copies of \(\mathbb{P }^a\), naturally embedded in \(\mathbb{P }^N\), with \(N=(a+1)^n-1\). Then, for \(r<(a+1)^n-(3a+1)(a+1)^{n-2}\) and for \(k\le (r+1)/(an+1)\), a general linear subspace of dimension \(r\) which is tangent to \(X\) at \(k\) points is not tangent to \(X\) elsewhere.

As a consequence, we get that \(X\) is \(k\)-identifiable, for

$$\begin{aligned} k\le \frac{(a+1)^n-(3a+1)(a+1)^{n-2}}{an+1}. \end{aligned}$$

Proof

The proof is absolutely similar to the ones of the cases \(a=1,2 ,3\) given above. We may assume \(a\ge 4\). It goes by induction on \(n\ge 3\) and uses Theorem 6.1 as a starting point.

We leave the straightforward details to the reader. \(\square \)

We recall that we defined, in the introduction, the critical value

$$\begin{aligned} k_c = \frac{\prod _{i=1}^q(a_i+1)}{1+\sum _{i=1}^q a_i} \end{aligned}$$

which is essentially the maximum for which \(k\)-identifiability can hold. Then, the previous bound proves that \(X\) is \(k\)-identifiable, for

$$\begin{aligned} k{\le } \frac{a(a-1)}{(a+1)^2}\ k_c. \end{aligned}$$

Even for the case of rectangular tensors, we are able to prove some results, using the same procedure.

Theorem 7.2

Let \(X\) be the product of \(q\ge 3\) projective spaces \(X=\mathbb{P }^{a_1}\times \cdots \times \mathbb{P }^{a_q}\), naturally embedded in \(\mathbb{P }^N\), with \(N=-1+ \Pi _{i=1}^{q} (a_i+1)\). Then, for

\(r<\Pi _{i=1}^{q}(a_i+1)-(a_1+a_2+a_3+1)\Pi _{i=3}^{q}(a_i+1)\) and for \(k\le (r+1)/(1+\sum _{i=1}^{q} a_i)\), a general linear subspace of dimension \(r\) which is tangent to \(X\) at \(k\) points is not tangent to \(X\) elsewhere.

As a consequence, we get that \(X\) is \(k\)-identifiable, for

$$\begin{aligned} k\le \frac{\Pi _{i=1}^{q} (a_i+1)-(a_1+a_2+a_3+1)\Pi _{i=3}^{q}(a_i+1)}{1+\sum _{i=1}^q a_i} . \end{aligned}$$

Again, notice that we get \(k\)-identifiability for

$$\begin{aligned} k{\le }\frac{a_1a_2-a_3}{(a_1+1)(a_2+1)}\ k_c. \end{aligned}$$

Of course, the previous bound changes if one reorders the \(a_i\) suitably. Notice that the previous theorem requires \(a_1a_2>a_3\) in order to give a an effective range of values for \(k\). Moreover, one of the conditions among \(a_1\gg a_3, a_2\gg a_3\) and \(a_1a_2\gg a_3\) is strongly preferable to have a larger range of values for \(k\).

We strongly believe that some ad hoc procedure, as well as the improvements of our computational facilities, for the starting point of the induction, are suitable to produce advancement in the inequalities of our results.

Let us stress that the previous bounds provide also some answers to the problem of finding the dimension of secant varieties to Segre varieties (i.e., to the dimension of paces of tensors of given rank).

Corollary 7.3

Let \(X\) be the product of \(q\ge 3\) projective spaces \(X=\mathbb{P }^{a_1}\times \cdots \times \mathbb{P }^{a_q}\). If

$$\begin{aligned} k\le \frac{\Pi _{i=1}^{q} (a_i+1)-(a_1+a_2+a_3+1) \Pi _{i=3}^{q} (a_i+1)}{1+\sum _{i=1}^{q} a_i} \end{aligned}$$

then the dimension of the \(k\)-secant variety \(S_k(X)\) is the expected one, namely it is equal to \(k(1+\sum _{i=1}^q a_i)-1\).

Remark 7.4

One should compare the previous result with the result of Gesmundo [11], Theor. 1.1, who proved that the dimension of \(k\)-secant variety to \(\mathbb{P }^{a_1}\times \cdots \times \mathbb{P }^{a_q}\) is the expected one for \(k\le \Theta _q k_c\), where \(\Theta _q\) is a constant depending only on \(q\). Moreover, in the case where \(a_i+1\) are powers of 2, then \(\Theta _q\rightarrow 1\) when \(q\rightarrow \infty \).

Next, we show a list of Segre products for which \(k\)-identifiability does not hold. We refer to Sect. 5 of [7] for further details.

Table of known cases when \(a_q\le \prod _{i=1}^{q-1}(a_i+1)- \left( 1+\sum _{i=1}^{q-1}a_i\right) \) and the decomposition of the general tensor of rank \(k<k_c\) is not unique.

\((a_1,\ldots ,a_{q})\)

k

Number of decompositions

(2, 3, 3)

5

\(\infty ^1\)

\((2, b, b) b\,\text{ even }\)

\(\frac{3b+2}{2}\)

\(\infty ^{\frac{b}{2}+1}\)

\((1, 1, n, n)\)

\(2n\) + 1

\(\infty ^1\)

(3, 3, 3)

6

2

(2, 5, 5)

8

Finite, \(\ge \)6

(1, 1, 1, 1, 1)

5

2

A straightforward application of the algorithm presented in the last section shows the following

Theorem 7.5

The previous list is complete for all \((a_1,\ldots , a_q)\) such that \(\prod _{i=1}^q(a_i+1)\le 100\).

8 The unbalanced case

Consider again \(X=\mathbb{P }^{a_1}\times \cdots \times \mathbb{P }^{a_q}\) be a Segre product, canonically embedded in \(\mathbb{P }^N\), where \(N+1=\prod _{i=1}^q (a_i+1)\). We may assume \(a_1\le \ldots \le a_q\) and \(q\ge 3\).

When the dimension of \(a_q\) is much bigger than the dimension of the other factors, then the tensor decomposition has a not expected behavior, which can be understood by considering the Segre variety consisting of only two factors, \(\mathbb{P }^{a_q}\) and the product of all the others.

In [1], it was settled completely the dimension of secant variety in the unbalanced case \(a_q\ge \prod _{i=1}^{q-1}(a_i+1) -\left( \sum _{i=1}^{q-1}a_i\right) +1\). In these cases, the last secant variety, which does not fill the ambient space, always has dimension smaller than expected.

We consider now the \(k\)-identifiability. It turns out (see Corollary 8.4) that the analogous condition to be unbalanced is a bit weaker, namely \(a_q\ge \prod _{i=1}^{q-1}(a_i+1) -\left( \sum _{i=1}^{q-1}a_i\right) \). This explains why in the table shown in Sect. 7 we considered just the remaining cases.

The following Proposition is certainly well known, we prove it for the convenience of the reader.

Proposition 8.1

The general tensor of rank \(k\le \prod _{i=1}^{q-1}(a_i+1) -\left( 1+\sum _{i=1}^{q-1}a_i\right) \) in \(\mathbb{P }(\mathbb{C }^{a_1+1}\otimes \cdots \otimes \mathbb{C }^{a_q+1})\) has a unique decomposition as sum of \(k\) decomposable summands for \(a_q\ge \prod _{i=1}^{q-1}(a_i+1) -\left( 2+\sum _{i=1}^{q-1}a_i\right) \).

Proof

Let \(\phi \in \mathbb{C }^{a_1+1}\otimes \cdots \otimes \mathbb{C }^{a_q+1}\) be general of rank \(k\le \prod _{i=1}^{q-1}(a_i+1)-\left( 1 +\sum _{i=1}^{q-1} a_i\right) \). It induces the flattening contraction operator

$$\begin{aligned} A_{\phi }:(\mathbb{C }^{a_q+1})^{\vee }\rightarrow \mathbb{C }^{a_1+1}\otimes \cdots \otimes \mathbb{C }^{a_{q-1}+1} \end{aligned}$$

which has still rank \(k\), by the assumption \(a_q\ge \prod _{i=1}^{q-1}(a_i+1)-\left( 2+\sum _{i=1}^{q-1}a_i\right) \). Indeed, if \(\phi =\sum _{i=1}^{k}v_{i,1}\otimes v_{i,2} \otimes \cdots \otimes v _{i,q}\) with \(v_{i,j}\in \mathbb{C }^{a_j+1}\), where \(v_{i,q}\) can be chosen as part of a basis of \(\mathbb{C }^{a_q+1}\), then Im \(A_{\phi }\) is the span of the representatives of \(v_{i,1}\otimes \cdots \otimes v_{i,q-1}\) for \(i=1,\ldots , k\). It is well known that the projectification of this span, whose dimension is smaller than the codimension of the Segre variety \(Y=\mathbb{P }^{a_1} \times \cdots \times \mathbb{P }^{a_{q-1}}\subset \mathbb{P }(\mathbb{C }^{a_1+1}\otimes \cdots \otimes \mathbb{C }^{a_{q-1}+1})\), meets \(Y\) only in these \(k\) points (see again, for example, the Theorem 2.6 in [6]). The claim follows. \(\square \)

The case \(q=3\) of next Propositions 8.2 and 8.3 is contained in Prop. 5.4 of [7].

Proposition 8.2

If \(a_q\ge \prod _{i=1}^{q-1}(a_i+1)-\left( \sum _{i=1}^{q-1} a_i\right) +1\), then the rank of a general tensor in \(\mathbb{P }(\mathbb{C }^{a_1+1} \otimes \cdots \otimes \mathbb{C }^{a_q+1})\) is \(\min \{a_q+1, \prod _{i=1}^{q-1}(a_i+1)\}\).

Moreover, \(\mathbb{P }^{a_1}\times \cdots \times \mathbb{P }^{a_q}\) is not \(k\)-identifiable for \(k>\prod _{i=1}^{q-1}(a_i+1) -\left( \sum _{i=1}^{q-1}a_i\right) \). If \(a_q= \prod _{i=1}^{q-1} (a_i+1)-\left( \sum _{i=1}^{q-1}a_i\right) \), then the rank of a general tensor in

\(\mathbb{P }(\mathbb{C }^{a_1+1}\otimes \cdots \otimes \mathbb{C }^{a_q+1})\) is \(a_q+1\).

Proof

When \(a_q\ge \prod _{i=1}^{q-1}(a_i+1)-\left( \sum _{i=1}^{q-1} a_i\right) +1\), we are in the unbalanced case, according to Definition 4.2 of [1] (in the defective setting, the range of the unbalanced case is slightly bigger than in the weakly defective setting). In this case, the statement follows from Theorem 4.4 of [1].

When \(a_q= \prod _{i=1}^{q-1}(a_i+1)-\left( \sum _{i=1}^{q-1} a_i\right) \), using the same technique, we show that the secant variety \(S_k(\mathbb{P }^{a_1}\times \cdots \times \mathbb{P }^{a_q})\) has the expected dimension, for \(k\le a_q\), and fills the ambient space, for \(k=a_q+1\).

Indeed, with the notations of [1], condition \(T(a_1,\ldots , a_q;a_q;0^q)\) reduces to \(T(a_1,\ldots ,a_{q-1},0;1;0^{q-1},a_q-1)\) and \(T(a_1,\ldots ,a_{q-1},0;0;0^{q-1},a_q)\) which are true and subabundant, while condition \(T(a_1,\ldots , a_q;a_q+1;0,0,0)\) reduces to condition \(T(a_1,\ldots , a_{q-1},0;1;0^{q-1},a_q)\) which is superabundant and true. \(\square \)

Proposition 8.3

Assume \(a_q \ge \prod _{i=1}^{q-1}(a_i+1)-\left( {\sum _{i=1}^{q-1}a_i}\right) \). Then, the number of different decompositions of a general tensor of rank \(k=\prod _{i=1}^{q-1}(a_i+1) -\left( {\sum _{i=1}^{q-1}a_i}\right) \;\text{ is }\;\left( \begin{array}{l}D\\ k\\ \end{array}\right) \) where \(D=\deg \mathbb{P }^{a_1}\times \cdots \times \mathbb{P }^{a_{q-1}}=\frac{(\sum _{i=1}^{q-1}a_i)!}{a_1!\ldots a_{q-1}!}\). This number is always bigger than 1, so we have never identifiability.

Proof

We apply the same argument of the proof of Proposition 8.1. We pick a general \(\phi \) of rank \(k\). The only difference is that, now, the dimension of the projectification of Im \(A_{\phi }\), which is \(k-1\), equals the codimension of \(\mathbb{P }^{a_1}\times \cdots \times \mathbb{P }^{a_{q-1}}\). Thus, we get \(D\) points of intersection. Any choice of \(k\) among these \(D\) points yields a decomposition. \(\square \)

Corollary 8.4

Assume \(a_q\ge \prod _{i=1}^{q-1}(a_i+1)-\left( \sum _{i=1}^{q-1} a_i\right) \). Then, \(\mathbb{P }^{a_1}\times \cdots \times \mathbb{P }^{a_{q}}\) is \(k\)-identifiable if and only if

$$\begin{aligned} k\le \prod _{i=1}^{q-1}(a_i+1)-\left( 1+\sum _{i=1}^{q-1}a_i\right) \end{aligned}$$

Remark 8.5

We notice a misprint in the table in section 5 of [7]. The condition for “defective unbalanced” should read as \(c\ge (a-1)(b-1)+3\) instead of \(c\ge (a-1)(b-1)+1\). The proof of Prop. 5.3 of [7] needs slight modifications accordingly, but the statement remains correct.

9 The algorithm

The algorithm we have used has been implemented in Macaulay2 [12], and it can be found as ancillary file in the arXiv submission of this paper.

The steps are the following.

  1. 1.

    We choose \(s\) random points \(p_1,\ldots , p_s\) on the Segre variety \(X\), working on an affine chart. The point \(p_1\) can be chosen as \((1,0,\ldots )\) on each factor.

  2. 2.

    We compute the equations of the span of tangent spaces \(\langle T_{p_1},\ldots , T_{p_s}\rangle \).

  3. 3.

    For any of the Cartesian equations, we compute its partial derivatives, the common locus is the locus \(C\) of points \(p\) such that \(T_pX\subset \langle T_{p_1},\ldots , T_{p_s}\rangle \).

  4. 4.

    We compute the rank of the Jacobian matrix of \(C\) at \(p_1\). If it is equal to the dimension of \(X\), then \(X\) is \(k\)-identifiable. If it is smaller than the dimension of \(X\), then a further analysis is required.