Macaulay2 » Documentation
Packages » KacMoody » Command reference » MaxElements
next | previous | forward | backward | up | index | toc

MaxElements -- Limit on the number of Weyl-group and coset elements

Description

An option used by weylGroupElements and parabolicCosetReps, including the coset representatives used by kostantLieAlgCohomology. Its default is $10000$. If the requested calculation would retain more elements, the function stops with an error. Larger groups and quotients require more time and memory. Set a larger positive integer to allow more elements, or use MaxElements => null for no limit.

This option does not limit closed-form invariants such as weylGroupOrder or weylLengthGenerating, neither of which enumerates $W$. For perspective, $|W(E_8)|=696729600$, so a full weylGroupElements(cartanE 8) would require an extremely large list, even though its order is easily computed.

i1 : weylGroupOrder cartanE 8

o1 = 696729600
i2 : weylGroupElements(cartanA 4, MaxElements => 24)

o2 = {1_W, s_1, s_2, s_3, s_1 s_2, s_1 s_3, s_2 s_1, s_2 s_3, s_3 s_2, s_1
     ------------------------------------------------------------------------
     s_2 s_1, s_1 s_2 s_3, s_1 s_3 s_2, s_2 s_1 s_3, s_2 s_3 s_2, s_3 s_2
     ------------------------------------------------------------------------
     s_1, s_1 s_2 s_1 s_3, s_1 s_2 s_3 s_2, s_1 s_3 s_2 s_1, s_2 s_1 s_3 s_2,
     ------------------------------------------------------------------------
     s_2 s_3 s_2 s_1, s_1 s_2 s_1 s_3 s_2, s_1 s_2 s_3 s_2 s_1, s_2 s_1 s_3
     ------------------------------------------------------------------------
     s_2 s_1, s_1 s_2 s_1 s_3 s_2 s_1}

o2 : List

The first output is $696729600=|W(E_8)|$. The second output contains all $24$ elements of $W(A_3)=S_4$, within the specified bound. The bound limits the size of the enumeration, not the Weyl group itself.

See also

Functions with optional argument named MaxElements:

  • bggResolution(...,MaxElements=>...) -- see bggResolution -- Compute the Verma terms of a BGG resolution
  • highestWeightCrystal(...,MaxElements=>...) -- see highestWeightCrystal -- Construct a complete finite highest-weight crystal
  • kazhdanLusztigCoefficients(...,MaxElements=>...) -- see kazhdanLusztigCoefficients -- Compute the coefficients of a Kazhdan--Lusztig polynomial
  • kazhdanLusztigPolynomial(...,MaxElements=>...) -- see kazhdanLusztigPolynomial -- Compute a Kazhdan--Lusztig polynomial
  • kostantLieAlgCohomology(...,MaxElements=>...) -- see kostantLieAlgCohomology -- The Kac--Moody Kostant formula for a parabolic nilradical
  • minusculeCrystal(...,MaxElements=>...) -- see minusculeCrystal -- Construct the orbit crystal of a minuscule representation
  • parabolicCosetReps(...,MaxElements=>...) -- see parabolicCosetReps -- Minimal length coset representatives of $W/W_L$
  • parabolicDotImages(...,MaxElements=>...) -- see parabolicDotImages -- Dot-action images of a weight under minimal coset representatives
  • tensorProductCrystal(...,MaxElements=>...) -- see tensorProductCrystal -- Construct the crystal of a tensor product
  • vermaCompositionFactors(...,MaxElements=>...) -- see vermaCompositionFactors -- List the simple factors of a finite-type Verma module
  • vermaCompositionMultiplicity(...,MaxElements=>...) -- see vermaCompositionMultiplicity -- Compute a simple composition multiplicity in a regular Verma module
  • weylGroupElements(...,MaxElements=>...) -- see weylGroupElements -- Enumerate Weyl-group elements

For the programmer

The object MaxElements is a symbol.


The source of this document is in /build/reproducible-path/macaulay2-1.26.11+ds/M2/Macaulay2/packages/KacMoody/Documentation.m2:8155:0.