Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Combinat/sga murphy basis #36790

Merged
merged 4 commits into from
Dec 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions src/doc/en/reference/references/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4515,6 +4515,10 @@ REFERENCES:
.. [Mat2002] Jiří Matousek, "Lectures on Discrete Geometry", Springer,
2002

.. [Mathas2004] Andrew Mathas.
*Matrix units and generic degrees for the Ariki-Koike algebras*.
J. Algebra. **281** (2004) pp. 695-730.

.. [Mas1995] Mason, Geoffrey. *The quantum double of a finite group and its role
in conformal field theory*. Groups '93 Galway/St. Andrews, Vol. 2,
405-417, London Math. Soc. Lecture Note Ser., 212, Cambridge, 1995.
Expand Down
21 changes: 13 additions & 8 deletions src/sage/algebras/cellular_basis.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ class CellularBasis(CombinatorialFreeModule):
- C([2, 1], [[1, 3], [2]], [[1, 3], [2]])
+ C([3], [[1, 2, 3]], [[1, 2, 3]])
"""
def __init__(self, A):
def __init__(self, A, to_algebra=None, from_algebra=None, **kwargs):
r"""
Initialize ``self``.

Expand All @@ -181,21 +181,26 @@ def __init__(self, A):

# TODO: Use instead A.category().Realizations() so
# operations are defined by coercion?
prefix = kwargs.pop('prefix', 'C')
cat = Algebras(A.category().base_ring()).FiniteDimensional().WithBasis().Cellular()
CombinatorialFreeModule.__init__(self, A.base_ring(), I,
prefix='C', bracket=False,
category=cat)
prefix=prefix, bracket=False,
category=cat, **kwargs)

# Register coercions
if A._to_cellular_element is not NotImplemented:
to_cellular = A.module_morphism(A._to_cellular_element, codomain=self,
if from_algebra is None:
from_algebra = A._to_cellular_element
if to_algebra is None:
to_algebra = A._from_cellular_index
if from_algebra is not NotImplemented:
to_cellular = A.module_morphism(from_algebra, codomain=self,
category=cat)
if A._from_cellular_index is NotImplemented:
if to_algebra is NotImplemented:
from_cellular = ~to_cellular
else:
from_cellular = self.module_morphism(A._from_cellular_index, codomain=A,
from_cellular = self.module_morphism(to_algebra, codomain=A,
category=cat)
if A._to_cellular_element is NotImplemented:
if from_algebra is NotImplemented:
to_cellular = ~from_cellular
to_cellular.register_as_coercion()
from_cellular.register_as_coercion()
Expand Down
Loading
Loading