This documentation page contains various tips for effectively working with Chow rings of matroids within this package. We take the graphic matroid of the complete graph on 4 vertices as the running example:
|
|
As seen from above, the output of idealChowRing is an Ideal, rather than a Ring. One can get the ambient polynomial ring, as well as the associated quotient ring:
|
|
Next, one often wants to access and perform computations with elements in the quotient ring. The variables in the ambient ring of the ideal of the Chow ring are indexed by flats of the matroid, which retains useful information but makes the variables themselves difficult to access. However, as with any ring in Macaulay2, one can always access variables using subscripts:
|
|
|
Notice that elements of $S$ are already rewritten in the normal form modulo the ideal of the Chow ring.
One can access the flat corresponding to a given variable as follows:
|
|
It is also possible to access variables via their flats by creating an auxiliary HashTable:
|
|