# How do I define a homomorphism of a graded commutative algebra?

Why does the following throw a TypeError: images do not define a valid homomorphism?

E = GradedCommutativeAlgebra(QQ,'x,y',degrees=(1,1))
E.inject_variables()
f = E.hom([x,y])


I expected it to define $f$ to be the identity homomorphism of $E$. What is the right way to define a homomorphism of $E$? I'm more interested in the one that switches $x$ and $y$ than the identity homomorphism, but this seemed a more obvious version of the question.

edit retag close merge delete

I am working on implementing morphisms of graded commutative algebras. No promises about when it might be done, but what are you interested in doing with the morphisms? What features would you like to have?

( 2018-08-27 20:51:55 +0200 )edit

Sort by » oldest newest most voted

This looks like a bug, and I'm not sure of a workaround yet. I created a ticket for it here.

more

## Stats

Seen: 206 times

Last updated: May 03 '18