Let $L/K$ be a finite extension of fields
Now let $T$ and $X$ be $L$-varieties (we can take $T$ affine if you want) I would like to know if it is true that
$$ Hom_L(T\times_K L,X) = Hom_L(T,X)^n $$
It is quite obvious if $T$ and $X$ are affine indeed in this case is $T = Spec(A)$ and $X = Spec(L[X_1,\ldots,X_d]/(f_1,\ldots,f_r))$ then, since $L \cong K^n$ we have $T = Spec(A \otimes_K L) \cong Spec(A^n)$ and so : $$\begin{align} Hom_L(T\times_K L,X) & = Hom_L(L[X_1,\ldots,X_d]/(f_1,\ldots,f_r),A^n) \\ & = \{ (x_1,\ldots,x_d) \in (A^n)^d \;|\; f_i(x_1,\ldots,x_d) = 0 \forall i \in \{ 1,\ldots,r \} \} \\ & = \{ (x_1,\ldots,x_d) \in A^d \;|\; f_i(x_1,\ldots,x_d) = 0 \forall i \in \{ 1,\ldots,r \} \}^n \\ & = Hom_L(L[X_1,\ldots,X_d]/(f_1,\ldots,f_r),A)^n \\ & = Hom_L(T,X)^n \end{align} $$
I'm wondering (assuming that what I just wrote is correct) how can one (if one can) generalize this for arbitrary $X$ ?
**Edit : ** beware there seems to be something wrong in the affine argument, i'm still wondering if the result is true though.
This is not an answer, but I am not eligible to comment yet.
It seems that there is problem in the proposed argument in the affine case.
Let {$e_1,...,e_n$} be a basis of $L$ over $K$. Then, an element in $Hom_L(L[X_1,...,X_d]/(f_1,...,f_r),A\otimes _K L)$ should be given by elements $$ \Sigma_{i} (x_{i1}e_i),...,\Sigma_{i} (x_{id}e_d)$$ where $x_{ij}\in A$, such that $f_k(\Sigma_{i} (x_{i1}e_i),...,\Sigma_{i} (x_{id}e_d))=0$
But note that the $L$-algebra structure on $A\otimes_K L$ acts on the right (i.e., on the elements $e_i$). Thus it seems that we cannot single out each tuple $(x_{11},...,x_{1d}),...,(x_{n1},...,x_{nd})$ and apply $f_k$ to them them separately.