Toric varieties and Gr\"obner bases: the complete Q-factorial case

We present two algorithms determining all the complete and simplicial fans admitting a fixed non-degenerate set of vectors $V$ as generators of their 1-skeleton. The interplay of the two algorithms allows us to discerning if the associated toric varieties admit a projective embedding, in principle for any values of dimension and Picard number. The first algorithm is slower than the second one, but it computes all complete and simplicial fans supported by $V$ and lead us to formulate a topological-combinatoric conjecture about the definition of a fan. On the other hand, we adapt the Sturmfels' arguments on the Gr\"obner fan of toric ideals to our complete case; we give a characterization of the Gr\"obner region and show an explicit correspondence between Gr\"obner cones and chambers of the secondary fan. A homogenization procedure of the toric ideal associated to $V$ allows us to employing GFAN and related software in producing our second algorithm. The latter turns out to be much faster than the former, although it can compute only the projective fans supported by $V$. We provide examples and a list of open problems. In particular we give examples of rationally parametrized families of $\Q$-factorial complete toric varieties behaving in opposite way with respect to the dimensional jump of the nef cone over a special fibre.


Introduction
The main purpose of the study here presented is producing two implemented algorithms aimed to determining all the complete and simplicial fans, admitting a fixed non-degenerate set of vectors as generators of their 1-skeleton. In particular their interplay allows us to discerning if the associated toric varieties admit a projective embedding, that is ample divisors, in particular for higher values (≥ 4) of dimension and Picard number.
In fact, it is well known that a complete toric variety may not be projective. This cannot happen for toric varieties of dimension ≤ 2 [19, § 8, Prop. 8.1], but for higher dimension it has been shown by several examples, the first of which was given by M. Demazure [5]. P. Kleinschmidt and B. Sturmfels [15] proved that, for Picard number (in the following also called the rank ) r ≤ 3, smooth and complete toric varieties are projective in every dimension, that is they have to admit ample divisors. This result cannot be extended to higher values of the rank, as shown by a famous example given by T. Oda [20, p.84], who presented a smooth complete 3dimensional toric variety X of rank r = 4, whose nef cone has dimension 2: therefore X admits non-trivial numerically effective classes (among which the anti-canonical one) but does not admit any ample class. When dropping the smoothness hypothesis, Kleinschmidt-Sturmfels bound does no longer hold even for Q-factorial singularities: a counterexample has been given by F. Berchtold and J. Hausen [2,Ex. 10.2] who provided a Q-factorial complete 3-dimensional toric variety X of rank r = 3 whose nef cone is 1-dimensional and generated by the anti-canonical class. This example is actually a divisorial contraction of the Oda's example, as it can be obtained by suppressing a fan generator. As the Oda's one, the Berchtold-Hausen example is still a sharp counterexample, as Q-factorial complete toric varieties of rank r ≤ 2 turn out to be projective in any dimension, as recently proved in [24] by the authors of the present paper.
In the literature, further examples of non-projective complete toric varieties are known. In particular O. Fujino and S. Payne [7] provided an example of a smooth toric threefold of rank r = 5 without any non-trivial numerically effective divisor, that is, whose nef cone is trivial, and showed that such a phenomenon cannot happen, in the smooth -dimensional case, when r ≤ 4. Moreover an example of a Q-factorial complete 3-dimensional toric variety, of rank r = 3, whose nef cone is trivial has been recently given by the authors [24, § 3], showing that in the Q-factorial setup that bound reduces to giving r ≤ 2, when actually the involved varieties have to be projective and so admitting even ample divisors. Again, the last example turns out to be a divisorial contraction of the Fujino-Payne one. Moreover it has been obtained by slightly deforming, in a sense better described in the final § 8.4, the Berchtold-Hausen example, so breaking up its symmetry in such a way that the two non-projective varieties sharing the same nef cone generated by the anti-canonical class deform, on the one hand to a projective variety and on the other one to a still worse non-projective one, no more admitting even non-trivial nef divisors. This fact reveals two interesting evidences. The first one is that many known examples of complete and non-projective toric varieties are intimately related, showing that, morally, they turn out to be an ad hoc variation of the classical Oda's example. We believe this happens because it is very difficult constructing example of this kind for higher values of dimension and rank and maintaining low values of those parameters forces us to work in a too narrow environment.
The second evidence is that we find a gap in the theory, when we try to explain how non-projective varieties arise among complete toric varieties: is it true that a general complete toric variety is projective? What is the precise meaning of the word "general" in the previous question? Why slightly deforming the secondary fan, e.g. by moving a ray of the effective cone, generated by the classes of effective divisors, non-projective varieties can appear and disappear? As stimulating examples in § 8.4 we present two families, over Q, of complete Q-factorial toric varieties, the first admitting a projective general fibre with a non-projective special fibre and the second admitting general fibre without any non trivial nef divisor and a special fibre whose anticanonical class generates the nef cone. These examples seem to be representative of apparently opposite phenomena calling for a more general theoretic explanation we are not able to give in this moment.
Both these evidences requires a huge multitude of examples to consider and study, in particular for higher values of dimension and rank, so highlighting the need of a computer-aided approach to this kind of problems.
In the literature there are algorithms computing projective fans (i.e. regular triangulations) but also algorithm computing all kind of triangulations (see for example [3,4,12] ) In this paper we propose two algorithms calculating complete Q-factorial fans over a set of vectors.
The first one, described in Section 3, computes projective and non projective fans. Although it is quite inefficient, it is theoretically interesting as leading us to the topological-combinatoric conjecture 2, about the definition of a fan. We performed a Maple implementation of this algorithm, making it compatible with packages like Convex by M. Franz [6] and MDSpackage by S. Keicher and J. Hausen [8]. These connections reveal to be quite useful for several applications. The first one in computing movable and nef cones associated to the computed fans and so detecting if the associated toric variety is projective or not. The second one to study possible embedded Mori Dream spaces.
The second algorithm uses Gröbner bases of toric ideals, and the fact, established by Sturmfels [26,Prop. 8.15], that the Gröbner fan of a toric ideal refines the secondary fan associated with the corresponding configuration of vectors. Whilst most of the literature on this subject deals with homogeneous toric ideals, here we focus our attention on toric ideals arising from a complete configuration; these ideals cannot be homogeneous. We describe the Gröbner region and translate the problem of calculating fans in a problem of linear programming, as done in [27] in the homogeneous case. It turns out a surjective map (Corollary 1) from a set of initial ideals of the toric ideal and the set of simplicial projective fans having as 1-skeleton the rays generated by all the vectors in the configuration. This correspondence in general is not injective, but initial ideals associated to the same fan result to have the same radical. The above theoretical results, mainly concentrated in § 5, are probably the most original contribution of the research here presented, and allow us to formulate, in Section 6, an algorithm which determines all projective complete simplicial fans with a given 1-skeleton, based on the computation of the Gröbner fan of the associated toric ideal. For the latter purpose, we exploit the existing software for finding the Gröbner fan of toric ideals such as TiGERS or CATS (incorporated in GFAN) (see [11,14,13] ). This software works with homogeneous ideals and in Section 6.2 we explain how to adapt it to our situation by taking as input the homogeneized ideal and modifying the output in a suitable way. The algorithm produced in this way turns out to be much more efficient than that presented in §3. Section 7 is devoted to present some examples. Section 8 points out some open problems and directions for future work.

