The present invention provides a pharmaceutical composition for the treatment or prevention of cognitive function diseases or disorders, wherein the pharmaceutical composition contains a compound represented by formula (I), an enantiomer thereof, a diastereomer thereof, or a pharmaceutically acceptable salt thereof.