So I was given this problem by my teacher, let $\text{Aff}_k$ be the opposite category of commutative $k$-algebras or $\text{CAlg}_k^{op}$. One can define a functor $\text{Aff}_k\to Fun(\text{CAlg}_k, Set)$ by the definition $$A\mapsto h_A=\hom_{\text{CAlg}_k}(A, -)$$ Call functors of this form affine schemes. Now we can make a definition -
Definition : Given an affine scheme $X=h_A$ define an open subfunctor corresponding to a subset $I\subset A$ as the functor $$D(I)(R)=\{a:A\to R | Ra(I)=R\}\subset h_A(R)=\hom_{\text{CAlg}_k}(A, R)$$
Now the problem states - If $A=k[X, Y]$ and $I=\{X, Y\}$ then show that $D(I)$ is not an affine scheme. That is, there is no $k$-algebra $B$ such that $D(I)\cong h_B$.
To me it seems like a different version of the problem - "The scheme $S=\mathbb{A}_k^2\setminus \{(0,0)\}$ is not affine." As I understand that in that case one shows that the coordinate ring of $S$ is isomorphic to $k[X, Y]$ again which leads to a contradiction. Now what I tried was consider $X=h_A$ to be an affine scheme. Then $$\hom_{Fun(\text{CAlg}_k, Set)}(X, \mathbb{A}^1)=\hom_{Fun(\text{CAlg}_k, Set)}(h_A, h_{k[T]})=\hom_{\text{CAlg}_k}(k[T], A)\cong A$$ So if I can show $\hom_{Fun(\text{CAlg}_k, Set)}(D(I), \mathbb{A}^1)\cong k[X, Y]$ then we are done. But I am not sure how to proceed with this proof. Any help would be appreciated.
$\mathrm{Aff}$
or something instead of$Aff$
, which looks like a little catastrophe of kerning. – Mariano Suárez-Álvarez Sep 18 '22 at 04:57