Julius von Mayer
1814–1878
1851
relation between heat and mechanical energy, Meyer's relation
brain fever, attempt of suicide, involuntarily taken to a mental hospital 
Ludwig Boltzmann
1844-1906
1906
kinetic theory of gases, statistic interpretation of entropy
bipolar disorder, suicide 
John Nash
1928-2015
1959
Game theory
paranoia, diagnosed with schizofrenia, taken to a mental hospital 
Vladimir Voevodksy
1966-2017
2007
univalent foundations
voices, parts of the body he could not control, visions, hallucinations 
Isaac Newton
1643-1727
1693
lots of stuff
literal and symbolic i transition from science to gov service transition from science to gov service 
Stanislaw Ulam
1909-1984
1946
Monte-Carlo
brain fever, switched from pure math to numerics and gov service