Here are examples of 2-dimensional toric varieties with all the affine spectra worked out and the
gluing data specified explicitly to the degree necessary to work out e.g. Čech cohomology by hand.
I’ve used sage at times, and will include the code I’ve utilized. I’ll
also include some visualizations of the cones when possible. I use Hull({vi}) to denote the
convex hull of the vi, and Cone({vi}) to denote the set {a1v1+a2v2+⋯s.t.ai∈R≥0}. If σ is a cone, σν={v∈Rn s.t. v⋅w≥0∀w∈σ} is the dual of σ.
A fan from the vectors {[12],[−2−1],[3−1]}
Define a fan F=Fan(σ1,σ2,σ3) for cones σi as
defined below. Compute their duals σiν and generators for the
intersection of their duals with Z2. All of this can be done more or less by inspection.
Definition
Dual
N-generators for σiν∩Z2
σ1
Cone([12],[3−1])
Cone([2−1],[13])
{[2−1],[13],[10],[11],[12]}
σ2
Cone([12],[−2−1])
Cone([−12],[−21])
{[−11],[−21],[−12]}
σ3
Cone([−1−2],[3−1])
Cone([1−2],[−1−3])
{[0−1],[−1−3],[1−2]}
Compute the toric ideals associated with each cone. The naive way to do this is to find all Z-linear combinations of the N-generators which evaluate to zero (this can be accomplished by
solving an appropriate liner equation, or row reducing an appropriate matrix). We then write such
vectors as l=l+−l− and consider the ideal generated by expressions of the form
xl+−xl− (using multi-indexing). It is easy to find generators for such an ideal for
σ2 and σ3. First we compute the set of all linear combinations which evaluate to
zero, which we call Z. This is the kernel of the natural map taking Nn→S=σiν∩Z2. There’s only one generator in each case, which means that every vector
(a1,...,ai) such that a1g1+...+aigi=0 is an integer multiple of that generator. But note
that (a−b)2−2b(a−b)=a2−2ab+b2−2ab−2b2=a2−b2, and x(−l)+−x(−l)−=−(xl+−xl−), so the entire ideal is generated by xl+−xl−. Clearly this ideal
is the kernel of the natural induced map k[Nn]→k[S] coming from the map discussed above,
and so we can use it to express k[S] as the quotient of a polynomial ring.
N-generators for σiν∩Z2
Generators for Z
k[S]
σ2ν
{[−11],[−21],[−12]}
−311
k[x,y,z]/(zy−x3)
σ3ν
{[0−1],[−1−3],[1−2]}
−511
k[x,y,z]/(zy−x5)
This method doesn’t work as well for σ1; it turns out the set Z has three generators, and
it’s difficult to pick out generators for the corresponding ideal by hand. Instead, we examine the
embedding of the torus T2 into A2 induced by the map k[x,y,z,w,v]→k[t±1,u±1] given by the rules to the left.
x↦t2u−1
y↦tu3
z↦t
w↦tu
v↦tu2
The graph of this map is the variety given by the ideal
we wish to find the smallest algebraic variety containing the projection of this graph to Speck[x,y,z,w,v]. This is given by elimination theory by computing a Groebener basis for I with
respect to an elimination ordering for k[x,y,z,w,v,t,u], and then selecting only those
terms which do not contain t and u. The elimination ordering I used was the lexicographical
ordering with t and u ordered before the rest. I computed this Groebener basis with
sage; here’s the code.
R.<t, u, x, y, z, w, v> = PolynomialRing(CC, 7, order="lex")
Rprime.< x, y, z, w, v> = PolynomialRing(CC, 5, order="lex")
S = Localization(R, ('t', 'u'))
I = ideal(u*x - t^2, y - t*u^3, z - t, w - t*u, v - t*u^2)
B = I.groebner_basis(); print("The Groebner Basis is \\[", latex(B), "\\]")
C = B[5:]; print("Our generators for the elimination ideal are: \\[", latex(C), '\\]')
J = ideal(Rprime, C)
print("Is $", latex(J), "$ prime: ", J.is_prime())
This gives the three open affines for our scheme. We must now specify the gluing data. We will glue
along three open subsets V1, V2, and V3; we will denote the affine scheme associated to
σi by Ui. We then have (when there’s an ambiguity as to which side a cone is on, take the
cone going clockwise from the first vector to the second).
Face
Dual
N-Generators for Dual
Associated Ring
V1
Cone([3−1])
Cone([13],[−1−3])
{[13],[−1−3],[0−1]}
k[a,b,c]/(ab−1)
V2
Cone([12])
Cone([−21],[2−1])
{[−21],[2−1],[10]}
k[a,b,c]/(ab−1)
V3
Cone([−2−1])
Cone([1−2],[−12])
{[1−2],[−12],[0−1]}
k[a,b,c]/(ab−1)
Writing the N-generators for each of the Ui in terms of the N-generators for each of
the Vi yields maps as defined in the table below. The universal property of localization then
gives factorizations of these maps through certain localizations of the source ring, which are
isomorphisms.
Source
Target
Rules
Localization under which ιi,j extends to an isomorphism
ι1,1
V1
U1
x↦a2c7,y↦a,z↦ac3,w↦ac2,v↦ac
Localize at y, get k[y±1,v]
ι2,1
V2
U1
x↦b,y↦a3c7,z↦c,w↦ac3,v↦a2c5
Localize at z, get k[x±1,z]
ι2,2
V2
U2
x↦ac,y↦a,z↦a2c3
Localize at y, get k[y±1,x]
ι3,2
V3
U2
x↦bc,y↦b2c3,z↦a
Localize at z, get k[z±1,x]
ι1,3
V1
U3
x↦c,y↦b,z↦ac5
Localize at y, get k[y±1,x]
ι3,3
V3
U3
x↦c,y↦bc5,z↦a
Localize at z, get k[z±1,x]
I leave the well definedness of these maps and the fact that they are open immersions to the reader.
Hint:They should be well defined (loosely) because they “come from” the same relations on the fan as the
quotients. The open immersion follows from the fact that they induce isomorphisms from a localization
of the source ring.
We now know that our scheme X is glued together from the schemes
Perhaps intersting to note is that for k=R, U2 and U3 look like the following (about the origin).
These look about the same, as is to be expected. Moreover, one can easily see here that they are
birational to Speck[a±1,b±1], or A−ℓ−ℓ′ for lines ℓ,ℓ′
passing through the origin. They also admit a fibration over A1 who’s fibers are the
degeneration of a hyperbola to a pair of lines. Taking the intersection of U2 with a hyperplane
of the form V(az−by) yields (so long as both a and b are nonzero) k[x,z]/(abz2−x3), a transformation of the cuspodial cubic; a similar cross-section of U3 yields the
cuspodial quintic. This gives a fibration Ui→P1 who’s generic fibers are the cuspodial
cubic or quintic and who’s fibers at two points are lines with some multiplicity. Finally, it admits
one last fibration over A1 (technically two, I suppose, but they’re identical): cutting with
the hyperplane given by V(y−a) or V(z−a). This yields the degenration of a cubic embedding of
the line in a surface to a degree-one embedding of a line with multiplicity.
Finally, we note that the intersections of the gluing patches are all isomorphic to Speck[x±1,y±1]≅T2. This is enough data to compute Čech cohomology, and we have acheived our
goal.