Provided is a compound useful as an AMPK activator. The compound is one that is represented by formula: (in the formula X represents a substituted or unsubstituted monocyclic heterocyclyl etc. ring A is a substituted aryl a substituted heteroaryl a substituted cycloalkyl a substituted cycloalkenyl or a substituted heterocyclyl ring A may further have a substituent in addition to Y Y- represents a halogen hydroxy cyano nitro carboxy a substituted or unsubstituted alkyl a substituted or unsubstituted alkenyl a substituted or unsubstituted alkynyl etc. R4 R5 R6 and R7 each independently represent hydrogen a halogen hydroxy cyano nitro carboxy a substituted or unsubstituted alkyl a substituted or unsubstituted alkenyl a substituted or unsubstituted alkynyl a substituted or unsubstituted alkyloxy a substituted or unsubstituted alkylthio a substituted or unsubstituted alkylsulfonyl a substituted or unsubstituted acyl substituted or unsubstituted carbamoyl substituted or unsubstituted sulfamoyl or substituted or unsubstituted amino R8 represents hydrogen a halogen hydroxy cyano nitro carboxy a substituted or unsubstituted alkyl a substituted or unsubstituted alkenyl a substituted or unsubstituted alkynyl etc. and R9 represents hydrogen a halogen hydroxy cyano nitro carboxy a substituted or unsubstituted alkyl a substituted or unsubstituted alkenyl a substituted or unsubstituted alkynyl etc.) or a pharmaceutically acceptable salt thereof.