from the book "An Invitation to Algebraic Geometry"
Graphs of transcendental functions are not algebraic varieties. For example, the zero set of the function $y-e^x$ is not an algebraic variety.
I couldn't prove the statement in general .
I couldn't even prove the special case $y-e^x$ ...
I read this answer but i don't know how to deduce a contradiction.