Provision of a prophylactic or therapeutic agent for diabetes, which has superior efficacy.A compound represented by the formula:wherein each symbol is as described in the specification, or a salt thereof.提供具有絕佳功效之糖尿病預防或治療劑。一種如下式所示之化合物或其鹽:其中,各符號係如說明書中所定義。