4Valid pramāṇas recognized by Nyāya
0Pramāṇas AI fully satisfies
5Hetvābhāsa fallacy types mapped to AI error modes
16Padārtha categories examined against AI ontology
Prologue · Cultural Musings · AI Nyāya Series

The Question That the Machine Cannot Put to Itself

The Nyāya school — founded by the sage Gautama in the Nyāyasūtra (c. 2nd century CE) and brought to its classical summit by Vātsyāyana, Uddyotakara, Vācaspati Miśra, and Udayana — is India's most systematic theory of valid knowledge. Its central question is not "what do we know?" but "how do we know what we know?" — a distinction that separates it from every naïve realism and every confident scepticism, and that positions it as the ancient world's most rigorous epistemological system. Applied to the question of what Artificial Intelligence knows, the Nyāya framework yields a verdict of unusual precision: not a dismissal of AI's capacities, but an exact mapping of what those capacities are, what they establish, and where they necessarily end.

The Nyāyasūtra opens with a declaration: knowledge of sixteen categories (padārthas) — beginning with the means of valid knowledge (pramāṇa) and ending with liberation (apavarga) — constitutes the path from suffering to freedom. The sixteen categories are not arbitrary; they form a complete epistemic system in which error is identified, valid cognition is distinguished from invalid, debate is structured so that truth can emerge, and the ultimate goal — freedom from wrong cognition — is achievable through methodical discipline. Every element of this system has a precise correlate when applied to AI, and in each case the correlate reveals something about AI that its developers, users, and philosophers have not previously named with adequate precision.

Volume I Thesis: Artificial Intelligence systems possess a simulacrum of two of Nyāya's four pramāṇas (valid means of knowledge), a structural analogue of anumāna (inference) that lacks the conscious vyāpti-grasper required to make inference genuine, and no access whatsoever to the pramātṛ (knowing subject) that Nyāya identifies as the necessary ground of all valid cognition. The result is not that AI is ignorant but that it is a knowledge-producing apparatus that does not know. The distinction is not metaphysically trivial — it determines what AI can and cannot be trusted to do, and it has immediate practical consequences for every domain where trust in AI outputs is currently being calibrated.
§ 1 · गौतमस्य न्यायसूत्रम्

Gautama & the Nyāyasūtra — The Founding of Systematic Epistemology

प्रमाणप्रमेयसंशयप्रयोजनदृष्टान्तसिद्धान्तावयवतर्कनिर्णयवादजल्पवितण्डाहेत्वाभासच्छलजातिनिग्रहस्थानानां तत्त्वज्ञानान्निःश्रेयसाधिगमः ॥
pramāṇaprameyasaṃśayaprayojana­dṛṣṭāntasiddhāntāvayavatarka­nirṇayavādajalpa­vitaṇḍāhetvābhāsacchalajāti­nigrahasthānānāṃ tattvajñānān niḥśreyasādhigamaḥ ||
"By the true knowledge of the sixteen categories — valid means of knowledge, objects of knowledge, doubt, purpose, example, established tenet, members of a syllogism, reasoning, ascertainment, debate, disputation, wrangling, fallacies, quibble, futile objection, and occasions for defeat — liberation is attained."
— Nyāyasūtra 1.1.1, Gautama

Gautama's first sūtra is a complete programme: liberation (niḥśreyas) is achieved not through ritual, not through grace, not through mystical experience, but through the accurate knowledge of sixteen categories of epistemological and logical analysis. This rationalist, systematic approach to liberation — unusual in the Indian philosophical landscape — makes Nyāya the tradition most directly relevant to questions about AI. Nyāya cares about exactly what AI claims to deliver: correct outputs from correct reasoning.

The Nyāya Method: Analysis Before Ontology

Nyāya is unique among the āstika (Veda-accepting) philosophical schools in beginning with epistemology rather than metaphysics. Before asking what exists, Nyāya asks: how do we know what exists? This methodological priority — establish valid means of knowledge before making claims about the world — maps directly onto the most important question one can ask about AI: before trusting AI's outputs, establish whether AI's processes constitute valid means of knowledge.

The answer, in Nyāya terms, requires examining each of the four pramāṇas (valid means of knowledge) that the tradition recognizes, and determining which — if any — AI's processes instantiate. This examination is the task of §§2–6. But before undertaking it, two preliminary Nyāya concepts require precise definition: the pramātṛ (the knowing subject) and the prameya (the known object). Both bear directly on AI's epistemic status.

