One of the purposes of the present invention is to provide a heterocyclic derivative that has an IAP (particularly XIAP) binding (inhibiting) activity. Another of the purposes of the present invention is to provide a heterocyclic derivative that has an IAP (particularly XIAP) binding (inhibiting) activity and exhibits a proteolysis induction activity. The present invention provides a compound represented by formula (I) (the symbols in the formula are as defined in the present Description) and salts thereof.L'objet de la présente invention est de fournir un dérivé hétérocyclique qui a une activité de liaison (d'inhibition) de l'IAP (en particulier XIAP). Un autre objet de la présente invention est de fournir un dérivé hétérocyclique qui a une activité de liaison (d'inhibition) de l'IAP (en particulier XIAP) et qui présente une activité d'induction de protéolyse. La présente invention concerne un composé représenté par la formule (I) (les symboles dans la formule sont tels que définis dans la description) et des sels de celui-ci.本発明の目的はIAP(特にXIAP)結合(阻害)活性を有する複素環誘導体を提供することである。本発明の目的はまた、IAP(特にXIAP)結合(阻害)活性を有し、タンパク質分解誘導活性を示す複素環誘導体を提供することである。本発明により、式(I)(式中、各記号は本明細書中で定義した通りである。)で表される化合物またはその塩が提供される。