The present invention provides a prophylactic and/or therapeutic agent for Alzheimer's disease containing a compound represented by the formula (I) or the formula (II) or a salt thereof. Each symbol in the formulas (I) and (II) are as described in the attached DESCRIPTION: