As I discuss in this question, by far the most popular school of Hindu philosophy is the Vedanta school, which bases its tenets on the doctrines laid out in the Brahma Sutras, a work by the sage Vyasa that summarizes and systematizes the philosophical teachings of the Upanishads. You can read the Brahma Sutras here. In any case, the beginning of Adhyaya 2 Pada 1 of the Brahma Sutras, Vyasa says this:
- If it be argued (that from the acceptance of Brahman as the cause of the universe) arises the defect of the (Samkhya) Smritis being left without any scope, then not so, for otherwise will arise the defect of other Smritis losing their scope.
- And (Pradhana is not the cause) since the others are not met with (in the Vedas and common experience).
Most commentators agree that in these Sutras, Vyasa is refuting Kapila's Samkhya school. Now in this section of his Brahma Sutra Bhashya, the Advaita philosopher Adi Shankarachrya refutes the objection that the philosophical doctrines found in the Smritis of the Samkhya school should be accepted as valid, since Kapila had extra-sensory perception due to his magical powers:
Nor can we assume that some persons are able to perceive supersensuous matters without Sruti, as there exists no efficient cause for such perception. Nor, again, can it be said that such perception may be assumed in the case of Kapila and others who possessed supernatural powers, and consequently unobstructed power of cognition. For the possession of supernatural powers itself depends on the performance of religious duty, and religious duty is that which is characterised by injunction; hence the sense of injunctions (i.e. of the Veda) which is established first must not be fancifully interpreted in reference to the dicta of men 'established' (i.e. made perfect, and therefore possessing supernatural powers) afterwards only.
What Adi Shankaracharya is saying is that magical powers can only be obtained through the injunctions found in the Vedas, so it's invalid to use information gleamed from those magical powers to devise a fanciful interpretation of the Vedas themselves. But my question is, why does Adi Shankaracharya say that magical powers can only be obtained through the injunctions of the Vedas? Are there Yagnas enjoined by the Vedas which yield magical powers?
Now Siddhis or magical powers are mainly discussed by Patanjali's Yoga school; here is what Adhyaya 4 Sutra 1 of Patanjali's Yoga Sutras says about the means of acquiring Siddhis:
janma-oṣadhi-mantra-tapas-samādhi-jāḥ siddhayaḥ
Supernatural powers (siddhis) arise from birth, drugs, mantras, austerity, or yoga (samadhi)
But it's possible that the Vedanta school disagrees with the Yoga school on how to obtain Siddhis. In any case, does anyone know of any references in the Brahmanas or Aranyakas of the Vedas of a Yagna which yields Siddhis?