resources related to logic?

Are there any resources online for someone looking to learn about logic..specifically as it relates to recent papers in PLT involving proof carrying code, typed assembly language, etc.? What are good printed books? (should be basic introduction). I couldn't find anything other than Jean H. Gallier's 'Logic for Computer Science.' at http://www.cis.upenn.edu/~jean/gbooks/logic.html

Thanks.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

See your local library

My best recommendation would be to see your local library and get a good book, but that might be my preference for books speaking.

If you have access to an academic library (at a University or research organisation) or a decent public library, they should have a selection of books introducing formal logic (they'll probably be catalogued under Philosophy, though you might find some under Mathematics or Computer Science). They tend to have titles like "An Introduction to Formal Logic", "A New Introduction to Formal Logic", or even just "Formal Logic". :-)

Online, MIT's 'Logic I' course is available (though I'm not sure how much material is provided). There is also Proof and Counterexample, but it isn't complete.

You'll probably need more than just propositional logic, so make sure you get a book that introduces first order logic (logic with predicates, quantifiers, etc) and possibly modal logic (logics of possibility, temporality, knowledge, belief, execution and pretty much anything else involving a concept similar to 'state').

Printed

The introductional course to logic I took used 'Logic in Computer Science' by Huth & Ryan, which I found to be quite good. Besides the usual propositional and predicate logic, it also covers some modal logic (but only epistemic it seems as I skim through it) and a little bit on program verification. Something like this should get you ready for the more interesting material.

(As for books on modal logic, Richard Zach has a short list on his weblog.)

Types

Looking at your specific interests, I can recommend Cardelli & Wegner's 'On Understanding Types [...]'.

Furthermore, you probably want something on Curry-Howard, maybe the classic Proofs and Types by Jean-Yves Girard.

Logic Books

You might find Logic: An Introduction to the Formal Study of Reasoning helpful. For a combined text and software approach, see Language, Proof, and Logic.

found another one

Haskell Road

I found The Haskell Road to Logic, Maths and Programming pretty useful for brushing up on the basics, and it serves as a nice tutorial on Haskell too. Perhaps not enough depth for the topics you want to look into, though.

Beseme

See here.