Description of an early form of yoga called nirodhayoga (yoga of cessation) is contained in the Mokshadharma section of the 12th chapter (Shanti Parva) of the Mahabharata (third century BCE). Nirodhayoga emphasizes progressive withdrawal from the contents of empirical consciousness such as thoughts, sensations etc. until purusha (Self) is realized. Terms like vichara (subtle reflection), viveka (discrimination) and others which are similar to Patanjali's terminology are mentioned, but not described. There is no uniform goal of yoga mentioned in the Mahabharata. Separation of self from matter, perceiving Brahman everywhere, entering into Brahman etc. are all described as goals of yoga. Samkhya and yoga are conflated together and some verses describe them as being identical. Mokshadharma also describes an early practice of elemental meditation. Mahabharata defines the purpose of yoga as the experience of uniting the individual ātman with the universal Brahman that pervades all things.
Onesicritus also mentions his colleague Calanus trying to meet them, who is initially denied audience, but later invited because he was sent by a "king curious of wisdom and philosophy". Onesicritus and Calanus learn that the yogins consider the best doctrine of life as "rid the spirit of not only pain, but also pleasure", that "man trains the body for toil in order that his opinions may be strengthened", that "there is no shame in life on frugal fare", and that "the best place to inhabit is one with scantiest equipment or outfit". These principles are significant to the history of spiritual side of yoga. These may reflect the ancient roots of "undisturbed calmness" and "mindfulness through balance" in later works of Hindu Patanjali and Buddhist Buddhaghosa respectively, states Charles Rockwell Lanman; as well as the principle of Aparigraha (non-possessiveness, non-craving, simple living) and asceticism discussed in later Hinduism and Jainism.
^ Andrew J. Nicholson (2013). Unifying Hinduism: Philosophy and Identity in Indian Intellectual History. Columbia University Press. p. 26. ISBN 978-0-231-14987-7., Quote: "From a historical perspective, the Brahmasutras are best understood as a group of sutras composed by multiple authors over the course of hundreds of years, most likely composed in its current form between 400 and 450 BCE."
One of the best known early expressions of Brahmanical Yoga thought is the Yoga Sutras of Patanjali , the original name of which may have been the Pātañjalayogaśāstra-sāṃkhya-pravacana (c. sometime between 325 - 425) which some scholars now believe included both the sutras and a commentary. As the name suggests, the metaphysical basis for this text is the Indian philosophy termed Sāṃkhya. This atheistic school is mentioned in Kauṭilya's Arthashastra as one of the three categories of anviksikis (philosophies) along with Yoga and Cārvāka. The two schools have some differences as well. Yoga accepted the conception of "personal god", while Samkhya developed as a rationalist, non-theistic/atheistic system of Hindu philosophy. Sometimes Patanjali's system is referred to as Seshvara Samkhya in contradistinction to Kapila's Nirivara Samkhya. The parallels between Yoga and Samkhya were so close that Max Müller says that "the two philosophies were in popular parlance distinguished from each other as Samkhya with and Samkhya without a Lord."
A yoga system that predated the Buddhist school is Jain yoga. But since Jain sources postdate Buddhist ones, it is difficult to distinguish between the nature of the early Jain school and elements derived from other schools. Most of the other contemporary yoga systems alluded in the Upanishads and some Buddhist texts are lost to time.[note 12] https://buzzingoffer.tumblr.com/