Provision of a compound having a superior androgenreceptor regulating action.A compound represented by the formula (I)(see formula I)wherein R1 is a hydrogen atom, a halogen atom, a group via acarbon atom, a group via a nitrogen atom, a group via anoxygen atom or a group via a sulfur atom; R2 is a hydrogen atom,a halogen atom, a group via a carbon atom, a group via anitrogen atom, a group via an oxygen atom or a group via asulfur atom; R3 is an electron-withdrawing group; R4 is ahydrogen atom, a halogen atom, a group via a carbon atom, agroup via a nitrogen atom, a group via an oxygen atom or agroup via a sulfur atom; R5 is a hydrogen atom, a halogen atom,a group via a carbon atom, a group via a nitrogen atom, agroup via an oxygen atom or a group via a sulfur atom; R6 is ahydrogen atom, a halogen atom, a group via a carbon atom, agroup via a nitrogen atom, a group via an oxygen atom or agroup via a sulfur atom; R7 is alkyl optionally havingsubstituent(s); R9 is a hydrogen atom, alkyl optionally havingsubstituent(s), alkenyl optionally having substituent(s) orcycloalkyl optionally having substituent(s); R9 is a group viaan oxygen atom; and ring A is a 5- or 6-membered ringoptionally having substituent(s) other than R9 to R9 (excluding2-chloro-4-[(2S,3S)-3-hydroxy-2-methylpyrrolidin-1-yl]-3-methylbenzonitrile,2-chloro-4-[(2S,3S)-3-hydroxy-2-methylpyrrolidin-1-yl]benzonitrile,4-[(2S,3S)-3-hydroxy-2-methylpyrrolidin-1-yl]benzonitrile,2-chloro-4-[(2S,3S)-3-hydroxy-2-methylpyrrolidin-1-yl]-5-methylbenzonitrile,2-chloro-3-ethyl-4-[(2S,3S)-3-hydroxy-2-methylpyrrolidin-1-yl]benzonitrile,4-[(2S,3S)-3-hydroxy-2-methylpyrrolidin-1-yl]-2-(trifluoromethyl)benzonitrile,2,3-dichloro-4-[(2S,3S)-3-hydroxy-2-methylpyrrolidin-1-yl]-5-methylbenzonitrile,2,3-dichloro-4-[(2S,3S)-3-hydroxy-2-methylpyrrolidin-1-yl]benzonitrile,4-[(2S,3S)-3-hydroxy-2-methylpyrrolidin-1-yl]-3-(trifluoromethyl)benzonitrile,4-[(