English
liftNC defines a RingHom from AddMonoidAlgebra k G to R whenever the commutativity condition between f and g holds.
Русский
liftNC задаёт RingHom из AddMonoidAlgebra k G в R при выполнении условия коммутативности между f и g.
LaTeX
$$$ liftNC\_f\; g\; :\; AddMonoidAlgebra\; k\; G \to+* R $$$
Lean4
/-- The ring homomorphism of monoid algebras induced by a homomorphism of the base rings. -/
noncomputable def mapRangeRingHom (f : R →+* S) : R[M] →+* S[M] :=
liftNCRingHom (singleZeroRingHom.comp f) (of S M) fun x y ↦ by simp [commute_iff_eq]