The Computational Complexity of Some Logical Theories