sagemath / sage

Main repository of SageMath
https://www.sagemath.org
Other
1.45k stars 481 forks source link

Implementation of weak k-tableaux #12250

Closed anneschilling closed 11 years ago

anneschilling commented 12 years ago

This patch implements a new class of weak k-tableaux. It also removes white spaces from core.py.

The methods on k-charge were contributed by Nate Gallup and Avi Dalal during Sage Days 49 in Orsay.

Depends on #14519 Depends on #14101 Depends on #7983 Depends on #14772 Depends on #13589 Depends on #14907 Depends on #10630 Depends on #14143 Depends on #14015 Depends on #14516

CC: @sagetrac-sage-combinat @sagetrac-npgallup

Component: combinatorics

Keywords: tableaux, days49

Author: Anne Schilling

Reviewer: Mike Zabrocki, Travis Scrimshaw

Merged: sage-5.12.beta5

Issue created by migration from https://trac.sagemath.org/ticket/12250

anneschilling commented 11 years ago

Changed keywords from tableaux to tableaux, days49

anneschilling commented 11 years ago

Changed dependencies from #11742 to none

anneschilling commented 11 years ago

Description changed:

--- 
+++ 
@@ -1 +1 @@
-A new class of weak and strong k-tableaux
+A new class of weak k-tableaux
anneschilling commented 11 years ago

Description changed:

--- 
+++ 
@@ -1 +1 @@
-A new class of weak k-tableaux
+This patch implements a new class of weak k-tableaux. It also removes white spaces from core.py.
d4d9e38a-6e64-40d7-a7f7-bd828eb9e0db commented 11 years ago
comment:4

Strong tableaux was moved into ticket #14776

anneschilling commented 11 years ago

Reviewer: Mike Zabrocki, Anne Schilling

anneschilling commented 11 years ago

Description changed:

--- 
+++ 
@@ -1 +1,3 @@
 This patch implements a new class of weak k-tableaux. It also removes white spaces from core.py.
+
+The methods on k-charge were contributed by Nate Gallup and Avi Dalal during Sage Days 49 in Orsay.
anneschilling commented 11 years ago

Dependencies: #14519

tscrim commented 11 years ago
comment:9

Hey Anne and Mike,

Thank you both for your work on this. However there are a few things I've noticed while glancing over the patch:

- item 1

  - inner item a
  - inner item b

- item 2
sage: T = WeakTableaux(3, [5,2,1], [1,1,1,1,1,1])
sage: T2 = WeakTableaux(3, [3,2,1], [1,1,1,1,1,1], representation='bounded')
sage: T2(T[0])
WeakTableau_factorized_permutation.from_core_tableau().

Ack, that ended up being a longer list than I expected...

Best,

Travis

d4d9e38a-6e64-40d7-a7f7-bd828eb9e0db commented 11 years ago

Changed author from Anne Schilling, Mike Zabrocki to Anne Schilling

d4d9e38a-6e64-40d7-a7f7-bd828eb9e0db commented 11 years ago

Changed reviewer from Mike Zabrocki, Anne Schilling to Mike Zabrocki

anneschilling commented 11 years ago
comment:11

Hi Travis and Mike,

Thank you for your review comments. I incorporated them all, except for the input of the inner shape yet and the comments below:

  • In the same vein, could we make it so that we can convert between different representations with parents? I.e. I'd like to do the following:
sage: T = WeakTableaux(3, [5,2,1], [1,1,1,1,1,1])
sage: T2 = WeakTableaux(3, [3,2,1], [1,1,1,1,1,1], representation='bounded')
sage: T2(T[0])

We discussed coercing during design discussions at Sage Days 49 and currently decided against it. For now, it is easy to go between the various representations with the representation method. If we really need this feature, we can always add coercion later.

  • I think the from_* (and quite possibly the to_*) methods maybe should be available in the parents rather than as classmethods for the element classes.

This is what Nicolas suggested to me, so I will leave it as is.

Best,

Anne

anneschilling commented 11 years ago

Changed reviewer from Mike Zabrocki to Mike Zabrocki, Travis Scrimshaw

anneschilling commented 11 years ago
comment:13

Hi Mike,

Thanks for your review patch! I incorporated the changes. The new version now take as input

WeakTableaux(k, shape, weight, representation = 'core')

where shape is either a shape or a tuple of shapes in the skew case.

I hope everything looks ok now!

Anne

anneschilling commented 11 years ago

Changed dependencies from #14519 to #14519, #14101

anneschilling commented 11 years ago
comment:15

Hi Mike,

The updated patch incorporated all changes we discussed (by e-mail). It

The semistandard checks and pretty printing rely on #14101, so I put this as a dependency.

Best,

Anne

anneschilling commented 11 years ago
comment:16

Hi Mike,

I just posted a new version which incorporates your two doc review patches and fixes the bug in weights.

Anne

anneschilling commented 11 years ago
comment:17

Fixed two more little issues that Mike found (spurious import of Tableau and innter_shape -> inner_shape).

Anne

d4d9e38a-6e64-40d7-a7f7-bd828eb9e0db commented 11 years ago
comment:19

I'm happy and all tests pass.

anneschilling commented 11 years ago
comment:20

Replying to @zabrocki:

I'm happy and all tests pass.

Great, thank you for the review! I just made height_of_restriced_subword a private method. Nothing else changed.

Anne

d4d9e38a-6e64-40d7-a7f7-bd828eb9e0db commented 11 years ago
comment:21

I reaffirm positive review.

-Mike

anneschilling commented 11 years ago

Attachment: trac_12250-ktableaux-as.patch.gz

jdemeyer commented 11 years ago

Changed dependencies from #14519, #14101 to #14519, #14101, #7983, #14772, #13589, #14907, #10630, #14143, #14015, #14516

jdemeyer commented 11 years ago

Merged: sage-5.12.beta5

anneschilling commented 10 years ago
comment:27

See https://github.com/sagemath/sage-prod/issues/15444 for a follow-up on the k-charge implementation.