Skip to main content

Computing Tropical Points and Tropical Links

Abstract

We present an algorithm for computing zero-dimensional tropical varieties based on triangular decomposition and Newton polygon methods. From it, we derive algorithms for computing points on and links of higher-dimensional tropical varieties, using intersections with affine hyperplanes to reduce the dimension to zero. We use the algorithms to show that the tropical Grassmannians \({\mathcal {G}}_{3,8}\) and \({\mathcal {G}}_{4,8}\) are not simplicial.

Introduction

Given an affine variety X over an algebraically closed field K with non-trivial valuation, its tropical variety \({{\mathrm{Trop}}}(X)\) is the Euclidean closure of its image under component-wise valuation. Tropical varieties arise naturally in many applications in mathematics [1, 22] and beyond, such as in the context of phylogenetic trees in biology [26, Sect. 4], product-mix auctions in economics [27] or finiteness of central configurations in the 5-body problem in physics [10].

Nevertheless, computing tropical varieties is an algorithmically challenging task, requiring sophisticated techniques from computer algebra and convex geometry. The first algorithms were developed by Bogart et al. [2] for the field of complex Puiseux series \({\mathbb {C}}\{\!\{t\}\!\}\). More recently, Chan and Maclagan introduced a new notion of Gröbner bases for general fields with valuation in order to compute tropical varieties thereover [4]. Concurrently, Chan developed a special algorithm for computing tropical curves [3, Chap. 4]. All these algorithms have been implemented in gfan [15], which is the currently most widely used program for computing tropical varieties. In this article, we touch upon two problems that arise in the computation.

The first problem is to pinpoint a tropical starting point, a first point on the tropical variety from which all further computations start off. At present, the default is to traverse the Gröbner complex randomly while checking all vertices along the way for containment in the tropical variety. This is a rather inefficient approach however, as there can be significantly more Gröbner polyhedra outside the tropical variety than inside [2, Thm. 6.3]. The second problem, which arises repeatedly, is to compute tropical links, tropical varieties of simpler combinatorial structure which describe the original tropical variety locally. Their special structure allows them to be computed via tropical prevarieties. While this has proven to be successful for a wide range of examples, experiments show that with increasing input size the tropical prevariety computations become intractable.

We present a simple yet novel approach for solving the aforementioned problems, based on the following bread-and-butter techniques in computer algebra and number theory:

  1. 1.

    intersection with random hyperplanes,

  2. 2.

    triangular decomposition of zero-dimensional polynomial ideals,

  3. 3.

    reading off valuations of roots from Newton polygons.

Moreover, the algorithm for tropical links also relies on a generalization of the Transverse Intersection Lemma [2, Lem. 3.2] to general fields with valuation, which follows from recent results by Osserman and Payne [24].

We use our algorithms to study some higher tropical Grassmannians \({\mathcal {G}}_{k,n}\). They were first studied by Speyer and Sturmfels [25], who showed that \({\mathcal {G}}_{2,n}\) for \(n\ge 2\) and \({\mathcal {G}}_{3,6}\) are simplicial fans, the former using an intriguing connection to spaces of phylogenetic trees and the latter through explicit computation. Additionally, in their work on the parametrization and realizability of tropical planes [12], Hermannn, Jensen, Joswig and Sturmfels showed that \({\mathcal {G}}_{3, 7}\) is also a simplicial fan. We will complement these findings by showing that this does not hold for \({\mathcal {G}}_{3,8}\) and \({\mathcal {G}}_{4,8}\).

All algorithms presented in this article have been implemented in the Singular library tropicalNewton.lib [6, 14], and are publicly available as part of the official Singular distribution. For computations in convex geometry, it relies on an interface to gfanlib [15, 16].

Convention 1.1

For the remainder of the article, let K be an algebraically closed field with non-trivial valuation \(\nu :K \rightarrow {\mathbb {R}}\cup \{\infty \}\), though we will mainly focus on its restriction \(\nu :K^*\rightarrow {\mathbb {R}}\). We assume that \(1\in \nu (K^*)\). As K is algebraically closed, there exists a homomorphism \(\psi :(\nu (K^*),+)\rightarrow (K^*,\cdot )\) with \(\nu (\psi (w))=w\) [21, Lem. 2.1.15]. We will fix one such \(\psi \) and use \(p^w\) to denote the element \(\psi (w)\in K^*\), or \(t^w\) if K is the field of Puiseux series \({\mathbb {C}}\{\!\{t\}\!\}\). Let \({\mathfrak {K}}\) denote the residue field of  K.

Furthermore, we fix a multivariate polynomial ring \(K[x]:=K[x_1,\ldots ,x_n]\). By abuse of notation, we will also use \(\nu \) to refer to the component-wise valuation \((K^*)^n\,{\rightarrow }\,{\mathbb {R}}^n\).

Computing zero-dimensional tropical varieties

In this section we present an algorithm, Algorithm 2.10, for computing zero-dimensional tropical varieties using triangular decomposition and Newton polygon methods. For the sake of simplicity, we restrict ourselves to the task of computing a single point on the tropical variety, as the structure of the algorithm easily suggests how the entire tropical variety can be computed with proper bookkeeping. We conclude the section by showing that any generic triangular set admits what we call a tree of unique Newton polygons, which is the best case for our algorithm as it allows us to compute its tropical variety purely combinatorially, see Example 2.13.

Definition 2.1

Let \(w\in {\mathbb {R}}^n\). For a polynomial \(f=\sum _{\alpha \in {\mathbb {N}}^n} c_\alpha \cdot x^\alpha \in K[x]\), we define the evaluation of its tropicalization at w to be

$$\begin{aligned} {{\mathrm{trop}}}(f)(w):=\min \{w\cdot \alpha +\nu (c_\alpha )\mid c_\alpha \ne 0 \}, \end{aligned}$$

and its initial form with respect to w to be

$$\begin{aligned} {{\mathrm{in}}}_w(f)=\textstyle \sum _{w\cdot \alpha +\nu (c_\alpha )={{\mathrm{trop}}}(f)(w)} \overline{c_\alpha p^{-\nu (c_\alpha )}}\cdot x^\alpha \in {\mathfrak {K}}[x]. \end{aligned}$$

For an ideal \(I\unlhd K[x]\), we define its initial ideal with respect to w to be

$$\begin{aligned} {{\mathrm{in}}}_w(I)=\langle {{\mathrm{in}}}_w(f)\mid f\in I\rangle \unlhd {\mathfrak {K}}[x]. \end{aligned}$$

The tropical variety of I is then given by

$$\begin{aligned} {{\mathrm{Trop}}}(I)&:= \{w\in {\mathbb {R}}^n\mid {{\mathrm{in}}}_w(I) \text { monomial free}\}. \end{aligned}$$

For single polynomials \(f\in K[x]\) and finite subsets \(F\subseteq K[x]\), we abbreviate \({{\mathrm{Trop}}}(f):={{\mathrm{Trop}}}(\langle f\rangle )\) and \({{\mathrm{Trop}}}(F):={{\mathrm{Trop}}}(\langle F\rangle )\).

The tropical variety is naturally covered by Gröbner polyhedra and hence the support of a subcomplex of the Gröbner complex [21, Thm. 3.3.2]. Its dimension resp. lineality space is the dimension resp. lineality space of that subcomplex.

While the previous algorithms mainly work with the aforementioned definition of tropical varieties, the algorithms in this article focus on the following characterization:

Theorem 2.2

([21, Thm. 3.2.5]) For any ideal \(I\unlhd K[x]\) and its corresponding affine variety \(X=V(I)\subseteq K^n\) we have

