DiagonalStandardMonomialDegree
The degree of the standard monomial of the path relative to the diagonal boundary.
✓ checked against that system · ! checked, with disagreements (hover a chip)FindStat
St001508via DyckPath✓DiagonalStandardMonomialDegree(path)The degree of the standard monomial of the path relative to the diagonal boundary.Typed signatures
| Type | Package | Applies |
|---|---|---|
(dyck_path) -> number | combinatorics | always |
Details
- Defined over
DyckPathas an expression in_x, evaluated by compute-engine — the definition IS the implementation. - Takes a
DyckPathand nothing else — it reads values against their positions, or walks the orbits, so it needs the bijection. Applying it to a bare list is a type error, not a wrong answer. - FindStat's St001508, as its Sage code walks the path. St001509, the same relative to the trivial lower boundary, is not adopted: its published code does not run.
Definition
Epsil, as the implementation runs it.
on DyckPath, over _x
0 if Length(_x) < 1 else Fold(
Function(
([a[1] + 1, a[2], a[3]] if b <
(2 * a[2] -
1 if a[2] <=
Length(_x) /
2 else Length(_x) +
1) else [
a[1],
a[2] +
1,
a[3],
]) if _x[b] ==
1 else [
a[1] - 1,
a[2] + 1,
a[3] + 1,
] if a[1] > 0 else [a[1], a[2], a[3]],
a,
b,
),
[0, 1, 0],
Range(1, Length(_x)),
)[3]Examples
Properties #
About
| Examples | 5 |
|---|---|
| Crosswalk | FindStat |