Skip to content

SetComposition ​

The singular-inhabitant constructor for a composition of a set, as its ordered blocks.

SetComposition(list)The singular-inhabitant constructor for a composition of a set, as its ordered blocks.
Typed signatures
TypePackageApplies
((list<list<integer>>) -> set_composition) & ((surjection) -> set_composition)combinatoricsalways

Domain: Collections

Maps

Into and out of SetComposition, called as CombinatorialMap(x, "Name"). Properties are the laws we state and what FindStat records.

From SetComposition

  • BlockConcatenationSetComposition → PermutationsurjectionSurjectionGraded mapMp00286The permutation that lists the blocks in order, each sorted increasingly.
  • BlockSizeCompositionSetComposition → IntegerCompositionsurjectionSurjectionGraded mapMp00287The block sizes of a set composition, its blocks taken in order.
  • ComplementSetComposition → SetCompositioninvolutionGraded mapInvolutionMp00289Each element i replaced by n + 1 - i, the blocks staying in their order.
  • CyclicShiftSetComposition → SetCompositioninverseBijectionGraded mapMp00292The first block moved to the end.
  • InverseCyclicShiftSetComposition → SetCompositioninverseBijectionGraded mapMp00291The last block moved to the front.
  • ReverseSetComposition → SetCompositioninvolutionGraded mapInvolutionMp00288The blocks in the opposite order.
  • SurjectionSetComposition → SurjectioninverseA set composition as a surjection: each position labelled with its block's index, from 1.
  • UnderlyingSetPartitionSetComposition → SetPartitionsurjectionSurjectionGraded mapMp00285The set partition with the same blocks, the order of the blocks forgotten.

To SetComposition

  • SetCompositionSurjection → SetCompositioninverseThe set composition a surjection labels: block j holds the positions labelled j.
1 more in FindStat, not implemented here
  • Mp00290ParkingFunction → SetCompositionSurjectionGraded mapto ordered set partition

Examples

Basic #

From a surjection: block j holds the positions labelled j

live ↗
InSetComposition⁡(Surjection⁡([2,1,3,1]))\operatorname{SetComposition}({\operatorname{Surjection}}([2, 1, 3, 1]))OutSetComposition⁡([[2,4],[1],[3]]){\operatorname{SetComposition}}([[2, 4], [1], [3]])
About
Examples1
CrosswalkWikipediaWikidataOEISSageMath