Macaulay2 » Documentation
Packages » MatchingFields > grMatchingField
next | previous | forward | backward | up | index | toc

grMatchingField -- Construct a matching field for the Grassmannian variety

Synopsis

Description

This function is the basic constructor for Grassmannian matching fields. The function outputs an instance of type GrMatchingField, which represents the matching field and stores all data related and computed about it.

There are two basic ways to define a Grassmannian matching field. The first way is to supply a weight matrix that induces the matching field. This produces a coherent matching field and is well-defined if the matrix is generic.

i1 : M = matrix {{0,0,0,0,0,0}, {1,6,2,5,3,4}, {60,50,10,20,40,30}}

o1 = | 0  0  0  0  0  0  |
     | 1  6  2  5  3  4  |
     | 60 50 10 20 40 30 |

              3       6
o1 : Matrix ZZ  <-- ZZ
i2 : L1 = grMatchingField M

o2 = Grassmannian Matching Field for Gr(3, 6)

o2 : GrMatchingField
i3 : getTuples L1

o3 = {{2, 1, 3}, {2, 1, 4}, {4, 1, 3}, {2, 4, 3}, {2, 1, 5}, {5, 1, 3}, {2,
     ------------------------------------------------------------------------
     5, 3}, {5, 1, 4}, {2, 5, 4}, {4, 5, 3}, {2, 1, 6}, {6, 1, 3}, {2, 6, 3},
     ------------------------------------------------------------------------
     {6, 1, 4}, {2, 6, 4}, {4, 6, 3}, {5, 1, 6}, {2, 5, 6}, {6, 5, 3}, {6, 5,
     ------------------------------------------------------------------------
     4}}

o3 : List
i4 : isToricDegeneration L1

o4 = true

In the above example, we construct the Grassmannian matching field induced by the given weight matrix. The tuples for the matching field are listed in RevLex order. The function isToricDegeneration checks the equality of the matchingFieldIdeal and the initial ideal of the plueckerIdeal with respect to the weight inducing the matching field.

The second way to define a Grassmannian matching field is to list out its tuples.

i5 : T = {{1,4}, {2,4}, {3,4}, {3,1}, {3,2}, {1,2}}

o5 = {{1, 4}, {2, 4}, {3, 4}, {3, 1}, {3, 2}, {1, 2}}

o5 : List
i6 : L2 = grMatchingField(2, 4, T)

o6 = Grassmannian Matching Field for Gr(2, 4)

o6 : GrMatchingField
i7 : getTuples L2

o7 = {{1, 2}, {3, 1}, {3, 2}, {1, 4}, {2, 4}, {3, 4}}

o7 : List
i8 : isCoherent L2

o8 = true
i9 : getWeightMatrix L2

o9 = | 0 0  0 0  |
     | 0 -1 1 -2 |

              2       4
o9 : Matrix ZZ  <-- ZZ

As shown in the example above, the first argument "k" specifies the size of the tuples. The third argument is a list of the tuples. Note that the tuples can be supplied in any order. If the list of tuples is not correct, i.e. if some are missing or duplicated then the function raises an error. When a Grassmannian matching field is constructed in this way, it is not guaranteed to be coherent, i.e., it may not be induced by a weight matrix. The function isCoherent checks whether the matching field is coherent and the function getWeightMatrix returns a weight matrix that induces the matching field, if it exists. If the matching field is not coherent, then these methods produce an error.

A note of caution. Two different weight matrices may induce the same matching field so the function getWeightMatrix may return a weight matrix that is different to what may be expected. However, if a matching field is defined by a weight matrix, then that weight matrix will be returned.

See also

Ways to use grMatchingField :

For the programmer

The object grMatchingField is a method function.

Menu