A high-dimensional probability lens on estimation, testing, and optimization