pañcavidyāsthāna 'Five sciences (rig pa'i gnas lnga). Grammar, dialectics, healing, arts and crafts, and religious philosophy.
The five sciences are:
science of language (śabdavidyā),
science of logic (hetuvidyā),
science of medicine (cikitsāvidyā),
science of fine arts and crafts (śilakarmasthānavidyā),
and science of spirituality (adhyātmavidyā).
The stipulation can be traced to (but may well predate) the Mahāyāna-sūtrālamkāra-kārikā, which states: "Without becoming a scholar in the five sciences, not even the supreme sage can become omniscient. For the sake of refuting and supporting others, and for the sake of knowing everything himself, he makes an effort in these five sciences."