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

longElement -- Reduced word for the longest Weyl-group element

Description

Computed by repeatedly applying a simple right ascent until every simple root is sent to a negative root. This takes exactly $|\Phi^+|$ reflection steps and does not enumerate the Weyl group. Only finite type is accepted.

i1 : longElement cartanA 4   -- S_4 longest: C(4,2) = 6 inversions, length 6

o1 = {1, 2, 1, 3, 2, 1}

o1 : List
i2 : longElement cartanB 2   -- W(B_2) longest: length 4 = |Phi^+(B_2)|

o2 = {1, 2, 1, 2}

o2 : List

The length of $w_0$ is always $|\Phi^+|$, and the matrix of $w_0$ is the diagram automorphism composed with $-\mathrm{id}$ on the root lattice. For $A_n (n\geq 2)$, $D_{2n+1}$, and $E_6$ this gives a nontrivial automorphism; for all other finite types $w_0 = -\mathrm{id}$:

i3 : w0A3 := longElement cartanA 4

o3 = {1, 2, 1, 3, 2, 1}

o3 : List
i4 : MatA3 := weylElementMatrix(cartanA 4, w0A3)

o4 = | 0  0  -1 |
     | 0  -1 0  |
     | -1 0  0  |

              3       3
o4 : Matrix ZZ  <-- ZZ
i5 : MatA3 == - id_(ZZ^3)          -- false

o5 = false
i6 : weylElementMatrix(cartanB 3, longElement cartanB 3) == - id_(ZZ^3)

o6 = true

See also

Ways to use longElement:

  • longElement(Matrix)

For the programmer

The object longElement is a method function.


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