Title: Mathematical Foundation of the Quantum Theory of Gravity