[sage-combinat-devel] Question on a doctest

2011-03-31 Thread Simon King
Hi! Working on some patch, I get the following doctest errors in combinat/ sf/dual.py File "/mnt/local/king/SAGE/broken/devel/sage-main/sage/combinat/sf/ dual.py", line 185: sage: l(f._to_self_cache) # note: this may depend on possible previous computations! Expected: [([1, 1], [([1, 1],

Re: [sage-combinat-devel] Re: sage-combinat queue broken

2011-03-31 Thread Anne Schilling
On 3/31/11 5:59 PM, Daniel Bump wrote: It seems that your patch has a problem to be applied to the current sage 4.6.2. The patch was tested with 4.7.alphas (because we hope for it to be merged soon). The syntax of classical_crystals.py at the top of the file has changed since 4.6.2. So it doe

[sage-combinat-devel] Re: sage-combinat queue broken

2011-03-31 Thread Daniel Bump
> It seems that your patch has a problem to be applied to the current sage > 4.6.2. The patch was tested with 4.7.alphas (because we hope for it to be merged soon). The syntax of classical_crystals.py at the top of the file has changed since 4.6.2. So it doesn't merge. One possibility would be t

[sage-combinat-devel] Re: Categorification of sage/rings/ring.pyx

2011-03-31 Thread Simon King
Hi Anne, On 1 Apr., 00:09, Anne Schilling wrote: > I have a question regarding the quotients. If I work in the free algebra > > sage: F = FreeAlgebra(QQ,3,'x',implementation='letterplace') > sage: x = F.gens() > sage: p=x[1]*x[0]+x[2]*x[2] > > I can iterate over the elements: > > sage: [w for w i

Re: [sage-combinat-devel] Re: Categorification of sage/rings/ring.pyx

2011-03-31 Thread Anne Schilling
Hi Simon, Thank you for your answers! I keep working with the combined patch trac7797-full_letterplace_wrapper.patch for now. I have a question regarding the quotients. If I work in the free algebra sage: F = FreeAlgebra(QQ,3,'x',implementation='letterplace') sage: x = F.gens() sage: p=x[1]*x

[sage-combinat-devel] Re: Categorification of sage/rings/ring.pyx

2011-03-31 Thread Simon King
Here is the solution: Create an empty file __init__.py in .../sage/algebras/letterplace/, for examply with touch sage/algebras/letterplace/__init__.py (when you are in SAGE_ROOT/devel/sage/) Then, sage -br should do the trick. Once again, I forgot to include __init__.py in a patch. I will u

[sage-combinat-devel] Re: Categorification of sage/rings/ring.pyx

2011-03-31 Thread Simon King
Hi Anne On 31 Mrz., 14:09, Anne Schilling wrote: > /Applications/sage-4.6.2/devel/sage-combinat/sage/algebras/letterplace/free_algebra_letterplace.pxd:15:72: > Name 'FreeAlgebraElement_letterplace' not declared in module > 'sage.algebras.letterplace.free_algebra_element_letterplace' I can repr

[sage-combinat-devel] Re: Categorification of sage/rings/ring.pyx

2011-03-31 Thread Simon King
On 31 Mrz., 14:09, Anne Schilling wrote: > /Applications/sage-4.6.2/devel/sage-combinat/sage/algebras/letterplace/free_algebra_letterplace.pxd:15:72: > Name 'FreeAlgebraElement_letterplace' not declared in module > 'sage.algebras.letterplace.free_algebra_element_letterplace' On the other hand, i

[sage-combinat-devel] Re: Categorification of sage/rings/ring.pyx

2011-03-31 Thread Simon King
Hi Anne, On 31 Mrz., 14:09, Anne Schilling wrote: > Hi Simon, > > Applying your two patches > > trac11068_nc_ideals_and_quotients.patch > trac7797-full_letterplace_wrapper_rel11068.patch > > in this order, I get the attached error for sage -b. Am I missing a patch? Do you also have the patch fro

Re: [sage-combinat-devel] Re: sage question

2011-03-31 Thread Nicolas M. Thiery
On Thu, Mar 31, 2011 at 05:19:42AM -0700, Anne Schilling wrote: > >On Thu, Mar 31, 2011 at 12:39:44AM -0400, msh...@math.vt.edu wrote: > >>How can I make a Combinatorial Algebra with an infinite basis? > >>I'm trying to make the nilHecke algebra for any root datum, > >>but I'll start with the nilCo

Re: [sage-combinat-devel] Categorification of sage/rings/ring.pyx

2011-03-31 Thread Anne Schilling
Hi Simon, Applying your two patches trac11068_nc_ideals_and_quotients.patch trac7797-full_letterplace_wrapper_rel11068.patch in this order, I get the attached error for sage -b. Am I missing a patch? Is it now possible to extract the monomials or __dict__ for quotients of free algebras? Best,

Re: [sage-combinat-devel] Re: sage question

2011-03-31 Thread Anne Schilling
On 3/31/11 12:38 AM, Nicolas M. Thiery wrote: Hi Mark! On Thu, Mar 31, 2011 at 12:39:44AM -0400, msh...@math.vt.edu wrote: How can I make a Combinatorial Algebra with an infinite basis? I'm trying to make the nilHecke algebra for any root datum, but I'll start with the nilCoxeter algebr

[sage-combinat-devel] Re: sage question

2011-03-31 Thread Nicolas M. Thiery
Hi Mark! On Thu, Mar 31, 2011 at 12:39:44AM -0400, msh...@math.vt.edu wrote: > How can I make a Combinatorial Algebra with an infinite basis? > I'm trying to make the nilHecke algebra for any root datum, > but I'll start with the nilCoxeter algebra. Finite or infinite basis does not reall