The Ashtadhyayi may be considered a meta-language that describes the Sanskrit language, having its own special syntax and semantics. Every word in a sutra is significant, as also are the preceding 'relevant contexts'.
The canonical substitution rule is composed from terms in a sutra along with its 'relevant contexts'. The 'relevant contexts' for a sutra could include preceding sutras, or even overarching sutras, that must be read together with a particular sutra in order to complete the rule. The objective of a substitution rule is to unambiguously identify some specified pattern in the input and substitute it with some pattern, yielding the transformed output. For e.g., in BG1.42, a rule may perform the following transformation:
- identify the pattern '...i\e...' in the input 'hi\eSHAm' (the '\' indicates the end of the preceding term in the input)
- substitute the 'i' with 'y'
- yielding the transformed output 'hyeSHAm'
We must first obtain the underlying terms in a sutra after an analysis of 'euphonic combinations' (sandhi analysis). After that, we must identify the Case of each underlying term. These underlying terms are usually declined forms of special words (for e.g., 'ikaHa-(GEN-S)' refers to the 'ik' class) that are used in the Ashtadhyayi to denote various classes, and must not be confused with similar words, if any, found in a Sanskrit dictionary. The important Case suffixes used are:
GEN = apply rule to (substitute) this character ('in place of:sthAne') {1.1.49: SHaSHThi sthAneyogA}
LOC = apply rule to the immediately preceding character {1.1.66: tasminniti nirdiSHTe pUrvasya}
ABL = apply rule to the immediately succeeding character {1.1.67: tasmAdityuttarasya}
INS = apply rule to either the immediately preceding or succeeding character
NOM = apply this as the substitute character(s)
Hence, a rule that has the form
X-GEN Y-NOM Z-LOC
tells us that we must substitute 'X' by 'Y' if 'Z' follows the 'X'. This is the rule obtained from the sutra {6.1.77: iko yaNNachi} (i.e. ik-GEN yaNN-NOM ach-LOC).
NOTES:
EXAMPLES:
- NOTE: See the section marked 'RULE:' in each sutra.
- NOTE: Underlying terms shown in square brackets indicate terms obtained from the 'relevant contexts' for that sutra.
- {6.1.77: iko yaNNachi}.
- {6.1.78: echo'yavAyAvaHa}, where the 'ach' is read from the immediately preceding sutra to complete the rule.
- {6.1.87: AdguNNaHa}, where the 'ach' is read from a preceding sutra (but not the immediately preceding sutra) to complete the rule.
Information on rule construction will be provided only for a few sutras, because the additional information that may be required about the 'relevant contexts' for each sutra is much too detailed for us to provide on this site.