The graph blackboard was from a research paper. I'll send you a reference. The action of Matt Damon had to be simple (Hollywood actors cannot write on boards, it seems).
Actually, there is a group in Monash University who are looking at all movies with math and trying to figure out what the problems were. I think they hope to present them in a book for high school students. What I was sent was pretty impressive so far.
All of the mathematics is correct except when the young Will overthrows the (in the script, Hungarian professor - presumably Erdos) were I took the liberty of making up a kind of Feynman diagram which the Monash people spotted was not traditional.