Given two affine scheme $\text{Spec}(A)$ and $\text{Spec}(B)$ finite type over $\mathbb{C}$. For the purpose of this problem you can assume $\text{Spec}(A)$ is a Zariski open in some affine space $\mathbb{A}^n$. You can topologize the space of algebraic maps from $\text{Spec}(A)$ to $\text{Spec}(B)$ in two way:
- Consider it as a subspace of continuous maps with compact open topology. (Continuous maps from $\text{Spec}(A)^{an}$ to $\text{Spec}(B)^{an}$)
- The space of algebraic maps can be identified with the $\mathbb{C}$-algebra morphisms from $B$ to $A$. Assume $B$ is isomorphic to $\mathbb{C}[x_1,\ldots, x_n]/I$. This amounts to determining $n$ elements in $A$ as the images of the $x_i$'s in a way that they satisfy the relations coming from $I$. This identifies the space of maps as a subspace of $A^n$. Each $A$ has a topology induced from the space of complex value continuous functions on $\text{Spec}(A)^{an}$ (induced from the compact-open topology). With this topology note that $A$ is actually contractible. This induces a topology on the space of $\mathbb{C}$-algebra morphisms from $B$ to $A$.
Do these two topologies coincide?
My goal is to understand the space of regular maps from $\text{Spec}(A)$ to $\text{Spec}(B)$ with topology number 1. If number 2 is not the correct description I'd like to know the correct description of topology 1 on the space of $\mathbb{C}$-algebra maps from $B$ to $A$. I'd like to know when the homology of this space is finitely generated.