Let $R$ be a commutative ring with unity and let $S$ be a multiplicatively closed subset of $R$ such that $S$ contains no zero divisor . So the canonical map $f : R \to S^{-1}R$ is invective , hence w.l.o.g. , let us assume $R$ is a subring of $S^{-1}R$ . Now if for every $f :R \to R , \exists \hat f (x) \in (S^{-1}R)[x]$ such that $f(r)=\hat f (r) , \forall r \in R$ , then is it true that $R$ is a field ?
Comparing cardinality , I can easily show that under the condition I have given , $R$ is finite , so equivalently I am asking :
Is $R$ an integral domain ?
[I can show that $R$ is a field only for the case $S=\{1\}$ ; but that's trivial . ]