#15183: x in IntegralDomains() should refine category
------------------------+-------------------------------
Reporter: saraedum | Type: enhancement
Status: new | Priority: minor
Milestone: sage-5.12 | Component: categories
Resolution: | Report Upstream: N/A
------------------------+-------------------------------
Currently, ``IntegerModRing`` refines its category if asked for membership
in ``Fields()``:
{{{
sage: M = IntegerModRing(3)
sage: M.category()
Join of Category of commutative rings ...
sage: M in Fields()
True
sage: M.category()
Join of Category of fields ...
}}}
The same does not happen for ``IntegralDomains()``:
{{{
sage: M = IntegerModRing(5)
sage: M.category()
Join of Category of commutative rings ...
sage: M in IntegralDomains()
False
sage: M.category()
Join of Category of commutative rings ...
}}}
The changes on this ticket copy the logic from fields over to integral
domains.
--
Ticket URL: <http://trac.sagemath.org/ticket/15183>
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.