Rules, forms & definitions reference
Concept clusters →Every named result in this course, grouped by chapter. Each one links back to where it's derived.
Validity, Soundness, and Strength
Theorem
The counterexample test for invalidity
also known as: one counterexample is enough
An argument is invalid exactly when there is at least one possible situation in which every premise is true and the conclusion is false. Such a situation is called a counterexample to the argument. An argument is valid exactly when no counterexample exists.
What is this saying? To show an argument is invalid, you don't need to show its conclusion is false. You only need to describe one situation, real or imagined, where the premises all hold and the conclusion still fails. One such situation settles it.
Why should I care? "It doesn't follow" is a claim people make and dispute all the time. This test turns it into something you can demonstrate: produce the counterexample and the argument is finished, however true its conclusion happens to be.
Intuition. Validity is a promise: whenever the premises are true, the conclusion is true too. A promise about every situation is broken by a single situation where it fails, the same way one black swan breaks "all swans are white."
Ingredients.
- Possible situation: any consistent way the world could be, not only the way it happens to be.
- Every premise true: all of them at once, in that same situation.
- Conclusion false: in that same situation, not in some other one.
Example. "Every spider has eight legs. Charlotte has eight legs. So Charlotte is a spider." Counterexample: Charlotte is a scorpion. Both premises are true in that situation and the conclusion is false, so the argument is invalid, even if the real Charlotte turns out to be a spider.
What goes wrong without "every premise true." A situation where the conclusion is false but some premise is false too proves nothing. A valid argument can have a false conclusion when a premise is false as well.
Show proof
Validity is defined as: it is impossible for every premise to be true while the conclusion is false. "Impossible" means no possible situation has that combination.
If a counterexample exists, the argument is invalid. A counterexample is a possible situation with every premise true and the conclusion false. So that combination is possible, and the definition of validity fails.
If the argument is invalid, a counterexample exists. Invalid means the combination "every premise true, conclusion false" is possible. A possible combination is one that holds in some possible situation, and that situation is a counterexample.
Both directions together give "invalid exactly when a counterexample exists." Taking the opposite of each side gives the last sentence: valid exactly when no counterexample exists.
The Shape of an Argument
Theorem
A valid form makes every instance valid
also known as: validity by form
Call a form valid when none of its substitution instances can have all true premises and a false conclusion. Then:
- Every substitution instance of a valid form is a valid argument.
- If even one substitution instance of a form has all true premises and a false conclusion, the form is invalid.
What is this saying? The letters in a form are blanks, and an argument you get by filling the blanks is an instance of the form. If a pattern of reasoning is good, it is good whatever you fill it with. If one filling of the pattern leads from truths to a falsehood, the pattern itself is broken.
Why should I care? This is why logic can study patterns instead of topics. Show a form is valid once, and every argument with that form is valid, about weather, medicine, or anything else. The reverse doesn't hold: an argument with an invalid form can still be valid because of what its words mean. It also gives a practical way to attack a bad argument: keep its form, swap in content where the premises are plainly true and the conclusion plainly false.
Intuition. A valid form gets its guarantee from its connecting words, such as if โฆ then, or, and, and not, and those are the same in every instance. The topic words only fill the blanks, so they can't switch the guarantee on or off.
Ingredients.
- Form: an argument with each distinct claim replaced by a letter, with the same letter used every time the same claim appears.
- Substitution instance: what you get by putting a claim in for each letter, the same claim for every copy of that letter.
- All true premises, false conclusion: the counterexample combination, here found by choosing the fillings.
Example. "If Paris is in Germany, then Paris is in Europe. Paris is in Europe. So Paris is in Germany." The premises are true and the conclusion is false. By part 2, the form behind it (if P then Q; Q; so P) is invalid, and so no argument is made valid just by having that form.
Where the rule stops. Part 2 condemns the form, not every argument that has it. "If Ann is taller than Ben, then Ben is shorter than Ann. Ben is shorter than Ann. So Ann is taller than Ben." This has the invalid form above, yet it is valid, because of what taller and shorter mean. An invalid form can't prove an argument valid, but some other feature of the argument might.
Show proof
Part 1. This is the definition of a valid form: no instance can have all true premises and a false conclusion. An argument that can't have that combination is, by definition, valid. So every instance is valid.
Part 2. Suppose one instance has all true premises and a false conclusion. Then that combination is possible for an instance of this form, which is exactly what the definition of a valid form rules out. So the form is not valid.
Why the definition is the right one: an argument's validity is about whether its premises could be true with its conclusion false. The connecting words of a form fix how the truth of the whole premises and conclusion depends on the truth of the blanks. Two instances whose blanks are true or false in the same pattern get premises and conclusion that are true or false in the same pattern. So what one instance can do, the form allows.
Theorem
Affirming the consequent is invalid
also known as: the look-alike of modus ponens
The form
- If P, then Q.
- Q.
\therefore P.
is invalid. It has instances with true premises and a false conclusion.
What is this saying? Knowing that P leads to Q, and that Q happened, does not tell you P happened. Something else may have caused Q.
Why should I care? This is one of the most common reasoning mistakes there is, because it looks almost exactly like modus ponens. "If the engine is flooded, the car won't start. The car won't start. So the engine is flooded." A dead battery also stops the car.
Intuition. "If P, then Q" says P is one way to get Q. It never says P is the only way. The second premise lands on the result, and a result can have many causes.
Ingredients.
- Antecedent: the "if" part, P.
- Consequent: the "then" part, Q.
- Affirming the consequent: the second premise asserts the consequent and the conclusion asserts the antecedent. Modus ponens runs the other way: it asserts the antecedent and concludes the consequent.
Example. "If Paris is in Germany, then Paris is in Europe. Paris is in Europe. So Paris is in Germany." Both premises are true. The conclusion is false.
Non-example. "If Paris is in Germany, then Paris is in Europe. Paris is in Germany. So Paris is in Europe." This is modus ponens, and it is valid. Its first premise is still true, its second is false, and validity only promises a true conclusion when every premise is true.
Show proof
By the counterexample test, one instance with true premises and a false conclusion is enough. Fill P with "Paris is in Germany" and Q with "Paris is in Europe."
Premise 1, "If Paris is in Germany, then Paris is in Europe," is true: Germany is in Europe, so anything in Germany is in Europe.
Premise 2, "Paris is in Europe," is true.
The conclusion, "Paris is in Germany," is false. Paris is in France.
So this instance has true premises and a false conclusion. Because validity depends only on form, the form itself is invalid.
Theorem
Denying the antecedent is invalid
also known as: the look-alike of modus tollens
The form
- If P, then Q.
- Not P.
\therefore Not Q.
is invalid. It has instances with true premises and a false conclusion.
What is this saying? Knowing that P leads to Q, and that P did not happen, does not tell you Q didn't happen. Q could still come about some other way.
Why should I care? It sounds like careful reasoning and often slips past unnoticed. "If you study, you'll pass. You didn't study. So you won't pass." Some people pass without studying, and the premises never ruled that out.
Intuition. "If P, then Q" tells you what happens when P is true. It says nothing about what happens when P is false. Denying P walks into territory the conditional never covered.
Ingredients.
- Antecedent: the "if" part, P.
- Consequent: the "then" part, Q.
- Denying the antecedent: the second premise denies the antecedent and the conclusion denies the consequent. Modus tollens runs the other way: it denies the consequent and concludes that the antecedent is false.
Example. "If Paris is in Germany, then Paris is in Europe. Paris is not in Germany. So Paris is not in Europe." Both premises are true. The conclusion is false.
Non-example. "If Paris is in Germany, then Paris is in Europe. Paris is not in Europe. So Paris is not in Germany." This is modus tollens, and it is valid.
Show proof
By the counterexample test, one instance with true premises and a false conclusion is enough. Fill P with "Paris is in Germany" and Q with "Paris is in Europe."
Premise 1, "If Paris is in Germany, then Paris is in Europe," is true, since Germany is in Europe.
Premise 2, "Paris is not in Germany," is true.
The conclusion, "Paris is not in Europe," is false.
So this instance has true premises and a false conclusion. Because validity depends only on form, the form itself is invalid.
Theorem
Hypothetical Syllogism
also known as: chaining conditionals
The form
- If P, then Q.
- If Q, then R.
\therefore If P, then R.
is valid: no instance can have both premises true and the conclusion false.
What is this saying? If one thing leads to a second, and the second leads to a third, then the first leads to the third. You can link conditionals into a chain and skip the middle.
Why should I care? Much everyday reasoning is a chain of "if โฆ then" steps: if the flight is late, I miss the connection; if I miss the connection, I miss the meeting. Hypothetical syllogism is what lets you jump from the first link to the last: if the flight is late, I miss the meeting.
Intuition. Picture falling dominoes. Knocking over P knocks over Q, and knocking over Q knocks over R, so knocking over P knocks over R.
Ingredients.
- P, Q, R: any three claims. Q must be the same claim in both premises; it is the link that joins them.
- If โฆ then: a conditional. The only way "if P, then R" is false is when P is true and R is false.
Example. "If the reservoir drops below the line, the town restricts watering. If the town restricts watering, lawns turn brown. So if the reservoir drops below the line, lawns turn brown."
Look-alike to avoid. "If P, then Q. If Q, then R. So if R, then P" reverses the chain. Brown lawns could come from a heat wave with the reservoir full.
Show proof
Suppose, looking for a counterexample, that both premises are true and the conclusion "if P, then R" is false.
The conclusion can only be false when P is true and R is false. So P is true and R is false.
From "if P, then Q" and P, modus ponens gives Q true.
From "if Q, then R" and Q, modus ponens gives R true.
But R was false. The supposed counterexample contradicts itself, so no counterexample exists and the form is valid.
Theorem
Disjunctive Syllogism
also known as: process of elimination
The form
- P or Q.
- Not P.
\therefore Q.
is valid: no instance can have both premises true and the conclusion false.
What is this saying? If at least one of two options holds and you've ruled one out, the other must hold.
Why should I care? This is the process of elimination, used in diagnosis, repair, and detective work. It is also the valid form hiding behind the fake either-or mistake of chapter 6: the reasoning is fine, but the first premise wrongly claims there are only two options.
Intuition. "P or Q" says the answer is somewhere in two boxes. Opening one box and finding it empty tells you where the answer is.
Ingredients.
- P or Q: a disjunction, true when at least one part is true (both is allowed). It is false only when both parts are false.
- Not P: the second premise rules out one part. It must deny a part. Asserting a part tells you nothing about the other.
Example. "Either the fuse blew or the bulb burned out. The fuse didn't blow. So the bulb burned out."
Look-alike to avoid. "Either the fuse blew or the bulb burned out. The fuse blew. So the bulb didn't burn out." This is invalid: "or" allows both, so both might have failed. The mistake is called affirming a disjunct.
What breaks without a true first premise. If the options weren't really the only two (maybe the switch is broken), the argument stays valid but becomes unsound. That is exactly how a fake either-or works.
Show proof
Suppose, looking for a counterexample, that both premises are true and the conclusion Q is false.
Premise 2 is true, so P is false.
Now both P and Q are false, which makes "P or Q" false. But premise 1 was supposed to be true.
The supposed counterexample contradicts itself, so no counterexample exists and the form is valid.
Theorem
Conjunction (the argument form)
also known as: joining two claims with "and"
The form
- P.
- Q.
\therefore P and Q.
is valid: no instance can have both premises true and the conclusion false.
What is this saying? If two claims are each true, the claim that joins them with "and" is true.
Why should I care? It looks too obvious to name, but longer arguments use it constantly. Before you can use a premise that needs two facts together, you have to be allowed to put them together.
Intuition. "P and Q" asks for nothing beyond P being true and Q being true. The premises supply exactly that.
Ingredients.
- P and Q: a conjunction, true when both parts are true and false as soon as either part is false.
Example. "The contract is signed. The deposit is paid. So the contract is signed and the deposit is paid."
Look-alike to avoid. "P or Q; so P and Q" is invalid. An "or" claim can be true with only one part true.
Show proof
Suppose, looking for a counterexample, that P and Q are both true and "P and Q" is false. An "and" claim is false only when at least one part is false, but both parts are true. The supposition contradicts itself, so no counterexample exists and the form is valid.
Theorem
Simplification
also known as: taking one part of an "and" claim
The form
- P and Q.
\therefore P.
is valid, and so is the version that concludes Q instead.
What is this saying? If a claim of the form "P and Q" is true, each part of it is true on its own.
Why should I care? Premises often bundle several facts into one sentence. Simplification lets you pull out just the fact you need.
Intuition. An "and" claim is a package deal. If the package is true, everything in it is true.
Ingredients.
- P and Q: a conjunction, true only when both parts are true.
- The main "and": the rule applies when "and" joins the two halves of the whole premise. From "either P and Q, or R," you can't take out P, because that "and" sits inside an "or."
Example. "The store is open late and parking is free. So parking is free."
Look-alike to avoid. "P or Q; so P" is invalid. The "or" claim could be true because of Q alone.
Show proof
Suppose, looking for a counterexample, that "P and Q" is true and P is false. An "and" claim is true only when both parts are true, so P would have to be true. The supposition contradicts itself, so no counterexample exists and the form is valid. The same reasoning works with Q in place of P.
Theorem
Addition
also known as: weakening a claim with "or"
The form
- P.
\therefore P or Q.
is valid for any claim Q whatsoever.
What is this saying? If a claim is true, then the claim "that, or anything else" is true too.
Why should I care? Addition feels like cheating, because Q can be anything, even something false or off-topic. Seeing why it is still valid is a good test of whether you've understood that logic's "or" is inclusive. Addition also has real uses: it builds the "or" claim a later step needs, such as the "either this or that" premise of an argument that works through both cases.
Intuition. "P or Q" is a weaker claim than P. It only says at least one of the two is true. Once you know P, that is already guaranteed, so saying less can't make you wrong.
Ingredients.
- P: the premise, any claim.
- Q: any claim at all. It does not need to be true, related, or mentioned anywhere else.
- P or Q: a disjunction, true when at least one part is true.
Example. "The meeting is on Monday. So the meeting is on Monday or the moon is made of cheese." The conclusion is true, because its first part is true. It is an odd thing to say, but it is not false.
Look-alike to avoid. "P or Q; so P" runs addition backward and is invalid.
Show proof
Suppose, looking for a counterexample, that P is true and "P or Q" is false. An "or" claim is false only when both parts are false, which would make P false. The supposition contradicts itself, so no counterexample exists. Nothing in this argument depended on what Q says, so the form is valid for every Q.
Theorem
Constructive Dilemma
The form
- If P, then Q.
- If R, then S.
- P or R.
\therefore Q or S.
is valid: no instance can have all three premises true and the conclusion false.
What is this saying? You have two conditionals and know that at least one of their "if" parts holds. Then at least one of their "then" parts holds too.
Why should I care? It is the shape of every "either way" argument. "If I take the bus, I'll be late. If I drive, I'll pay for parking. I'll either take the bus or drive. So either I'll be late or I'll pay for parking." It is also modus ponens run on two tracks at once.
Intuition. Whichever of P or R is true, its own conditional fires. If P, you get Q. If R, you get S. Either way you end up with Q or S.
Ingredients.
- P, Q, R, S: four claims. Each conditional pairs one condition with one result.
- P or R: the third premise asserts the two conditions, the "if" parts, not the results.
- Or: inclusive. The conclusion is true when at least one of Q and S is true.
Example. "If the package went by air, it arrives Tuesday. If it went by ground, it arrives Friday. It went by air or by ground. So it arrives Tuesday or Friday."
Look-alike to avoid. If the third premise asserts the results ("Q or S") and the conclusion claims the conditions ("P or R"), the argument is invalid. That is affirming the consequent on two tracks.
Show proof
Suppose, looking for a counterexample, that all three premises are true and the conclusion "Q or S" is false. An "or" claim is false only when both parts are false, so Q and S are both false.
Premise 3 is true, so P is true or R is true.
- If P is true: premise 1 and modus ponens give Q true. But Q is false.
- If R is true: premise 2 and modus ponens give S true. But S is false.
Every option contradicts the supposition, so no counterexample exists and the form is valid.
Theorem
Destructive Dilemma
The form
- If P, then Q.
- If R, then S.
- Not Q or not S.
\therefore Not P or not R.
is valid: no instance can have all three premises true and the conclusion false.
What is this saying? You have two conditionals and know that at least one of their "then" parts fails. Then at least one of their "if" parts fails too.
Why should I care? It is modus tollens run on two tracks. "If the suspect was at the party, the guests saw him. If he was at the office, the cameras recorded him. Either the guests didn't see him or the cameras didn't record him. So either he wasn't at the party or he wasn't at the office."
Intuition. Whichever result fails, its own conditional runs backward. If Q fails, P must fail. If S fails, R must fail. Either way, one of the conditions fails.
Ingredients.
- P, Q, R, S: four claims. Each conditional pairs one condition with one result.
- Not Q or not S: the third premise denies the results, the "then" parts.
- Or: inclusive. The conclusion is true when at least one of "not P" and "not R" is true.
Example. "If the recipe is right, the bread rises. If the oven is hot enough, the crust browns. Either the bread didn't rise or the crust didn't brown. So either the recipe is wrong or the oven isn't hot enough."
Look-alike to avoid. Denying the conditions ("not P or not R") and concluding that a result fails ("not Q or not S") is invalid. That is denying the antecedent on two tracks.
Show proof
Suppose, looking for a counterexample, that all three premises are true and the conclusion "not P or not R" is false. An "or" claim is false only when both parts are false, so "not P" and "not R" are both false. That means P and R are both true.
From premise 1 and P, modus ponens gives Q true.
From premise 2 and R, modus ponens gives S true.
So "not Q" and "not S" are both false, which makes premise 3 false. But premise 3 was supposed to be true.
The supposed counterexample contradicts itself, so no counterexample exists and the form is valid.
Categorical Logic: A Bridge
Theorem
The Boolean square of opposition
also known as: the modern square of opposition
Take the four categorical statements with the same subject term S and predicate term P:
- A: All S are P.
- E: No S are P.
- I: Some S are P.
- O: Some S are not P.
On the Boolean reading, A and O are contradictories, and E and I are contradictories: in each pair exactly one statement is true. No other pair of the four has a fixed logical relation.
What is this saying? "All S are P" and "Some S are not P" can never both be true or both be false; the same goes for "No S are P" and "Some S are P." Every other link you might expect, such as getting "some" from "all," can fail.
Why should I care? The square tells you what you may infer from one categorical statement about the other three. Knowing that only the diagonals are safe keeps you from drawing conclusions about a class that might have no members.
Intuition. Each diagonal pair talks about the same region of a Venn diagram. The A statement says the region "S but not P" is empty; the O statement says that same region has something in it. A region is either empty or not, so one of the two is right and the other is wrong.
Ingredients.
- S, P: the subject and predicate classes. They may have members or may be empty.
- Contradictories: two statements that always have opposite truth values.
- Boolean reading: "all" and "no" statements make no claim that anything exists; "some" means at least one thing exists.
Example. "All phones in the box are charged" and "Some phones in the box are not charged": whatever is in the box, one is true and the other false.
What breaks without the Boolean reading's care about empty classes. Let S be the class of unicorns. "All unicorns are white" and "No unicorns are white" are both true (there are no unicorns to break either), so A and E are not contraries. "Some unicorns are white" and "Some unicorns are not white" are both false, so I and O are not subcontraries. And A is true while I is false, so the step from "all" to "some" (subalternation) fails. The traditional square assumed every subject class has members; the Boolean square does not.
Show proof
Draw circles for S and P. There are two regions that matter: the part of S outside P, and the part of S inside P.
A and O. "All S are P" is true exactly when the part of S outside P is empty. "Some S are not P" is true exactly when that same part has at least one member. A region is empty or has a member, never both and never neither, so exactly one of A and O is true.
E and I. "No S are P" is true exactly when the part of S inside P is empty. "Some S are P" is true exactly when that part has a member. By the same reasoning, exactly one of E and I is true.
No other fixed relation. Each of the two regions is empty or occupied, so there are four cases. The table gives the value of each statement in each case.
| S outside P | S inside P | A | E | I | O |
|---|---|---|---|---|---|
| empty | empty | T | T | F | F |
| empty | occupied | T | F | T | F |
| occupied | empty | F | T | F | T |
| occupied | occupied | F | F | T | T |
Take any pair other than the two diagonals: A and E, A and I, E and O, or I and O. Reading its two columns down the table, all four combinations appear (both true, both false, and each one true alone). So none of these pairs is forced to agree, forced to differ, or forced one way only, as subalternation would need. The first row is the unicorn case above.
Theorem
When conversion, obversion, and contraposition are valid
also known as: immediate inferences on the Boolean reading
On the Boolean reading:
| Operation | What it does | Gives an equivalent statement for |
|---|---|---|
| Conversion | swap S and P | E and I only |
| Obversion | change the quality and replace P with non-P | A, E, I, and O |
| Contraposition | swap S and P and replace both with their complements | A and O only |
For example, "No S are P" says the same as "No P are S." "All S are P" says the same as "No S are non-P." And "All S are P" says the same as "All non-P are non-S."
What is this saying? Each of the three ways of rewriting a categorical statement is safe for some statement types and not others. Obversion is always safe. Conversion is safe only for "no" and "some โฆ are" statements. Contraposition is safe only for "all" and "some โฆ are not" statements.
Why should I care? Real arguments rarely state their premises in the shape a syllogism needs. These operations let you rewrite a statement into the shape you need, as long as you use one that keeps its meaning.
Intuition. A categorical statement is a claim that one region of the Venn diagram is empty or occupied. An operation is safe exactly when the new statement is a claim about the same region.
Ingredients.
- S, P: the subject and predicate terms.
- Complement (non-S, non-P): everything not in that class.
- Quality: affirmative (A, I) or negative (E, O).
- Equivalent: true in the same situations, and false in the same ones.
Example. "No reptiles are mammals" converts to "No mammals are reptiles." But "All cats are mammals" does not convert: "All mammals are cats" is false.
What breaks. Converting an A statement or an O statement, or contraposing an E or an I statement, can take a true statement to a false one.
Show proof
Use the regions of a two-circle diagram: "S not P," "S and P," and "P not S" (plus everything outside both).
Conversion. E says "S and P" is empty; its converse "No P are S" says "P and S" is empty. That is the same region, so they are equivalent. The I statement and its converse both say that region is occupied. A says "S not P" is empty, but its converse says "P not S" is empty, a different region; "All cats are mammals" shows they can differ. O fails the same way.
Obversion. Being outside non-P is the same as being inside P. So "No S are non-P" says the part of S inside non-P, which is "S not P," is empty: exactly what A says. The E, I, and O cases work the same way, each obverse describing the same region with the same verdict.
Contraposition. "All non-P are non-S" says nothing is outside P and inside S, the region "S not P," which is what A says. "Some non-P are not non-S" says something is outside P and inside S, which is what O says. E contraposes to "No non-P are non-S," a claim about the region outside both circles, not the region E is about; "No cats are dogs" is true but "No non-dogs are non-cats" is false (a horse is both). I fails the same way.
Theorem
The five rules for categorical syllogisms
also known as: the syllogism rules, the distribution rules
A standard-form categorical syllogism is valid on the Boolean reading if and only if it satisfies all five rules:
- The middle term is distributed in at least one premise.
- Any term distributed in the conclusion is distributed in the premise that contains it.
- The premises are not both negative.
- A negative premise requires a negative conclusion, and a negative conclusion requires a negative premise.
- If both premises are universal, the conclusion is not particular.
Breaking rule 1 is the undistributed middle; breaking rule 2 is illicit major or illicit minor; rule 3 is exclusive premises; rule 5 is the existential fallacy. Breaking rule 4 is an affirmative conclusion from a negative premise (or a negative conclusion from affirmative premises).
What is this saying? You can check a syllogism without drawing anything: look at which terms each statement is about "all of," count the negatives, and check whether the conclusion claims existence that the premises don't. Pass all five checks and the syllogism is valid; fail any one and it is invalid.
Why should I care? The rules are faster than a Venn diagram and they name exactly what is wrong with a bad syllogism, which is what you need to explain or repair it.
Intuition. The middle term is the bridge between the other two terms; if neither premise talks about the whole middle class, the two premises may be talking about different parts of it and never meet. And a conclusion can't say more about a class, or claim more existence, than the premises gave it.
Ingredients.
- Distributed term: one the statement says something about every member of. A distributes its subject; E distributes both terms; I distributes neither; O distributes its predicate.
- Middle term: in both premises, not in the conclusion.
- Negative: an E or O statement. Universal: A or E. Particular: I or O.
Example. "All dogs are mammals. All cats are mammals. So all cats are dogs." The middle term "mammals" is the predicate of two A statements, so it is never distributed. Rule 1 fails: undistributed middle.
What breaks without rule 5. "All unicorns are horses. All horses are animals. So some unicorns are animals." Both premises are true (there are no unicorns to break the first), but the conclusion claims a unicorn exists.
Show proof
The proof is an exhaustive check with two independent halves.
Validity, decided directly. Three circles make eight regions. For each of the 256 moods and figures, try every way of marking those eight regions empty or occupied, and look for one that makes both premises true and the conclusion false. Exactly fifteen forms have no such case, so exactly fifteen are valid. This half never uses the rules.
The rules, applied separately. Apply the five rules to the same 256 forms. Exactly fifteen pass all five, and they are the same fifteen.
So a form passes all five rules if and only if it is valid. That gives both directions at once. A form that breaks any rule is one of the 241 with a counterexample, and a form that passes every rule is one of the fifteen valid ones. The check is mechanical rather than deep, so it is summarized here rather than written out. The examples on this card show why individual rules matter, but a single example per rule would not prove the theorem on its own.
Theorem
The fifteen valid categorical syllogisms
also known as: the unconditionally valid forms
On the Boolean reading, exactly fifteen of the 256 standard-form categorical syllogism forms are valid:
| Figure 1 | Figure 2 | Figure 3 | Figure 4 |
|---|---|---|---|
| AAA | EAE | IAI | AEE |
| EAE | AEE | AII | IAI |
| AII | EIO | OAO | EIO |
| EIO | AOO | EIO |
What is this saying? A syllogism's form is fixed by its mood (the types of its three statements) and its figure (where the middle term sits). Of all possible forms, only these fifteen guarantee their conclusion, and every one of them passes all five syllogism rules.
Why should I care? If you can name a syllogism's mood and figure, you can look up whether it is valid. The list is also a cross-check: a Venn diagram test or a rules test that disagrees with the table has a mistake in it.
Intuition. Most combinations break a rule, often by leaving the middle term undistributed or by drawing a "some" conclusion from "all" premises. The fifteen survivors are the combinations that break none.
Ingredients.
- Mood: three letters for the major premise, minor premise, and conclusion, in that order.
- Figure: 1, middle term is the subject of the major premise and the predicate of the minor; 2, predicate of both; 3, subject of both; 4, predicate of the major and subject of the minor.
- Boolean reading: no "all" or "no" statement asserts that its subject class has members.
Example. "All poets are dreamers. Some teachers are poets. So some teachers are dreamers" is AII in figure 1, in the table, so it is valid.
What breaks under the Boolean reading. The traditional list has nine more forms (such as AAI in figure 1) that are valid only if some class is assumed to have members. On the Boolean reading each of them commits the existential fallacy.
Show proof
There are 4 ร 4 ร 4 moods and 4 figures, 256 forms in all. Test each one directly, without the five rules. A three-circle diagram has eight regions, and each can be empty or occupied. For each form, try all of these region patterns and look for one that makes both premises true and the conclusion false.
For the fifteen forms in the table, no pattern does it: drawing the premises always draws the conclusion too, so each is valid. For each of the other 241 forms, some pattern does it. That pattern is a counterexample, so the form is invalid. The five-rules card reaches the same fifteen by a different route, which is why the two can check each other.
Truth Tables
Formula
The five characteristic truth tables
also known as: the truth tables of the connectives
| A | B | \neg A | A \wedge B | A \vee B | A \to B | A \leftrightarrow B |
|---|---|---|---|---|---|---|
| T | T | F | T | T | T | T |
| T | F | F | F | T | F | F |
| F | T | T | F | T | T | F |
| F | F | T | F | F | T | T |
What is this saying? These four rows are the complete definition of the five connectives. "Not" flips a value. "And" is true only when both parts are. "Or" is false only when both parts are. "If โฆ then" is false only when the first part is true and the second false. "If and only if" is true when the two parts match.
Why should I care? Every truth-table calculation in the course, and every rule in the proof system, comes back to these rows. If you know them cold, you can work out the value of any sentence on any row.
Intuition. Read each column as the one situation that breaks the claim. A conjunction breaks when any part fails; a disjunction breaks only when every part fails; a conditional breaks only when its promise is tested and not kept.
Ingredients.
- A, B: any sentences, atomic or compound.
- T, F: true and false.
- \neg (not), \wedge (and), \vee (inclusive or), \to (if โฆ then), \leftrightarrow (if and only if).
Example. With A false and B true (row 3): \neg A is T, A \wedge B is F, A \vee B is T, A \to B is T, and A \leftrightarrow B is F.
What to watch. \vee is inclusive: row 1 is T. \to is not symmetric: rows 2 and 3 differ.
Theorem
Why the conditional's truth table is forced
also known as: ruling out the alternatives for "if โฆ then"
Suppose "if A then B" is truth-functional, is false when A is true and B false, and is true when both are true. Then its only reasonable table is the material conditional:
| A | B | A \to B |
|---|---|---|
| T | T | T |
| T | F | F |
| F | T | T |
| F | F | T |
Every other way of filling the last two rows turns "if A then B" into a sentence that says something different.
What is this saying? Once you agree on the first two rows, which nearly everyone does, the rows where A is false have to be true. Any other choice makes "if" mean "and," or "if and only if," or makes the "if" part irrelevant.
Why should I care? The rows where a false antecedent makes the conditional true are the part of the table students find strangest. This argument shows they aren't arbitrary: they are what is left when the alternatives are ruled out.
Intuition. A conditional is a promise about what happens when A is true. When A is false the promise was never tested, so it hasn't been broken.
Ingredients.
- Truth-functional: the value of "if A then B" depends only on the values of A and B.
- Rows 1 and 2: the promise kept (T) and the promise broken (F).
- Rows 3 and 4: the rows with a false antecedent, the ones in question.
Example. "If you score over 90, you get an A." A student who scores 85 and gets an A hasn't shown the promise false, and neither has a student who scores 85 and gets a B.
Where the fit is poor. Because the table depends only on truth values, "If the moon is cheese, then 2 + 2 = 4" comes out true. English "if" often suggests a connection between the parts that the table doesn't record.
Show proof
Rows 1 and 2 are fixed as T and F. Rows 3 and 4 can be filled four ways.
- F, F. The column is T, F, F, F, the table for A \wedge B. Then "if A then B" would assert A, but "if it rains, the game is off" doesn't claim that it is raining.
- T, F. The column is T, F, T, F, the same as B's own column. Then "if A then B" would just say B, and the "if" part would do nothing.
- F, T. The column is T, F, F, T, the table for A \leftrightarrow B. Then "if A then B" would say the same as "if B then A," but "if it's a dog, it's a mammal" is true while "if it's a mammal, it's a dog" is false.
- T, T. The column is T, F, T, T: the material conditional.
The first three choices each misdescribe a clear case, so only the last remains.
Formula
The number of rows in a truth table
also known as: 2 to the n rows
A complete truth table for sentences built from n distinct sentence letters has 2^n rows, one for each valuation.
What is this saying? Each new letter doubles the number of rows: 1 letter gives 2 rows, 2 letters give 4, 3 give 8, 4 give 16, and so on.
Why should I care? It tells you how big a table you're about to build, and it's why tables stop being practical: 6 letters already need 64 rows. That growth is the reason the course develops faster tests and formal proofs.
Intuition. Each letter can be T or F independently of the others, so every choice for one letter pairs with every combination for the rest.
Ingredients.
- n: the number of different sentence letters, counting each letter once however many times it appears.
- Valuation: one assignment of T or F to every letter; one row.
Example. (P \wedge Q) \to (R \vee P) has three distinct letters, P, Q, and R, so its table has 2^3 = 8 rows.
Standard order. List the rows so the rightmost letter alternates every row, the next letter every 2 rows, the next every 4, and the leftmost letter is T for the top half and F for the bottom half. Then no row is missed or repeated.
Show proof
With 1 letter there are 2 valuations: T and F. Suppose k letters have 2^k valuations. Adding one more letter, each of those valuations can be extended with the new letter T or with it F, giving 2 \cdot 2^k = 2^{k+1} valuations, and every valuation of the k+1 letters arises exactly once this way. So each new letter doubles the count, and n letters give 2^n.
Three Kinds of Sentences
Theorem
Tautology, contradiction, contingency
also known as: the three kinds of sentences
Every sentence of sentential logic is exactly one of:
- a tautology: true on every row of its truth table;
- a contradiction: false on every row;
- a contingency: true on at least one row and false on at least one.
Moreover, A is a tautology if and only if \neg A is a contradiction, and A is contingent if and only if \neg A is contingent.
What is this saying? Look down the main connective's column. All T, all F, or a mix: those are the only possibilities, and they don't overlap. Negating a sentence swaps "always true" and "always false" and leaves "it depends" alone.
Why should I care? A tautology is true because of its form alone, so it tells you nothing about the world. A contradiction can't be true however the world is. A contingency is the kind of sentence whose truth you have to go and check.
Intuition. A column of T's and F's has only three shapes: no F's, no T's, or some of each.
Ingredients.
- Row: one valuation of the sentence letters.
- \neg: negation, which flips every entry in the column.
Example. P \vee \neg P is a tautology, P \wedge \neg P is a contradiction, and P \to Q is a contingency (false only when P is T and Q is F).
What breaks if you check only some rows. A sentence that is true on every row you happened to check might still be false on another, so it may be contingent rather than a tautology.
Show proof
A sentence's column has at least one entry. Either it contains no F (a tautology), or no T (a contradiction), or at least one of each (a contingency). These cases are exhaustive and don't overlap, since a column with at least one entry can't lack both.
Negation flips every entry of the column. So a column of all T's becomes all F's and the reverse, and a column containing both values still contains both.
Theorem
The law of excluded middle
also known as: tertium non datur
For every sentence A, A \vee \neg A is a tautology.
What is this saying? Any sentence is either true or false; there is no third, middle option. So "A or not A" can't come out false.
Why should I care? It is the simplest tautology and a building block for longer arguments: reasoning by cases often starts by saying "either this is true or it isn't." In chapter 17 you'll also prove it from no premises at all.
Intuition. Whichever value A has, one of the two disjuncts is true, and a disjunction needs only one.
Ingredients.
- A: any sentence, atomic or compound.
- \vee, \neg: inclusive or, and not.
Example. "The store is open or it isn't open" is true whatever the store's hours are.
Not to be confused with. Excluded middle says a sentence OR its negation is true. It does not say you know which. "Either the meeting is on Tuesday or it isn't" is true even if you have no idea when the meeting is.
Show proof
There are two rows. If A is T, the first disjunct of A \vee \neg A is T, so the disjunction is T. If A is F, then \neg A is T, so the disjunction is again T. It is true on every row, so it is a tautology.
Theorem
The law of non-contradiction
also known as: no sentence is both true and false
For every sentence A, \neg(A \wedge \neg A) is a tautology; equivalently, A \wedge \neg A is a contradiction.
What is this saying? A sentence and its negation are never true together, so "A and not A" is false on every row, and its negation is true on every row.
Why should I care? Much of logic runs on this. A set of sentences that contains both A and \neg A can't all be true, and deriving such a pair in a proof shows that an assumption has to go.
Intuition. \neg A has the opposite value of A on every row, so the two are never both T.
Ingredients.
- A: any sentence.
- \wedge, \neg: and, and not.
Example. "The light is on and the light is not on" is false on every reading, whatever the light is doing.
Not to be confused with. Non-contradiction is about a sentence and its exact negation. "The room is warm" and "the room is cold" can both be false (a mild room is neither), because neither sentence is the negation of the other.
Show proof
If A is T, then \neg A is F, so A \wedge \neg A is F. If A is F, the first conjunct is F, so A \wedge \neg A is F. It is false on every row, a contradiction, and its negation \neg(A \wedge \neg A) is therefore true on every row, a tautology.
Theorem
Inconsistency and contradiction
also known as: a set is inconsistent when its conjunction is a contradiction
Sentences A_1, A_2, \dots, A_n are jointly consistent if and only if the conjunction A_1 \wedge A_2 \wedge \dots \wedge A_n is not a contradiction. They are inconsistent if and only if that conjunction is a contradiction.
What is this saying? Asking whether several sentences can be true together is the same as asking whether "all of them" is ever true. If some row makes the big conjunction true, that row makes every sentence true.
Why should I care? It turns a question about a set of sentences into a question about one sentence, which a truth table answers directly. It also explains why inconsistent premises behave oddly in arguments (chapter 15).
Intuition. A conjunction is true exactly on the rows where every conjunct is true.
Ingredients.
- A_1, \dots, A_n: any sentences; the dots mean "and so on up to A_n."
- Consistent: some one row makes every A_i true.
- Contradiction: false on every row.
Example. P \vee Q, \neg P, and \neg Q: their conjunction is false on every row, so the three are inconsistent, even though every pair of them is consistent.
What breaks if you check pairs. Consistency is about one row that works for all the sentences at once. Showing that each pair can be true together is not enough, as the example shows.
Show proof
By the table for \wedge (extended to several conjuncts), the conjunction is true on a row exactly when every conjunct is true on that row. So some row makes all the A_i true if and only if some row makes the conjunction true, that is, if and only if the conjunction is not a contradiction.
Logical Equivalence
Theorem
Equivalence is a tautologous biconditional
also known as: the equivalence test
Two sentences A and B are logically equivalent, written A \equiv B, exactly when they have the same truth value on every row. This holds if and only if A \leftrightarrow B is a tautology.
What is this saying? Equivalent sentences are two ways of saying the same thing: no possible situation makes one true and the other false. Since \leftrightarrow is true just when its two sides match, "they always match" is the same as "their biconditional is always true."
Why should I care? It lets you check an equivalence with the tools you already have: build one table and look at one column. It also explains why equivalent sentences can replace each other in reasoning.
Intuition. A \leftrightarrow B is false only on rows where A and B disagree. No such rows means no F in the biconditional's column.
Ingredients.
- \equiv: "is logically equivalent to." It is a claim ABOUT two sentences, not a connective inside a sentence.
- \leftrightarrow: the biconditional connective, which builds one sentence from two.
- Tautology: true on every row.
Example. P \to Q and \neg P \vee Q have the columns T, F, T, T and T, F, T, T. They match on every row, so P \to Q \equiv \neg P \vee Q.
What breaks if you check one row. Two sentences can agree on one row and disagree on another: P \wedge Q and P \vee Q agree when both letters are T but not when only P is. Equivalence needs every row.
Show proof
A \leftrightarrow B is T on a row exactly when A and B have the same value on that row. So A \leftrightarrow B is T on every row if and only if A and B have the same value on every row, which is the definition of A \equiv B.
Theorem
The law of double negation
also known as: DN
For every sentence A, \neg\neg A \equiv A.
What is this saying? Denying a denial gets you back where you started: "it is not the case that it is not raining" says it is raining.
Why should I care? Double negations turn up constantly when you push a negation inward with De Morgan's laws or rewrite a conditional. This law is what lets you clean them up.
Intuition. Each \neg flips the truth value. Two flips return the original value.
Ingredients.
- A: any sentence.
- \neg\neg A: the negation of the negation of A.
- \equiv: same truth value on every row.
Example. "It's not true that the store isn't open" is equivalent to "the store is open."
What doesn't follow. Double negation cancels two negations applied to the same sentence. In \neg(\neg P \wedge Q) the two \neg signs apply to different sentences, and they don't cancel: that sentence is equivalent to P \vee \neg Q, not to P \wedge Q.
Show proof
If A is T, then \neg A is F and \neg\neg A is T. If A is F, then \neg A is T and \neg\neg A is F. On both rows \neg\neg A has the same value as A.
Theorem
De Morgan's Laws (Propositional Logic)
For any propositions p and q: \neg(p \wedge q) \equiv \neg p \vee \neg q \neg(p \vee q) \equiv \neg p \wedge \neg q
What is this saying? To deny an "and," deny at least one of its parts: "not both" means "one or the other fails." To deny an "or," deny both parts: "not either" means "neither." In each law the \neg moves onto each part, and the connective swaps.
Why should I care? These two laws are how you push a "not" inside a bracket. You need them to simplify a sentence, to put it in a normal form, and to state plainly what a denial claims.
Intuition. "Not both a towel and a mat" allows a towel alone. So it can't mean "no towel and no mat." It means "no towel, or no mat." The "and" had to turn into "or" once the "not" moved in.
Ingredients.
- p, q: any two propositions. Capital letters such as A and B work the same way.
- \neg: "not." \wedge: "and." \vee: "or."
- \equiv: the two sides have the same truth value on every row.
Example. "It's not true that the cafรฉ is open and serving lunch" is equivalent to "the cafรฉ is closed, or it isn't serving lunch."
What doesn't follow. The \neg does not just copy onto each part. \neg(p \wedge q) is not equivalent to \neg p \wedge \neg q: on the row p = T, q = F, the first is true and the second false.
Show proof
Both are checked directly by truth table -- a finite, exhaustive check suffices since there are only 2^2=4 rows to consider for two atoms.
First law. At p=T,q=T: left side \neg(T\wedge T)=\neg T=F; right side \neg T\vee\neg T=F\vee F=F. At p=T,q=F: left side \neg(T\wedge F)=\neg F=T; right side F\vee T=T. At p=F,q=T: left side \neg(F\wedge T)=T; right side T\vee F=T. At p=F,q=F: left side \neg(F\wedge F)=T; right side T\vee T=T. Every row matches.
Second law. At p=T,q=T: left side \neg(T\vee T)=F; right side F\wedge F=F. At p=T,q=F: left side \neg(T\vee F)=F; right side F\wedge T=F. At p=F,q=T: left side \neg(F\vee T)=F; right side T\wedge F=F. At p=F,q=F: left side \neg(F\vee F)=T; right side T\wedge T=T. Every row matches.
Theorem
The commutative, associative, and distributive laws
also known as: regrouping laws for and and or
For all sentences A, B, C:
| Law | For \wedge | For \vee |
|---|---|---|
| Commutative | A \wedge B \equiv B \wedge A | A \vee B \equiv B \vee A |
| Associative | (A \wedge B) \wedge C \equiv A \wedge (B \wedge C) | (A \vee B) \vee C \equiv A \vee (B \vee C) |
| Distributive | A \wedge (B \vee C) \equiv (A \wedge B) \vee (A \wedge C) | A \vee (B \wedge C) \equiv (A \vee B) \wedge (A \vee C) |
What is this saying? You can swap the two sides of an "and" or an "or." In a chain of "and"s only, or of "or"s only, the brackets can go anywhere. And an "and" spreads over an "or" (and the other way round) the way multiplication spreads over addition.
Why should I care? These are the laws you use most often in a chain of equivalences, and knowing which regroupings are NOT allowed is just as important.
Intuition. A conjunction is true when all its parts are true, however they are ordered or bracketed; a disjunction is true when any part is. The distributive laws say that "A, and also B or C" is true in exactly the cases "A and B, or A and C" covers.
Ingredients.
- A, B, C: any sentences.
- \equiv: same truth value on every row.
Example. "Soup, and salad or bread" is equivalent to "soup and salad, or soup and bread."
What does not hold.
- \to is not commutative: A \to B and B \to A differ when A is T and B is F.
- Brackets can't be moved across two different connectives: (A \wedge B) \vee C is not equivalent to A \wedge (B \vee C) (make A F and C T).
Show proof
Each law is checked by a truth table: 4 rows for the commutative laws and 8 rows for the others. For the first distributive law, both sides are T exactly when A is T and at least one of B, C is T: the left side because A and B \vee C must both be T; the right side because one of A \wedge B and A \wedge C must be T. The second distributive law is checked the same way: both sides are T exactly when A is T or both B and C are T.
Theorem
Idempotence, identity, domination, and negation laws
also known as: the simplification laws
For every sentence A, with P \vee \neg P standing for any tautology and P \wedge \neg P for any contradiction:
| Law | For \wedge | For \vee |
|---|---|---|
| Idempotent | A \wedge A \equiv A | A \vee A \equiv A |
| Identity | A \wedge (P \vee \neg P) \equiv A | A \vee (P \wedge \neg P) \equiv A |
| Domination | A \wedge (P \wedge \neg P) \equiv P \wedge \neg P | A \vee (P \vee \neg P) \equiv P \vee \neg P |
| Negation | A \wedge \neg A \equiv P \wedge \neg P | A \vee \neg A \equiv P \vee \neg P |
What is this saying? Saying the same thing twice adds nothing. Adding a tautology with "and," or a contradiction with "or," changes nothing. A tautology swamps any "or" it joins, and a contradiction swamps any "and." And A with its own negation gives a contradiction ("and") or a tautology ("or").
Why should I care? These laws are how a step-by-step rewrite of a sentence gets shorter: they remove repetition and throw away parts that can't affect the truth value.
Intuition. A tautology is T on every row, so in an "and" it never changes the result, and in an "or" it makes the result T on every row. A contradiction does the mirror image.
Ingredients.
- A: any sentence.
- P \vee \neg P: stands for any tautology; any other tautology works the same way.
- P \wedge \neg P: stands for any contradiction.
Example. "The shop is open, and it's raining or it isn't" is equivalent to "the shop is open."
Watch the pairing. Identity and domination swap roles between \wedge and \vee: a tautology is harmless in an "and" but takes over an "or."
Show proof
Each law is a two-row (or, with P as a separate letter, four-row) truth table check. For identity with \wedge: P \vee \neg P is T on every row, so A \wedge (P \vee \neg P) is T exactly when A is. For domination with \vee: A \vee (P \vee \neg P) has a T disjunct on every row, so it is T on every row. The others are checked the same way.
Theorem
Conditional and biconditional equivalences
also known as: material implication, contraposition, and the biconditional laws
For all sentences A and B:
- Material implication: A \to B \equiv \neg A \vee B
- Contraposition: A \to B \equiv \neg B \to \neg A
- Negated conditional: \neg(A \to B) \equiv A \wedge \neg B
- Biconditional as two conditionals: A \leftrightarrow B \equiv (A \to B) \wedge (B \to A)
- Biconditional as matching: A \leftrightarrow B \equiv (A \wedge B) \vee (\neg A \wedge \neg B)
What is this saying? A conditional says "either the condition fails or the result holds." It says the same as its contrapositive ("if not the result, then not the condition"). It is false only when the condition holds and the result doesn't. A biconditional is two conditionals, one each way, or equivalently "both true or both false."
Why should I care? These let you remove \to and \leftrightarrow from any sentence, which is the first step toward a normal form, and they explain which rewrites of a conditional are safe.
Intuition. Each law restates the conditional's one false row (A T, B F) or the biconditional's two false rows (the rows where A and B differ).
Ingredients.
- A, B: any sentences.
- Contrapositive: \neg B \to \neg A. The converse is B \to A and the inverse is \neg A \to \neg B; neither is equivalent to A \to B.
Example. "If it rains, the game is postponed" โก "It doesn't rain, or the game is postponed" โก "If the game isn't postponed, it didn't rain."
What does not hold. \neg(A \to B) is not \neg A \to \neg B. And A \to B is not equivalent to its converse B \to A or its inverse.
Show proof
Each is a four-row truth table check. For (1): A \to B is F only when A is T and B is F; \neg A \vee B is F only when \neg A and B are both F, which is the same row. For (2): \neg B \to \neg A is F only when \neg B is T and \neg A is F, that is, B F and A T, the same row again. For (3): negate (1) and apply De Morgan and double negation. For (4): the right side is F exactly when one of the two conditionals is F, which happens exactly on the rows where A and B differ, the rows where A \leftrightarrow B is F. (5) is T exactly on the two rows where A and B match.
Theorem
Replacement of equivalents
also known as: substitution of equivalents
If B \equiv C, and A' is the result of replacing one occurrence of B inside the sentence A with C, then A \equiv A'.
What is this saying? If two sentences always have the same truth value, you can swap one for the other inside a bigger sentence without changing the bigger sentence's truth value on any row.
Why should I care? This is what makes a chain of equivalences work. The laws are stated for whole sentences, but you usually apply them to a part: rewriting \neg\neg Q as Q inside P \wedge \neg\neg Q, for example.
Intuition. Every connective is truth-functional: the value of a compound depends only on the values of its parts. If a part keeps its value on every row, the whole does too.
Ingredients.
- A: the larger sentence. B: a part of it. C: a sentence equivalent to B.
- A': A with that occurrence of B replaced by C.
- Truth-functional: depending only on the truth values of the parts.
Example. Since \neg\neg Q \equiv Q, the sentence P \wedge \neg\neg Q is equivalent to P \wedge Q.
What breaks if the replaced part doesn't match. The part you replace must be a whole subsentence exactly matching B. In \neg P \wedge Q there is no subsentence \neg(P \wedge Q), so De Morgan's law can't be applied there.
Show proof
Fix a row. Build A from its parts, starting from the smallest. Up to the point where B appears, A and A' have identical parts. At B's position, B and C have the same value on this row, since they are equivalent. Every connective above that position then receives the same input values in A and in A', so, being truth-functional, it produces the same output. So A and A' get the same value on this row, and the row was arbitrary.
Theorem
Every sentence has a disjunctive and a conjunctive normal form
also known as: normal form theorem
Every sentence of sentential logic is logically equivalent to a sentence in disjunctive normal form (an "or" of "and"s of literals) and to a sentence in conjunctive normal form (an "and" of "or"s of literals).
What is this saying? However tangled a sentence is, you can rewrite it as a list of alternatives, each a plain "these letters true, those false" combination. You can also rewrite it as a list of requirements, each a plain "at least one of these" condition.
Why should I care? Normal forms give every sentence a standard shape, so two sentences can be compared by putting both into it. The DNF construction also shows that the five connectives can express any truth table at all.
Intuition. A sentence is true on certain rows. Describe each of those rows with an "and" of literals, then join the descriptions with "or." The result is true on exactly those rows.
Ingredients.
- Literal: a sentence letter or its negation, such as P or \neg Q.
- DNF: a disjunction of one or more conjunctions of literals.
- CNF: a conjunction of one or more disjunctions of literals.
Example. P \leftrightarrow Q is true on the rows TT and FF, so its DNF is (P \wedge Q) \vee (\neg P \wedge \neg Q). Its CNF is (\neg P \vee Q) \wedge (P \vee \neg Q).
Not unique. A sentence has many equivalent DNFs and CNFs; the theorem says at least one exists, not that it is the only one.
Show proof
DNF. List the rows on which the sentence S is true. For each such row, form the conjunction of literals that is true on that row and no other: the letter itself if it is T there, its negation if F. The disjunction of these conjunctions is true on exactly the rows where S is true, so it is equivalent to S. If S is true on no row, P \wedge \neg P is a DNF for it.
CNF. Find a DNF for \neg S as above. Negate it: \neg\neg S \equiv S. Push the outer negation inward with De Morgan's laws, which turns the "or" of "and"s into an "and" of "or"s, and remove double negations. The result is a CNF equivalent to S.
Testing Arguments with Truth Tables
Theorem
The truth-table test for validity
also known as: validity as entailment; the decision procedure
An argument in sentential logic with premises A_1, \dots, A_n and conclusion C is valid if and only if no row of their joint truth table makes every premise true and C false. When this holds we write A_1, \dots, A_n \models C. Because a table has finitely many rows, this test always gives an answer.
What is this saying? To test an argument, build one table with a column for each premise and for the conclusion, and look only at the rows where every premise is T. If the conclusion is T on all of those rows, the argument is valid. If it is F on even one, the argument is invalid, and that row is a countermodel.
Why should I care? Chapter 3 defined validity in terms of possible situations, which you had to imagine. For sentential arguments this turns the definition into a mechanical check that is guaranteed to finish.
Intuition. In sentential logic, all that matters about a situation is which sentence letters it makes true. So "every possible situation" comes down to "every row."
Ingredients.
- A_1, \dots, A_n: the premises. C: the conclusion.
- \models: "entails." A_1, \dots, A_n \models C says every row making all the premises true makes C true.
- Countermodel: a row with every premise T and C F.
Example. For P \to Q, Q, therefore P: the row P F, Q T makes both premises T and the conclusion F. So the argument (affirming the consequent) is invalid.
What does not count. A row where every premise AND the conclusion is T shows nothing. Valid and invalid arguments both usually have such rows.
Show proof
By definition, an argument is valid when no possible situation makes every premise true and the conclusion false. Each sentence here is built from sentence letters by truth-functional connectives, so its truth value in a situation depends only on the values the situation gives those letters, which is one row of the table. A situation with true premises and a false conclusion therefore exists exactly when a row with true premises and a false conclusion exists. There are 2^k rows for k letters, so the search ends.
Theorem
Entailment and the conditional
also known as: the deduction theorem (semantic form)
For any sentences A_1, \dots, A_n and C, A_1, \dots, A_n \models C \quad\text{if and only if}\quad (A_1 \wedge \dots \wedge A_n) \to C \text{ is a tautology.}
What is this saying? An argument is valid exactly when the single "if all the premises, then the conclusion" sentence can never be false.
Why should I care? It links two ideas you have met separately: validity of arguments and tautologies of single sentences. Any question about one can be turned into a question about the other, and it explains why a valid argument form gives a tautology when you write it as one conditional.
Intuition. The conditional is false only on rows where its antecedent, the conjunction of the premises, is T and its consequent, the conclusion, is F. Those are exactly the countermodel rows.
Ingredients.
- \models: entails.
- A_1 \wedge \dots \wedge A_n: the conjunction of all the premises.
- Tautology: true on every row.
Example. Modus ponens is valid, and ((P \to Q) \wedge P) \to Q is a tautology.
What does not follow. A tautologous conditional says the argument is valid. It does not say the premises are true, so it says nothing about soundness.
Show proof
(A_1 \wedge \dots \wedge A_n) \to C is F on a row exactly when the conjunction is T and C is F on that row, that is, when every A_i is T and C is F. So the conditional is a tautology exactly when no row has every premise T and C F, which by the truth-table test is exactly when A_1, \dots, A_n \models C.
Theorem
Inconsistent premises and tautological conclusions
also known as: the two odd cases of validity
- If the premises A_1, \dots, A_n are inconsistent, then A_1, \dots, A_n \models C for every sentence C.
- If C is a tautology, then A_1, \dots, A_n \models C for any premises at all, including none.
What is this saying? An argument whose premises can never all be true is valid whatever its conclusion. An argument whose conclusion can never be false is valid whatever its premises. In both cases the premises and conclusion may have nothing to do with each other.
Why should I care? These cases look like mistakes, and a common first reaction is to call them invalid. They follow directly from the definition, and seeing why makes the definition clearer. They are also why validity alone isn't enough: an argument with inconsistent premises is valid but can never be sound.
Intuition. Validity only forbids one kind of row: premises all T, conclusion F. If the premises are never all T, or the conclusion is never F, that kind of row can't exist.
Ingredients.
- Inconsistent: no row makes all the premises true together.
- Tautology: true on every row.
- \models: entails.
Example. P, \neg P, therefore Q is valid. So is R, therefore Q \vee \neg Q.
What this does not mean. Valid is not the same as good. Neither kind of argument could persuade anyone: one has premises that can't all be true, and the other proves something that needed no premises.
Show proof
(1) The premises are T together on no row, so no row has every premise T and C F. By the truth-table test, the argument is valid.
(2) C is T on every row, so no row has C F, and in particular none has every premise T and C F. The argument is valid.
Theorem
Modus Ponens
Given p \implies q and p, conclude q. \big[(p \implies q) \wedge p\big] \implies q
What is this saying? If one thing guarantees another, and the first thing happens, then the second happens too. "If it rains, the street gets wet. It is raining. So the street is wet."
Why should I care? This is the most common step in everyday reasoning, and the first rule most proof systems give you. Its look-alike, affirming the consequent ("the street is wet, so it rained"), is a fallacy, and telling the two apart is a basic skill.
Intuition. The ifโthen sentence is a promise: whenever p is true, q is true. Knowing p is true puts you in the only case the promise covers, so q follows.
Ingredients.
- p, q: any statements, simple or compound.
- p \implies q: the conditional "if p then q" (also written p \to q).
- p: the antecedent, asserted on its own as a second premise.
Show proof
Checked by truth table over the two atoms p, q. At p=T,q=T: the premise (p\implies q)\wedge p = T\wedge T=T, and q=T, so the whole conditional is T\implies T=T. At p=T,q=F: p\implies q=F, so the premise F\wedge T=F, making the whole conditional F\implies \text{anything}=T. At p=F,q=T: p=F makes the premise (\cdot)\wedge F=F, so the conditional is again T. At p=F,q=F: same reasoning, premise is F, conditional is T. Every row is true, so this is a tautology -- the argument form is valid regardless of what p and q actually are.
Theorem
Modus Tollens
Given p \implies q and \neg q, conclude \neg p. \big[(p \implies q) \wedge \neg q\big] \implies \neg p
What is this saying? If one thing guarantees another, and the second thing did not happen, then the first did not happen either. "If it rained, the street is wet. The street is dry. So it didn't rain."
Why should I care? This is how a failed prediction counts against a claim: if the claim were true, you would see q, and you don't. Its look-alike, denying the antecedent ("it didn't rain, so the street is dry"), is a fallacy.
Intuition. Suppose p were true. Then the promise p \implies q would make q true, but you know q is false. So p can't be true.
Ingredients.
- p, q: any statements, simple or compound.
- p \implies q: the conditional "if p then q" (also written p \to q).
- \neg q: "not q," the denial of the consequent, as a second premise.
Show proof
Checked by truth table. At p=T,q=T: \neg q=F, so the premise (p\implies q)\wedge\neg q = T\wedge F=F, making the conditional F\implies\text{anything}=T. At p=T,q=F: p\implies q=F, so the premise is F\wedge T=F, conditional is T. At p=F,q=T: \neg q=F, premise is F, conditional is T. At p=F,q=F: p\implies q=T, \neg q=T, premise is T\wedge T=T; the conclusion \neg p=T here too, so the conditional is T\implies T=T. Every row is true, confirming this argument form is valid for every p, q.
Formal Proofs I: The Basic Rules
Theorem
Proofs and truth tables agree
also known as: soundness and completeness of natural deduction for sentential logic
For any sentences A_1, \dots, A_n and C, A_1, \dots, A_n \vdash C \quad\text{if and only if}\quad A_1, \dots, A_n \models C. The left-to-right direction is soundness; the right-to-left direction is completeness.
What is this saying? Every argument you can prove with the course's proof rules is valid by truth table, and every argument that is valid by truth table can be proved with the rules. The two methods never disagree.
Why should I care? It means the choice between a table and a proof is a practical one. A proof never proves an invalid argument, and when an argument is valid, a proof exists, even when you haven't found it yet. To show an argument INVALID, you still need a countermodel.
Intuition. Each rule was chosen so that it can't lead from true lines to a false line; that gives soundness. Completeness says the rules are strong enough to reach every valid conclusion, which is harder to show.
Ingredients.
- \vdash: "proves." A_1, \dots, A_n \vdash C says there is a formal proof that ends with C and uses only A_1, \dots, A_n as premises.
- \models: "entails," as defined by the truth-table test.
Example. P \to Q, \neg Q \vdash \neg P (by a short proof), and the same argument passes the truth-table test.
What this doesn't give you. Failing to find a proof doesn't show an argument is invalid; only a countermodel does.
Show proof
Soundness (sketch). Show, line by line, that every line of a proof is true on every row that makes true the premises, and any temporary suppositions, that it depends on. Premises satisfy this trivially. Each rule preserves it: for instance, \toE takes lines A \to B and A, and on any row making both true, B is true by the conditional's table. The rules that end a temporary supposition, such as \toI, do so in a way that matches the table for the connective they introduce. So the last line, which depends only on the premises, is true on every row making the premises true.
Completeness takes a longer argument that belongs to a second course in logic; it is stated here so that you know a valid argument always has a proof.
Theorem
The conjunction rules
also known as: and introduction and and elimination
Conjunction introduction (\wedgeI). From A on line i and B on line j, write A \wedge B, citing "\wedgeI i, j."
Conjunction elimination (\wedgeE). From A \wedge B on line i, write A, or write B, citing "\wedgeE i."
What is this saying? If you have both parts, you may put them together; if you have them together, you may take either one out.
Why should I care? These are the simplest rules in the system and the pattern every other pair follows: an introduction rule to build a connective, an elimination rule to use it.
Intuition. A conjunction is true exactly when both conjuncts are, so building one from both parts, or taking a part out, can never lead from truth to falsehood.
Ingredients.
- A, B: any sentences.
- Line numbers i, j: earlier lines that are still available (not inside a closed subproof).
- \wedgeE applies only when \wedge is the main connective of line i.
Example.
| # | Sentence | Justification |
|---|---|---|
| 1 | P \wedge Q | PR |
| 2 | Q | \wedgeE 1 |
| 3 | P | \wedgeE 1 |
| 4 | Q \wedge P | \wedgeI 2, 3 |
What breaks. From (P \wedge Q) \vee R you cannot write P by \wedgeE: the main connective is \vee, and the whole line can be true with P false.
Show proof
On any row where A and B are both T, A \wedge B is T, so \wedgeI never leads from true lines to a false one. On any row where A \wedge B is T, both A and B are T, so \wedgeE doesn't either.
Theorem
Conditional elimination and reiteration
also known as: modus ponens as a proof rule
Conditional elimination (\toE). From A \to B on line i and A on line j, write B, citing "\toE i, j."
Reiteration (R). From A on an available line i, write A again, citing "R i."
What is this saying? If you have a conditional and its antecedent, you may write its consequent. And you may always repeat a line you already have.
Why should I care? \toE is modus ponens from chapter 4, now as a rule you can cite in a proof. Reiteration looks trivial, but you need it to bring a line into a subproof or to end a subproof on a line you already have.
Intuition. The conditional's only false row has A T and B F. If both A \to B and A are true, that row is ruled out, so B is true.
Ingredients.
- A \to B: must be the whole line, with \to as its main connective.
- A: must match the antecedent exactly.
- Available: not inside a subproof that has already closed.
Example.
| # | Sentence | Justification |
|---|---|---|
| 1 | P \to Q | PR |
| 2 | Q \to R | PR |
| 3 | P | PR |
| 4 | Q | \toE 1, 3 |
| 5 | R | \toE 2, 4 |
What breaks. From A \to B and B you cannot write A: that is affirming the consequent, and the row A F, B T is a countermodel.
Show proof
On any row where A \to B and A are both T, B must be T, since the only row making A \to B false has A T and B F. Reiteration writes a line that was already true. Neither rule leads from true lines to a false one.
Theorem
Conditional introduction
also known as: conditional proof
Conditional introduction (\toI). If a subproof begins with the assumption A on line i and ends with B on line j, then after the subproof closes you may write A \to B, citing "\toI iโj." The assumption A is discharged.
What is this saying? To prove "if A then B," suppose A for the sake of argument, reason your way to B, then close off the supposition and write the conditional.
Why should I care? It is the standard way to prove a conditional, in logic and in mathematics, and it introduces subproofs, which the rules for \vee, \neg, and \leftrightarrow also use.
Intuition. The subproof shows that whenever A is true (together with the lines available above), B is true too. That is exactly what A \to B claims.
Ingredients.
- Assumption (AS): a line supposed without justification, starting a subproof.
- Subproof: the indented lines from the assumption to its last line.
- Discharge: once the subproof closes, its lines may not be cited individually; only the whole subproof iโj may be cited.
Example.
| # | Sentence | Justification |
|---|---|---|
| 1 | P \to Q | PR |
| 2 | Q \to R | PR |
| 3 | โ P | AS |
| 4 | โ Q | \toE 1, 3 |
| 5 | โ R | \toE 2, 4 |
| 6 | P \to R | \toI 3โ5 |
What breaks. After line 6 you may not cite line 4 or 5: they depended on the assumption P, which is no longer in force. A proof may not end inside an open subproof.
Show proof
Suppose that on every row making the available lines and A true, B is true. Take any row making the available lines true. If A is F there, A \to B is T. If A is T there, then B is T by the supposition, so A \to B is T again. Either way A \to B is T on every row making the available lines true.
Theorem
The disjunction rules
also known as: or introduction and proof by cases
Disjunction introduction (\veeI). From A on line i, write A \vee B or B \vee A, where B is any sentence, citing "\veeI i."
Disjunction elimination (\veeE). From A \vee B on line i, a subproof assuming A and ending with C (lines jโk), and a subproof assuming B and ending with the same C (lines lโm), write C, citing "\veeE i, jโk, lโm."
What is this saying? From one part you may conclude any "or" that contains it. To use an "or," show that the same conclusion follows whichever part is true.
Why should I care? \veeI is addition from chapter 4. \veeE is proof by cases, one of the most common patterns in all reasoning: "either way, C."
Intuition. An inclusive "or" is true whenever one part is. And if C follows from each part, and at least one part is true, C is true.
Ingredients.
- B in \veeI: any sentence at all, even one unrelated to the proof.
- C in \veeE: must be the SAME sentence at the end of both subproofs.
- Both subproofs close, discharging A and B.
Example.
| # | Sentence | Justification |
|---|---|---|
| 1 | P \vee Q | PR |
| 2 | โ P | AS |
| 3 | โ Q \vee P | \veeI 2 |
| 4 | โ Q | AS |
| 5 | โ Q \vee P | \veeI 4 |
| 6 | Q \vee P | \veeE 1, 2โ3, 4โ5 |
(Lines 2โ3 and 4โ5 are two separate subproofs.)
What breaks. Reaching C from only one disjunct proves nothing: the other disjunct may be the true one.
Show proof
\veeI: on any row where A is T, A \vee B is T. \veeE: take a row making the available lines, including A \vee B, true. At least one of A, B is T there. If A is, the first subproof shows C is T; if B is, the second does. Either way C is T.
Theorem
The biconditional rules
also known as: biconditional introduction and elimination
Biconditional introduction (\leftrightarrowI). From a subproof assuming A and ending with B (lines iโj) and a subproof assuming B and ending with A (lines kโl), write A \leftrightarrow B, citing "\leftrightarrowI iโj, kโl."
Biconditional elimination (\leftrightarrowE). From A \leftrightarrow B on line i and A on line j, write B; or from A \leftrightarrow B and B, write A. Cite "\leftrightarrowE i, j."
What is this saying? To prove "A if and only if B," prove each direction. To use it, knowing either side gives you the other.
Why should I care? Definitions and "exactly when" claims are biconditionals, so these rules are how you prove and use them.
Intuition. A \leftrightarrow B says the same as (A \to B) \wedge (B \to A), so its rules are the conditional rules done in both directions.
Ingredients.
- Two subproofs for \leftrightarrowI, one for each direction.
- \leftrightarrowE works from either side, unlike \toE.
Example.
| # | Sentence | Justification |
|---|---|---|
| 1 | P \leftrightarrow Q | PR |
| 2 | Q | PR |
| 3 | P | \leftrightarrowE 1, 2 |
What breaks. One subproof gives only one direction, which proves a conditional, not a biconditional.
Show proof
\leftrightarrowE: on any row where A \leftrightarrow B is T, A and B have the same value, so if one is T the other is. \leftrightarrowI: on any row making the available lines true, the two subproofs show that A being T forces B to be T and B being T forces A to be T, so A and B have the same value and A \leftrightarrow B is T.
Formal Proofs II: Negation, Strategy, Derived Rules
Theorem
The negation rules and explosion
also known as: negation introduction, negation elimination, ex falso
Negation elimination (\negE). From A on line i and \neg A on line j, write \bot, citing "\negE i, j."
Negation introduction (\negI). From a subproof assuming A and ending with \bot (lines iโj), write \neg A, citing "\negI iโj."
Explosion (X). From \bot on line i, write any sentence at all, citing "X i."
What is this saying? A sentence together with its negation is a contradiction, recorded as \bot. If an assumption leads to a contradiction, the assumption is false. And from a contradiction, anything may be written.
Why should I care? These rules give proofs a way to reason about "not." \negI is how you show something is false, and explosion is what lets a proof finish off a case that can't happen.
Intuition. A and \neg A are never true together, so any line of reasoning that reaches both has started from something false. Explosion is the proof-rule version of the fact that inconsistent premises entail every sentence.
Ingredients.
- \bot: the contradiction symbol, "falsum." It stands for a sentence false on every row.
- \negE needs a sentence and its exact negation, not merely two sentences that clash in meaning.
Example.
| # | Sentence | Justification |
|---|---|---|
| 1 | P \to Q | PR |
| 2 | \neg Q | PR |
| 3 | โ P | AS |
| 4 | โ Q | \toE 1, 3 |
| 5 | โ \bot | \negE 4, 2 |
| 6 | \neg P | \negI 3โ5 |
What breaks. X may be cited only from a line that is \bot. Two sentences that merely seem to disagree, like "the room is warm" and "the room is cold," are not A and \neg A.
Show proof
\negE: no row makes both A and \neg A true, so there is no row making the cited lines true on which \bot would need to be true; the rule never leads from true lines to a false one. \negI: the subproof shows no row making the available lines true also makes A true (such a row would make \bot true). So on every such row A is F and \neg A is T. X: no row makes \bot true, so there is nothing to check.
Theorem
Indirect proof
also known as: IP, reductio ad absurdum
Indirect proof (IP). From a subproof assuming \neg A and ending with \bot (lines iโj), write A, citing "IP iโj."
What is this saying? To prove A, suppose it is false, derive a contradiction, and conclude that A is true after all.
Why should I care? Some sentences, such as P \vee \neg P, have no easy direct proof. IP is the last-resort strategy that works when nothing else does.
Intuition. If assuming "not A" leads to something impossible, then "not A" is false, so A is true.
Ingredients.
- The assumption is the NEGATION of the goal.
- The subproof must end with \bot.
How it differs from \negI. \negI assumes A and concludes \neg A. IP assumes \neg A and concludes A. Check which one the assumption is.
Example.
| # | Sentence | Justification |
|---|---|---|
| 1 | \neg\neg P | PR |
| 2 | โ \neg P | AS |
| 3 | โ \bot | \negE 2, 1 |
| 4 | P | IP 2โ3 |
What breaks. Concluding \neg A from a subproof that assumed \neg A is not a rule; IP delivers A itself.
Show proof
The subproof shows that no row making the available lines true also makes \neg A true. So on every such row \neg A is F, and A is T.
Theorem
Derived rules: MT, DS, DNE, and De Morgan
also known as: the first derived rules
Each of these may be cited as a single step, because each can be replaced by a proof that uses only the basic rules.
| Rule | From | Write |
|---|---|---|
| Modus tollens (MT) | A \to B and \neg B | \neg A |
| Disjunctive syllogism (DS) | A \vee B and \neg A | B |
| A \vee B and \neg B | A | |
| Double negation elimination (DNE) | \neg\neg A | A |
| Double negation (DN) | \neg\neg A, or A | A, or \neg\neg A (either direction) |
| De Morgan (DeM) | \neg(A \vee B) | \neg A \wedge \neg B, and the reverse |
| \neg(A \wedge B) | \neg A \vee \neg B, and the reverse |
What is this saying? Patterns you would otherwise prove again and again, some of them the named forms from chapter 4, can be used in one line.
Why should I care? Derived rules make proofs shorter and easier to read, without letting you prove anything the basic rules can't.
Intuition. A derived rule is a saved proof: each time you cite it, imagine the justifying proof pasted in its place.
Ingredients.
- Basic rules: R and the introduction and elimination rules for each connective, plus X and IP.
- Derived rule: a rule whose every use can be replaced by basic-rule steps.
Example. From P \to Q and \neg Q, MT gives \neg P in one line; the negation-rules card shows the five basic-rule lines it replaces.
What breaks. A derived rule has the same fixed pattern as a basic rule. DS needs the NEGATION of a disjunct; from A \vee B and A nothing follows about B.
Show proof
MT. 1 A \to B (PR); 2 \neg B (PR); 3 โ A (AS); 4 โ B (\toE 1, 3); 5 โ \bot (\negE 4, 2); 6 \neg A (\negI 3โ5).
DS. 1 A \vee B (PR); 2 \neg A (PR); 3 โ A (AS); 4 โ \bot (\negE 3, 2); 5 โ B (X 4); 6 โ B (AS); 7 โ B (R 6); 8 B (\veeE 1, 3โ5, 6โ7). The other form is symmetric.
DNE. 1 \neg\neg A (PR); 2 โ \neg A (AS); 3 โ \bot (\negE 2, 1); 4 A (IP 2โ3).
DN, adding direction. 1 A (PR); 2 โ \neg A (AS); 3 โ \bot (\negE 1, 2); 4 \neg\neg A (\negI 2โ3). The removing direction is DNE.
DeM, one direction. 1 \neg(A \vee B) (PR); 2 โ A (AS); 3 โ A \vee B (\veeI 2); 4 โ \bot (\negE 3, 1); 5 \neg A (\negI 2โ4); 6 โ B (AS); 7 โ A \vee B (\veeI 6); 8 โ \bot (\negE 7, 1); 9 \neg B (\negI 6โ8); 10 \neg A \wedge \neg B (\wedgeI 5, 9). The other three directions are proved the same way, the one from \neg(A \wedge B) using IP.
Theorem
Hypothetical syllogism and the dilemmas as derived rules
also known as: HS, CD, DD in the proof system
Each of these may be cited as a single step:
| Rule | From | Write |
|---|---|---|
| Hypothetical syllogism (HS) | A \to B and B \to C | A \to C |
| Constructive dilemma (CD) | A \to B, C \to D, and A \vee C | B \vee D |
| Destructive dilemma (DD) | A \to B, C \to D, and \neg B \vee \neg D | \neg A \vee \neg C |
What is this saying? The three chaining and dilemma forms you met in chapter 4 in English are now rules you may cite in a formal proof, each justified by a proof in the basic rules.
Why should I care? Long arguments often chain conditionals or reason by dilemma. Citing the rule saves a subproof each time.
Intuition. HS is two uses of \toE inside a conditional proof. CD is proof by cases with \toE in each case. DD is CD with modus tollens in place of modus ponens.
Ingredients.
- A, B, C, D: any sentences. In HS, the B in both premises must be the same sentence.
- Each rule's premises must match its pattern exactly, including which parts are negated.
Example. From P \to Q and Q \to R, HS gives P \to R; the conditional-introduction card shows the four lines it replaces.
What breaks. HS does not run backwards: from A \to B and B \to C you may not write C \to A. DD denies the consequents, not the antecedents.
Show proof
HS. 1 A \to B (PR); 2 B \to C (PR); 3 โ A (AS); 4 โ B (\toE 1, 3); 5 โ C (\toE 2, 4); 6 A \to C (\toI 3โ5).
CD. 1 A \to B; 2 C \to D; 3 A \vee C (all PR); 4 โ A (AS); 5 โ B (\toE 1, 4); 6 โ B \vee D (\veeI 5); 7 โ C (AS); 8 โ D (\toE 2, 7); 9 โ B \vee D (\veeI 8); 10 B \vee D (\veeE 3, 4โ6, 7โ9).
DD. 1 A \to B; 2 C \to D; 3 \neg B \vee \neg D (all PR); 4 โ \neg B (AS); 5 โ \neg A (MT 1, 4); 6 โ \neg A \vee \neg C (\veeI 5); 7 โ \neg D (AS); 8 โ \neg C (MT 2, 7); 9 โ \neg A \vee \neg C (\veeI 8); 10 \neg A \vee \neg C (\veeE 3, 4โ6, 7โ9). MT is itself derived from the basic rules, so this is a basic-rule proof once MT's proof is pasted in.
Theorem
Hypothetical Syllogism
also known as: chaining conditionals
The form
- If P, then Q.
- If Q, then R.
\therefore If P, then R.
is valid: no instance can have both premises true and the conclusion false.
What is this saying? If one thing leads to a second, and the second leads to a third, then the first leads to the third. You can link conditionals into a chain and skip the middle.
Why should I care? Much everyday reasoning is a chain of "if โฆ then" steps: if the flight is late, I miss the connection; if I miss the connection, I miss the meeting. Hypothetical syllogism is what lets you jump from the first link to the last: if the flight is late, I miss the meeting.
Intuition. Picture falling dominoes. Knocking over P knocks over Q, and knocking over Q knocks over R, so knocking over P knocks over R.
Ingredients.
- P, Q, R: any three claims. Q must be the same claim in both premises; it is the link that joins them.
- If โฆ then: a conditional. The only way "if P, then R" is false is when P is true and R is false.
Example. "If the reservoir drops below the line, the town restricts watering. If the town restricts watering, lawns turn brown. So if the reservoir drops below the line, lawns turn brown."
Look-alike to avoid. "If P, then Q. If Q, then R. So if R, then P" reverses the chain. Brown lawns could come from a heat wave with the reservoir full.
Show proof
Suppose, looking for a counterexample, that both premises are true and the conclusion "if P, then R" is false.
The conclusion can only be false when P is true and R is false. So P is true and R is false.
From "if P, then Q" and P, modus ponens gives Q true.
From "if Q, then R" and Q, modus ponens gives R true.
But R was false. The supposed counterexample contradicts itself, so no counterexample exists and the form is valid.
Theorem
Constructive Dilemma
The form
- If P, then Q.
- If R, then S.
- P or R.
\therefore Q or S.
is valid: no instance can have all three premises true and the conclusion false.
What is this saying? You have two conditionals and know that at least one of their "if" parts holds. Then at least one of their "then" parts holds too.
Why should I care? It is the shape of every "either way" argument. "If I take the bus, I'll be late. If I drive, I'll pay for parking. I'll either take the bus or drive. So either I'll be late or I'll pay for parking." It is also modus ponens run on two tracks at once.
Intuition. Whichever of P or R is true, its own conditional fires. If P, you get Q. If R, you get S. Either way you end up with Q or S.
Ingredients.
- P, Q, R, S: four claims. Each conditional pairs one condition with one result.
- P or R: the third premise asserts the two conditions, the "if" parts, not the results.
- Or: inclusive. The conclusion is true when at least one of Q and S is true.
Example. "If the package went by air, it arrives Tuesday. If it went by ground, it arrives Friday. It went by air or by ground. So it arrives Tuesday or Friday."
Look-alike to avoid. If the third premise asserts the results ("Q or S") and the conclusion claims the conditions ("P or R"), the argument is invalid. That is affirming the consequent on two tracks.
Show proof
Suppose, looking for a counterexample, that all three premises are true and the conclusion "Q or S" is false. An "or" claim is false only when both parts are false, so Q and S are both false.
Premise 3 is true, so P is true or R is true.
- If P is true: premise 1 and modus ponens give Q true. But Q is false.
- If R is true: premise 2 and modus ponens give S true. But S is false.
Every option contradicts the supposition, so no counterexample exists and the form is valid.
Theorem
Destructive Dilemma
The form
- If P, then Q.
- If R, then S.
- Not Q or not S.
\therefore Not P or not R.
is valid: no instance can have all three premises true and the conclusion false.
What is this saying? You have two conditionals and know that at least one of their "then" parts fails. Then at least one of their "if" parts fails too.
Why should I care? It is modus tollens run on two tracks. "If the suspect was at the party, the guests saw him. If he was at the office, the cameras recorded him. Either the guests didn't see him or the cameras didn't record him. So either he wasn't at the party or he wasn't at the office."
Intuition. Whichever result fails, its own conditional runs backward. If Q fails, P must fail. If S fails, R must fail. Either way, one of the conditions fails.
Ingredients.
- P, Q, R, S: four claims. Each conditional pairs one condition with one result.
- Not Q or not S: the third premise denies the results, the "then" parts.
- Or: inclusive. The conclusion is true when at least one of "not P" and "not R" is true.
Example. "If the recipe is right, the bread rises. If the oven is hot enough, the crust browns. Either the bread didn't rise or the crust didn't brown. So either the recipe is wrong or the oven isn't hot enough."
Look-alike to avoid. Denying the conditions ("not P or not R") and concluding that a result fails ("not Q or not S") is invalid. That is denying the antecedent on two tracks.
Show proof
Suppose, looking for a counterexample, that all three premises are true and the conclusion "not P or not R" is false. An "or" claim is false only when both parts are false, so "not P" and "not R" are both false. That means P and R are both true.
From premise 1 and P, modus ponens gives Q true.
From premise 2 and R, modus ponens gives S true.
So "not Q" and "not S" are both false, which makes premise 3 false. But premise 3 was supposed to be true.
The supposed counterexample contradicts itself, so no counterexample exists and the form is valid.
Logic in Full
Theorem
Proofs and truth tables agree
also known as: soundness and completeness of natural deduction for sentential logic
For any sentences A_1, \dots, A_n and C, A_1, \dots, A_n \vdash C \quad\text{if and only if}\quad A_1, \dots, A_n \models C. The left-to-right direction is soundness; the right-to-left direction is completeness.
What is this saying? Every argument you can prove with the course's proof rules is valid by truth table, and every argument that is valid by truth table can be proved with the rules. The two methods never disagree.
Why should I care? It means the choice between a table and a proof is a practical one. A proof never proves an invalid argument, and when an argument is valid, a proof exists, even when you haven't found it yet. To show an argument INVALID, you still need a countermodel.
Intuition. Each rule was chosen so that it can't lead from true lines to a false line; that gives soundness. Completeness says the rules are strong enough to reach every valid conclusion, which is harder to show.
Ingredients.
- \vdash: "proves." A_1, \dots, A_n \vdash C says there is a formal proof that ends with C and uses only A_1, \dots, A_n as premises.
- \models: "entails," as defined by the truth-table test.
Example. P \to Q, \neg Q \vdash \neg P (by a short proof), and the same argument passes the truth-table test.
What this doesn't give you. Failing to find a proof doesn't show an argument is invalid; only a countermodel does.
Show proof
Soundness (sketch). Show, line by line, that every line of a proof is true on every row that makes true the premises, and any temporary suppositions, that it depends on. Premises satisfy this trivially. Each rule preserves it: for instance, \toE takes lines A \to B and A, and on any row making both true, B is true by the conditional's table. The rules that end a temporary supposition, such as \toI, do so in a way that matches the table for the connective they introduce. So the last line, which depends only on the premises, is true on every row making the premises true.
Completeness takes a longer argument that belongs to a second course in logic; it is stated here so that you know a valid argument always has a proof.