$$\begin{aligned}{{\mathrm{Trop}}}(I) = \overline{\nu (X \cap (K^*)^n)}, \end{aligned}$$

where \(\overline{(\cdot )}\) denotes the closure in the Euclidean topology.

We now describe how to exploit this geometric characterization algorithmically using triangular sets and Newton polygon methods.

Definition 2.3

A set \(F=\{f_1,\ldots ,f_n\}\subseteq K[x]\) is called triangular, if for each \(k=1,\ldots ,n\) we have \(f_k\in K[x_1,\ldots ,x_k]\) of the form

$$\begin{aligned} f_k=c_k x_k^{d_k}+\text {terms of lower }x_k\text {-degree} \end{aligned}$$

for some \(c_k\in K^*\) and \(d_k\in {\mathbb {N}}_{>0}\).

Proposition 2.4

([9, Cor. 4.7.4]) Let I be a zero-dimensional ideal, then there exist triangular sets \(F_1,\ldots ,F_s\) such that

$$\begin{aligned} \sqrt{I} = \textstyle \bigcap _{i=1}^s \sqrt{\langle F_i\rangle } \quad \text {and}\quad \langle F_i\rangle + \langle F_j \rangle = \langle 1 \rangle \text { for }i\ne j. \end{aligned}$$

Remark 2.5

Triangular decompositions as in Proposition 2.4 were initially introduced by Lazard [20] for polynomial system solving. They are a weaker notion of a primary decomposition and can be obtained easier through various methods, see [20, Procedure 1] or [9, Algorithm 4.7.8] for details.

Definition 2.6

For a univariate polynomial \(f=\sum _{i=0}^d c_i \cdot x_k^i\in K[x_k]\), \(c_i\in K\), the Newton polygon or extended Newton polyhedron is defined to be

$$\begin{aligned} \Delta (f):= {{\mathrm{Conv}}}\big (\{(i,\nu (c_i))\mid c_i\ne 0\}\big )+(\{0\}\times {\mathbb {R}}_{\ge 0}). \end{aligned}$$

Similarly, for a multivariate polynomial \(f=\sum _{i=0}^d f_i\cdot x_k^{i}\in K[x_1,\ldots ,x_k]\), \(f_i\in K[x_1,\ldots ,x_{k-1}]\), and a weight \(w\in {\mathbb {R}}^{k-1}\), we define the expected Newton polygon of f at w to be

$$\begin{aligned} \Delta _w(f):={{\mathrm{Conv}}}\big (\{(i,{{\mathrm{trop}}}(f_i)(w))\mid f_i\ne 0\}\big )+(\{0\}\times {\mathbb {R}}_{\ge 0}). \end{aligned}$$

We say f has a unique Newton polygon at w, if the initial form \({{\mathrm{in}}}_w(f_i)\) is a monomial for all vertices \((i,{{\mathrm{trop}}}(f_i)(w)) \in \Delta _w(f)\). Let \(\Lambda (f)\) resp. \(\Lambda _w(f)\) denote the sets consisting of the negatives of the slopes of \(\Delta (f)\) resp. \(\Delta _w(f)\).

The following two propositions justify the utility of Newton polygons and the term “unique Newton polygon”.

Proposition 2.7

([23, Prop. II.6.3]) Let f be a univariate polynomial over K. Then \(\Lambda (f)={{\mathrm{Trop}}}(f)\).

Proposition 2.8

For a polynomial \(f\in K[x_1,\ldots ,x_k]\) and a weight \(w\in {\mathbb {R}}^{k-1}\) the following are equivalent:

  1. 1.

    f has a unique Newton polygon at w,

  2. 2.

    for all \(z\in K^{k-1}\) with \(\nu (z)=w\) we have \(\Delta (f(z,x_k)) = \Delta _w(f)\).

Proof

Note that for any coefficient \(c\in K\), any substitute \(z\in K^{k-1}\) with \(\nu (z)=w\) and any exponent vector \(\alpha \in {\mathbb {N}}^{k-1}\) we have \(\nu (c\cdot z^\alpha ) = w \cdot \alpha + \nu (c)={{\mathrm{trop}}}(c\cdot x^\alpha )(w)\). Hence for any \(f_i\in K[x_1,\ldots ,x_{k-1}]\) we always have

$$\begin{aligned} \nu (f_i(z)) \ge {{\mathrm{trop}}}(f_i)(w), \end{aligned}$$

with equality guaranteed if \({{\mathrm{in}}}_w(f_i)\) is a monomial, i.e., (1) implies (2).

For the converse, it suffices to show that the equality is guaranteed only if \(f_i\) is a monomial. Since K is algebraically closed, so is its residue field \({\mathfrak {K}}\). In particular, if \({{\mathrm{in}}}_w(f_i)\) is no monomial, then it has a non-zero root in \({\mathfrak {K}}^{k-1}\). Picking any \(z\in K^{k-1}\) with \(\nu (z)=w\) and \({{\mathrm{in}}}_w(f)(\overline{z_1\cdot p^{-\nu (z_1)}},\ldots ,\overline{z_{k-1}\cdot p^{-\nu (z_{k-1})}})=0\), \(p\in K\), denoting a uniformizing parameter, yields \(\nu (f_i(z))\gneq {{\mathrm{trop}}}(f_i)(w)\). \(\square \)

Example 2.9

Let \(K={\overline{{\mathbb {Q}}}}_2\) be the algebraic closure of the 2-adic numbers. The polynomial \(f=2^3x_3^2+(x_1-x_2)x_3+(x_1^2-2x_2)\in K[x]\) has a unique Newton polygon at all \((w_1,w_2)\in {\mathbb {R}}^2\) with \(w_1\ne w_2\) and \(2w_1\ne w_2+1\):

For instance, given \((z_1,z_2) \in K^2\) with \(\nu _2(z_1,z_2)=(2,1)\), the Newton polygon \(\Delta (f(z_1,z_2,x_3))\) will have vertices at (0, 2), (1, 1) and (2, 3). Using Proposition 2.7 we conclude that \({{\mathrm{Trop}}}(f(z_1,z_2,x_3))=\{0,1\}\) and hence (2, 1, 0), \((2,1,1) \in {{\mathrm{Trop}}}(f)\). On the other hand, for \((z_1,z_2) \in K^2\) with \(\nu _2(z_1,z_2)=(0,0)\), the Newton polygon \(\Delta (f(z_1,z_2,x_3))\) may vary depending on the choice of \(z_1,z_2\), as illustrated in Fig. 1.

Fig. 1
figure 1

The expected and possible Newton polygons of f

Algorithm 2.10

(Tropical point, zero-dimensional case only)

figure a

Proof

The termination of the algorithm is clear and the correctness follows directly from Propositions 2.7 and 2.8. \(\square \)

While Algorithm 2.10 looks straightforward, performing Step 6 is a rather delicate task, which we will address in Examples 2.11 and 2.12. Example 2.13 shows how Algorithm 2.10 can be used to compute the entire tropical variety.

Example 2.11

(Root approximation) Note that, in Step 6 of Algorithm 2.10, it always suffices to approximate the root with respect to the metric induced by the valuation. For instance, consider the triangular set \(F = \{f_1,f_2,f_3\} \subseteq {\overline{{\mathbb {Q}}}}_3[x_1,x_2,x_3]\) with

$$\begin{aligned} f_1 = x_1^2 + 3x_1 - 1, \quad f_2 = x_2^2 + 9x_2 - 1, \quad f_3 = 3x_3^2 + (x_1 - x_2)x_3 + 1. \end{aligned}$$

