Re: [sage-combinat-devel] tableaux with spin columns

2011-01-23 Thread Anne Schilling
In the first case, one would put the calculation of the module generators into def CrystalOfTableaux(cartan_type, shapes) ? Or this would then also turn into a class so that it can have __classcall__ and __init__ methods? I'd say there would be a base class CrystalOfTableaux, whose role is to

Re: [sage-combinat-devel] tableaux with spin columns

2011-01-23 Thread Nicolas M. Thiery
On Sun, Jan 23, 2011 at 01:46:24PM -0800, Anne Schilling wrote: > Yes, indeed. When using the tensor product as I now implemented it, > this is basically what appear except with a tensor sign. Perhaps > this suffices? This seems a good compromise indeed. And this can easily be later improved if de

Re: [sage-combinat-devel] tableaux with spin columns

2011-01-23 Thread Nicolas M. Thiery
On Sun, Jan 23, 2011 at 01:46:38PM -0800, Anne Schilling wrote: > >There are two ways out. Either the crystal C with mixed shapes should > >be implemented as a direct sum of crystals each of which having only > >one type of shape. Or the crystal C should have elements in different > >classes. Namel

Re: [sage-combinat-devel] tableaux with spin columns

2011-01-23 Thread Anne Schilling
See crystal-spin-as.patch in the sage-combinat queue. One problem is that currently all shapes in `shapes` need to be of the same type for this to work, so one cannot mix nonspin shapes with spin shapes in the same list. I do not currently need this for the applications I have in mind, but to ha

Re: [sage-combinat-devel] tableaux with spin columns

2011-01-23 Thread Anne Schilling
On 1/23/11 8:37 AM, Nicolas M. Thiery wrote: On Thu, Jan 13, 2011 at 02:20:27AM -0800, Anne Schilling wrote: What would be the best way to display columns of 1/2 width and mark them as spin? Could you choose a typical element, and try to draw here what could be a good ascii art picture of

Re: [sage-combinat-devel] tableaux with spin columns

2011-01-23 Thread Nicolas M. Thiery
On Thu, Jan 13, 2011 at 02:20:27AM -0800, Anne Schilling wrote: > >>What would be the best way to display columns of 1/2 width and mark > >> them as spin? > > > >Could you choose a typical element, and try to draw here what could be > >a good ascii art picture of it? And possibly provide some

Re: [sage-combinat-devel] tableaux with spin columns

2011-01-23 Thread Nicolas M. Thiery
On Sat, Jan 22, 2011 at 06:28:58AM -0800, Anne Schilling wrote: > Well, since there was no answer, I already implemented it the first way. It's a quick change to switch from one version to the other anyway. > See crystal-spin-as.patch in the sage-combinat queue. One problem > is that currently a

Re: [sage-combinat-devel] Several trivial reject in the queue

2011-01-23 Thread Anne Schilling
On 1/23/11 5:49 AM, Nicolas M. Thiery wrote: On Sun, Jan 23, 2011 at 05:08:16AM -0800, Anne Schilling wrote: For the record: add_demo_how_to_contribute--foldme--sl.patch I had already folded on my machine; so the problem is closed. Also, in the mean time, Nicolas B. removed free_commutative_mono

Re: [sage-combinat-devel] Several trivial reject in the queue

2011-01-23 Thread Nicolas M. Thiery
On Sun, Jan 23, 2011 at 05:08:16AM -0800, Anne Schilling wrote: > >For the record: add_demo_how_to_contribute--foldme--sl.patch I had > >already folded on my machine; so the problem is closed. Also, in the > >mean time, Nicolas B. removed free_commutative_monoid-nb.patch > > Are you sure this is f

Re: [sage-combinat-devel] Several trivial reject in the queue

2011-01-23 Thread Anne Schilling
On 1/22/11 1:58 PM, Nicolas M. Thiery wrote: On Sat, Jan 22, 2011 at 04:40:23PM +0100, Florent hivert wrote: ... They all have a trivial reject. For the record: add_demo_how_to_contribute--foldme--sl.patch I had already folded on my machine; so the problem is closed. Also, in the mean time, Ni