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

crystalContains -- Test whether a vertex belongs to a crystal

Description

Membership includes the parent crystal, not merely a matching weight or tableau. This is useful when working simultaneously with irreducible and tensor crystals.

i1 : D = rootDatum "A1";
i2 : B = highestWeightCrystal(D,{2})

o2 = B(2) [3 vertices]

o2 : Crystal
i3 : b = crystalVertex(B,{{1,2}})

o3 = T = [1 2]; wt(T) = (0)

o3 : CrystalVertex
i4 : C = highestWeightCrystal(D,{1})

o4 = B(1) [2 vertices]

o4 : Crystal
i5 : (crystalContains(B,b),crystalContains(C,b))

o5 = (true, false)

o5 : Sequence

The pair $(true,false)$ says that the weight-zero tableau belongs to $B(2)$ and not to $B(1)$. In particular it cannot be passed as a vertex of the two-dimensional crystal.

See also

Ways to use crystalContains:

  • crystalContains(Crystal,CrystalVertex)

For the programmer

The object crystalContains 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:17638:0.