We don't know that 50% of the brainpower relevant to computer science is female. Male and female brains differ, and it is quite possible that they choose to specialize in different areas.
That doesn't follow in the slightest. There's more to "dominating" an industry than being effective at a job (I'd put that fairly low on the list as long as you hit some threshold, actually).