No doubt through experimentation. If the theory was sound then the treatments that didn't work would have been discarded by Ayurveda itself, but they are not discarded in the name of tradition. People in the past tried all sorts of things, herbs, techniques, practices over thousands of years...