HomePhilosophy & DarshanasThe Six DarshanasWhat is Nyaya?

What is Nyaya?

By Aninda Nath · Philosophy & Darshanas · The Six Darshanas · 18 min read ·

Explainer For practitioners

Nyaya is the darshana of logic and epistemology. Founded on the Nyaya Sutra of Gautama and the commentary of Vatsyayana, it holds that liberation comes through true knowledge of reality, and that reliable knowledge needs reliable instruments. Its core is the theory of the four pramanas, the valid means of knowledge: perception, inference, comparison and testimony. Its tools of proof and debate became the common ground every Indian school had to argue on, and its long duel with Buddhist logic drove both sides to build a genuine analytic philosophy.

Walk along a beach in the failing light and catch, from the corner of your eye, a flash of silver on the sand. You reach for it, and your fingers close on a shell. What, exactly, did you see? It is the most ordinary of mistakes, and yet every school of Indian philosophy answered the question differently, and the answer each gave decided nothing less than whether the world outside the mind is real. The school that pressed the question hardest, and built from it the most rigorous theory of knowledge the tradition produced, is Nyaya.

Its name means rule, method, right reasoning. Every darshana makes claims about reality; only Nyaya made it its whole business to ask how a claim can be known to be true in the first place. Before you argue about what is real, it says, you had better be clear about how anyone knows anything at all. The answer it built was not a private system so much as a shared court of appeal. The tools Nyaya forged — its analysis of proof, its catalogue of fallacies, its rules of debate — became the field on which every other school, orthodox and heterodox alike, had to plead its case. To refute Nyaya, an opponent had to argue by Nyaya’s own standards, which is the surest sign of how completely it had won.

It is one of the six darshanas, and the natural partner of Vaisheshika: Nyaya supplies the logic and the theory of knowledge, Vaisheshika the catalogue of what there is to reason about. Together they are the realist wing of Hindu philosophy, and everything that follows rests on their shared conviction. The world is real, it is roughly as it appears, its objects and their qualities and even their absences exist independently of any mind, and a disciplined thinker can know them as they are.

Knowledge needs an instrument

THE FOUR PRAMANAS · MEANS OF VALID KNOWLEDGEfour doorways through which truth enters the mind, and no others1Pratyakshaperception · the sensesmeet their object2Anumanainference · from theseen to the unseen3Upamanacomparison · matchinga thing to its name4Shabdatestimony · the trustedword, incl. the VedasSANATANA RAHASYA
The four pramāṇas of Nyaya — the only valid means through which true knowledge enters the mind.

Nyaya’s founding intuition is simple and load-bearing. Knowledge does not arrive from nowhere. Each piece of valid knowledge comes through a pramana, an instrument or means of knowing, the way a measurement comes through an instrument of measure. Get the instruments right, and you can sort genuine knowledge from error, opinion and illusion.

Nyaya counts four such instruments (Nyaya Sutra 1.1.3). The first is pratyaksha, perception, defined as the cognition born of the contact of a sense with its object, non-verbal, non-erratic, and determinate (1.1.4). The second is anumana, inference, the movement from what is seen to what is not. The third is upamana, comparison, by which a person told that a wild ox resembles a cow can name the animal on meeting it in the forest. The fourth is shabda, reliable testimony, the word of a trustworthy authority, an apta, which for an orthodox school includes the Vedas.

That the number is exactly four is not a neutral inventory; it is a fighting position. The materialist Charvaka accepted perception alone, and Nyaya’s charge against him is devastating in its plainness: a man who trusts only his eyes cannot even cross a street, for the judgement “there is fire where there is smoke” is already an inference. The Buddhists accepted perception and inference and folded the other two into them. The Mimamsakas, at the other extreme, counted more, adding arthapatti, presumption, and anupalabdhi, the special means by which we know an absence. Nyaya cut between them: comparison and testimony cannot be reduced to inference, it argued, but presumption and non-apprehension are not separate instruments at all, for an absence is known by a qualified perception. Four doorways, then, through which truth can enter the mind, and no others. The count encodes an entire map of the disagreements of classical India.

Even perception, the humblest instrument, hides a depth. The commentator Vacaspati Mishra read the terse clauses of the definition as marking two stages: nirvikalpaka, a bare pre-verbal grasp of the thing before it is named, and savikalpaka, the determinate perception of it as a thing of a kind, “this is a cow.” The point matters enormously against the Buddhists, because Nyaya insists that both stages reach something real. There is no pure sensation of a bare particular stripped of its kind; when you see the cow you see, along with it, the real universal cowness that inheres in it. The seed of the whole realist quarrel is planted here, in the simple act of looking.

