Mathematics of deep learning