Preliminaries and notation
Let A ∈ M(d, m; Z) be a d×m integer matrix (along the paper, d will be replaced by either r (the Picard number) or n (the dimension), depending on the situation). We denote by supp(u) the support {i | u i = 0} of a vector u ∈ R m . For a monomial x u we set supp(x u ) = supp(u).
For every vector u ∈ Z m we write u = u + −u − where u + , u − ∈ N m have disjoint support (we assume, here and elsewhere in the paper, that 0 belongs to the set of natural numbers N). We denote by g u the binomial For a subset X of R n the relative interior, Relint(X), is the interior of X inside the affine span of X.
In the following V = (v 1 , . . . , v m ) is a n × m complete CF-fan matrix (see the following Definition 1), Q is a Gale dual matrix of V (see the following § 4.1); it has order r × m, where r + n = m.
We shall denote v 1 , . . . , v h the cone spanned by the vectors v 1 , . . . , v h . If A is a matrix, then A denotes the cone spanned by the columns of A.
If M is a module over a ring R, we shall denote by M ∨ its dual module: If σ is a cone in a real vector space V, σ * denotes its dual cone: K is a field of characteristic 0.

F-matrices
An n-dimensional Q-factorial complete toric variety X = X(Σ) of rank r is the toric variety defined by an n-dimensional simplicial and complete fan Σ such that |Σ(1)| = m = n + r. In particular the rank r coincides with the Picard number i.e. r = rk(Pic(X)).
Given such a fan Σ, it gives rise to a matrix V whose columns are integral vectors generating the rays of the 1-skeleton Σ(1).
The matrix V will be called a fan matrix of Σ.
Fan matrices motivate the following definition (see [22] for any further detail).
Definition 1. A (reduced) F-matrix is a n × m matrix V with integer entries, satisfying the conditions: a) rk(V ) = n; b) all the columns of V are non zero; c) if v is a column of V , then V does not contain another column of the form λv where λ > 0 is a real number. d) V is F-complete: the cone generated by its columns is R n ; e) the gcd of the elements of every columns is 1 be the set of all simplicial and complete fans whose 1-skeleton is given by all the rays generated by the columns of V . For any choice Σ ∈ SF(V ) we get a Q-factorial complete toric variety X = X(Σ).
The fans associated to the two varieties have the same combinatoric structure, in the sense that they involve the same sets of indices of columns in the corresponding fan matrices.
3. The "cercafan"algorithm for calculating SF(V ) and the pseudofan conjecture . . , v m ) be a n × m F-matrix. Then SF(V ) can be computed by the following steps.
(1) Compute the set M of minimal n-dimensional cones generated by the columns of V , i.e. the simplicial cones not contaning other columns of V than those generating their extremal rays.
in this case C = Σ(n) for a complete simplicial fan Σ.
More precisely we can define a pseudofan as a collection of simplicial cones on the columns of V satisfying: • C ⊆ M i.e. every σ i is a minimal maximal cone.
• The set of vertices of cones in C is the whole set of columns of V ; • Every facet f of some σ i ∈ C is shared by unique other σ j ∈ C lying on the opposite side of f . • (maybe) C is minimal with these properties.
Then the pseudofan conjecture can be stated as: The conjecture is trivial in dimension 2. Although we would not able to prove it in dimension ≥ 3, it is supported by a huge number of examples up to dimension 5 and rank 4.

