The Mind in the Cave: Consciousness and the Origins of Art is a 2002 study of Upper Palaeolithic European rock art written by the archaeologist David Lewis-Williams, then a professor at the University of the Witwatersrand in Johannesburg, South Africa.