e.g., A \rightarrow B is the implication of A and B. A is the antecedent/hypothesis statement and B is the consequent/conclusion statement
By convention, if A is false, we say A \rightarrow B is true because we can’t claim it was false
Equivalence Connective (\leftrightarrow): “Equals” statement; “If and only if” statement
Unlike \land, \lor, or \rightarrow, this connective isn’t actually a fundamental connective. We can represent equivalence with (A \rightarrow B) \land (B \rightarrow A)
Example of Logical Implication and Equivalence Connective:
A
B
A \rightarrow B
B \rightarrow A
(A \rightarrow B) \land (B \rightarrow A)
T
T
T
T
T
T
F
F
T
F
F
T
T
F
F
F
F
T
T
T
Truth Table
Truth Table: Table that displays the truth values of a statement which correspond to the different combinations of truth values for the variables.
General Structure of a Truth Table:
First columns list all possible values of the statement letters
For n statement letters, there will be 2^n rows
Intermediate columns list intermediate steps
Last columns list all possible values of the statement(s)
How-To Make a Truth Table:
Create columns:
Start with statement variables (A, B, etc.)
Intermediate values (parts of the well-formed formula)
Use personal taste for how much you want to split up the problem
End with the target well-formed formula.
List all truth value combinations for statement variables
For n statement variables, there should be 2^n rows
Solve for each row.
Note: Truth tables get graded in the test/homework by whether the target truth values are correct
Points won’t get taken off for a lack of intermediate values.
However, if the target truth value is wrong, the intermediate values will be used to give partial credit
Tautological Equivalence between \rightarrow and \lor
A \rightarrow B and A` \lor B are tautologically equivalent
Proof: Truth table for A \rightarrow B \equiv A` \lor B
A
B
A \to B
\lnot A \lor B
T
T
T
T
T
F
F
F
F
T
T
T
F
F
T
T
Example: These two statements are equivalent
“If you do your homework, then you will fail”
A \rightarrow B
“Either you do your homework or you will fail”
\lnot A \lor B
Well-Formed Formula (WFF)
Well-Formed Formula: A combination of letters, connectives, and parenthesis in a meaningful expression.
Priority of Connectives
Innermost Parenthesis (progress outwards)
Negation (\lnot)
Conjunction (\land)
Disjunction (\lor)
Implication (\rightarrow)
Equivalence (\leftrightarrow)
De Morgan’s Laws
De Morgan’s Law: A pair of transformation rules to negate statements
Examples:
( A \lor B ) \leftrightarrow A' \land B'
( A \land B )' \leftrightarrow A' \lor B'
How-To Apply De Morgan’s:
A to \lnot A
\land to \lor, and vice versa.
Hint: If you need to negate a statement with a \to in it, remember that A \rightarrow B \equiv A` \lor B
Tautology and Contradiction
Note: To simplify statements, we use letters near the end of the alphabet, by convention usually P and Q.
e.g., ( A \land B )' \rightarrow A' \lor B' getting rewritten as P \rightarrow Q
Tautology: A well-formed formula that is always true.
Contradiction: A well-formed formula that is always false.
Note: Mathematicians call tautologies and contradictions “intrinsically true” and “intrinsically false”, respectively.
Tautological Equivalence
Logical Equivalence: Two statements are logically equivalent if, and only if, they have identical truth for every possible combination of statement variables.
We can write logical equivalence with \Leftrightarrow and \equiv, like so:
P \Leftrightarrow Q
P \equiv Q
Common Equivalences
Communicative
A \lor B \equiv B \lor A
A \land B \equiv B \land A
Distributive
(A \lor B) \lor C \equiv A \lor (B \lor C)
(A \land B) \land C \equiv A \land (B \land C)
Identity
A \lor 0 \equiv A
A \land 1 \equiv A
Component
A \lor A' \equiv 1
A \land A' \equiv 0
Further Explanation:
Component: If you combine two statements that are the inverse of each other, you may cover all cases or none of them.