#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           |  b23f18d716915ae30283cd90da74f865067f72fe
   Dependencies:  #15229             |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by SimonKing):

 With the new commit, the construction of field extensions is fixed.

 Problem was: Finite fields may have different implementations (givaro,
 pari_ffelt, ...), but this was ignored in the construction of the
 construction functor. Now, the implementation is tracked in the
 construction functor.

 One complication: When we merge the construction functors, we need to
 choose among the implementations. I decided (for now) to always rely on
 the ''default'' implementation upon merging.

 __Rationale__

 - The situation is not worse than before. Without the latest commit,
 applying the construction functor of a finite field would ''always'' use
 the default implementation. With the latest commit, applying the
 construction functor of a finite field F will use the implementation that
 was used for F. Only if a new construction functor is created by merging
 two functors (which may happen in the pushout construction), the default
 implementation will be used,

 - We can't rely on a custom implementation in the merged functor, since a
 custom implementation may not be available for a non-prime field, that
 could be the result of merging.

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