#15223: Let the `TestSuite` test that the construction of a parent returns the
parent
-------------------------------------+-------------------------------------
       Reporter:  SimonKing          |        Owner:
           Type:  defect             |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.1
      Component:  coercion           |   Resolution:
       Keywords:  construction       |    Merged in:
  functor, test suite, sd53          |    Reviewers:
        Authors:  Simon King         |  Work issues:  algebraic extension
Report Upstream:  N/A                |  functor for residue fields
         Branch:                     |       Commit:
  u/SimonKing/ticket/15223           |  d0c42ff938754eb8ad52f7819671f99552d683ed
   Dependencies:  #15229             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Rather than killing the construction, I guess the following is a nice
 behaviour:
 {{{
         sage: K.<z> = CyclotomicField(7)
         sage: P = K.factor(17)[0][0]
         sage: k = K.residue_field(P)
         sage: F, R = k.construction()
         sage: F
         AlgebraicExtensionFunctor
         sage: R
         Cyclotomic Field of order 7 and degree 6
         sage: F(R) is k
         True
         sage: F(ZZ)
         Residue field of Integers modulo 17
         sage: F(CyclotomicField(49))
         Residue field in zeta49bar of Fractional ideal (17)
 }}}

--
Ticket URL: <http://trac.sagemath.org/ticket/15223#comment:41>
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