Gale duality and secondary fan
Although its theoretical interest, the "cercafan "algorithm is not very efficient and is in practice unusable as the size and number of vectors grow. The following of this paper will be devoted to present a second algorithm, based on the theory of Gröbner bases of toric ideals, computing the projective fans in SF(V ), for a given F-matrix V . A fundamental tool for this construction is Gale duality that we briefly recall in this section.
4.1. The Gale dual matrix of V . Let V be a n×m F-matrix. If we think V as a linear application from Z m to Z n then ker(V ) is a lattice in Z m , of rank r := m − n and without cotorsion. We shall denote Q = G(V ) the Gale dual matrix of V : an integral r × (n + r) matrix Q whose rows are a Z-basis of ker(V ); the matrix Q is well-defined up to left multiplication by GL r (Z) and can be characterized by the following universal F-completeness implies that the span of the rows of Q contain a strictly positive vector, so that Q can be chosen non-negative.
Notice that G(V ) = G( V ) where V is the CF-matrix associated to the 1-covering.
Submatrices of Q and V correspond each other via the natural isomorphism

4.3.
Bunches and the secondary fan. The Gale dual analogue of a fan is a bunch of cones (see [2]). In our situation we can identify a bunch of cones with a family Ω of simplicial cones on the columns of Q satisfying The set of chambers gives rise to the r-skeleton of a polyhedral fan (the secondary fan) with support Q . If I ⊆ {1, . . . , m} and |I| = r then the correspondence Q I → V I induces a bijection between bunches and fans and in particular between between projective fans and associated bunches.
Remark 1. We implemented the cercafan algorithm in Maple, making it compatible with packages like Convex [6] and MDSpackage [8]. Then one can quickly determine, for each computed fan, if it is projective, by checking if the intersection of all the cones in the bunch (i.e. the nef cone) is full dimensional or not. Moreover both nef and movable cones are quickly computable and one can also obtain useful information about possible embedded Mori Dream spaces.

