The Yoga Sutras are also influenced by the Sramana traditions of Buddhism and Jainism, and may represent a further Brahmanical attempt to adopt yoga from the Sramana traditions. As noted by Larson, there are numerous parallels in the concepts in ancient Samkhya, Yoga and Abhidharma Buddhist schools of thought, particularly from 2nd century BCE to 1st century AD. Patanjali's Yoga Sutras is a synthesis of these three traditions. From Samkhya, the Yoga Sutras adopt the "reflective discernment" (adhyavasaya) of prakrti and purusa (dualism), its metaphysical rationalism, as well its three epistemic methods of gaining reliable knowledge. From Abhidharma Buddhism's idea of nirodhasamadhi, suggests Larson, Yoga Sutras adopt the pursuit of altered state of awareness, but unlike Buddhism's concept of no self nor soul, Yoga is physicalist and realist like Samkhya in believing that each individual has a self and soul. The third concept Yoga Sutras synthesize into its philosophy is the ancient ascetic traditions of meditation and introspection, as well as the yoga ideas from middle Upanishads such as Katha, Shvetashvatara and Maitri.
Later developments in the various Buddhist traditions led to new innovations in yogic practices. The Theravada school, while remaining relatively conservative, still developed new ideas on meditation and yogic phenomenology in their later works, the most influential of which is the Visuddhimagga. The Indic meditation teachings of Mahayana Buddhism can be seen in influential texts like the Yogācārabhūmi-Śāstra (compiled c. 4th century). Mahayana meditation practices also developed and adopted new yogic methods, such as the use of mantra and dharani, pure land practices which aimed at rebirth in a pure land or buddhafield, and visualization methods. Chinese Buddhism developed its own methods, such as the Chan practice of Koan introspection and Hua Tou. Likewise, Tantric Buddhism (also Mantrayana, Vajrayana) developed and adopted tantric methods, which remain the basis of the Tibetan Buddhist yogic systems, including the Six yogas of Naropa, Kalacakra, Mahamudra and Dzogchen.
According to Zimmer, Yoga philosophy is reckoned to be part of the non-Vedic system, which also includes the Samkhya school of Hindu philosophy, Jainism and Buddhism: "[Jainism] does not derive from Brahman-Aryan sources, but reflects the cosmology and anthropology of a much older pre-Aryan upper class of northeastern India [Bihar] – being rooted in the same subsoil of archaic metaphysical speculation as Yoga, Sankhya, and Buddhism, the other non-Vedic Indian systems."[note 6]
The origins of yoga have been speculated to date back to pre-Vedic Indian traditions; it is mentioned in the Rigveda,[note 1] but most likely developed around the sixth and fifth centuries BCE, in ancient India's ascetic and śramaṇa movements.[note 2] The chronology of earliest texts describing yoga-practices is unclear, varyingly credited to Upanishads. The Yoga Sutras of Patanjali date from the first half of the 1st millennium CE, but only gained prominence in the West in the 20th century. Hatha yoga texts emerged sometimes between the 9th and 11th century with origins in tantra.
According to Tattvarthasutra, 2nd century CE Jain text, yoga is the sum of all the activities of mind, speech and body. Umasvati calls yoga the cause of "asrava" or karmic influx as well as one of the essentials—samyak caritra—in the path to liberation. In his Niyamasara, Acarya Kundakunda, describes yoga bhakti—devotion to the path to liberation—as the highest form of devotion. Acarya Haribhadra and Acarya Hemacandra mention the five major vows of ascetics and 12 minor vows of laity under yoga. This has led certain Indologists like Prof. Robert J. Zydenbos to call Jainism, essentially, a system of yogic thinking that grew into a full-fledged religion. The five yamas or the constraints of the Yoga Sutras of Patanjali bear a resemblance to the five major vows of Jainism, indicating a history of strong cross-fertilization between these traditions.[note 16]
^ On the dates of the Pali canon, Gregory Schopen writes, "We know, and have known for some time, that the Pali canon as we have it — and it is generally conceded to be our oldest source — cannot be taken back further than the last quarter of the first century BCE, the date of the Alu-vihara redaction, the earliest redaction we can have some knowledge of, and that — for a critical history — it can serve, at the very most, only as a source for the Buddhism of this period. But we also know that even this is problematic... In fact, it is not until the time of the commentaries of Buddhaghosa, Dhammapala, and others — that is to say, the fifth to sixth centuries CE — that we can know anything definite about the actual contents of [the Pali] canon."
Classical yoga incorporates epistemology, metaphysics, ethical practices, systematic exercises and self-development techniques for body, mind and spirit. Its epistemology (pramana) and metaphysics is similar to that of the Sāṅkhya school. The metaphysics of Classical Yoga, like Sāṅkhya, is mainly dualistic, positing that there are two distinct realities. These are prakriti (nature), which is the eternal and active unconscious source of the material world and is composed of three gunas, and the puruṣas (persons), the plural consciousnesses which are the intelligent principles of the world, and are multiple, inactive and eternal witnesses. Each person has a individual puruṣa, which is their true self, the witness and the enjoyer, and that which is liberated. This metaphysical system holds that puruṣas undergo cycles of reincarnation through its interaction and identification with prakirti. Liberation, the goal of this system, results from the isolation (kaivalya) of puruṣa from prakirti, and is achieved through a meditation which detaches oneself from the different forms (tattvas) of prakirti. This is done by stilling one's thought waves (citta vritti) and resting in pure awareness of puruṣa.