#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:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  d0c42ff938754eb8ad52f7819671f99552d683ed
  u/SimonKing/ticket/15223           |     Stopgaps:
   Dependencies:  #15229             |
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 Concerning the error with residue fields:
 {{{
 sage: K.<z> = CyclotomicField(7)
 sage: P = K.factor(17)[0][0]
 sage: ff = K.residue_field(P)
 sage: ff.construction()
 (AlgebraicExtensionFunctor, Finite Field of size 17)
 sage: F,R = _
 sage: F(R)
 Finite Field in zbar of size 17^6
 sage: ff
 Residue field in zbar of Fractional ideal (17)
 sage: ff.order()
 24137569
 sage: F(R).order()
 24137569
 }}}

 So, the construction of a residue field just yields a finite field, not a
 residue field. Either the algebraic extension functor needs information of
 whether it is a residue field or not, or we need a "residue field
 functor". I wouldn't like to see the latter, since it is clearly no
 functor. OK, it would also be possible to kill the construction of residue
 fields.

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