MARS: Mathematics for AI in Realworld Systems