Mathematics and mathematical physics have many accounts of brilliant female mathematicians. The first computer programmer was a woman (Ada Lovelace: http://en.wikipedia.org/wiki/Ada_Lovelace), at a time when programming was almost purely mathematical. In spite of serious obstacles throughout history, examples abound. My favorite contemporary example:
https://www.physics.harvard.edu/people/facpages/randall
Quote: "Professor Lisa Randall studies theoretical particle physics and cosmology at Harvard University. Her research connects theoretical insights to puzzles in our current understanding of the properties and interactions of matter. She has developed and studied a wide variety of models to address these questions, the most prominent involving extra dimensions of space."