Skip to content

DecompositionReverse ​

Split a path as U A D B at its first return, and swap the pieces, recursively: U B' D A'.

DecompositionReverse(DyckPath)Split a path as U A D B at its first return, and swap the pieces, recursively: U B' D A'.
Typed signatures
TypePackageApplies
(dyck_path) -> dyck_pathcombinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a DyckPath and returns a DyckPath — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat's Mp00101, an involution. It is the binary tree's left-right symmetry carried across the Dyck-path bijection.

Examples

Basic #

the Dyck path UUDDUDUUDDUD

live ↗
InDecompositionReverse(DyckPath⁡([1,1,0,0,1,0]))\mathrm{DecompositionReverse}({\operatorname{DyckPath}}([1, 1, 0, 0, 1, 0]))OutDyckPath⁡([1,1,0,0,1,0]){\operatorname{DyckPath}}([1, 1, 0, 0, 1, 0])
About
Examples1
CrosswalkFindStat