The toric ideal
In this section we shall associate to every F-matrix V a toric ideal in a suitable polynomial ring, and investigate the properties of its Gröbner fan, which provides the structure of the initial ideals. Whilst most of the literature on this subject deals with homogeneous toric ideals, ideals associated to F-matrices cannot be homogeneous, due to the F-completeness requirement in Definition 1 d). We shall describe the Gröbner region and translate the problem of calculating fans in a problem of linear programming, as done in [27] in the homogeneous case. Let K be a field of characteristic 0 and V = (v 1 , . . . , v m ) be an F-matrix; it defines a ring homomorphism: The toric ideal of V , denoted as I V , is the kernel of the map π.
The following facts on I V (see [26] ) are well-known and u + , u − ∈ N m have disjoint support. • For every term order the reduced Gröbner basis of I V with respect to consists of a finite set of binomials of the form g u .
Remark 2. Completeness is equivalent to the fact that for i = 1, . . . , m there is a binomial x u + − 1 in I V such that i ∈ supp(u + ). In particular every Gröbner basis for I V contains a binomial x u − 1 where u is a non negative vector in L r (Q). This fact has been applied in order to compute non negative vectors in lattices (see [21]).
For every u ∈ N m , the fiber F(u) of u is defined as It is noteworthy to remark that fibers are infinite sets in the complete case.
We shall make use of the following technical result: be a polynomial and write f = f 1 + · · · + f k where each summand f i is the sum of all monomials of f whose exponent vectors lie in the same fiber. Then f ∈ I V if and only if f i ∈ I V for i = 1, . . . , k. Proof.
. Then each f i is in turn a sum of some summands of the form µ j g uj , so that For b ∈ R n we define (In the above formula, both u and b are thought of as "column"vectors, in order for matrix multiplication to be defined). By the completeness of V we know that for every b, P b is a strictly convex polyhedron of dimension r. Moreover if b ∈ Z n then P b ∩ Z m = F(u) for every u ∈ N m such that V u = b.
Remark 3. Notice that many notation introduced in the present section depend implicitly on the choice of a fixed F-matrix V , as, for instance, for the fiber F and the polyhedron P b and the following cone W. Anyway, we prefer to keep a lighter notation without explicitly expressing V .
Let w ∈ R m and consider the linear map Proof. Let w ∈ W b and suppose ϕ w (x) ≥ K ∈ R, for any x ∈ P b . Let b ∈ R n and choose by completeness Proof. If w, w ∈ W then there exists K ∈ R such that w T x, w T x ≥ K for every x ∈ P 0 . Then for λ, µ ≥ 0 and x ∈ P 0 (λw + µw ) T x ≥ (λ + µ)K so that λw + µw ∈ W, and W is a polyhedral convex cone. The second assertion is obvious, since P 0 ⊆ R m ≥0 .
Proposition 4. W is dual to the cone U: Proof. Obviously U * ⊆ W. Conversely suppose w ∈ W and w T x < 0 for some x ∈ U. Then lim λ→+∞ w T (λx) = −∞, so that ϕ w is not lower bounded, a contradiction. Therefore W ⊆ U * .
The next propositions give further characterizations of the cone W which will be useful in the following: The proof is an immediate consequence of the following variant of Farkas' Lemma applied with A = V T , by observing that U = {u ∈ R m | V u = 0, u ≥ 0}. Proposition 6. [25, Corollary 7.1e, p. 89] Let A be a m × n real matrix and w ∈ R m be a column vector. Then the system Ay ≤ w of linear inequalities has a solution y ∈ R n if and only if w T u ≥ 0 for each column vector u ≥ 0 in R m such that A T u = 0.
Proof. We firstly show that Q −1 ( Q ) ⊆ W. Let w ∈ Q −1 ( Q ). Then Q(w) ∈ Q , so that there esists w ∈ R m ≥0 such that Q(w) = Q(w ). This in turn implies that there exists t ∈ L r (V ) such that w = w + t.

