Grammar, Philosophy, and Logic