Elementary Theory of Qualitative Analysis