Provision of a compound having a superior androgen receptor regulating action. A compound represented by the formula (I) wherein R 1 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; R 2 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; R 3 is an electron-withdrawing group; R 4 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; R 5 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; R 6 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; R 7 is alkyl optionally having substituent(s); R 8 is a hydrogen atom, alkyl optionally having substituent(s), alkenyl optionally having substituent(s) or cycloalkyl optionally having substituent(s); R 9 is a group via an oxygen atom; and ring A is a 5- or 6-membered ring optionally having substituent(s) other than R 6 to R 9 (excluding 2-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-is