Zulip Chat Archive

Stream: Is there code for X?

Topic: eval2 for alg_homs


Chris Hughes (Sep 14 2021 at 16:53):

I'm looking for something like this, for defining an alg_hom out of a polynomial ring, polynomial S, but it's only an alg_hom over a smaller ring than S.

example {R S A : Type} [comm_ring R] [comm_ring S] [comm_ring A]
  [algebra R A] [algebra R S] (f : S →ₐ[R] A) (x : A) : polynomial S →ₐ[R] A :=
sorry

Motivation : to define mv_polynomial.option_equiv_left in such a way that I actually know what it does to elements.

Anne Baanen (Sep 14 2021 at 16:54):

Is docs#polynomial.aeval too specific here? Edit: yes

Eric Wieser (Sep 14 2021 at 19:16):

Does the version for add_monoid_algebra exist?


Last updated: Dec 20 2023 at 11:08 UTC