The Gröbner fan.
To every w ∈ R m , we can associate a relation w on N m , defined by u 1 w u 2 if ϕ w (u 1 ) ≤ ϕ w (u 2 ). Let K be any field, and x = x 1 , . . . , x m . For a polynomial f = a c a x a ∈ K[x] the inital term in w (f ) of f w.r.t. w is defined as the sum of all terms c a x a in f such that ϕ w (a) is maximal. If I is an ideal in K[x], the initial ideal of I w.r.t. w is then in w (I) = {in w (f ) | f ∈ I}. If in w (I) is monomial, then w is said generic for I. It is well-known [26, Cor. 1.10 and Prop. 1.11] that the set of initial ideals in (I) of I determined by term orders coincide with the set of inital ideals in w (I) of I associated to generic weight vectors w ∈ R m ≥0 .
When w ∈ R m ≥0 , w cannot be refined to be a term order; however it is still possible that, for some ideal I, in w (I) is also the initial ideal of I with respect to some term order.
Therefore we introduce the following: be an ideal. A monomial ideal J is an initial ideal of I if J = in (I) for some term order .
Proof. Suppose that in w (I V ) is an initial ideal of I V ; then by definition there is a term order such that in w (I V ) = in (I V ). Let u ∈ L r (Q) ∩ R m ≥0 ; then x u − 1 ∈ I V and thus x u ∈ in (I V ) = in w (I V ). Then x u w 1 so that w T u ≥ 0. Notice that by (5.1) the cone U is generated by L r (Q) ∩ R m ≥0 . This shows that w ∈ U * = W, by Proposition 4.
Two vectors in W determine the same initial ideal of I V when they represent linearly (i.e. numerically) equivalent divisors; this is established by the following Proposition 9. Choose w 1 , w 2 ∈ W. If Qw 1 = Qw 2 then in w1 (I V ) = in w2 (I V ).
Proof. We can write w 2 = w 1 + r, with r ∈ ker(Q). Then w T 1 u = w T 2 u holds for every u ∈ L r (Q), so that in w1 (g u ) = in w2 (g u ). Then the result follows because I V is generated by binomials g u for u ∈ L r (Q).
The converse of Proposition 8 is also true. In order to establish it we need some preliminary results. Lemma 1. Let u ∈ N m , w ∈ W. Then w refines the standard partial order ≤ on Let us recall the following well known result: Lemma 3. Let w ∈ W be generic. For every u ∈ N m the fiber F(u) has a (unique) minimum with respect to w .
Proof. By Proposition 2 and formula (5.2), ϕ w is lower bounded on F(u). Therefore the set S := {v ∈ F(u) | ϕ w attains its mimimum at v} is not empty. Assume that S contains two distinct elements , contrarily to the fact that v 1 ∈ S. Then S contains a single element.
For a generic w ∈ W define  Proof. Assume that j ∈ supp(u) ∩ supp(u 0 ), let e j be the vector having 1 at place j and 0 elsewhere and put u = u − e j , u 0 = u 0 − e j . Then u 0 w u < u and u − u 0 = u − u 0 , so that u and u 0 lie in the same fiber. Therefore u ∈ Min w and u is not minimal.
Lemma 5. Let w ∈ W be generic. Then the following equality of ideals holds: Proof. The second equality is trivial, so we prove the first one. For u ∈ Min w , let u 0 be the minimum of F(u) with respect to w . Then u − u 0 ∈ L r (Q), and supp(u) ∩ supp(u 0 ) = ∅ by Lemma 4. Then by definition x u − x u0 ∈ I V , so that x u ∈ in w (I V ). Therefore the inclusion (x u | u ∈ Min w ) ⊆ in w (I V ) is shown. If it were not an equality, in w (I V ) would contain a monomial x u0 for some u 0 ∈ Min w . Therefore it would exist a polynomial f ∈ I V such that in w (f ) = x u0 ; by Proposition 1 we can assume that all monomials appearing in f lie in the same fiber, and since u 0 is the minimum of its fiber f must be a single term: f = λx u0 for some λ ∈ K. But π(x u0 ) is a monomial in K[t ±1 ], so it cannot be zero.
With the notation above, let M w = {a 1 , . . . , a s }; for every i let m i be the minimum of F(a i ) with respect to w , and define b i = a i − m i . Notice that, by Lemma 4, a i and m i have disjoint support, so that Lemma 6 (Farkas Lemma, [28] Proposition 1.7). Let U be a d × m real matrix, and z ∈ R d . Then one and only one of the following holds: -there exists a vector y ∈ R m with U y ≤ z, -there exists a vector u ∈ R d with u ≥ 0, u T U = 0 and u T z < 0.
Proposition 10. Let w ∈ W; then there is c ∈ R m ≥0 such that in w (I V ) = in c (I V ).
Proof. Let B be the s×m matrix having rows b 1 , . . . , b s and let U be the (m+s)×m matrix defined by where I m is the square identity matrix of order m. We firstly show that there exists c ∈ R m ≥0 such that c·b i > 0 for every i = 1, . . . , s. Suppose the contrary. Then there does not exist y ∈ R m such that (−U )y ≤ z where z = (−1, . . . , −1) T . There exists u ∈ R m+s such that u ≥ 0, u = 0 and u T U = 0. Write u = (u * 1 , . . . , u * m , u 1 , . . . , u s ). Then for j = 1, . . . , m u * j + u 1 b 1j + . . . + u s b sj = 0 which implies It follows that . . , u s ≥ 0, not all zero .
By Lemma 1 this implies that Theorem 2 asserts that W is the Gröbner region of I V , in the sense of [18]. It is the support of the Gröbner fan of I V , whose construction we sketch briefly in the following. Two weight vectors w 1 , w 2 ∈ W are said equivalent modulo I V if in w1 (I V ) = in w2 (I V ). Equivalence classes form relatively open polyhedral cones in R m , whose closures are said Gröbner cones. For w ∈ W let C[w] be the smallest Gröbner cone containing w. Then w is generic if and only if C[w] is full-dimensional. The Gröbner fan of I V is the collection of Gröbner cones C[w], for w ∈ W.

