The Mathematical theory of relativity