Description
Currently, the method .hom(im_gens)
on parents allows you to define the images of the generators of a structure. This is assuming that the coefficients of these generators can be sent to the codomain with some canonical coercion.
This is often insufficient, e.g., in the case of polynomial rings where you would also like to define a map that translate the ring of coefficients non-canonically. Note that function fields already have a specialized .hom()
implementation that supports this feature.
See #26103 for a followup.
CC: @roed314 @xcaruso @sagetrac-swewers
Component: coercion
Keywords: padicBordeaux
Author: Julian Rüth, David Roe
Branch/Commit: 626f4ca
Reviewer: David Roe, Julian Rüth, Xavier Caruso
Issue created by migration from https://trac.sagemath.org/ticket/26105