1 Sentential Logic
Chapter 1 of How To Prove It introduces the following symbols of logic:
Symbol | Meaning |
---|---|
not | |
and | |
or | |
if … then | |
iff (that is, if and only if) |
As we will see, Lean uses the same symbols, with the same meanings. A statement of the form
This chapter also establishes a number of logical equivalences that will be useful to us later:
Name | Equivalence | ||
---|---|---|---|
De Morgan’s Laws | is equivalent to | ||
is equivalent to | |||
Double Negation Law | is equivalent to | ||
Conditional Laws | is equivalent to | ||
is equivalent to | |||
Contrapositive Law | is equivalent to |
Finally, Chapter 1 of HTPI introduces some concepts from set theory. A set is a collection of objects; the objects in the collection are called elements of the set. The notation