Meditations on First Philosophy
The brain-in-a-vat is a contemporary version of the argument given in Hindu Maya illusion, Plato's Allegory of the Cave, Zhuangzi's "Zhuangzi dreamed he was a butterfly", and the evil demon in René Descartes' "Meditations on First Philosophy".