Section 1.2 – The Algebra of Propositions

If a statement is always true we call it a tautology. For example,

If a statement is always false we call it a contradiction. For example,

Logical Equivalence

definition: Two statements, $s_1$ and $s_2$ are logically equivalent if the biconditional, $ s_1 \leftrightarrow s_2 $, is a tautology. It is then written,

($ s_1 \leftrightarrow s_2 $ is a statement that can be true or false, $ s_1 \iff s_2 $ is a fact that they are logically equivalent)

Notation

  • $\mathbb{1}$ denotes a tautological statement.
  • $\mathbb{0}$ denotes a contradiction statement.

Laws of Logic

Idempotence

Commutative

Associative

Note,

Distributive

DeMorgan's Laws

Identity

Dominance

Other

Using Laws of Logic to prove logical equivalence

Example

Show $ p \leftrightarrow q \iff (p \wedge q) \vee (\neg p \wedge \neg q) $.

Solution

Proof:

We know,

and,

Using distribution twice,

and using identities,

By commution,

Example

Show $ \neg q \vee ( p \to q ) $ is a tautology.

Solution

Proof:

We know,

substituting,

By commution,

then using identities,

and dominance,

This is wrong :(