The anatomy of an inference

THE FIVE-MEMBERED INFERENCEanumāna: how a proof is unfolded to another mind1pratijñāthe thesisthe hill has fire2hetuthe reasonbecause it has smoke3udāharaṇathe rule, with an examplewhere smoke, there fire (as in a kitchen)4upanayathe applicationand this hill has such smoke5nigamanathe conclusiontherefore the hill has firethe pervasion (vyāpti): smoke never without fire: is the rule the whole proof turns onSANATANA RAHASYA
The five members of a Nyāya inference, worked on the classic example of smoke and fire.

Nyaya’s pride is its analysis of anumana, and it set the steps out with a precision that makes the reasoning impossible to fake. The classic example has been taught for the better part of two thousand years. You see smoke rising from a distant hill and conclude the hill is on fire. Nyaya breaks that ordinary leap into five explicit members (Nyaya Sutra 1.1.32), and Vatsyayana works the example in his commentary.

First the pratijna, the thesis: the hill has fire. Then the hetu, the reason: because it has smoke. Then the udaharana, the general rule anchored to an example: wherever there is smoke there is fire, as in a kitchen hearth, and never as in a lake. Then the upanaya, the application: this hill has such smoke. And finally the nigamana, the conclusion: therefore this hill has fire. What actually fires the inference, in Nyaya’s own account, is a single pivotal cognition it calls paramarsha, the consideration that this very hill bears smoke of the kind that is always accompanied by fire. The demonstration is the public unfolding; the paramarsha is the flash in which knowledge is born.

The key that makes any of it work is the vyapti, the pervasion, the established rule that smoke never occurs without fire. An inference is only ever as good as its pervasion. And that innocent-looking rule conceals the single hardest problem in Indian logic.

The problem no one could dodge

How do you know that smoke is never found without fire? You have seen smoke and fire together in kitchens and on hillsides many times. But a universal rule reaches beyond every case you have seen, to every case you never will. What secures the leap from “always, so far” to “always”? This is the Indian form of what the West would later call the problem of induction, and Nyaya, unlike almost anyone before the modern period, stared straight at it and worked for centuries on an answer.

The answer came in layers. There is bhuyodarshana, wide and repeated observation. There is the failure, across all that observation, to find a single counterexample. There is tarka, a hypothetical reasoning that removes lingering doubt by reductio: suppose smoke could occur without fire; then the very tie between them would dissolve, which is absurd, so the doubt is quelled. And there is the hunt for an upadhi, a hidden vitiating condition that would expose the correlation as a mere accident. If wet fuel, and not fire as such, were the real source of smoke, then “smoke proves fire” would be an unsafe rule; a pervasion that survives every attempt to find such a condition is nirupadhika, unconditional, and can be trusted. Later Nyaya added a bolder move still, an extraordinary perception that grasps, through the universal smokeness itself, all instances of smoke at once, so that the generalisation is not a blind jump but a genuine seeing.

It was Gangesha Upadhyaya, in the fourteenth century, who turned this into high technical art. In the section of his Tattvacintamani on pervasion he sets out and demolishes, one after another, five proposed definitions of vyapti, and only then offers his own — in plain terms, that the reason must not occur in any locus where the thing to be proved is absent, rebuilt with a scaffolding of technical safeguards so that deviant and unexampled inferences are handled cleanly. As the scholar B. K. Matilal showed across a lifetime of work on this material, what looks like hair-splitting is in fact the disciplined pursuit of a real and deep question, conducted with a rigour that has few parallels anywhere in the pre-modern world.

The rope, the shell, and the real

Return now to the silver on the beach. When knowledge is valid, Nyaya holds, it is because the mind has genuinely touched a real object; truth is correspondence, the fit between a cognition and the fact it reports. So error is the moment the whole system is tested, and Nyaya’s account of it is the front line of its realism.

Its theory is called anyatha-khyati, apprehension-as-otherwise. There is no unreal silver conjured out of nothing, and no merely private hallucination. A real shell is really present to the eye, and real silver, seen before in the market and stored in memory, is wrongly laid over it; you perceive one real thing as another. Error is a misconnection between two reals, a misplaced relation, never a window onto some third and ghostly kind of object. Correction, when the fingers close on shell, is the sublation of that misrelation. Nothing that does not exist somewhere ever appears in a cognition at all.

