Earlier quoted context omitted.
Rather than looking at the math ability distribution as a proxy, why not look at coding competition ability? They are pretty objective since an autograder doesn't know your gender and they are predictive of whether you can pass a tech interview since it's the same format. In that case, even at the IOI level (high school, so 14-18 year old kids) women are already severely underrepresented: https://www.quora.com/How-ha…
I see that you said "compete". Testosterone has effects on competition, so there could still be bias there. Competitions are overrepresented by people who think they can win. We are taught that confidence and overconfidence skews male.
Oh. And that would be a biological, innate difference in behaviour between men and women, wouldn't it?
And even if women are as good as men at maths or computer programming- which wouldn't surprise me much- can't they be just less interested in it, just in the same way they're less interested (as you seem to imply) in competition?
And could I be as good as the average woman in teaching or as a nurse? Possible. Am I interested in it? No.