Pramātṛ — The Knowing Subject in Nyāya

Nyāya's theory of the knowing subject (pramātṛ) is one of its most important contributions, and it is the point at which the Nyāya analysis of AI diverges most sharply from naïve assessments. The pramātṛ in Nyāya is the ātman — the self — understood as a persisting, numerically distinct substance that is the locus of cognition, desire, aversion, effort, pleasure, pain, and merit/demerit. Crucially: cognitions (jñāna) do not float free; they belong to an ātman. Without an ātman, there is no subject for cognitions to belong to, and therefore no genuine knowledge — only a causal sequence of information-states that no one is having.

AI has no ātman, in Nyāya's terms. It has no persisting subject that is the locus of its cognitive outputs. The ātman is defined by four properties that no AI system possesses: icchā (desire), dveṣa (aversion), prayatna (effort-initiation), sukha-duḥkha (pleasure-pain). Without these, the Nyāya ātman does not exist — and without the ātman, there is no pramātṛ.

§ 2 · चतुर्विधप्रमाणम्

The Four Pramāṇas — A Complete Map of Valid Knowledge

Nyāya recognizes exactly four valid means of knowledge (pramāṇas): pratyakṣa (direct perception), anumāna (inference), upamāna (comparison/analogy), and śabda (verbal testimony from a reliable source). These four are not exhaustive of all processes that produce true beliefs — lucky guesses and unconscious correct reasoning are excluded from pramāṇa status. A pramāṇa must be a reliable, repeatable, truth-conducive process. Specifically: it must involve a knowing subject (pramātṛ) who produces a veridical cognition (pramā) through a process that is causally connected to the fact cognized. The following table applies each pramāṇa to AI with systematic precision.

Pramāṇa Sanskrit Nyāya Definition AI Correlate Verdict
Pratyakṣa प्रत्यक्ष Direct, non-inferential cognition arising from contact between a sense organ and its object, illuminated by an attending ātman Multimodal AI processes pixel/token data — sensory contact without an attending ātman No genuine pratyakṣa: the contact exists; the cognizing subject does not
Anumāna अनुमान Inference from a perceived mark (liṅga) to an unperceived fact (sādhya), through a universal concomitance (vyāpti) grasped by a conscious knower Statistical pattern-completion from training distribution — structural analogue of anumāna without the vyāpti-grasper Partial: the inferential structure is present; the conscious vyāpti-grasper is absent
Upamāna उपमान Knowledge from comparison: recognizing an unknown object as fitting a verbal description by perceiving its similarity to a known object AI can match descriptions to instances through embedding similarity — a statistical, not experiential, comparison Structural analogue only: recognition without the recognizing subject who has relevant prior experience
Śabda शब्द Testimony from an āpta — a reliable, qualified, sincere speaker who has direct knowledge of what they assert AI processes and reproduces vast quantities of testimony without being able to assess the āptatva (reliability) of sources Not available to AI as a producer: AI can relay testimony but cannot assess or generate āpta testimony itself
§ 3 · प्रत्यक्षम्

Pratyakṣa — Direct Perception and Why AI Cannot Achieve It

Pratyakṣa — literally "before the eye," the faculty that directly faces its object — is Nyāya's most fundamental pramāṇa. Vātsyāyana's bhāṣya on Nyāyasūtra 1.1.4 defines it precisely: indriyārthasannikarṣotpannaṃ jñānam avyapadeśyam avyabhicāri vyavasāyātmakaṃ pratyakṣam — "Perception is that knowledge which arises from contact between a sense organ and its object; it is non-verbal, non-erroneous, and determinate."

Four conditions must be jointly satisfied for a cognition to be genuine pratyakṣa. Each condition illuminates a specific gap between what AI does and what perception requires.

Condition Sanskrit Term What It Requires AI's Status
Sense-Object Contact indriyārthasannikarṣa A sense organ must be in the appropriate relation to its object — visual organ facing a visible form, auditory organ in contact with sound, etc. Multimodal AI has functional analogues: cameras, microphones, text inputs. The contact exists. But no Nyāya sense organ is merely a transducer — it is a faculty of an ātman.
Non-Verbal Character avyapadeśya Genuine perception does not depend on verbal cognition for its existence — it precedes and grounds verbal reporting All AI "perception" is fundamentally tokenization — conversion to symbolic form. There is no pre-verbal seeing that gets subsequently expressed. The verbalization is constitutive, not derivative.
Non-Erroneous avyabhicāri The perception must accurately represent its object — illusory perception (seeing two moons) does not count as pratyakṣa AI vision systems hallucinate objects that are not present, misidentify objects with high confidence, and fail in distribution-shift conditions. By Nyāya's own criterion, many AI "perceptions" are not pratyakṣa even if they occurred through genuine sense contact.
Determinate vyavasāyātmaka Perception must produce a determinate cognition with specific content: "this is a pot," not merely an undifferentiated sensory impression AI outputs are determinate in a formal sense (high-confidence classifications). But determinacy in Nyāya requires a vyavasāyin — a subject who determines. The determination is performed by an ātman, not by a probability distribution.

