If you are one of the tippy-top math students and will start taking core graduate courses in your junior year, then Princeton is by far the better place for you (and such students are not at all unusual at Princeton and Harvard). If you are just doing a run-of-the-mill math major and intend to pursue other interests while in college, then Yale is more than adequate.