Problem solved: Student solves Sanskrit problem from 5th century
A page from an 18th-century copy of the Dhatupatha of Panini. (Photo courtesy Cambridge University Library)


A huge grammatical "problem" that has puzzled scholars since the fifth century has been solved by a Cambridge University student and professors believe it could "revolutionize the study of Sanskrit."

Indian PhD student Rishi Rajpopat, 27, decoded a rule taught by Panini, a master of the ancient Sanskrit language who lived around two-and-a-half-thousand years ago.

Sanskrit is only spoken in India by an estimated 25,000 people out of a population of more than a billion, Cambridge University said. But it is the sacred language of Hinduism and the medium through which much of India’s greatest science, philosophy, poetry and other secular literature have been communicated for centuries.

Panini’s grammar, known as the Astadhyayi, relied on a system that functioned like an algorithm to turn the base and suffix of a word into grammatically correct words and sentences. However, two or more of Panini’s rules often apply simultaneously, resulting in rule conflicts.

Panini taught a "metarule" which is traditionally interpreted by scholars as meaning: "If a conflict arises between two rules of equal strength, the rule that comes later in the grammar’s serial order wins." However, this often led to grammatically incorrect results.

Rajpopat rejected the traditional interpretation of the metarule.

Instead, he argued that Panini meant that between rules applicable to the left and right sides of a word respectively, Panini wanted us to choose the rule applicable to the right side. Employing this interpretation, Rajpopat found that Panini’s "language machine" produced grammatically correct words with almost no exceptions.

Rajpopat said he had a "eureka moment" after his supervisor at Cambridge, professor of Sanskrit Vincenzo Vergiani, advised him: "If the solution is complicated, you are probably wrong."

He said: "I had a eureka moment in Cambridge. After nine months of trying to crack this problem, I was almost ready to quit, I was getting nowhere. So I closed the books for a month and just enjoyed the summer, swimming, cycling, cooking, praying and meditating. Then, begrudgingly I went back to work, and, within minutes, as I turned the pages, these patterns started emerging, and it all started to make sense. There was a lot more work to do, but I’d found the biggest part of the puzzle."

"Some of the most ancient wisdom of India has been produced in Sanskrit and we still don’t fully understand what our ancestors achieved. We’ve often been led to believe that we’re not important, that we haven’t brought enough to the table. I hope this discovery will infuse students in India with confidence, pride, and hope that they too can achieve great things," he added.

He hopes it will now be possible to teach Panini’s grammar to computers.

Professor Vergiani said: "My student Rishi has cracked it – he has found an extraordinarily elegant solution to a problem which has perplexed scholars for centuries.

"This discovery will revolutionize the study of Sanskrit when interest in the language is on the rise."