Ah, so thats why women get a good education, jobs etc. I get it now.
That's just it: they don't get many jobs, despite all the educational opportunities.
Their testimony in court is considered to be worth half that of a man.
Their right to inheritance is considered to be worth half that of a man.
They are forced to cover their heads in public.
They cannot become judges.
The list goes on, although I've only been addressing actual constitutional discrimination, and not the day-to-day treatment of women, and the authorities' complicity in it. Likewise, we should recall that what goes on in upper-class, urban parts of Iran is very different from what happens in the rest of the country.
What is true is that women in Iran are treated much better than women in backwards places like Saudi Arabia or Pakistan. But that isn't saying much, and the advances women have made in Iran have been in spite of the government there and the Abrahamic monotheism that underpins it (just like everywhere else, including the entirety of the West).
Socialist Iran treated women good ---> Kill Mossadeq, install dictator
Communists treated women good in Afghaistan ---> Fund and arm Al Qaeda to kill them
Unfortunately for the US, that is how US foreign policy is seen around the world.
Only fruitcakes in this thread think that US foreign policy is driven by an urge to prevent women's liberation.