Abstract: A therapeutic/preventive agent for cognitive dysfunctions, which comprises as an active ingredient an imide derivative of the following formula [1]: wherein Z is a group of the formula [2]: D is a group of —(CH2)p-A-(CH2)q—; G is ?N—, —CH—, etc.; and Ar is an aromatic heterocyclic group, etc.