“How to Prove It” by D. Velleman introduces the reader to mathematical reasoning, logic, and some set theory. In addition, it covers functions, relations, and proofs.
In my opinion, this book is the base for understanding any mathematical subject.
Programming wise, design patterns get obsolete. Programming languages get obsolete. Libraries get obsolete. Mathematics doesn’t. Besides CS foundations, logic and proofs will make you better at understanding abstractions.
Proofs are at a very high level compared to programming. However, writing proofs on a very low level is possible (check Metamath), where you work with wff and rewrite rules. It gets as tricky as programming.
Anyway, it is important to go through the exercises. Every concept is properly introduced before the exercises. The chapter names make it obvious what is introduced: propositional and predicate logic, proof strategies, mathematical induction, and parts of set theory: relations (ordering relations, closures, equivalence relations), Cartesian tuples and functions.
Highly recommend this book.
| Goal form | Given | Use |
|---|---|---|
| Assume | If | |
| Assume | If | |
| Prove each of | Treat | |
| Prove that at least one of | Use proof by cases, in each case assume one of | |
| Prove | Conclude | |
| Assume | For any | |
| Find an | Introduce a new variable, say |
, and
with
(remaining are
).
For example, to prove , we assume
(otherwise, it’s vacuously true) and use proof by cases. Since we’re given
, we are given
. Similarly, we are also given
. Thus,
One thought on “How to Prove It summary”