Definition (pullback of morphism between affine algebraic sets)

Let $f: X\to Y$ be a morphism between affine algebraic sets.

The pullback associated to $f$ is the $k$-algebra homomorphism $$ \begin{align*} f^\ast: A(Y) &\to A(X) \\ g &\mapsto g \circ f. \end{align*} $$

$(g \circ f)^\ast = f^\ast \circ g^\ast$ if $f: X\to Y$ and $g: Y\to Z$ are morphisms.