The present invention provides an agent for preventing and/or treatment Alzheimer's disease, the agent containing a compound represented by formula (I) or formula (II) or a salt thereof. The symbols in formula (I) and formula (II) are as described in the accompanying specification.