Who first introduced the definition of symmetry using functions explicitly? (That is, for instance, a *symmetry* of a subset X of the plane is a *function* F from the plane to the plane that preserves distance and F(X) = X).

Thanks!