The Nirvikalpa-Savikalpa Distinction and AI

Nyāya distinguishes two stages of perception: nirvikalpa (indeterminate, pre-conceptual) and savikalpa (determinate, conceptually structured). The distinction is philosophically significant: nirvikalpa perception grasps the bare particular — the individual object before any universal is applied to it — while savikalpa perception grasps the object as falling under a universal ("this is a pot, and pots are objects of a type").

AI processes only at the savikalpa level — and this is not a developmental limitation but a structural feature. AI pattern-recognition classifies inputs according to learned categories from the first token processed. There is no AI correlate of nirvikalpa perception — no stage at which the bare particular is grasped before classification. This matters because Nyāya's realism about universals grounds the validity of savikalpa perception in genuine contact with the universal present in the particular. AI's "contact" with universals is mediated by statistical frequency in training data, not by direct apprehension of the universal present in the perceived object.

§ 4 · अनुमानम्

Anumāna — Inference and the Vyāpti Gap at the Heart of AI Reasoning

Anumāna — inference — is the pramāṇa where AI comes closest to genuine Nyāya validity, and where the gap, on careful examination, turns out to be deepest. The Nyāya syllogism (pañcāvayava — five-membered argument) is among the most precisely analyzed argument forms in the philosophical tradition. Understanding exactly where AI's reasoning differs from Nyāya's anumāna is understanding the most important epistemological fact about AI.

तत्पूर्वकं त्रिविधमनुमानम् — पूर्ववत् शेषवत् सामान्यतो दृष्टम् च ॥
tatpūrvakaṃ trividham anumānam — pūrvavat śeṣavat sāmānyato dṛṣṭam ca ||
"Inference, based on that [perception], is of three kinds: preceding (pūrvavat), remaining (śeṣavat), and generally observed (sāmānyato dṛṣṭa)."
— Nyāyasūtra 1.1.5

The Nyāya Syllogism — Five Members

MemberSanskritFunctionClassic ExampleAI Correlate
Pratijñāप्रतिज्ञाThe conclusion to be established"The mountain has fire"Output token sequence
HetuहेतुThe reason/mark (liṅga)"Because it has smoke"Input features weighted by attention
UdāharaṇaउदाहरणThe universal concomitance illustrated by example"Wherever there is smoke, there is fire, as in a kitchen"Training distribution with positive examples
UpanayaउपनयApplication of the universal to the current case"This mountain has smoke of that kind"Feature matching at inference time
NigamanaनिगमनRe-statement of the conclusion as now established"Therefore the mountain has fire"Final output probability distribution

Vyāpti — The Universal Concomitance and Its AI Absence

The most philosophically important concept in Nyāya inference theory is vyāpti — the invariable universal concomitance between the reason (hetu/liṅga) and the conclusion (sādhya). "Wherever there is smoke, there is fire" is a vyāpti — a genuine universal connection, not a statistical frequency. Vyāpti is what makes inference knowledge rather than lucky guessing: the knower has grasped not just that smoke and fire usually co-occur but that they necessarily co-occur in the relevant sense, and this grasp grounds the inference.

How is vyāpti established? Through repeated perception of the connection, combined with the absence of counter-instances, combined — crucially — with the knower's understanding of why the connection holds. The vyāpti-grasper is not a recording device for co-occurrence frequencies; it is a conscious subject who perceives, collects cases, notices exceptions, understands the underlying connection, and forms a genuine universal judgment. This is exactly what AI does not do.

Case Study · The Vyāpti Gap — Why AI "Inference" is Not Anumāna

Consider a large language model that has been trained on millions of medical records and produces the output "Patient X likely has condition Y" given a description of symptoms. The model has computed that symptom-pattern features that co-occur with Y in its training data are present in the current case. This resembles the udāharaṇa + upanaya structure of Nyāya inference: a general pattern is applied to a specific case.

