A compound represented by the formula (I):
wherein Ar is an optionally substituted aromatic ring;
Xa, Xc, Ya, Yc, Z
1
and Z
2
are each a bond, O, S, —CO—, —CS—, —CR
3
(OR
4
)—, —NR
5
—, —SO—, —SO
2
—, —CONR
6
— or —NR
6
CO— (wherein R
3
, R
4
, R
5
and R
6
are as defined in the specification); Xb and Yb are each a bond or a divalent hydrocarbon group having 1 to 20 carbon atoms;
R
1
is an optionally substituted hydrocarbon group; ring A is an optionally further substituted aromatic ring, provided that the ring should not be benzimidazole; n is an integer of 1 to 8; ring B is an optionally further substituted aromatic ring, provided that the ring should not be oxazole; W is a divalent saturated hydrocarbon group having 1 to 20 carbon atoms; and
R
2
is —OR
8
or —NR
9
R
10
(wherein R
8
, R
9
and R
10
are as defined in the specification) or a salt thereof, is useful as an agent for the prophylaxis or treatment of diabetes and the like.
A compound represented by the formula (I):
wherein
Ar is an optionally substituted aromatic ring;
Xa, Xc, Ya, Yc, Z1 and Z2 are each a bond, O, S, -CO-, -CS-, - CR3 (OR4) -, -NR5-, -SO-, -SO2-, -CONR6- or -NR6CO- (wherein R3, R4, R5 and R6 are as defined in the specification);
Xb and Yb are each a bond or a divalent hydrocarbon group having 1 to 20 carbon atoms;
R1 is an optionally substituted hydrocarbon group;
ring A is an optionally further substituted aromatic ring, provided that the ring should not be benzimidazole;
n is an integer of 1 to 8;
ring B is an optionally further substituted aromatic ring, provided that the ring should not be oxazole;
W is a divalent saturated hydrocarbon group having 1 to 20 carbon atoms; and
R2 is -OR8 or -NR9R10 (wherein R8, R9 and R10 are as defined in the specification)
or a salt thereof,
is useful as an agent for the prophylaxis or treatment of diabetes and the like.