Philosophy (Logic)

My preferred intro logic text is Enderton's "A mathematical introduction to logic." Smullyan's book on first-order logic is very nice, though it uses proof trees, which is (awesome but) somewhat unusual. I'm also a fan of Peter Smith's "An Introduction to Godel's Theorems." As far as set theory goes, it really depends how far you'd like to go. I imagine that if you're doing graduate research in CS you know the "basics" that would be covered in Halmos' "Naive Set Theory." If you're looking for more, I also like Enderton's "Set Theory," and after that a big standard text is Jech's.

There's obviously more. You need a good textbook for modal logic, and I don't know any. Hopefully someone else can help fill in the picture.


Lectures in Logic and Set Theory (Volumes 1 and 2) by George Tourlakis. This is (in my opinion) a good beginner-intermediate book. I flipped through both volumes and liked the writing style and presentation. It's not too verbose or too terse.


I second the recommendations for Enderton's texts: Both "A mathematical introduction to logic" and his text on set theory. If you want something to peruse right now, Paul Teller has a fairly good introduction to logic, available on-line (free, no strings attached) here or, more directly, there.
The first volume is pretty elementary, but the second gets slightly more complex. It's a good start, depending on your background in logic.

Another "starter" book, a bit more rigorous than the usual "Intro to Logic" text, is the classic by Benson Mates, "Elementary Logic", 2nd edition. It's not nearly as "elementary" as some introductory texts, and would be a great start if you're just getting your "feet wet".