| LIB "schubert.lib";
variety P = projectiveSpace(3);
variety G = Grassmannian(2,4);
variety W = productVariety(P,G);
W;
==> A variety of dimension 7
==>
W.dimension == P.dimension + G.dimension;
==> 1
def r = W.baseRing;
setring r;
W.relations;
==> _[1]=h^4
==> _[2]=q(1)^3-2*q(1)*q(2)
==> _[3]=q(1)^4-3*q(1)^2*q(2)+q(2)^2
|