The power of the theory shows when you set it beside its rivals, for each school’s account of this one small mistake is a compressed statement of its entire metaphysics. The Buddhist idealist of the Yogachara says the “silver” is really an inner idea projected outward and taken for a thing, which suits a philosophy that doubts external objects. The Madhyamaka says a simply non-existent silver shines forth, which suits a philosophy of emptiness. The Prabhakara Mimamsakas make the boldest move of all and deny there is any positive error: there are only two valid cognitions, a perception of “this” and a memory of “silver”, and a mere failure to notice that they are two, so that wrong action follows from an unnoticed blur rather than from a false object. And the Advaita Vedanta of Shankara says the silver is literally indescribable, neither real nor unreal, a momentary product of ignorance thrown up on the substratum and then cancelled by knowledge — the very same structure as its famous rope mistaken for a snake.

That last position is exactly what Nyaya cannot allow, and the disagreement is not a quibble about beaches. If an object can appear that is neither real nor unreal, the door swings open to treating the whole waking world as a sublatable appearance, a long dream from which knowledge is the waking. Nyaya sets its shoulder against that door. The shell is real, the silver is real, the mistake is real, and none of it licenses the conclusion that the world is illusion. The rope is a rope. The theory of error is the realist holding his ground on the one field where idealism is strongest.

The thousand-year duel

Nyaya did not build any of this in peace. For the better part of a thousand years its sharpest opponent was Buddhist logic, and the two schools drove each other, blow by blow, to their finest work. The Buddhist masters, Dignaga in the fifth and sixth centuries and the formidable Dharmakirti in the seventh, streamlined the very inference Nyaya had built. Where Nyaya named five members, Dignaga argued that three were enough, because the application and conclusion merely restate the reason and thesis; and he grounded a valid reason in the trairupya, the three marks it must bear — that it be present in the case at hand, present in known positive instances, and absent from every negative one. The debate over three members or five ran for centuries, and it was the ancient Indian version of asking what the true, irreducible skeleton of an argument is. Nyaya kept its five because it saw inference not as a bare formula but as a demonstration made to another mind, and because it located the force of the whole in that single triggering cognition, the paramarsha, rather than in the shape of the words.

Beneath the counting lay a far deeper quarrel, and it went to the root of Nyaya’s realism. The Buddhists were nominalists. There is no real universal cowness spread across all cows, Dignaga held; the word “cow” works by apoha, exclusion, by marking off what is simply not a non-cow. This lets a philosophy have general language while denying that anything general is real. Nyaya found the move intolerable, and its answer was as much logical as metaphysical. Exclusion is circular, Uddyotakara and Vacaspati pressed: to grasp “non-cow” you must already grasp “cow,” so the negation smuggles back in the positive meaning it was meant to abolish, and a negation resting on no positive ground is empty. If there were no real, shared properties in the world, moreover, the whole theory of pervasion would collapse, for “wherever smoke, there fire” depends on smokeness and fireness being genuine features of things and not fictions of the mind. So Nyaya defended the reality of universals with everything it had, and it was this running war with Buddhism, more than any private development, that forced the school to hammer its logic into the instrument it became. Uddyotakara’s Nyaya-varttika was written largely to answer Dignaga; Vacaspati Mishra answered the Buddhist rejoinders in turn; and the argument was still burning when Udayana, at the end of the old school, set out to end it.

The sixteen and the goal behind them

For all its later technical splendour, the Nyaya Sutra opens on something more surprising than logic. Its very first aphorism lists sixteen categories — the means of knowledge and the knowables, doubt and purpose and example and settled tenet, the members of inference and reasoning and ascertainment, and then, tellingly, honest debate, wrangling, cavilling, the fallacies, quibbling, futile rejoinders, and the points of defeat — and makes an extraordinary promise about them (Nyaya Sutra 1.1.1). From the true knowledge of these sixteen, it says, comes the attainment of the highest good. A treatise that will spend five books on proof and debate announces at the outset that its subject is liberation.

The connection is spelled out in the second aphorism, which names a chain: false knowledge, faults, activity, birth, and pain (Nyaya Sutra 1.1.2). Read it forward and the logic is grim and plain. False knowledge breeds the faults, the passions of attraction, aversion and delusion; the faults drive action; action drives rebirth; rebirth is suffering. Read it backward, and it becomes a map of escape. Remove the first link, false knowledge, with tattva-jnana, true knowledge of reality, and each later link falls away in turn until what remains is apavarga, release. This is why a school of logic is a school of liberation, and why its epistemology is never a game. Clear thinking is the blade laid to the root of the whole tree of suffering.