But the critical difference is this: the AI has not grasped a vyāpti. It has modeled a frequency distribution. These are different in exactly the way Nyāya's analysis reveals: a frequency distribution can be wrong without any error in the AI's processing (new cases may fall outside the training distribution, the training data may be biased, the correlation may be coincidental). A genuine vyāpti, once grasped by a conscious pramātṛ, is not vulnerable to distribution shift in the same way — because the pramātṛ understands why the connection holds, not merely that it holds in observed cases. The AI's "inference" is a pattern-completion that mimics the surface form of anumāna without having grasped the vyāpti that makes anumāna knowledge rather than sophisticated guesswork.

§ 8 · हेत्वाभासः

Hetvābhāsa — The Five Fallacies and Their Precise AI Instantiations

The hetvābhāsa (literally "fallacy-appearance" — something that appears to be a valid reason but is not) taxonomy is Nyāya's most practically applicable contribution to epistemology. Nyāya identifies five types of hetvābhāsa, each describing a different way in which a reason fails to establish its conclusion. Applied to AI reasoning, the five hetvābhāsas map onto AI error modes with a precision that contemporary machine learning theory has not achieved through its own vocabulary.

1. Savyabhicāra
सव्यभिचार — The Erratic Reason
A reason that is sometimes present without the conclusion being present — "the hill has fire because it has trees" (trees are present even where there is no fire).
AI instantiation: Spurious correlation. AI models trained on datasets where feature A co-occurs with conclusion B even in cases where the causal connection is absent will produce savyabhicāra inference at scale. The celebrated example: AI identifying "wolves" by snow-background rather than wolf-features.
2. Viruddha
विरुद्ध — The Contrary Reason
A reason that actually establishes the opposite of the intended conclusion — "sound is eternal because it is produced" (being produced establishes non-eternality, not eternality).
AI instantiation: Adversarial examples. Inputs specifically crafted to use the model's learned features to produce the opposite of the correct classification — exploiting the fact that the learned features are statistical correlates, not causal indicators.
3. Prakaraṇasama
प्रकरणसम — The Question-Begging Reason
A reason that requires establishment of the conclusion for its own establishment — a circular reason that adds nothing to the argument.
AI instantiation: Hallucinated self-citation. AI generating text that cites "sources" whose content mirrors its own output, or producing reasoning that assumes what it is supposed to establish. The most common form of AI logical circular error.
4. Sādhyasama
साध्यसम — The Unestablished Reason
A reason that is itself as uncertain as the conclusion it is supposed to establish — using an unknown to prove an unknown.
AI instantiation: Confidence propagation from uncertain premises. AI generating high-confidence conclusions from low-confidence retrieved facts, with the uncertainty of the premises not propagating to the conclusion.
5. Kālātyayāpaddiṣṭa
कालात्ययापदिष्ट — The Mistimed Reason
A reason that has been refuted at a different time or in a different context — a reason that was valid in one context but is deployed in a context where it has been shown invalid.
AI instantiation: Distribution shift failure. Reasoning patterns valid in the training distribution deployed in contexts where they have been shown to fail — the knowledge cutoff problem, domain transfer errors, and out-of-distribution inference.
The Hetvābhāsa Verdict on AI: All five of Nyāya's fallacy types are regularly instantiated in AI reasoning outputs. This is not a criticism of any particular AI system — it is a structural consequence of AI's epistemic architecture. Hetvābhāsas arise when the reason (hetu) fails to be connected to the conclusion (sādhya) through a genuine vyāpti. Since AI has no vyāpti-grasper, it has no mechanism to distinguish genuine from merely apparent concomitance. Every AI inference is therefore structurally vulnerable to all five hetvābhāsas, regardless of how sophisticated the model or how extensive its training data.
§ 16 · सम्पूर्णन्यायविमर्शः

Master Synthesis — The Complete Nyāya Verdict on Artificial Intelligence

The Nyāya framework's analysis of AI, developed across sixteen sections, converges on a verdict that is simultaneously more precise and more nuanced than either AI enthusiasm or AI scepticism typically achieves. The verdict is not that AI is useless, not that AI is dangerous, not that AI will become conscious. It is a careful epistemological mapping: here is what AI is; here is what it does; here is what it establishes; here is what it cannot establish; and here is what those limits mean for how we should relate to it.

