Provision of a compound having a superior androgen receptor regulating action.A compound represented by the formula (I)wherein R1 is a hydrogen atom, a halogen atom, a group via a carbon atom, a group via a nitrogen atom, a group via an oxygen 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 a nitrogen atom, a group via an oxygen atom or a group via a sulfur atom R3 is an electron-withdrawing group R4 is a hydrogen atom, a halogen atom, a group via a carbon atom, a group via a nitrogen atom, a group via an oxygen atom or a group via a sulfur atom R5 is a hydrogen atom, a halogen atom, a group via a carbon atom, a group via a nitrogen atom, a group via an oxygen atom or a group via a sulfur atom R6 is a hydrogen atom, a halogen atom, a group via a carbon atom, a group via a nitrogen atom, a group via an oxygen atom or a group via a sulfur atom R7 is alkyl optionally having substituent(s) R8 is a hydrogen atom, alkyl optionally having substituent(s), alkenyl optionally having substituent(s) or cycloalkyl optionally having substituent(s) R9 is a group via an oxygen atom and ring A is a 5- or 6-membered ring optionally having substituent(s) other than R6 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-[(2S,3S)-3-hydroxy-2-isopropylpyrrolidin-1-yl]-2-(trifluoromethyl)benzonitrile,4-[(2S,3R)-3