Based extremely loosely on a true story, kind of.
They shouldn't have said this was about John Nash. It was fine as a fictional film about a maths genius with a mental illness.
I imagine a lot of people who are afraid of reading would watch this film and come away with the wrong impression of the man and his life story.