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

isRootInSnapshot -- Test whether a root is explicitly present in a snapshot

Description

This is a presence test, not a global root predicate. A false result above the snapshot's height bound means only that the vector does not appear in the computed list. Use rootMultiplicity to obtain a multiplicity, with an error if the vector lies beyond the known height range.

i1 : S = rootSnapshot(cartanAffineA 2, 6)

o1 = Positive roots through height 6 (affine type)
     +--------+-----------+--------------+-----------+
     | height |    root   | multiplicity |    type   |
     +--------+-----------+--------------+-----------+
     |    1   | (0, 0, 1) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    1   | (0, 1, 0) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    1   | (1, 0, 0) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    2   | (0, 1, 1) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    2   | (1, 0, 1) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    2   | (1, 1, 0) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    3   | (1, 1, 1) |       2      | imaginary |
     +--------+-----------+--------------+-----------+
     |    4   | (1, 1, 2) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    4   | (1, 2, 1) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    4   | (2, 1, 1) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    5   | (1, 2, 2) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    5   | (2, 1, 2) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    5   | (2, 2, 1) |       1      |    real   |
     +--------+-----------+--------------+-----------+
     |    6   | (2, 2, 2) |       2      | imaginary |
     +--------+-----------+--------------+-----------+
     Root tuples are coefficients in the simple-root basis.

o1 : RootSnapshot
i2 : isRootInSnapshot(S, {1,1,1})

o2 = true

The answer true says that $(1,1,1)$ is one of the computed positive roots. It is the affine null root $\delta=\alpha_0+\alpha_1+\alpha_2$, whose height is $3$, inside the requested height bound $6$.

See also

Ways to use isRootInSnapshot:

  • isRootInSnapshot(HashTable,List)

For the programmer

The object isRootInSnapshot 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:7470:0.