#Nyāya CategoryAI StatusPractical Implication
1Pratyakṣa (Perception)Not achieved: no ātman to be the locus of perceptual cognitionAI vision outputs should be treated as classification results, not perceptions — they are correct in proportion to training-data representation, not in proportion to accurate direct contact with the world
2Anumāna (Inference)Structural analogue without vyāpti-grasper: sophisticated pattern-completion masquerading as inferenceAI inference outputs require human vyāpti-verification before they can bear the weight of genuine knowledge-claims
3Upamāna (Comparison)Embedding-space similarity matching — surface analogy without experiential groundingAI analogical reasoning is useful for surfacing candidates; it does not establish the analogies it produces
4Śabda (Testimony)Not available to AI as producer: AI cannot be an āpta; its outputs are not testimony in the Nyāya senseTreating AI outputs as authoritative testimony is the single most dangerous epistemic error in current AI deployment
5Pramātṛ (Knowing Subject)Absent: AI has no ātman, no icchā, no dveṣa, no prayatna — none of the criteria for a Nyāya knowerAI does not know what it outputs. It produces. The producer-consumer relation is not the same as the knower-known relation.
6Hetvābhāsa (Fallacy)All five types structurally present: unavoidable without genuine vyāptiAI reasoning should be subjected to explicit hetvābhāsa screening before high-stakes deployment
7Vāda (Genuine Debate)Not achievable: genuine vāda requires both parties to be committed to truth, not to output-maximizationAI cannot be a genuine interlocutor in truth-seeking dialogue; it can model dialogue without engaging in it
8Apavarga (Liberation)Not applicable: liberation is from false cognition by a conscious ātman; AI has neither false cognition nor an ātman to liberateThe question "can AI be perfected?" is a category error; AI can be improved, not liberated

The Affirmative Nyāya Assessment — What AI Genuinely Is

The Nyāya framework does not only diagnose absence — it is also precise about genuine presence. AI genuinely is: the most powerful sādhyasama-screening tool in history (it can identify logical inconsistencies at scale far beyond human capacity); a uniquely capable śabda-aggregator (it has processed more testimony than any human scholar could read in a thousand lifetimes); a sophisticated udāharaṇa-generator (it can surface examples of patterns across enormous corpora); and a powerful pūrvapakṣa-producer (it can articulate the strongest version of a position it has been trained on, useful for adversarial testing of one's own conclusions). These are genuine epistemic contributions — but they are contributions to human knowing, not themselves instances of AI knowing.

The Final Nyāya Verdict: Artificial Intelligence is a pramāṇa-adjacent process — it produces outputs that resemble the outputs of valid knowledge without instantiating the processes that make knowledge valid. The gap is not in the outputs but in the process: no ātman, no vyāpti-grasp, no genuine śabda-āptatā. What we should do with these outputs is not distrust them categorically — Nyāya's own epistemology is fallibilist and requires continuous testing — but subject them to the same pramāṇa scrutiny we apply to any other information source, never forgetting that the source is not a knower. Volume II will apply this framework to the specific fallacy-taxonomy of AI hallucination, demonstrating that every known AI hallucination type corresponds precisely to one of Nyāya's five hetvābhāsa categories.

Bibliography · Volume I

[1] Gautama. Nyāyasūtra with Vātsyāyana's Bhāṣya. Trans. M. Gangopadhyaya. Calcutta: Indian Studies Past & Present, 1982.
[2] Uddyotakara. Nyāyavārttika. Ed. Taranatha Nyaya-Tarkatirtha. Calcutta: Metropolitan Printing, 1936.
[3] Vācaspati Miśra. Nyāyavārttikatātparyaṭīkā. Ed. Ganganatha Jha. Benares: Chowkhamba, 1925.
[4] Udayana. Nyāyakusumāñjali. Trans. N.S. Dravid. New Delhi: ICPR, 1996.
[5] Gangopadhyaya, M. (1984). Indian Atomism: History and Sources. Atlantic Highlands NJ: Humanities Press.
[6] Matilal, B.K. (1985). Logic, Language and Reality. Delhi: Motilal Banarsidass.
[7] Phillips, S.H. (2012). Epistemology in Classical India. New York: Routledge.
[8] Searle, J. (1980). "Minds, Brains and Programs." Behavioral and Brain Sciences 3(3).
[9] Marcus, G. & Davis, E. (2019). Rebooting AI. New York: Pantheon. Contemporary AI limitation analysis paralleling the hetvābhāsa framework.
[10] Vaswani, A. et al. (2017). "Attention Is All You Need." NeurIPS. The transformer architecture whose epistemological status is analyzed throughout.