What scientist came up with the theory of relativity ?
Whittaker ( 1954 ) stated that David Hilbert had derived the theory of General Relativity from an elegant variational principle " almost simultaneously " with Einstein 's discovery of the theory .