The discipline of honest debate

It is worth dwelling on those sixteen categories, because more than half of them concern reasoning not in solitude but with an opponent, in the open and under rules. Nyaya distinguishes vada, honest debate undertaken to reach the truth, from jalpa, mere wrangling to win, and vitanda, the cavilling that only tears down without ever defending a position of its own. It catalogues the hetvabhasa, the fallacies of reason, the ways an argument can wear the look of a proof while failing as one. It names the chala, the quibbles that twist an opponent’s words, and the jati, the futile rejoinders that answer a real argument with a false parity — and here the tradition sets a trap for the unwary reader, for this jati meaning a debater’s cheap trick is a different word entirely from the jati that means a real universal. And it names the nigrahasthana, the precise points at which a debater is judged to have lost.

This is a logic forged in the assembly hall, not the study. In a world where Buddhist, Jain and orthodox thinkers settled their differences in formal debate before kings and learned courts, the rules of valid proof were anything but academic; they decided who was heard, who was patronised, and whose monastery kept its lands. Nyaya’s gift to the whole of Indian philosophy was a shared rulebook, a common standard of what counts as evidence and what counts as a fallacy, rigorous enough that even its enemies were bound by it.

A handful of flowers for a barely-mentioned God

Here the story takes its strangest turn. The school that later produced the most elaborate rational theology in all of Indian thought begins with a God who is almost absent. In the whole of the base Nyaya Sutra, Ishvara is argued substantively in only three terse aphorisms (4.1.19-21), and even there the text is so compressed that scholars still dispute whether it affirms God outright or merely entertains the idea. The passage reasons that a higher cause must be inferred because human effort alone does not reliably bear fruit, meets the objection that effort is nonetheless required, and answers that human effort is itself directed by that higher cause. It is a seed, not a system, and whether early Nyaya was theistic at all remains a genuinely open question: one reading, argued by George Chemparathy, takes these lines as a real if minimal affirmation; another holds that robust theism was a later flowering, driven by sectarian pressure and the long argument with a Buddhism that needed no creator, and that the earliest Nyaya was, like the atomism of its sister school, effectively naturalist.

Whatever the seed, the flowering, when it came, was extraordinary. Udayana, around the end of the tenth century, wrote the Nyayakusumanjali, “a handful of flowers of reasoning” offered to God, and it is the summit of Indian natural theology. Across its five chapters he first clears away every objection to the very possibility of proving God, and then advances a convergent set of grounds for Ishvara. The centre of gravity is a form of the argument from design built on Nyaya’s own theory of causation: the earth and the mountains and the bodies of living things are composite effects, and every composite effect we know is the work of an intelligent maker who knows the materials, the purpose and the mode of assembly; the world, the vastest such effect, must therefore have an intelligent maker, one who knows each atom and directs the unseen moral residue by which deeds ripen into the world a soul is born into. He argues, too, that unconscious atoms cannot begin to combine on their own at the dawn of a world-cycle without a conscious will to impel them; that the cosmos must be upheld and periodically dissolved by such a will; and, in a move that sets him sharply against the Mimamsakas, that the very authority of the Vedas requires a trustworthy author, so that scripture itself points back to a personal, omniscient God rather than standing, as his opponents held, authorless and eternal.

Udayana did not stop at building; he also demolished. His companion work, the Atmatattvaviveka, “the discernment of the truth of the self,” is a sustained assault on the four pillars of Buddhist philosophy in turn: the doctrine that everything is momentary, the denial of external objects, the denial of an enduring self, and the apoha theory of meaning. In clearing that ground he cleared it for exactly what Nyaya had always defended — real external objects, real universals, and a permanent atman to carry the account of knowledge and action across a life and beyond it. With Udayana the old school reaches its completion, its logic, its realism and its theism gathered into a single close-woven whole.

The new logic

And then, centuries later, Nyaya reinvented itself once more. In the early fourteenth century Gangesha Upadhyaya of Mithila wrote the Tattvacintamani and founded what came to be called Navya-Nyaya, the new logic. Its innovation was not a new doctrine but a new language. Navya-Nyaya learned to take apart every knowing of the form “the pot is blue” into its exact parts — the thing qualified, the quality that qualifies it, and the precise relation that binds them — and, above all, it invented the avacchedaka, the “limitor,” a device for saying with total precision which property, under exactly which mode, qualifies which locus. In the sentence “there is fire on the hill,” the being-a-locus is limited by hillness and the being-proved is limited by fireness; the notation does, in ordinary Sanskrit words, the work that a logician today does with quantifiers and scope. To this it added a whole calculus of absence, with its counterpositives and its grades of negation, that Matilal spent a book unfolding.

