This dazzling anti-memoir is nothing less than a portrait of a writer with a beautiful mind.