Synthesis of valproyl-2-pyrrolidinone and its evaluation as a cognitive drug with the ability to modulate acidic amino acids in the brain.