date: (23/09/2024)
Compound Propositions
Implication
- If and are propositions, then is a conditional statement or implication.
- is the hypothesis (antecedent or premise)
- is the conclusion (or consequence)
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
Converse, Contrapositive and Inverse
From we can form new conditional statements:
- is its converse
- is its contrapositive
- is its inverse
Example:
| Converse | ”If I do not go to town, then it is raining” |
|---|---|
| Inverse | ”If it is not raining, then I will go to town” |
| Contrapositive | ”If I go to town, then it is not raining” |
Biconditional
if and are propositions, then we can form the bi-conditional proposition
with this truth table
| T | T | T |
| T | F | F |
| F | T | F |
| F | F | T |
Truth tables for compound propositions
We can construct a truth table for compound propositions as follows:
- Create a row for ever combo of values for atomic propositions
- Create a column containing truth value for each sub-expressions
Example( Truth table for )
| T | T | T | F | T | F |
| T | T | F | T | T | T |
| T | F | T | F | T | F |
| T | F | F | T | T | T |
| F | T | T | F | T | F |
| F | F | T | F | F | T |
| F | F | F | T | F | T |
Note: (if (False) (True))
Terminology and Precedence
- A tautology is a preposition which is always true, such as
- A contradiction is a preposition which is always false, such as
- A contingency is a proposition which is neither a tautology nor a contradiction, such as
Precedence of Logical Operators
- Negation > Conjunction > Disjunction > Implication > Bi-conditional
E.g is equivalent to
Equivalent Propositions
Two propositions and are equivalent, denoted as , if they always have the same truth value.
- This is the same as saying is a tautology
- Note the there are rows in a truth table with propositional variables\
| Contrapositive | Inverse | Converse | ||||||
|---|---|---|---|---|---|---|---|---|
| T | T | F | F | T | T | T | T | |
| T | F | F | T | F | F | T | T | |
| F | T | T | F | T | T | F | F | |
| F | F | T | T | T | T | T | T |
Key logical Equivalences
- Identity Law:
- Domination Law:
- Idempotent Law:
- Double Negation Law:
- Negation Law:
- Commutative Law:
- Associative Law:
- Distributive Law:
- Absorption Law:
- De Morgan’s Law:
More logical Equivalences
Conditional Statements
Bi-conditional Statements
Properties of Equality
- If and , then
- If is a sub-expression of and and the expression in which is replaced by in p, then
To prove that