InteractionDifference
The pyramid weight less the upper interactions: lower interactions less upper interactions.
✓ checked against that system · ! checked, with disagreements (hover a chip)FindStat
St000335via DyckPath✓InteractionDifference(path)The pyramid weight less the upper interactions: lower interactions less upper interactions.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.
Definition
Epsil, as the implementation runs it.
on DyckPath, over _x
Fold(Function(
[a[1], 1 if a[3] == 0 else a[2] + 1, 1] if b == 1 else [
a[1] + 1,
a[2] - 1,
0,
] if a[2] >
0 else [a[1], a[2], 0],
a,
b,
), [0, 0, 0], _x)[1] - Fold(Function(
[
a[1],
1 if a[3] == 1 else a[2] + 1,
0,
] if b == 0 else [
a[1] + 1,
a[2] - 1,
1,
] if a[2] > 0 else [a[1], a[2], 1],
a,
b,
), [0, 0, 0], _x)[1]Examples
Properties #
About
| Examples | 5 |
|---|---|
| Crosswalk | FindStat |