Software note · Issue 1, article 4
Watching a Word Being Born
Twenty rule applications take the root bhū, ‘to be’, to the word bhavati, ‘is, becomes’. Here they are, one sūtra at a time.
Why derivations deserve to be seen
The Aṣṭādhyāyī does not list the words of Sanskrit. It generates them. A root and an affix enter; rules fire, markers appear and vanish, sounds are replaced and joined; a word comes out that a speaker would recognise. The grammarians call this process prakriyā. Read on paper, a derivation is a column of sūtra numbers. Watched step by step, it becomes something closer to a laboratory: each rule visibly does one small thing, and the reader can ask why it fired, and why at that moment.
The journal's interest is twofold. A derivation is a fully explicit, checkable chain of reasoning, which makes it a natural test of whether a language model can follow rules rather than imitate outputs. And the same chain is a teaching object of unusual beauty. The Benchmark Hall's Prakriyā track and the Sūtra Cosmos homepage both grow from this one idea.
The derivation of bhavati
The viewer and the table show the same twenty steps, in the order Vidyut applies them. Glosses are editorial summaries, not translations of the sūtras.
| # | Sūtra | Text | Form after the rule | What happens |
|---|---|---|---|---|
| 1 | 1.3.1 | भूवादयो धातवः bhūvādayo dhātavaḥ | भू bhū | bhū is classed as a verbal root (dhātu). |
| 2 | 3.2.123 | वर्तमाने लट् vartamāne laṭ | भू bhū + लँट् lam̐ṭ | The affix laṭ is introduced to express present time. |
| 3 | 1.3.2 | उपदेशेऽजनुनासिक इत् upadeśe'janunāsika it | भू bhū + लँट् lam̐ṭ | The nasalised vowel of laṭ, as taught, is an it (a marker). |
| 4 | 1.3.3 | हलन्त्यम् halantyam | भू bhū + लँट् lam̐ṭ | The final consonant ṭ is also an it. |
| 5 | 1.3.9 | तस्य लोपः tasya lopaḥ | भू bhū + ल् l | Markers are deleted: only l remains. |
| 6 | 1.3.78 | शेषात् कर्तरि परस्मैपदम् śeṣāt kartari parasmaipadam | भू bhū + ल् l | With an agent and no ground for ātmanepada, parasmaipada endings are chosen. |
| 7 | 3.4.78 | तिप्तस्झिसिप्थस्थमिब्वस्मस् तातांझथासाथांध्वमिड्वहिमहिङ् tiptasjhisipthasthamibvasmas tātāṃjhathāsāthāṃdhvamiḍvahimahiṅ | भू bhū + तिप् tip | l is replaced by tip, the third-person singular ending. |
| 8 | 1.3.3 | हलन्त्यम् halantyam | भू bhū + तिप् tip | The final p of tip is an it. |
| 9 | 1.3.9 | तस्य लोपः tasya lopaḥ | भू bhū + ति ti | It is deleted: ti. |
| 10 | 3.4.113 | तिङ्शित्सार्वधातुकम् tiṅśitsārvadhātukam | भू bhū + ति ti | ti, a tiṅ ending, is termed sārvadhātuka. |
| 11 | 3.1.68 | कर्तरि शप् kartari śap | भू bhū + शप् śap + ति ti | The vikaraṇa śap is inserted between root and ending (active voice). |
| 12 | 1.3.3 | हलन्त्यम् halantyam | भू bhū + शप् śap + ति ti | The final p of śap is an it. |
| 13 | 1.3.8 | लशक्वतद्धिते laśakvataddhite | भू bhū + शप् śap + ति ti | The initial ś of an affix is an it. |
| 14 | 1.3.9 | तस्य लोपः tasya lopaḥ | भू bhū + अ a + ति ti | Both are deleted: a remains. |
| 15 | 3.4.113 | तिङ्शित्सार्वधातुकम् tiṅśitsārvadhātukam | भू bhū + अ a + ति ti | a (from śap, which has the marker ś) is termed sārvadhātuka. |
| 16 | 1.4.13 | यस्मात् प्रत्ययविधिस्तदादि प्रत्ययेऽङ्गम् yasmāt pratyayavidhistadādi pratyaye'ṅgam | भू bhū + अ a + ति ti | bhū is the aṅga (stem) before the affix. |
| 17 | 7.3.84 | सार्वधातुकार्धधातुकयोः sārvadhātukārdhadhātukayoḥ | भो bho + अ a + ति ti | Guṇa replaces the stem's final vowel before a sārvadhātuka affix: ū → o. |
| 18 | 1.4.14 | सुप्तिङन्तं पदम् suptiṅantaṃ padam | भो bho + अ a + ति ti | A form ending in a tiṅ ending is a pada (word). |
| 19 | 6.1.78 | एचोऽयवायावः eco'yavāyāvaḥ | भव् bhav + अ a + ति ti | o becomes av before a vowel: bhav-a-ti. |
| 20 | 8.4.68 | अ अ a a | भव् bhav + अ a + ति ti | The last sūtra of the grammar restores the closed (saṃvṛta) pronunciation of a: the word is bhavati. |
What the steps show
- Markers do most of the bookkeeping. Eight of the twenty steps (1.3.2, 1.3.3, 1.3.8 and 1.3.9, applied repeatedly) only identify and delete it-markers. The markers carry information forward, such as the ś of śap that makes it sārvadhātuka, and then disappear.
- Naming precedes operating. Before guṇa can apply, the grammar must first establish that ti and a are sārvadhātuka (3.4.113) and that bhū is an aṅga (1.4.13). Technical terms (saṃjñā) are the variables of the system.
- The sound change comes last. Only two steps change the sound of the root: guṇa (7.3.84) and o → av (6.1.78).
- The grammar closes on itself. The final step is the last sūtra of the Aṣṭādhyāyī, 8.4.68 a a, which restores the ordinary closed pronunciation of a that the grammar had treated as open throughout.
How the grammar names its sound classes
The fourteen Māheśvara Sūtras list the sounds of Sanskrit in an order that lets one short name stand for a whole class. By 1.1.71 ādir antyena sahetā, a sound taken with a later marker names itself and every sound in between. So ac names all the vowels, hal all the consonants, and yaṇ the semivowels ya va ra la. The table shows eight of ten classes that an implementation of 1.1.71 generated and that were checked against reference sets.
| Name | Sounds |
|---|---|
| ac | a i u ṛ ḷ e o ai au (the vowels) |
| ik | i u ṛ ḷ |
| aṇ (in 1.1.69) | a i u |
| yaṇ | ya va ra la (the semivowels) |
| jhaṣ | jha bha gha ḍha dha (voiced aspirated stops) |
| jhaś | jha bha gha ḍha dha ja ba ga ḍa da (voiced stops) |
| khar | kha pha cha ṭha tha ca ṭa ta ka pa śa ṣa sa (voiceless consonants) |
| hal | all consonants |
The Māheśvara list has 43 slots; ha appears twice, so it holds 42 distinct sounds. The two readings of aṇ (short, in 1.1.69, and long, with the later ṇ) are a classic ambiguity that the tradition resolves by context. Formal analyses of why this arrangement works are in Petersen (2004).
The size of the machine
In the Vidyut numbering the Aṣṭādhyāyī has 3,983 sūtras in eight books (adhyāya), each of four quarters (pāda).
| Book | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
|---|---|---|---|---|---|---|---|---|
| Sūtras | 351 | 268 | 631 | 635 | 555 | 736 | 438 | 369 |
Kiparsky's account of the grammar's architecture (rule ordering, the siddha principle, and anuvṛtti, the carrying forward of words from earlier rules) is the standard modern guide to why the rules fire in this order. Penn and Kiparsky analyse the formal power of the rule system.
Tools and data
- Vidyut (Ambuda), a Pāṇinian derivation engine, MIT licence: github.com/ambuda-org/vidyut
- Saṃsādhanī, University of Hyderabad (Amba Kulkarni), including an Aṣṭādhyāyī simulator: sanskrit.uohyd.ac.in/scl
- Ashtadhyayi.com: sūtrapāṭha, Dhātupāṭha and commentaries: ashtadhyayi.com
- Prakriyā walkthrough (bhavati, nayati): learnsanskrit.org
References
- Kiparsky, P. (2009). On the Architecture of Pāṇini's Grammar. In G. Huet, A. Kulkarni & P. Scharf (eds), Sanskrit Computational Linguistics, LNCS 5402, 33–94. doi:10.1007/978-3-642-00155-0_2
- Penn, G. & Kiparsky, P. (2012). On Pāṇini and the Generative Capacity of Contextualized Replacement Systems. COLING 2012: Posters. aclanthology.org/C12-2092
- Petersen, W. (2004). A Mathematical Analysis of Pāṇini's Śivasūtras. Journal of Logic, Language and Information 13(4), 471–489. doi:10.1007/s10849-004-2117-7
- Cardona, G. (1976). Pāṇini: A Survey of Research. Mouton. doi:10.1515/9783110800104
- Vasu, Ś.C. (ed. & trans.) (1891–98). The Ashtadhyayi of Panini. archive.org
- Pāṇini, Aṣṭādhyāyī, GRETIL TEI e-text: gretil.sub.uni-goettingen.de