Transformations preserving physics laws