#16340: Infrastructure for modelling full subcategories
-------------------------------------+-------------------------------------
Reporter: nthiery | Owner:
Type: enhancement | Status: closed
Priority: major | Milestone: sage-6.4
Component: categories | Resolution: fixed
Keywords: full | Merged in:
subcategories, homset | Reviewers: Darij Grinberg,
Authors: Nicolas M. ThiƩry | Travis Scrimshaw, Simon King
Report Upstream: N/A | Work issues:
Branch: | Commit:
eb621c7beacb797f43fd41c9156edc453e80a902| Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by nthiery):
Replying to [comment:69 ncohen]:
> Also, if I may say: the name "additional_structure" is like *VERY*
vague. Perhaps this is the best you can do on the "mathematical side" of
the feature, but it may be possible to give it a more informative name
describing what exactly this parameter does, i.e. a more code-specific
description.
I am open to suggestions. This is completely local to categories and easy
to change. That being said, since it's a method on categories, the context
is rather well specified. And in this context, it's rather customary to
say things like ``a ring is a set endowed with a *structure* of unital
magma and unital additive magma satisfying the axioms xxx'':
{{{
sage: Rings().structure()
frozenset({Category of additive unital additive magmas,
Category of additive magmas,
Category of unital magmas,
Category of magmas,
Category of sets with partial maps,
Category of sets})
sage: Rings().axioms()
frozenset({'AdditiveAssociative',
'AdditiveCommutative',
'AdditiveInverse',
'AdditiveUnital',
'Associative',
'Distributive',
'Unital'})
}}}
(btw: for that purpose, in the first example above, we might want to have
a separate method that returns only the lowest categories, i.e. unital
magmas and additive unital magmas).
Then, from "structure" to "additional structure", the leap is not too big.
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/ticket/16340#comment:71>
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.