1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65
|
-- -*- coding: utf-8 -*-
document { Key => {(Grassmannian, ZZ, ZZ),
Grassmannian,
(Grassmannian, ZZ, ZZ, PolynomialRing),
[Grassmannian, CoefficientRing],
[Grassmannian, Variable]},
Headline => "the Grassmannian of linear subspaces of a vector space",
Usage => "Grassmannian(k,r)\nGrassmannian(k,r,R)",
Inputs => {
"k",
"r",
CoefficientRing => Ring => "the coefficient ring for the polynomial ring to be made",
Variable => Symbol => { "the base symbol for the indexed variables to be used. The subscripts are the elements of ", TT "subsets(n+1,k+1)",
", converted to sequences and, if ", TT "k", " is 0, converted to integers." }
},
Outputs => {{ "the ideal of the Grassmannian variety of all projective ", TT "k", "-planes in ", BOLD "P", SUP "r"}},
"If a polynomial ring ", TT "R", " is given as the third argument, then the resulting ideal is moved to that ring.",
EXAMPLE lines ///
Grassmannian(1,3)
J = Grassmannian(2,5, CoefficientRing => ZZ/31, Variable => T) -* no-capture-flag *-
///,
"The variables of the ring are based on the symbol provided, but assignments
are not made until the ring or the ideal is assigned to a global variable or is submitted to ", TO "use", ", as follows.",
EXAMPLE {
"T_(0,2,3)",
"use ring J",
"T_(0,2,3)"
},
"In many ways, more natural than returning an ideal would be to return the corresponding quotient ring or
variety, but creating a quotient ring involves computing a Gröbner basis, which
might impose a heavy computational burden that the user would prefer to avoid.",
SeeAlso => {"Schubert","pfaffians"}
}
document {
Key => {(Schubert,ZZ,ZZ,VisibleList),
Schubert,
[Schubert,CoefficientRing],
[Schubert,Variable]},
Headline => "find the Plücker ideal of a Schubert variety",
Usage => "Schubert(k,n,sigma)",
Inputs => {
"k",
"n",
"sigma" => {"a subset of ", TT "0..n", " of size ", TT "k+1", " that indexes the Schubert variety"},
CoefficientRing => Ring => "the coefficient ring for the polynomial ring to be made",
Variable => Symbol => { "the base symbol for the indexed variables to be used. The subscripts are the elements of ", TT "subsets(n+1,k+1)",
", converted to sequences and, if ", TT "k", " is 0, converted to integers." }
},
Outputs => {Ideal => "the ideal of the Schubert variety indexed by sigma" },
TEX ///Given natural numbers $k \le{} n$, this routine finds the
ideal of the Schubert variety indexed by sigma in the Grassmannian of projective
$k$-planes in $P^n$.///,
PARA {
TEX ///For example, the ideal of the Schubert variety indexed by $\{1,2,4\}$ in the
Grassmannian of projective planes in $P^4$ is displayed in the following example.///
},
EXAMPLE lines ///
I = Schubert(2,4,{1,2,4},CoefficientRing => QQ)
R = ring I;
C = res I
betti C
///,
SeeAlso => {"Grassmannian","pfaffians"}
}
|