#15618: convert_map should not be a map
------------------------+----------------------------------
Reporter: pbruin | Owner:
Type: defect | Status: new
Priority: major | Milestone: sage-6.1
Component: coercion | Keywords: conversion map
Merged in: | Authors:
Reviewers: | Report Upstream: N/A
Work issues: | Branch:
Commit: | Dependencies:
Stopgaps: |
------------------------+----------------------------------
The following example shows that at least some convert_maps are
incorrectly assumed to be homomorphisms:
{{{
sage: f = GF(11).convert_map_from(GF(7))
sage: f
Conversion map:
From: Finite Field of size 7
To: Finite Field of size 11
sage: f.parent()
Set of field embeddings from Finite Field of size 7 to Finite Field of
size 11
}}}
This has the effect of constructing an element of a set that is in fact
empty.
Moreover, conversions should in general not be maps, because they are not
necessarily defined everywhere.
See also https://groups.google.com/forum/#!topic/sage-devel/Z4iNgVMFoms
--
Ticket URL: <http://trac.sagemath.org/ticket/15618>
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.