The Gröbner fan and the secondary fan. Obviously w + ker Q ⊆ C[w]
for every w ∈ W, so that we can consider the image fan via Q of the Gröbner fan in R r . In this way the Gröbner cone and the secondary fan both live in R r and they have the same support Q , by Proposition 7. The following is a crucial result by Sturmfels: Proof. We follow the argument proving [26,Proposition 8.15]. Given an initial ideal I for I V the corresponding fan can be computed as Conversely, from Σ we can recover the radical √ I as the Stanley-Reisner ideal ∆(Θ) of the simplicial complex Θ associated to Σ: , . . . , m} and I ∈ Θ}.
This shows that the correspondence I → Σ I is surjective.
In general the correspondence I → Σ I is not injective; see Example 7.1 below. It is shown in [26,Corollary 8.9] that I is radical if and only if Σ I gives rise to a smooth toric variety i.e. all cones in Σ I (n) have normalized volume 1. It follows that the correspondence is injective when V is unimodular (see [26,Remark 8.10], taking into account that V is a CF-matrix, so that its maximal minors are coprime).

Calculating PSF(V )
Corollary 1 provides an algorithm for computing the set PSF(V ) for any Fmatrix V : 6.1. The "G-cercafan" algorithm .
(1) Compute the toric ideal I V .
(2) Compute the Gröbner fan of I V .
(3) For any full-dimensional Gröbner cone C[w] in the Gröbner fan, compute the initial ideal I w = in w (I V ); (4) Eliminate those initial ideals containing a power of some X i .   (2) and (3) may be englobed: in fact the software we used produces directly the initial ideals without making use of weight vectors. 6.2. Exploiting the existing software. Initial ideals can be determined by software computing the Gröbner fan of toric ideals, such as TiGERS [10] or CATS [14] (incorporatd in GFAN [13]); we mainly used the last one. As well explained in [11], the general idea is starting with an arbitrary term order and generate successively all the initial ideals by going across "facet binomials " in the corresponding Gröbner bases (flips).
There are two main strategies: for small size inputs, an exhaustive search is possible. When the latter is impracticable, a "Gröbner walk" can be implemented, progressively producing new Gröbner cones and consequently new fans. This software always requires homogeneous toric ideals as input. Since toric ideals associated to F-matrices are never homogeneous, we adapted it to our situation by the following procedure: • Homogenize I V by adding an auxiliary variable x m+1 , getting a homogeneous toric ideal HI V . • Compute the set of initial ideals of HI V .
• Eliminate those initial ideals containing a power of x m+1 .
• Dehomogenize the remaining initial ideals with respect to x m+1 • For any monomial ideal so obtained, pick up a minimal set of generators. It is possible to show that this procedure is correct, i.e. it produces the Gröbner fan for I V .
In conclusion, we get an algorithm which is much more efficient than "cercafan"; however it presents two main disadvantages: • the same fan is computed many times; • non-projective fans are not seen by Gröbner methods. The toric ideal is . SF(V ) contains three fans, and all of them are projective. There are six reduced Grobner bases. Every chamber in the secondary fan consists of two Gröbner cones. For example the following are two Gröbner bases whose initial ideals have the same radical:  SF(V BH ) contains eight fans, but GFAN returns only six inital ideals having different radicals: there are two non-projective fans. The six chambers enumerated in figure 1 give nef cones of the associated projective varieties. The two nonprojective varieties shares the same nef cone, given by the intersection of all the six chambers and generated by the anti-canonical class.
8. Open problems 8.1. Recovering the initial ideal from the fan. For fans in PSF(V ) whose inverse image, by the map in Corollary 1, is a singleton, it is possible to recover, from the fan, a set of generators of the initial ideal, by choosing, in a universal Gröbner basis U V for I V , those binomials having a monomial support in the fan and considering, in each of them, the complementary monomial. This procedure can be performed also when the inverse image contains more than one initial ideal, or even when the fan is not projective. Of course, in the latter case, the obtained monomial ideal will not be an initial ideal of I V . However one can ask if it may be in some way significant and providing some interesting informations about the original fan. Anyway, this question seems to be related to the more general one: are non projective fans be detectable by algebraic methods? 8.2. The irrelevant ideal and Alexander duality. When passing from the initial ideal to the fan via the map of Corollary 1, one loses the information given by exponents in the generators of the ideal. This happens because the fan is only determined by the radical of the initial ideal, and in general initial ideals of I V are not radical. Recall that the irrelevant ideal of a toric variety is the reduced monomial ideal having a minimal generator for each maximal cone in the fan, namely the product of the variables not indexed by elements of the list corresponding to the maximal cone. For complete Q-factorial toric variety, the irrelevant ideal is the Alexander dual of the Stanley-Reisner ideal of the fan. In [16,17], Miller provides a construction of Alexander duality for monomial ideals which may also be not radical. It would be interesting to study Alexander duals of initial ideals of I V in the non-radical case, and investigate which kind of information they carry on about the geometry of the corresponding toric varieties.
8.3. The state polyhedron. It is well-known that, for homogeneous toric ideals, the Gröbner region coincides with the whole R m , so that the Gröbner fan results to be polytopal and initial ideals can be recovered as vertices in the state polytope associated to I V (see [26,Chapter 2]). Of course in our case the Gröbner fan is not polytopal, since fibers are infinite sets. Nevertheless, the Minkowski sum of Gröbner fibers give rise to a poyhedron see [1,, the state polyhedron of I V , whose normal fan coincides with the Gröbner fan of I V . The lower boundary of the state polyhedron should be the analog of the state polytope in the complete case. We intend to deepen this investigation in a future work. 8.4. Deforming the secondary fan. Consider the Berchtold-Hausen example presented in the previous § 7.2 and move slightly a generator of the movable cone Mov(V BH ), e.g. q 4 , to a near rational vector still belonging to the cone generated by the nearest generators of the effective cone Q BH , that is q 3 , q 6 . This produces a deformation of the secondary fan represented in figure 2 by choosing, e.g., This example has been extensively studied by the authors in [24, § 3], where we listed all the 8 fans in SF(V ) and in SF(V BH ), by running the Cercafan algorithm, implemented as a Maple routine. Fans in SF(V ) are exactly the same of those in SF(V BH ) after replacing v 6 = (1 , 2 , 1) T with v 6 = (1 , 3 , 2) T . In particular the 6 projective varieties assigned by chambers from 1 to 6 in figure 1 remain projective and assigned by chambers in figure 2 admitting the same number. Moreover the 2 non-projective fans in SF(V BH ) sharing the same nef cone given by (1 , 1 , 1) T , and represented by the barycenter of the triangle in figure 1, give rise to a new projective fan represented by chamber 7 in figure 2 and to a non-projective one, whose associated toric variety has trivial nef cone. The just described situation, determined by the particular choice (8.1), is actually the generic situation when q 4 runs over all possible rational vectors in the open cone Relint q 3 , q 6 . Such a variation is given by Considering only the 7-th chamber, gives rise to a family X 7 −→ Q of complete and Q-factorial toric varieties whose generic fibre X 7 p/q is projective and admitting a special non projective fibre X 7 1 . On the other hand, considering the 8-th chamber gives rise to a family X 8 −→ Q of never projective, complete, Q-factorial toric varieties, whose generic fibre X 8 p/q does not admit any non-trivial nef divisor and admitting a special fibre X 8 1 endowed with a non trivial nef divisor (in the present example represented by the anticanonical one).
Finally chambers from 1 to 6 give rise to 6 families X i −→ B of projective Q-factorial toric varieties.
We believe these are interesting phenomena which should often appear in studying toric deformations of toric varieties, but we are not aware of any theoretical explanation clarifying the described situation. An implementation of algorithms here presented can certainly produce a number of evidences over which trying to understand something more.