Mathematical Foundation For Machine Learning and AI | GenAI Works