The most daring of Gangesha’s heirs, Raghunatha Shiromani of Navadvipa around the turn of the sixteenth century, then turned the new instrument on the system that had produced it, and in his Padarthatattvanirupana revised the very list of fundamental categories that Nyaya-Vaisheshika had held sacred for a thousand years. But the deepest mark Navya-Nyaya left was outside logic altogether. Because its language was subject-neutral and unambiguous, scholars took it up as a general tool of analysis, and for six centuries the grammarians, the theorists of poetry, the jurists and the Vedantins of Bengal and Mithila wrote their most technical arguments in its idiom. As Jonardon Ganeri has argued, it became something like the operating system of learned Sanskrit thought in the early modern centuries — one of the striking facts of Indian intellectual history being that its most forbidding and abstract logical system was also its most widely borrowed.

A few honest cautions belong at the end. Almost every early date here is contested. The Nyaya Sutra itself is a composite text redacted across centuries, its latest layers presupposing the Buddhist thinkers they answer, and “Gautama” or “Akshapada” is very likely the name of a tradition rather than a single author. The dates of Vatsyayana, of Vacaspati, even of Gangesha are argued over by a hundred years or more, and this article has given ranges rather than false precision throughout. What is not in doubt is the shape of the achievement: a realist school that met the strongest idealism of its world and did not flinch, that built a genuine theory of inference and a genuine theory of error, and that held, from its first aphorism to its last, that truth is knowable and that getting the knowing right is the first step toward freedom.

The hill has smoke. Therefore the hill has fire. From so small and certain a thing, Nyaya built a road that ran all the way to release, and a language that a civilisation would think in for a thousand years.

Frequently asked

What are the four pramanas in Nyaya?

The four valid means of knowledge: pratyaksha (perception), anumana (inference), upamana (comparison or analogy), and shabda (reliable verbal testimony, including the Vedas). Nyaya accepts exactly these four — more than the materialist Charvaka, who allows only perception, and the Buddhists, who allow only perception and inference; fewer than the Mimamsakas, who add presumption and non-apprehension. The count itself is a staked philosophical position.

How does Nyaya connect logic to liberation?

Nyaya holds that suffering and rebirth are driven by false knowledge. When true knowledge of reality (tattva-jnana) destroys false knowledge, the chain of fault, action, birth and pain is broken, and the result is apavarga, release (Nyaya Sutra 1.1.2). Right reasoning is not an end in itself; it is the instrument of freedom.

What is the famous Nyaya syllogism?

The five-membered inference (Nyaya Sutra 1.1.32): the claim ('the hill has fire'), the reason ('because it has smoke'), the general rule with example ('whatever has smoke has fire, as in a kitchen'), the application ('this hill has such smoke'), and the conclusion ('therefore this hill has fire'). The Buddhist logician Dignaga argued three members were enough; Nyaya kept five, as the full stages of a demonstration made to another mind.

What is the difference between Nyaya and Navya-Nyaya?

Nyaya is the old school founded on Gautama's Nyaya Sutra; Navya-Nyaya, the 'new logic', was launched by Gangesha Upadhyaya in the early fourteenth century. It kept the same realism but forged an almost algebraic technical language for stating relations with perfect precision, and that language was adopted across grammar, law, poetics and Vedanta for the next six centuries.

Sources
  • Gautama (Akshapada), Nyaya Sutra, with Vatsyayana's Nyaya-bhashya, Uddyotakara's Nyaya-varttika and Udayana's Tatparya-parishuddhi. English: Ganganatha Jha (1912-19), public domain.
  • B. K. Matilal, The Character of Logic in India; Perception: An Essay on Classical Indian Theories of Knowledge; The Navya-Nyaya Doctrine of Negation.
  • Jonardon Ganeri, Semantic Powers; The Lost Age of Reason: Philosophy in Early Modern India 1450-1700. Stephen Phillips, Epistemology in Classical India.
  • George Chemparathy, An Indian Rational Theology: Introduction to Udayana's Nyayakusumanjali. Karl Potter (ed.), Encyclopedia of Indian Philosophies, vol. II.
  • Later development: Gangesha Upadhyaya, Tattvacintamani (Navya-Nyaya, early 14th c.); Raghunatha Shiromani, Padarthatattvanirupana.
Share this

Related reading

Referenced in

Cited across 4 guides.