#10554: Better support for casual usage of symmetric functions
-----------------------------+----------------------------------------------
   Reporter:  nthiery        |       Owner:  sage-combinat      
       Type:  enhancement    |      Status:  new                
   Priority:  major          |   Milestone:                     
  Component:  combinatorics  |    Keywords:  Symmetric Functions
     Author:                 |    Upstream:  N/A                
   Reviewer:                 |      Merged:                     
Work_issues:                 |  
-----------------------------+----------------------------------------------
 Following a discussion with Alexandre Casamayou (coauthor of the
 French sage book), here is a would-be session for casual usage of
 symmetric functions (please feel free to extend):

 {{{
     sage: S = SymmetricFunctions(QQ)
     sage: e = S.e()
     sage: var('x,y,z')
     sage: pol = S.from_polynomial(x^3+y^3+z^3); pol   # or from_expr?
     m[3]
     sage: pole = e(pol); pole
     e[1, 1, 1] - 3*e[2, 1] + 3*e[3]
     sage: pole([x,y,z])
     (x + y + z)^3 + 3*x*y*z - 3*(x + y + z)*(x*y + x*z + y*z)
 }}}

 The best working approximation with the current implementation seems
 to be:

 {{{
     sage: S = SymmetricFunctions(QQ)
     sage: e = S.e()
     sage: QQ.<x,y,z> = QQ[]
     sage: pol = S.from_polynomial(x^3+y^3+z^3); pol
     m[3]
     sage: e(pol)
     e[1, 1, 1] - 3*e[2, 1] + 3*e[3]
     sage: e1 = SR(e[1].expand(3,[x,y,z])); e1
     x + y + z
     sage: e2 = SR(e[2].expand(3,[x,y,z])); e2
     x*y + x*z + y*z
     sage: e3 = SR(e[3].expand(3,[x,y,z])); e3
     x*y*z
     sage: e1^3 - 3* e2*e1 + 3*e3
     (x + y + z)^3 + 3*x*y*z - 3*(x + y + z)*(x*y + x*z + y*z)
 }}}

 What needs to be done:

  - from_expr (or extend from_polynomial to accept a symbolic expression)

  - f(alphabet) for f a symmetric function, and alphabet a list of
    objects in some ring (possibly supporting plethysm), as implemented
    in MuPAD-Combinat

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10554>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to