From the Newton polygons of \(f_1\) and \(f_2\) we see that elements \((z_1,z_2) \in ({\overline{{\mathbb {Q}}}}_3)^2\) with \(f_1(z_1) = f_2(z_1,z_2) = 0\) must satisfy \(\nu _3(z_1,z_2) = (0,0)\). However, \(f_3\) does not have a unique Newton polygon at (0, 0) and \(\Delta (f_3(z_1,z_2,x_3))\) may vary depending on \(z_1\) and \(z_2\). More precisely, we have

Through Hensel Lifting we see that \(f_1\) has a root \(z_1 \in {\mathbb {Z}}_3\) with \(z_1 \equiv 4 \bmod 3^2{\mathbb {Z}}_3\) and \(f_2(z_1,x_2)\) has a root \(z_2 \in {\mathbb {Z}}_3\) with \(z_2 \equiv 1 \bmod 3^2{\mathbb {Z}}_3\). Since \(z_1 - z_2\ne 0\) and \(z_1 - z_2 \in 3 {\mathbb {Z}}_3\), we are in the second case and conclude that \(\bigl (0, 0, -\frac{1}{2}\bigr ) \in {{\mathrm{Trop}}}(F)\).

Example 2.12

(Field extensions) While we began this article by fixing an algebraically closed field K, in practise we are always working over a finite extension of either the rationals \({\mathbb {Q}}\), a finite field \({\mathbb {F}}_q\) or function fields thereon. This can be problematic in conjunction with Step 6, as approximating roots might require further field extensions. By the recursive nature of the algorithm, we potentially end up with a tower of field extensions. For instance, consider the triangular set \(F = \{f_1,\cdots ,f_n\} \subseteq {\mathbb {Q}}(\!(t)\!)[x_1,\ldots ,x_n]\) given by

$$\begin{aligned} f_k = x_k^2 - q_k t\biggl ( \sum _{i=1}^{k-1}x_i \biggr ) + q_k t^2, \text { where }q_k\in {\mathbb {N}}\text { is the { k}-th prime}. \end{aligned}$$

This triangular set will never encounter a unique Newton polygon in Step 3, and every root computation in Step 6 will require a new degree 2 extension, as \(V(f_1,\cdots ,f_k) \subseteq ({\mathbb {Q}}(\sqrt{q_1},\cdots , \sqrt{q_k})\{\!\{t\}\!\})^n \setminus ({\mathbb {Q}}(\sqrt{q_1},\cdots , \sqrt{q_{k-1}})\{\!\{t\}\!\})^n\). This eventually leads to a degree \(2^n\) extension of \({\mathbb {Q}}\), which shows in the performance of our implementation of Algorithm 2.10 in tropicalNewton.lib: computing the tropicalization for \(n=13\) requires 8 seconds and it roughly doubles with each increment of n. See Timings 3.9 for a comparison with other algorithms.

Example 2.13

(Computing entire tropical varieties) As mentioned in the beginning of the section, Algorithm 2.10 can be used to compute entire tropical varieties of zero-dimensional ideals. This is done by computing a triangular decomposition as in Proposition 2.4 and applying the algorithm to each triangular set, while exhausting all in Steps 4 and 6-7. For instance, consider the triangular set \(F = \{f_1, f_2, f_3\} \subseteq {\mathbb {C}}\{\!\{t\}\!\}[x_1,x_2,x_3]\) with

$$\begin{aligned} f_1 = tx_1^2+x_1+1, \quad f_2 = tx_2^2+x_1x_2+1, \quad f_3 = x_3+x_1x_2. \end{aligned}$$

Then F admits several choices for slopes throughout the algorithm, and each choice in turn induces a new unique Newton polygon as illustrated in Fig. 2. Keeping track of all of them, allows us to reconstruct its entire tropical variety:

$$\begin{aligned} {{\mathrm{Trop}}}(F) = \{ (0, 0, 0), (0, -1, -1), (-1, 1, 0), (-1, -2, -3)\}. \end{aligned}$$
Fig. 2
figure 2

A tree of unique Newton polygons

We conclude this section by showing that any generic triangular set resembles Example 2.13 in the sense that its tropical variety is determined by a tree of unique Newton polygons.

Definition 2.14

We say a triangular set \(F=\{f_1,\ldots ,f_n\}\subseteq K[x]\) admits a tree of unique Newton polygons, if for all \(k=1,\ldots ,n\) and all weights \(w=(w_1,\ldots ,w_{k-1})\in {\mathbb {R}}^{k-1}\) with \(w_i \in \Lambda _{(w_1,\ldots ,w_{i-1})}(f_i)\), \(i=1,\ldots ,k-1\), the polynomial \(f_k\) has a unique Newton polygon at \((w_1,\ldots ,w_{k-1})\).

Lemma 2.15

Consider \(w\in {\mathbb {R}}^{k-1}\) and \(f\in K[x_1,\ldots ,x_k]\subseteq K[x_1,\ldots ,x_n]\) such that \((\{w\}\times {\mathbb {R}}^{n-k+1}) \cap {{\mathrm{Trop}}}(f)\) has codimension k. Then f has a unique Newton polygon at w and

$$\begin{aligned} \big (\{w\}\times {\mathbb {R}}^{n-k+1}\big ) \cap {{\mathrm{Trop}}}(f) = \{w\}\times \bigcup _{{{\tilde{w}}}\in \Lambda _w(f)} \{{{\tilde{w}}}\}\times {\mathbb {R}}^{n-k}. \end{aligned}$$

Proof

Without loss of generality, assume that \(k=n\). Suppose \(f=\sum _{i=0}^d f_i\cdot x_k^i\) with \(f_i\in K[x_1,\ldots ,x_{k-1}]\) and assume that f has no unique Newton polygon at w, i.e., that there exists a vertex \((i,{{\mathrm{trop}}}(f_i)(w))\in \Delta _w(f)\) such that \({{\mathrm{in}}}_{w}(f_i)\) is no monomial. Let \(\mu _0\) and \(\mu _1\) be the negated slopes of the edges after and before the vertex respectively, see Fig. 3. Then, for any \(w_k\in (\mu _0,\mu _1)\), we have \({{\mathrm{in}}}_{(w,w_k)}(f)={{\mathrm{in}}}_{w}(f_i)\cdot x_k^i\), which is no monomial. This implies \(\{w\}\times (\mu _1,\mu _0)\subseteq {{\mathrm{Trop}}}(f)\), contradicting the zero-dimensionality of \({{\mathrm{Trop}}}(f)\).

Fig. 3
figure 3

\(\Delta _w(f)\) around a non-monomial vertex

Next, we show the equality. For the “\(\supseteq \)” inclusion, let \(\mu \) be a slope of an edge of \(\Delta _w(f)\), say connecting the two vertices \(v_0\) and \(v_1\). Then, writing \(e(v_0,v_1)\) for the edge connecting \(v_0\) and \(v_1\),

$$\begin{aligned} {{\mathrm{in}}}_{(w,\mu )}(f) = \textstyle \sum _{(i,{{\mathrm{trop}}}(f_i)(w))\in e(v_0,v_1)}{{\mathrm{in}}}_{w}(f_i)\cdot x_k^i. \end{aligned}$$

For the converse inclusion, let \((w,w_k)\in {{\mathrm{Trop}}}(f)\). It is clear that for some bounded proper face \(e\le \Delta _{w}(f)\),

