Name of the math movie

Solution 1:

Are you talking about Dangerous Knowledge by BBC? Though it's not quite about four mathematicians (at least one of the people was physicist), and not all of them were studying infinity directly. That's the only one that comes to my mind as I watched it a couple of weeks ago.

Solution 2:

Dangerous Knowledge it is!

Cantor - Infinity

Boltzmann - Entropy

Godel and Turing - Logic

http://video.google.com/videoplay?docid=-5122859998068380459#