#17364: Homset categories should be subcategories of the category of all homsets
-------------------------------------+-------------------------------------
       Reporter:  nthiery            |        Owner:
           Type:  defect             |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.5
      Component:  categories         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Nicolas M. ThiƩry  |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  
u/nthiery/all_homsets_category_should_be_subcategories_of_the_category_of_all_homsets|
  0925390c0d1eacabd75bb24c815d30124c8e8a2b
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by pbruin):

 A related question: in an Abelian category (or more generally an additive
 category), all Hom sets have a structure of Abelian groups.  Would the
 current infrastructure allow inserting this fact somewhere in the code, so
 that all Hom sets in an Abelian category are automatically in
 `CommutativeAdditiveGroups`?  I (very simple-mindedly) tried inserting
 some variants of the following in `sage/categories/category_types.py`:
 {{{
 #!python
 lazy_import('sage.categories.homsets', 'HomsetsCategory')

 class AbelianCategory(Category):
     ...
     class Homsets(HomsetsCategory):
         def extra_super_categories(self):
             return [CommutativeAdditiveGroups()]
 }}}
 but got a strange `ImportError: No module named Homsets`.

--
Ticket URL: <http://trac.sagemath.org/ticket/17364#comment:11>
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/d/optout.

Reply via email to