$$\begin{aligned} {{\mathrm{in}}}_{(w,w_k)}(f) = \textstyle \sum _{(i,{{\mathrm{trop}}}(f_i)(w))\in e}{{\mathrm{in}}}_{w}(f_i)\cdot x_k^i. \end{aligned}$$

Note that e cannot be zero-dimensional, as otherwise \({{\mathrm{in}}}_{(w,w_k)}(f)={{\mathrm{in}}}_{(w,w_k')}(f)\) for all \(w_k'\in {\mathbb {R}}\), contradicting the zero-dimensionality of \({{\mathrm{Trop}}}(f)\). Hence, e has to be an edge and, consequently, \(w_k\) is the slope of e. \(\square \)

Proposition 2.16

For a triangular set \(F=\{f_1,\ldots ,f_n\}\subseteq K[x]\) the following are equivalent:

  1. 1.

    \(\dim \bigcap _{i=1}^k {{\mathrm{Trop}}}(f_i) = n-k\) for all \(k=1,\ldots ,n\),

  2. 2.

    F is a tropical basis.

Moreover, if F is a tropical basis, then it admits a tree of unique Newton polygons.

Proof

We first show that (1) implies that F is a tropical basis and that it admits a tree of unique Newton polygons. By definition, we have \({{\mathrm{Trop}}}(f_1)=\bigcup _{w_1\in \Lambda (f_1)}\{w_1\}\times {\mathbb {R}}^{n-1}\). Applying Lemma 2.15 repeatedly, we see that for \(w_1\in \Lambda (f_1)\), the polynomial \(f_2\) has a unique Newton polygon at \(w_1\) with

$$\begin{aligned} \big (\{w_1\}\times {\mathbb {R}}^{n-1}\big ) \cap {{\mathrm{Trop}}}(f_2) = \{w_1\} \times \bigcup _{w_2\in \Lambda _{w_1}(f_2)} \{w_2\} \times {\mathbb {R}}^{n-2}, \end{aligned}$$

and, for \(w_1\in \Lambda (f_1)\) and \(w_2\in \Lambda _{w_1}(f_2)\), \(f_3\) has a unique Newton polygon at \((w_1,w_2)\) with

$$\begin{aligned} \big (\{(w_1,w_2)\}\!\times \!{\mathbb {R}}^{n-2}\big ) \cap {{\mathrm{Trop}}}(f_3) = \{(w_1,w_2)\} \times \bigcup _{w_3\in \Lambda _{(w_1,w_2)}(f_3)} \{w_3\} \times {\mathbb {R}}^{n-3}, \end{aligned}$$

and so forth. This shows on the one hand that F admits a tree of unique Newton polygons and on the other hand that any point in \(\bigcap _{i=1}^n {{\mathrm{Trop}}}(f_i)\) corresponds to the component-wise valuation of a point in V(F), implying that F is a tropical basis.

It remains to show that if (1) is not true, then F is no tropical basis. Assume for the sake of simplicity that \(\dim {{\mathrm{Trop}}}(f_1)\cap {{\mathrm{Trop}}}(f_2) = n-1\). Because \({{\mathrm{Trop}}}(f_1)=\bigcup _{w_1\in \Lambda (f_1)}\{w_1\}\times {\mathbb {R}}^{n-1}\) and \({{\mathrm{Trop}}}(f_2)\) is invariant under translation by \(\{(0,0)\}\times {\mathbb {R}}^{n-2}\), there necessarily exist

$$\begin{aligned} \{\lambda \}\times [\mu _1,\mu _2] \times {\mathbb {R}}^{n-2}\subseteq {{\mathrm{Trop}}}(f_1)\cap {{\mathrm{Trop}}}(f_2), \end{aligned}$$

for \(\lambda \in \Lambda (f_1)\) and a nontrivial \([\mu _1,\mu _2]\subseteq {\mathbb {R}}\). Consequently,

$$\begin{aligned} \{\lambda \}\times [\mu _1,\mu _2]\times \{(0,\ldots ,0)\}\subseteq \bigcap _{i=1}^n {{\mathrm{Trop}}}(f_i), \end{aligned}$$

and since \(\bigcap _{i=1}^n {{\mathrm{Trop}}}(f_i)\) is not zero-dimensional, F cannot be a tropical basis of the zero-dimensional ideal it generates. \(\square \)

From Proposition 2.16, we conclude that a generic triangular set is a tropical basis and admits a tree of unique Newton polygons in the following sense:

Corollary 2.17

Let \((K^*)^N\subseteq K[x]^n\) be the coefficient space of all triangular sets with fixed support. Then, in the topology induced by the valuation, there exists an open dense set \({\mathcal {U}}\subseteq (K^*)^N\) such that any triangular set \(F\in {\mathcal {U}}\) is a tropical basis and admits a tree of unique Newton polygons.

Proof

Consider the component-wise valuation \(\nu :(K^*)^N\rightarrow {\mathbb {R}}^N\). There exists an Euclidean open dense subset \(U\subseteq {\mathbb {R}}^n\) such that the tropical hypersurfaces of any triangular set \(F\in (K^*)^N\) with \(\nu (F)\in U\) intersect transversally as in Proposition 2.16 (1). As \(\nu \) is continuous, its preimage \(\mathcal U:=\nu ^{-1}U\subseteq (K^*)^N\) is also open and dense. \(\square \)

Computing tropical starting points

In this section, we use Algorithm 2.10 to compute points on higher-dimensional tropical varieties. This is done by reducing the dimension to zero by intersecting with randomly chosen hyperplanes. Moreover, we will use the algorithm to sample random maximal Gröbner cones on the tropical Grassmannians \({\mathcal {G}}_{3,7}, {\mathcal {G}}_{4,7}, {\mathcal {G}}_{3,8}, \mathcal G_{4,8}\) and show that the latter two are not simplicial.

Proposition 3.1

Let \(I \unlhd K[x]\) be a prime ideal of dimension d and \(X=V(I)\) its corresponding irreducible affine variety such that \(X \cap (K^*)^n \ne \emptyset \). W.l.o.g. let \(\{x_1,\cdots ,x_d\}\) be algebraically independent modulo I. Then there exists a non-empty, Zariski open subset \(U\subseteq (K^*)^{d}\) such that for all \(\lambda \in U\)

$$\begin{aligned} \emptyset \ne X\cap V(\langle x_i-\lambda _i\mid i=1,\ldots ,d\rangle ) \subseteq (K^*)^n \end{aligned}$$

and \(\dim (X\cap V(\langle x_i-\lambda _i\mid i=1,\ldots ,d\rangle ))=0\).

Proof

Abbreviating \(H_\lambda :=V(\langle x_i-\lambda _i\mid i=1,\ldots ,d\rangle )\), it is clear that there exists a Zariski open \(U_0\subseteq (K^*)^{d}\) with \(\emptyset \ne X\cap H_\lambda \) and \(\dim (X\cap H_\lambda ) = 0\). Now consider the set in which the inclusion does not hold. It naturally decomposes into \(n-d\) subsets:

$$\begin{aligned} A:=\{\lambda \in (K^*)^d\mid X\cap H_\lambda \!\nsubseteq \! (K^*)^n \} =\!\bigcup _{i=d+1}^n\! \underbrace{\{ \lambda \in (K^*)^d\mid \exists \, z\!\in \! X\cap H_\lambda \!: z_i = 0 \}}_{=:A_i}. \end{aligned}$$

As U can be chosen to be \(U_0 \setminus {\overline{A}}\), where \(\overline{(\cdot )}\) denotes the Zariski closure in \((K^*)^d\), it suffices to show that \({\overline{A}}_i \ne (K^*)^d\). This is easy to see: Because X is irreducible and \(X\cap (K^*)^n\ne \emptyset \), we necessarily have \(\dim (X\cap V(x_i))<d\) for all \(i=d+1,\ldots ,n\). In particular, \(\dim \pi (X\cap V(x_i))<d\), where \(\pi :K^n\twoheadrightarrow K^d\) is the canonical projection onto the first d coordinates. And, by construction, \(A_i\subseteq \pi (X\cap V(x_i))\). \(\square \)

Proposition 3.1 can be reformulated into the following algorithm.

Algorithm 3.2

(Tropical point)

figure b

Remark 3.3

  1. 1.

    Randomized algorithms such as Algorithm 3.2 are commonly referred to as Las Vegas algorithms. This means that its result is always correct, however it only has an expected finite runtime. Nevertheless, Proposition 3.1 shows that generic choices of z in Step 3 will lead to termination.

  2. 2.

    Note that the set of all \(w\in {\mathbb {R}}^d\) such that \(\{w\}\times {\mathbb {R}}^{n-d}\) does not intersect any lower-dimensional Gröbner polyhedra on \({{\mathrm{Trop}}}(I)\) is open and dense in the Euclidean topology. Hence generic choices of \(z\in (K^*)^d\) in Step 3 will also guarantee that the resulting tropical point will lie in the relative interior of a maximal Gröbner polyhedra on the tropical variety.

  3. 3.

    It is possible to eliminate the randomness by computing stable intersections with affine hyperplanes, as in a recent work of Jensen and Yu [18]. However, this requires one transcendental extension of K per hyperplane, which is not feasible in high codimension.

We will briefly define the examples of our interest.

Definition 3.4

Let \(k,n \in {\mathbb {N}}_{>0}\) with \(1 \le k \le n\). The tropical Grassmannian \({\mathcal {G}}_{k,n} \subseteq {\mathbb {R}}^{{n \atopwithdelims ()k}}\) is defined to be the tropicalization of the ideal \({{\mathrm{Grass}}}(k,n)\unlhd K[p]\), where the variables of the ring \(K[p]:=K[p_{i_1\cdots i_k}\mid 1\le i_1<\ldots <i_k\le n]\) represent the \(k\times k\) minors of any \(k\times n\) matrix and the ideal \({{\mathrm{Grass}}}(k,n)\) is generated by all Plücker relations amongst them, see [21, Sect. 4.3]. We consider the variables of K[p] to be sorted lexicographically, i.e.,

$$\begin{aligned} p_{i_1\cdots i_k}> p_{j_1\cdots j_k} \quad :\Longleftrightarrow \quad \exists \, 1\le l<k\!: i_1=j_1, \ldots , i_{l-1}=j_{l-1} \text { and } i_l > j_l. \end{aligned}$$

Moreover, we define the ideal \({{\mathrm{Det}}}(k,n)\unlhd K[x_{11},x_{12},\ldots ,x_{nn}]\) to be the ideal generated by the \(k\times k\) minors of the matrix \((x_{ij})_{i,j=1,\ldots ,n}\).

Example 3.5

(\({\mathcal {G}}_{2,5}\)) Let \(K = {\mathbb {C}}\{\!\{t\}\!\}\). We demonstrate Algorithm 3.2 on the tropical Grassmannian \({\mathcal {G}}_{2, 5}\). Its ideal is given by

$$\begin{aligned} {{\mathrm{Grass}}}(2,5) = \bigl \langle&p_{34}p_{25}-p_{24}p_{35}+p_{23}p_{45}, p_{34}p_{15}-p_{14}p_{35}+p_{13}p_{45}, \\&p_{24}p_{15}-p_{14}p_{25}+p_{12}p_{45}, p_{23}p_{15}-p_{13}p_{25}+p_{12}p_{35},\\&p_{23}p_{14}-p_{13}p_{24}+p_{12}p_{34} \bigr \rangle \unlhd K[p_{12},p_{13},\ldots ,p_{45}]. \end{aligned}$$

It is 7-dimensional with maximal independent set \(\{p_{15},p_{23},p_{24},\ldots ,p_{45}\}\).

Choosing \((z_{15},z_{23},z_{24},\ldots ,z_{45}):=(t,\ldots ,t)\) yields \(I_z = \langle p_{12},p_{13},p_{14} \rangle \), which means that the choice is not generic in the sense of Proposition 3.1. Choosing \((t, t^5, t^3, t^7, t^8, t^2, t^9)\) on the other hand yields \(I_z\) generated by the triangular set

$$\begin{aligned} p_{12} + (t^3 - 1),\quad t^6\cdot p_{13} + (t^7 - 1), \quad t^2\cdot p_{14} + (t^4 - 1). \end{aligned}$$

Looking at the Newton polygons, we conclude that \(w:=(0,-6,-2)\in {{\mathrm{Trop}}}(I_z)\). Thus \((\nu (z),w)=(0, -6, -2, 1,5,3,7,8,2,9) \in {{\mathrm{Trop}}}(I)\).

In addition to computing starting points for the tropical traversals, Algorithm 3.2 can be used to sample random points on tropical varieties.

Example 3.6

(\({\mathcal {G}}_{k, n}\) for \(k\in \{3,4\}\) and \(n\in \{7,8\}\)) Using Algorithm 3.2, we sampled random maximal cones on higher tropical Grassmannians ignoring symmetry. This was done by computing Gröbner cones around random tropical points, dismissing those of lower dimension and duplicates. We analyzed over 1000 distinct maximal cones on each of \({\mathcal {G}}_{3, 7}, {\mathcal {G}}_{4, 7}\) and \({\mathcal {G}}_{3, 8}\), as well as over 100 distinct maximal cones on the tropical variety of \({\mathcal {G}}_{4, 8}\).

All cones were invariant under tensoring with \({\mathbb {F}}_2\), which is not surprising for \({\mathcal {G}}_{3,7}\): Even though Speyer and Sturmfels showed that \({\mathcal {G}}_{3,7}\) depends on the characteristic of the ground field, in fact it is the smallest tropical Grassmannian depicting this behavior [25, Thm. 3.7], Herrmann, Jensen, Joswig and Sturmfels showed that, out of the \(252\,000\) maximal cones of \({\mathcal {G}}_{3,7}\), this is only visible on a single cone, the Fano cone [12, Thm. 2.1].

Of the 1000 Gröbner cones sampled from each of \(\mathcal G_{3,7}\) and \({\mathcal {G}}_{4,7}\), every single one was simplicial, which was expected as \({\mathcal {G}}_{3,7}\) is known to be simplicial [12, Thm. 2.1] and \({\mathcal {G}}_{4,7}=\mathcal G_{3,7}\) by duality. In the 1000 and 100 Gröbner cones sampled from \({\mathcal {G}}_{3,8}\) and \({\mathcal {G}}_{4,8}\) respectively, each contained exactly one cone which was not simplicial, see the proof of Theorem 3.7.

Not much is known on \({\mathcal {G}}_{3,8}\) and \({\mathcal {G}}_{4,8}\), but there is a complete description of the Dressian \(\mathcal D_{3,8}\) by Herrmann, Joswig and Speyer [13, Thm. 31], which is a natural tropical prevariety containing \({\mathcal {G}}_{3,8}\) that parametrizes all tropical linear spaces. It is known that all rays of \({\mathcal {D}}_{3,7}\) and \({\mathcal {D}}_{3,8}\) are also rays of \({\mathcal {G}}_{3,7}\) and \({\mathcal {G}}_{3,8}\) respectively, and that \({\mathcal {G}}_{3,7}\) contains rays which are not rays of \({\mathcal {D}}_{3,7}\). Our sampling also revealed that this holds for \({\mathcal {G}}_{3,8}\). In fact, none of the 126 tested rays of \({\mathcal {G}}_{3,8}\) were rays of \({\mathcal {D}}_{3,8}\), a concrete example is the ray generated by the following vector:

$$\begin{aligned} \bigl (&0, -1, 1, 1, -1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, -2, 0, 0, -1, -1, 0, -1, -1,\\&0,-1,0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0\bigr )\in {\mathbb {R}}^{\left( {\begin{array}{c}8\\ 3\end{array}}\right) }. \end{aligned}$$

This is somewhat in stark contrast to \({\mathcal {G}}_{3,7}\) and \({\mathcal {D}}_{3,7}\), as out of the 721 rays of the Grassmannian 616 were rays of the Dressian [12, Thm. 2.2].

As an immediate result, we obtain:

Theorem 3.7

The tropical Grassmannian \({\mathcal {G}}_{d,n}\) is not simplicial for \(d=3,4\) and \(n=8\).

Proof

Consider the following two points which lie on \({\mathcal {G}}_{3,8}\) and \({\mathcal {G}}_{4,8}\) respectively:

$$\begin{aligned} w_{3, 8}=\bigl (&2, 10, 7, 10, 2, 2, 2, 10, 7, 10, 9, 6, 9, 12, \\&12, 12, 9, 6, 9, 12, 5, 2, 5, 5, 2, 5, 5, 2, 5, 1,\\&7, 7, 7, 7, 7, 9, 6, 9, 12, 12, 12, 9, 6, 9, 12, 9, \\&7, 9, 12, 7, 7, 7, 7, 7, 7, 7\bigr )\in {\mathbb {R}}^{\left( {\begin{array}{c}8\\ 3\end{array}}\right) }, \\ w_{4, 8}=\bigl (&2, 1, 8, 1, 8, 14, 21, 15, 21, 11, 14, 11, 21,\\&16, 21, 5, 12, 6, 12, 4, 5, 4, 12, 7, 12, 17, 12,\\&17, 19, 19, 19, 17, 12, 17, 19, 14, 21, 15, 21, \\&11, 14, 11, 21, 16, 21, 21, 15, 21, 21, 19,\\&21, 21, 16, 21, 19, 17, 12, 17, 19, 19, 19, 17, 12, \\&17, 19, 19, 19, 19, 19, 19\bigr )\in {\mathbb {R}}^{\left( {\begin{array}{c}8\\ 4\end{array}}\right) }. \end{aligned}$$

A corresponding reduced Gröbner basis of \({{\mathrm{Grass}}}(3,8)\) under the weighted monomial ordering with weight vector \(w_{3,8}\) and lexicographical tiebreaker has 686 elements of degrees ranging from 2 to 6, while the reduced Gröbner basis for \({{\mathrm{Grass}}}(4,8)\) has 1157 elements of degrees ranging from 2 to 8.

The Gröbner cone containing \(w_{3,8}\) in its relative interior is of dimension 16, generated by 9 rays and a lineality space of dimension 8, and the Gröbner cone with \(w_{4,8}\) in its relative interior is of dimension 17, generated by 10 rays and a lineality space of dimension 8. Hence both cones are maximal-dimensional in their respective tropical varieties and not simplicial. \(\square \)

We conclude the section with some timings.

Timings 3.8

Figure 4 compares three different algorithms for computing points on tropical varieties:

gfan 0.6.2::

an experimental algorithm based on Chan’s work on tropical curves [3, Chap. 4], and Jensen and Yu’s work on stable intersections [18].

gfan 0.5::

[2, Algorithm 9], a random traversal of the Gröbner fan while testing all rays for containment in the tropical variety. It can also be found in Singular, however that implementation is slower than gfan.

Singular 4.1.0::

Algorithm 3.2, as implemented in tropicalNewton.lib. As gfan additionally computes a corresponding reduced Gröbner basis, we also provide analogous timings in Singular.

We would like to stress that these timings merely serve as a comparison of the algorithms and not as a showcase of the computational reach of the two systems involved. For instance, points on tropical Grassmannians can also be computed via the tropical Stiefel map, see [13, Prop. 12] and [8]. In fact, \({\mathcal {G}}_{3,7}\) has been previously computed using gfan 0.4, which required 25 h [12, Thm. 2.2]. Currently, gfan 0.6.2 requires 65 min, while Singular 4.1.0 requires 10 min.

All computations were run on a machine with Intel E5-2643v3 (3.4 GHz) processors running Gentoo 4.4.6 and were aborted after exceeding 7 CPU days. See Definition 3.4 for the definitions of \({{\mathrm{Det}}}(k,n)\) and \({{\mathrm{Grass}}}(k,n)\). All examples are considered over \({\mathbb {C}}\{\!\{t\}\!\}\).

Fig. 4
figure 4

Timings in seconds, ’-’ were aborted after 7 CPU days

Timings 3.9

Consider the computation of tropical points for the family of one-dimensional ideals generated by \(F = \{f_1,\cdots ,f_n\} \subseteq {\mathbb {Q}}[x_0,x_1,\ldots ,x_n]\subseteq {\mathbb {C}}\{\!\{t\}\!\}[x_0,x_1,\ldots ,x_n]\) given by

$$\begin{aligned} f_k = x_k^2 - q_k x_0\biggl ( \sum _{i=1}^{k-1}x_i \biggr ) + q_k x_0^2, \quad \text { where }q_k\in {\mathbb {N}}\text { is the { k}-th prime}. \end{aligned}$$

While substituting \(x_0\mapsto t\) directly yields triangular sets, we described in Example 2.12 how our Algorithm 2.10 struggles with them: It requires a degree \(2^n\) field extension of \({\mathbb {Q}}\), which results in a runtime of 8 s for \(n=13\), roughly doubling with each increase of n.

However, for [2, Algorithm 9], this family is completely trivial: As F is already a reduced Gröbner basis for a suitable ordering, it is easy to verify that its ideal is one-dimensional and has a one-dimensional homogeneity space generated by \((1,1,\ldots ,1)\in {\mathbb {R}}^{n+1}\). Hence [2, Algorithm 9] immediately obtains its tropical variety, which is equal to its homogeneity space. This shows in the runtime of both gfan 0.5 and gfan 0.6.2, which terminate instantaneously for \(n=13\) and whose runtimes remain under 1 second for \(n<120\).

Computing tropical links

In this section, we use Algorithm 2.10 to compute links of a tropical variety around its one-codimensional Gröbner polyhedra. This is done in two steps. First we intersect the link with a subspace to reduce it to a one-dimensional polyhedral fan. Afterwards, we intersect the fan with affine hypersurfaces to determine all its rays.

Definition 4.1

We refer to \({{\mathrm{Trop}}}(I)\) as a tropical link, if it is a polyhedral fan and has a one-codimensional lineality space.

Remark 4.2

Let \(u\in {{\mathrm{Trop}}}(I)\) sit in the relative interior of a one-codimensional Gröbner polyhedron. Then \({{\mathrm{Trop}}}({{\mathrm{in}}}_u(I)\otimes _{{\mathfrak {K}}} {\mathfrak {K}}\{\!\{t\}\!\})\) is a tropical link which describes \({{\mathrm{Trop}}}(I)\) locally around u, see Fig. 5. Its lineality space is the linear subspace spanned by the Gröbner polyhedra after moving u to the origin.

Fig. 5
figure 5

A tropical link of a tropical cubic curve

The reduction to dimension zero relies on the following result on the intersection of tropical varieties by Osserman and Payne. From it, we can immediately write down our algorithm.

Theorem 4.3

([24, Thm. 1.1]) Let X and \(X'\) be two affine subvarieties. If \({{\mathrm{Trop}}}(X)\cap {{\mathrm{Trop}}}(X')\) has codimension \({{\mathrm{codim}}}{{\mathrm{Trop}}}(X)+{{\mathrm{codim}}}{{\mathrm{Trop}}}(X')\) in a neighborhood of w, then w is contained in \({{\mathrm{Trop}}}(X\cap X')\).

Corollary 4.4

Let \({{\mathrm{Trop}}}(I)\) be a \((d+1)\)-dimensional tropical link and H its d-dimensional lineality space. Suppose \(H\cap {{\mathrm{Lin}}}(e_{d+1},\ldots ,e_n) = \{0\}\). Then for any \(z\in (K^*)^d\) we have

$$\begin{aligned} {{\mathrm{Trop}}}(I)\cap (\{\nu (z)\}\times {\mathbb {R}}^{n-d}) = {{\mathrm{Trop}}}(I+\langle x_i-z_i\mid i=1,\ldots ,d\rangle ), \end{aligned}$$

and \({{\mathrm{Trop}}}(I+\langle x_i-z_i\mid i=1,\ldots ,d\rangle )\) is a one-dimensional tropical link with lineality space \(\{0\}\).

Corollary 4.5

Let \({{\mathrm{Trop}}}(I)\) be a one-dimensional tropical link with lineality space \(\{0\}\). Then for any \(z\in K^*\) with \(\nu (z)\ne 0\) we have

$$\begin{aligned} {{\mathrm{Trop}}}(I)\cap (\{\nu (z)\}\times {\mathbb {R}}^{n-1}) = {{\mathrm{Trop}}}(I+\langle x_1-z\rangle ), \end{aligned}$$

and \({{\mathrm{Trop}}}(I+\langle x_1-z\rangle )\) is either empty or zero-dimensional.

Algorithm 4.6

(Tropical link)

figure c

Remark 4.7

(Comparison with existing algorithms) The idea of computing tropical links by reducing the dimension is not new. Andrew Chan has designed an algorithm which computes tropical links via projection and reconstruction [3, Sect. 4], based on existing techniques developed by Hept and Theobald [11].

In both algorithms, the polyhedral computations are timewise irrelevant compared to the polynomial computations, which contain three potential bottlenecks (assuming \(K={\mathbb {C}}\{\!\{t\}\!\}\) and the use of [9, Algorithm 4.7.8] for the triangular decomposition necessary before applying Algorithm 2.10 to \(J_i^\pm \)):

[3, Algorithm 4.2.5, Step 1] (Algorithm 4.6, Step 6)
Computing elimination ideals Computing lexicographical Gröbner bases
[3, Algorithm 4.2.14, Step 6] (Algorithm 4.6, Step 6)
computing initial ideals Computing triangular decompositions
[3, Algorithm 4.2.14, Step 6] (Algorithm 2.10, Step 6)
Computing saturations Computing Newton–Puiseux expansions

Experiments suggest that, in both algorithms, the latter two bottlenecks are timewise insignificant compared to the first. In fact, for Algorithm 4.6, constructing the triangular decomposition from a lexicographical Gröbner basis is polynomial [20, Sect. 7], as is the construction of the Newton–Puiseux expansion [5]. Hence, the main bottleneck in both algorithms lies in the computation of Gröbner bases with respect to elimination orderings.

Fig. 6
figure 6

Reduced Gröbner bases around a maximal cone in \({\mathcal {G}}_{4,9}\)

However, the key difference is that these Gröbner basis computations in [3, Algorithm 4.2.5] involve the one-dimensional input ideal I, whereas the ideals \(J_i^\pm \) in Algorithm 4.6 are all zero-dimensional. For these ideals we not only have better complexity bounds [19], but also techniques such as fglm [7], which speed up our calculations drastically. For instance, in the following Example 4.8 and in Singular 4.1.0, a lexicographical Gröbner basis of \(J_i^\pm \) required only 30 seconds of computation while an elimination ideal of I required 25 min.

Example 4.8

(\({\mathcal {G}}_{4,9}\)) Let \(K={\mathbb {C}}\{\!\{t\}\!\}\) and \(I={{\mathrm{Grass}}}(4,9)\). Its tropical variety \({\mathcal {G}}_{4, 9} \subseteq {\mathbb {R}}^{126}\) is of dimension 21 with a homogeneity space of dimension 9. Using Algorithm 2.10, one possible tropical point that lies in the interior of a maximal cone is

$$\begin{aligned} w&:= \bigl (1, 1, 3, 4, 4, 7, 8, 9, 9, 9, 10, 10, 9, 5, 10, 10, 10, \\&4, 4, 12, 13, 13, 13, 13, 5, 17, 18, 18, 18, 18,\\&9, 19, 19, 19, 19, 8, 9, 10, 10, 10, 11, 11, 10, 7, 11, 11, 12, 12, \\&12, 12, 11, 13, 13, 13, 13, 18,\\&19, 19, 19, 19, 10, 20, 20, 20, 20, 20, 20, 20, 20, 20, 10, 10, 10, \\&10, 12, 13, 13, 13, 13, 11,\\&17, 18, 18, 18, 18, 11, 19, 19, 19, 19, 18, 19, 19, 19, 19, 10, 20, \\&20, 20, 20, 20, 20, 20, 20,\\&20, 18, 19, 19, 19, 19, 11, 20, 20, 20, 20, 20, 20, 20, 20, 20, 20, \\&20, 20, 20, 20, 20\bigr )\in {\mathbb {R}}^{\left( {\begin{array}{c}9\\ 4\end{array}}\right) }. \end{aligned}$$

The reduced Gröbner basis of the initial ideal under w with respect to the reverse lexicographical ordering consists of 5543 binomials with degrees ranging from 2 to 7. The Gröbner cone \(C_w(I)\) is simplicial with its 12 facets. Figure 6 shows some data on the reduced Gröbner bases of the saturated initial ideals under weight vectors on the facets of \(C_w(I)\). The rows represent binomials, trinomials and quadrinomials respectively and the columns represent degrees 2 to 7, i.e., the entry in row i and column j is the number of Gröbner basis elements with \(i+1\) monomials and of degree \(j+1\).

The computation of the 12 tropical links using Algorithm 4.6 took 7 min, while all attempts to compute any of the 12 tropical prevarieties failed to terminate within an hour, even using the newly developed techniques by Jensen et al. [17]. Similarly, computing any of the elimination ideals necessary in [3, Algorithm 4.2.5] required 25 min in Singular. All tropical links are 3-valent, i.e., each facet is adjacent to exactly three maximal cones in the tropical variety.

References

  1. Allamigeon, X., Benchimol, P., Gaubert, S., Joswig, M.: Combinatorial simplex algorithms can solve mean payoff games. SIAM J. Optim. 24(4), 2096–2117 (2014)

    MathSciNet  Article  MATH  Google Scholar 

  2. Bogart, T., Jensen, A.N., Speyer, D., Sturmfels, B., Thomas, R.R.: Computing tropical varieties. J. Symb. Comput. 42(1–2), 54–73 (2007). https://doi.org/10.1016/j.jsc.2006.02.004

    MathSciNet  Article  MATH  Google Scholar 

  3. Chan, A.: Gröbner Bases Over Fields with Valuation and Tropical Curves by Coordinate Projections. PhD thesis. University of Warwick, (2013)

  4. Chan, A.J, Maclagan, D.: Groebner bases over fields with valuations. Math. Comput. (2013). eprint: arXiv:1303.0729

  5. Chistov, A.L.: Polynomial complexity of the Newton--Puiseux algorithm. In: Grushka, J., et al. (eds.) Mathematical Foundations of Computer Science 1986. Lecture Notes in Computer Science, vol. 233, pp. 247–255. Springer, Berlin (1986). https://doi.org/10.1007/Fb0016248

    Chapter  Google Scholar 

  6. Decker, W., Greuel, G.-M., Pfister, G., Schnemann, H.: Singular 4-1-0-A computer algebra system for polynomial computations. http://www.singular.uni-kl.de. (2016)

  7. Faugére, J.C., Gianni, P., Lazard, D., Mora, T.: Efficient computation of zerodimensional Gröbner bases by change of ordering. J. Symb. Comput. 16(4), 329–344 (1993). https://doi.org/10.1006/jsco.1993.1051

    Article  MATH  Google Scholar 

  8. Fink, A., Rincón, F.: Stiefel tropical linear spaces. J. Combin. Theory Ser. A 135, 291–331 (2015). https://doi.org/10.1016/j.jcta.2015.06.001

    MathSciNet  Article  MATH  Google Scholar 

  9. Greuel, G.-M., Pfister, G.: Singular Introduction to Commutative Algebra. Extended. Springer, Berlin (2008)

    Google Scholar 

  10. Hampton, M., Jensen, A.: Finiteness of spatial central configurations in the fivebody problem. Celestial Mech. Dynam. Astronom. 109(4), 321–332 (2011). https://doi.org/10.1007/s10569-010-9328-9

    MathSciNet  Article  MATH  Google Scholar 

  11. Hept, K., Theobald, T.: Tropical bases by regular projections. Proc. Am. Math. Soc. 137(7), 2233–2241 (2009). https://doi.org/10.1090/S0002-9939-09-09843-8

    MathSciNet  Article  MATH  Google Scholar 

  12. Herrmann, S., Jensen, A., Joswig, M., Sturmfels, B.: How to draw tropical planes. Electron. J. Combin. 16(2), 1–26 (2009). Special volume in honor of Anders Björner, Research Paper 6

    MathSciNet  MATH  Google Scholar 

  13. Herrmann, S., Joswig, M., Speyer, D.E.: Dressians, tropical Grassmannians, and their rays. Forum Math. 26(6), 1853–1881 (2014). https://doi.org/10.1515/forum-2012-0030

    MathSciNet  Article  MATH  Google Scholar 

  14. Hofmann, T., Ren, Y.: tropicalnewton.lib. A Singular 4-1-0 library for tropical computations using Newton polygon methods. http://www.singular.uni-kl.de. (2016)

  15. Jensen, A.N: Gfan, a software system for Gröbner fans and tropical varieties. http://home.imf.au.dk/jensen/software/gfan/gfan.html. (2017)

  16. Jensen, A., Ren, Y., Seelisch, F. : gfan.lib. A Singular 4-1-0 interface to gfanlib. http://www.singular.uni-kl.de. (2016)

  17. Jensen, A., Sommars, J., Verschelde, J.: Computing Tropical Prevarieties in Parallel. In: Proceedings of the International Workshop on Parallel Symbolic Computation (PASCO’17), pp. 9:1–9:8. ACM, Kaiserslautern, Germany (2017). https://doi.org/10.1145/3115936.3115945

  18. Jensen, A., Yu, J.: Stable intersections of tropical varieties. J. Algebraic Combin. 43(1), 101–128 (2016). https://doi.org/10.1007/s10801-015-0627-9

    MathSciNet  Article  MATH  Google Scholar 

  19. Lazard, D.: Gröbner bases, Gaussian elimination and resolution of systems of algebraic equations. In: van Hulzen, J.A. (ed.) Computer Algebra (London, 1983). Lecture Notes in Computer Science, vol. 162, pp. 146–156. Springer, Berlin (1983). https://doi.org/10.1007/3-540-12868-9_99

    Chapter  Google Scholar 

  20. Lazard, D.: Solving zero-dimensional algebraic systems. J. Symb. Comput. 13(2), 117–131 (1992). https://doi.org/10.1016/S0747-7171(08)80086-7

    Article  MATH  Google Scholar 

  21. Maclagan, D., Sturmfels, B.: Introduction to Tropical Geometry. Graduate Studies in Mathematics, vol. 161. American Mathematical Society, Providence, RI (2015)

    Book  MATH  Google Scholar 

  22. Mikhalkin, G.: Enumerative tropical algebraic geometry in \(\mathbb{R}^2\). J. Am. Math. Soc. 18(2), 313–377 (2005). https://doi.org/10.1090/S0894-0347-05-00477-7

    MathSciNet  Article  MATH  Google Scholar 

  23. Neukirch, J.: Algebraic Number Theory. Grundlehren der Mathematischen Wissenschaften, vol. 322. Springer, Berlin (1999). https://doi.org/10.1007/978-3-662-03983-0

    Google Scholar 

  24. Osserman, B., Payne, S.: Lifting tropical intersections. Doc. Math. J. DMV 18, 121–175 (2013)

    MathSciNet  MATH  Google Scholar 

  25. Speyer, D., Sturmfels, B.: The tropical Grassmannian. Adv. Geom. 4(3), 389–411 (2004). https://doi.org/10.1515/advg.2004.023

    MathSciNet  Article  MATH  Google Scholar 

  26. Sturmfels, B.: Algebra. In: Pachter, L., Sturmfels, B. (eds.) Algebraic Statistics for Computational Biology, pp. 85–124. Cambridge University Press, New York (2005). https://doi.org/10.1017/CBO9780511610684.006

    Google Scholar 

  27. Tran, N.M., Yu, J.: Product-mix auctions and tropical geometry. Math. Oper. Res. (2015). eprint: arXiv:1505.05737

Download references

Acknowledgements

Open access funding provided by the Max Planck Society. The authors would like to thank Michael Joswig and Benjamin Schröter for their feedback on a previous version of the article.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Yue Ren.

Additional information

Editor in Charge: Kenneth Clarkson

The second author was partially supported by the DFG Priority Programme 1489 “Algorithmic and Experimental Methods in Algebra, Geometry and Number Theory” and the Center of Advanced Studies in Mathematics of Ben-Gurion University. This work was completed during the program “Tropical Geometry, Amoebas and Polytopes” at the Institute Mittag-Leffler. The second author would like to thank the institute for its hospitality.

Rights and permissions

Open Access This article is distributed under the terms of the Creative Commons Attribution 4.0 International License (http://creativecommons.org/licenses/by/4.0/), which permits unrestricted use, distribution, and reproduction in any medium, provided you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons license, and indicate if changes were made.

Reprints and Permissions

About this article

Verify currency and authenticity via CrossMark

Cite this article

Hofmann, T., Ren, Y. Computing Tropical Points and Tropical Links. Discrete Comput Geom 60, 627–645 (2018). https://doi.org/10.1007/s00454-018-0023-z

Download citation

  • Received:

  • Revised:

  • Accepted:

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00454-018-0023-z

Keywords

  • Tropical geometry
  • Tropical variety
  • Tropical Grassmannian
  • Computer algebra
  • Newton polygon

Mathematics Subject Classification

  • 14T05
  • 52B20
  • 12J25
  • 13P15