#15305: Allow natural morphism between tensor products
-------------------------------------------+-----------------------------
       Reporter:  tscrim                   |        Owner:  sage-combinat
           Type:  enhancement              |       Status:  needs_review
       Priority:  major                    |    Milestone:  sage-5.13
      Component:  coercion                 |   Resolution:
       Keywords:  tensor product coercion  |    Merged in:
        Authors:  Travis Scrimshaw         |    Reviewers:
Report Upstream:  N/A                      |  Work issues:
         Branch:                           |       Commit:
   Dependencies:  #15309                   |     Stopgaps:
-------------------------------------------+-----------------------------

Comment (by nborie):

 Ok, I have read your patch and it look close to I did times ago...

 In fact, the good way to do this is :

 - Make tensor constructor accept a tuple of module morphisms such that if
 foo and bar are two morphisms between parents inheriting from
 combinatorialFreeModule :
 tensor( (foo, bar) ) return the module morphism from tensor(
 (foo.domain(), bar.domain()) ) to tensor( (foo.codomain(), bar.codomain())
 ) (and doing what you think so hard)

 - Use this improved constructor to return the tensor of coercions

 Even I had this advise from Nicolas T., I did not implemented it this way.
 I choose an approach like you do. I try to remember why but I completely
 forget why I did not the nice way. The reason can be laziness from me or a
 technical issue. I completely forget...

 I'll try to test your patch on my stack of combinatorial Hopf algebras
 this week end...

 Cheers, Nicolas B.

--
Ticket URL: <http://trac.sagemath.org/ticket/15305#comment:6>
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to