Notes on deep learning and mathematics