Note: much of this was created with AI and hasn't been fully fact-checked yet. Find a substantial error and earn 1 ZEC!
Propositions
A proposition is a declarative sentence that can be either true or false, but not both. Propositions are typically represented by lowercase letters such as:
Logical Connectives
Propositional logic involves combining propositions using logical connectives. Below are the common connectives:
| Symbol | Name | Meaning | Example |
|---|---|---|---|
| Negation | "Not" | ||
| Conjunction | "And" | ||
| Disjunction | "Or" (inclusive) | ||
| Implication | "If...then..." | ||
| Biconditional | "If and only if" |
Truth Values
A truth value is the attribute assigned to a proposition:
- (True)
- (False)
Negation ()
Negation reverses the truth value of a proposition. If is true, then is false, and vice versa.
Conjunction ()
Conjunction is true if both propositions are true. Otherwise, it is false.
Disjunction ()
Disjunction is true if at least one proposition is true. It is only false if both are false.
Implication ()
Implication is true unless the first proposition (the antecedent) is true and the second proposition (the consequent) is false.
Vacuous Truth
The last 2 rows in the implication table can seem counter-intuitive. If is False, then it seems like we don't really know anything about the truth of ?
- When is true and is true, is true (this makes sense since both the antecedent and the consequent are true).
- When is true and is false, is false (this captures the idea that must follow from if is true, and it doesn’t here).
- When is false, the implication is always true, regardless of the truth value of .
This last point is where it can feel counterintuitive.
Why is true when is false?
In classical propositional logic, an implication is defined to be true when the antecedent is false, regardless of the truth value of . This is often called vacuous truth. The reasoning is as follows:
- If is false, the statement "If , then " doesn’t make any claim about because the condition wasn’t met.
- Therefore, the implication is considered true because it’s impossible to find a counterexample to the claim. Since the premise never holds, we don't care what happens with .
This is a formal convention in classical logic, and it helps ensure that logical systems work as expected in various proofs and formal arguments.
Example:
Consider the statement "If the moon is made of cheese (), then 2 + 2 = 5 ()."
- The moon is not made of cheese ( is false).
- It doesn't matter whether 2 + 2 equals 5 ( can be true or false); the implication holds as true because the antecedent (the moon being made of cheese) is false.
Although it feels unintuitive that a false can make true regardless of , this is a standard convention in classical logic. The truth table provided is correct according to formal logic rules, even though it may clash with everyday reasoning.
Biconditional ()
A biconditional is a logical connective that represents the statement "if and only if." It expresses that both propositions must have the same truth value for the biconditional to be true. This means that:
- If is true, then must be true.
- If is false, then must be false.
In symbols, is equivalent to saying:
- " if and only if ," or
- " is true if is true, and is false if is false."
The biconditional can be broken down into two implications:
$$
(p \leftrightarrow q) \equiv (p \rightarrow q) \land (q \rightarrow p)
$$
This reads as: "If implies , and implies , then and are logically equivalent."
Truth Table
Intuition Behind Biconditional
A biconditional is true only when both propositions have the same truth value. This means that either both and are true, or both are false. If their truth values differ, the biconditional is false.
The phrase "if and only if" is key to understanding this connective. It ensures a two-way dependency:
- is true if is true.
- is false if is false.
Example for Clarity:
Consider the statement:
"You can go to the party if and only if you finish your homework."
This means:
- If you finish your homework (let represent this), then you can go to the party (let represent this).
- But also, if you go to the party, it implies you must have finished your homework.
Thus, enforces a bi-directional implication.
Equivalence and Transformations
Biconditionals can be transformed using logical equivalences. Here’s a useful transformation:
$$
p \leftrightarrow q \equiv \neg p \leftrightarrow \neg q
$$
This states that negating both sides of a biconditional preserves the equivalence. In other words, if is equivalent to , then the negation of is also equivalent to the negation of . This helps clarify that the relationship between the two propositions is symmetrical: if one is true, the other is true, and if one is false, the other is false.
Example of Negation Equivalence:
Suppose:
- : "The sky is blue."
- : "It is daytime."
We could say:
- : "The sky is blue if and only if it is daytime."
Now, apply the negation:
- : "The sky is not blue."
- : "It is not daytime."
Using the equivalence , we get:
- "The sky is not blue if and only if it is not daytime."
This reinforces the logical connection: if the sky isn’t blue, it must not be daytime, and vice versa.
Visual Representation (Intuition Aid)
One way to think about the biconditional is to visualize it as a mirror:
- Whatever happens on one side of the mirror must be reflected on the other side.
- If is true, must reflect that and be true as well. If is false, must reflect that falsity.
Important Biconditional Properties:
- Symmetry:
- is the same as .
- Self-biconditional:
- Any proposition is always true (because a proposition is always equivalent to itself).
- Equivalence with Implications:
- shows that a biconditional is essentially two implications bundled together.
Truth Tables
Truth tables systematically show the truth values of propositions and their logical combinations. For example, the truth table for :
Tautology
A tautology is a proposition that is always true, regardless of the truth values of the individual propositions.
- Example: (A proposition is either true or its negation is true).
Contradiction
A contradiction is a proposition that is always false.
- Example: (A proposition cannot be both true and false simultaneously).
Logical Equivalence
Two propositions are logically equivalent if they always have the same truth value. This is denoted as:
$$
p \equiv q
$$
Example: (Implication is equivalent to "not p or q").
Common Logical Laws
These laws describe common transformations in propositional logic.
Commutative Laws:
Associative Laws:
- $$ (p \land (q \land r)) \equiv ((p \land q) \land r) $$
- $$ (p \lor (q \lor r)) \equiv ((p \lor q) \lor r) $$
Distributive Laws:
- $$ p \land (q \lor r) \equiv (p \land q) \lor (p \land r) $$
- $$ p \lor (q \land r) \equiv (p \lor q) \land (p \lor r) $$
De Morgan’s Laws:
- $$ \neg (p \land q) \equiv \neg p \lor \neg q $$
- $$ \neg (p \lor q) \equiv \neg p \land \neg q $$
Double Negation Law:
- $$ \neg (\neg p) \equiv p $$
Implication Law:
- $$ p \rightarrow q \equiv \neg p \lor q $$
Inference Rules
Inference rules are used to derive conclusions from premises.
- Modus Ponens (Direct inference):
- If and , then .
- Modus Tollens:
- If and , then .
- Disjunction Introduction:
- If , then .
- Conjunction Introduction:
- If and , then .
Conclusion
Propositional logic is a formal system used to analyze logical relationships between propositions. It forms the basis for more advanced logics and is widely applied in fields like mathematics, computer science, and philosophy. The above notation and vocabulary capture its essential elements.

