No TL;DR found
Disclosed are: a heterocyclic derivative which has excellent amyloid ss production inhibitory activity,and a use of the heterocyclic derivative. Specifically disclosed is a compound represented by formula (I) (wherein the symbols are as defined in the description), or a salt thereof.