Skip to content

PartitionAlgebra ​

Pn(δ)P_n(\delta): every set partition of 2n2n points. The largest of the family — all the others are subalgebras cut out by admitting fewer diagrams. Dimension B(2n)B(2n), the Bell numbers.

✓ checked against that system · ! checked, with disagreements (hover a chip)WikipediaPartition algebraWikidataQ113101879OEISA000110SageMathsage.combinat.diagram_algebras.PartitionAlgebra(k, q, base_ring, prefix)✓
PartitionAlgebra(n)the partition algebra on nn strands
SageMathPartitionAlgebra(n, enumeratio_delta, enumeratio_ring)✓OscarEnumeratioDiagramAlgebra(:partition, n)
PlanarPartitionAlgebra(n)only the planar diagrams — dimension C(2n)C(2n)
SageMathPartitionAlgebra(n, enumeratio_delta, enumeratio_ring)✓OscarEnumeratioDiagramAlgebra(:partition, n)
Typed signatures
TypePackageApplies
(integer) -> diagram_algebradiagramalways

Domain: Diagram algebras

Details
  • Dimension B(2n)B(2n): 2, 15, 203, 4140 for n=1,2,3,4n = 1,2,3,4 — the Bell numbers at even index
  • Restricting to planar diagrams gives C(2n)C(2n), the Catalan numbers
  • Basis lists the diagrams and AlgebraDimension answers from the closed form, so the dimension is available well past the point where listing is useful
  • Element tests membership, which is what makes the inclusions checkable

Examples

Basic #

B(6)B(6)

live ↗
InAlgebraDimension(PartitionAlgebra(3))\mathrm{AlgebraDimension}(\mathrm{PartitionAlgebra}(3))Out203203
Scope #

B(8)B(8) — the closed form answers past any useful basis listing

live ↗
InAlgebraDimension(PartitionAlgebra(4))\mathrm{AlgebraDimension}(\mathrm{PartitionAlgebra}(4))Out4 1404\,140

C(6)C(6) — planarity cuts 203 down to 132

live ↗
InAlgebraDimension(PlanarPartitionAlgebra(3))\mathrm{AlgebraDimension}(\mathrm{PlanarPartitionAlgebra}(3))Out132132
Properties #

a block of three is a partition diagram and nothing smaller

live ↗
InDiagram([[1,2,−1],[3,−3],[−2]])∈PartitionAlgebra(3)\mathrm{Diagram}(\bigl\lbrack\bigl\lbrack1, 2, -1\bigr\rbrack, \bigl\lbrack3, -3\bigr\rbrack, \bigl\lbrack-2\bigr\rbrack\bigr\rbrack)∈\mathrm{PartitionAlgebra}(3)OutTrue\mathrm{True}
About
Examples4
Checked againstSageMath 4 agreeOscar 3 agree
CrosswalkWikipediaWikidataOEISSageMath ×2Oscar

Implementation

mappedsagepackages/oracle/src/mappings.ts

Oscar has no diagram algebras; its row checks the dimension against the closed form (oscar/preamble.jl), not against a second implementation.

mappedoscarpackages/oracle/src/mappings.ts

Oscar has no diagram algebras; its row checks the dimension against the closed form (oscar/preamble.jl), not against a second implementation.

See also: Diagram, BrauerAlgebra, TemperleyLiebAlgebra