Skip to content

InverseKrewerasComplement ​

cπ⁻¹ with the long cycle c = (1 2 ... n), FindStat's order: position i holds π⁻¹(c(i)).

InverseKrewerasComplement(Permutation)cπ⁻¹ with the long cycle c = (1 2 ... n), FindStat's order: position i holds π⁻¹(c(i)).
Typed signatures
TypePackageApplies
((dyck_path) -> dyck_path) & ((permutation) -> permutation) & ((signed_permutation) -> signed_permutation)combinatoricsalways

Domain: Combinatorial maps

Details
  • Takes a Permutation and returns a Permutation — a typed map, so a wrong carrier is a type error rather than a wrong answer.
  • FindStat's Mp00089; the inverse of KrewerasComplement.
  • Also takes a SignedPermutation, returning a SignedPermutation: cπ⁻¹ with the long cycle c = (1 … n −1 … −n): position i holds π⁻¹(c(i)).
  • FindStat's Mp00167, the inverse of KrewerasComplement.
  • Also takes a DyckPath, returning a DyckPath: The inverse Kreweras complement of the path read as a noncrossing partition: the blocks are the downs after each up step.
  • FindStat's Mp00327. A bijection of each size; Mp00089 is the same map on noncrossing permutations.

Examples

Basic #

the one-line word 231231

live ↗
InInverseKrewerasComplement(Permutation⁡([2,3,1]))\mathrm{InverseKrewerasComplement}({\operatorname{Permutation}}([2, 3, 1]))OutPermutation⁡([1,2,3]){\operatorname{Permutation}}([1, 2, 3])

the signed permutation 2 3ˉ 12\,\bar 3\,1

live ↗
InInverseKrewerasComplement(SignedPermutation⁡([2,−3,1]))\mathrm{InverseKrewerasComplement}({\operatorname{SignedPermutation}}([2, -3, 1]))OutSignedPermutation⁡([1,−2,−3]){\operatorname{SignedPermutation}}([1, -2, -3])

the Dyck path UUDDUDUUDDUD

live ↗
InInverseKrewerasComplement(DyckPath⁡([1,1,0,0,1,0]))\mathrm{InverseKrewerasComplement}({\operatorname{DyckPath}}([1, 1, 0, 0, 1, 0]))OutDyckPath⁡([1,0,1,1,0,0]){\operatorname{DyckPath}}([1, 0, 1, 1, 0, 0])
About
Examples3
CrosswalkFindStat ×3