r/math•
OffByNone

Any good resources on Propositional/Predicate Logic?

Hi everyone. First time poster to r/math.

I'm attending university for a computer science degree and I feel like I am tilting at windmills in my discrete mathematics course. The lecturer and the textbook are both dreadful and I'm definitely under-performing. I look at these problems and I can tell they are easy, I just find myself never knowing where to start, or having a vague idea but not being sure how to proceed. I'm starting to get quite worried as midterms approach.

Can anybody make any recommendations as to how to proceed? Suggestions as to on-line resources free or non-free, or perhaps a better textbook would be very much appreciated.

Posted Oct 8, 2013, 2:50 AM UTC · edited

38
wguntherLogic•

Without knowing anything about the course syllabus, I'd say Enderton's book A Mathematical Introduction to Logic. It's a really well written undergraduate logic book.

Another good book which might be good for your situation considering the title of the course is Computability and Logic by Boolos (and some co-authors).

Remember: textbook != non-free. You'll almost surely find the two books I mentioned in any technical library. They're not obscure.

3
CorrectsYourUsage•

I'd start with Velleman if it's a basic first-time logic course. If you want more: This is all ya need.

3
clumsyfeet•

I'm going out on a limb here and assume you go to. Though the title suggests otherwise, this is a discrete mathematics course. The logic section of the assigned text is not very good, and I don't have much memory of the rest. (I took it about 8 years previously.)

I disagree with the recommendation for Enderton and Boolos. They are too hard for what is supposed to be your first exposure to logic. They don't formally assume you have logic training, but you need to be able to read a mathy book to read those.

Hammack and Velleman are gentle, suitable for a first exposure to mathy books. They do, however, go at it from a math perspective. (Hey, this is r/math, right?)

IMO, the gentlest first exposure to logic would be something like Magnus' forall x. I used a similar book (Bergmann's Logic Book) for the introductory logic course. These books don't use math examples/applications, and may be easier to digest if you don't already have intuition for the math examples.

2
wguntherLogic•

If that is the course that the OP is talking about, I would rescind my recommendations of Enderton and Boolos. My recommendations were for what I would think of as a course in mathematical logic with a mathematical reasoning prerequisite that goes through incompleteness. This course seems to be very different than a traditional mathematical logic course. Books on math reasoning like Velleman, Hammack, and (I'll throw in this one) Martin Day will probably be most helpful.

2
OffByNoneOP•

I actually did sign out a copy of Enderton from the library earlier today, though the introduction to Boolos indicated that it was intended for students further along than myself. It has seemed pretty good so far, actually. So now I have that and a couple of PDFs to go through.

But yes, I've updated the OP with hopes of clarifying a bit. The course is mathematical logic, but with a special emphasis on computer science applications (It touches on Prolog and SQL, for example).

1
wguntherLogic•

Enderton's book is a great book in introductory logic. My biggest complaint is he doesn't do enough proof theory; it's written much more from a semantic perspective. This makes it particularly weak in a course in computer science where automated theorem proving or program correctness/compiler construction is talked about. Also, his notion is a bit non-standard, I think even in the newer version.

1
murdersaurusApplied Math•

Book of Proof by Richard Hammack is a great resource. http://www.people.vcu.edu/~rhammack/BookOfProof/

I was in a similar situation last year in my intro to proofs course and I needed extra explanations. The book we used was also written by a faculty member, so it's used every time the class is taught. I used the book of proof for the problem sets and he normally had a better way of explaining things (in my opinion) than the required textbook. Plus, it's free.

1
cryo•

I like Elliot Mendelson's "Introduction to Mathematical Logic" a lot.

1