The statement made by Tony Stark in the movie Iron Man 3, where he says, "Einstein slept 3 hours a year. Look what he did," is not factually accurate. It is a fictional exaggeration created for dramatic effect in the film.
While Einstein was known to have had irregular sleep patterns and was rumored to have taken short naps, there is no credible evidence to suggest that he slept only 3 hours a year. Such a claim would be highly implausible and goes against the basic human need for sleep.
Einstein was undoubtedly a brilliant physicist who made groundbreaking contributions to the field of theoretical physics, including the theory of relativity. However, his accomplishments cannot be solely attributed to an extreme lack of sleep. Einstein's achievements were the result of his exceptional intellect, dedication, extensive study, and creative thinking.
It is important to remember that fictional movies often take artistic liberties to enhance storytelling, and Tony Stark's statement in Iron Man 3 should not be taken as an accurate representation of Einstein's sleeping habits or their direct relationship to his scientific achievements.