Discrete Structures
§6 Tautologies, Predicates, and Quantifiers
9 min read
A truth table can tell us more than the value of one formula. Its final column tells us whether the formula can ever be true, whether it can ever be false, and whether an argument is valid. Predicates and quantifiers extend the same true-or-false language to statements about objects in a chosen universe.
Walkthrough
Read the final column as a classification
Start with the completed final column of a truth table.
- If it contains only s, the formula is a tautology.
- If it contains only s, the formula is a contradiction.
- If it contains both values, the formula is a contingency.
This is useful because validity can also be phrased as a classification problem. Join an argument's premises with , make that conjunction imply the conclusion, and ask whether the result is a tautology. If it is, there is no truth assignment where all the premises are true and the conclusion is false.
Let the subject vary
A proposition such as “Socrates is mortal” has a truth value. The phrase “is mortal” is different: it becomes true or false only after a subject is supplied. Write
The symbol is a variable, and is a predicate. Once we choose a subject, becomes a proposition. For example, is true in the intended interpretation.
Bind the variable with a quantifier
A quantifier says how many objects must make a predicate true:
The first means “every has property .” The second means “at least one has property .” A universal statement needs every case, so one counterexample disproves it. An existential statement needs only one successful case, called a witness.
Negation swaps these two jobs:
In words, “not everyone” means “someone not,” while “there is nobody” means “everyone not.”
Classifying propositional formulas
A propositional formula is satisfiable when at least one truth assignment makes it true. It is falsifiable when at least one assignment makes it false. These properties give three important classes:
| Formula class | Satisfiable? | Falsifiable? | Final truth-table column |
|---|---|---|---|
| tautology | yes | no | only s |
| contingency | yes | yes | both and |
| contradiction | no | yes | only s |
The following table checks one formula from each class. The implication is false only when and .
| 0 | 0 | 1 | 1 | 0 | 1 |
| 0 | 1 | 1 | 1 | 0 | 1 |
| 1 | 0 | 0 | 1 | 0 | 0 |
| 1 | 1 | 0 | 1 | 0 | 1 |
The final columns now classify the formulas:
Formula classes overlap in one place
Why truth tables become expensive
A formula with distinct propositional variables has possible truth assignments, so its complete truth table has rows. The number of columns depends on how many intermediate expressions we choose to display.
Checking every row is a valid decision procedure, but its cost grows exponentially with . The Boolean satisfiability problem, usually called SAT, asks whether a formula has at least one satisfying assignment. SAT is NP-complete: a polynomial-time algorithm for every SAT instance would prove , while a proof that no such algorithm exists would prove . Logical identities can classify many particular formulas without listing every row, but they do not give a known polynomial-time method for every SAT instance.
Valid arguments and syllogisms
An argument has premises and a conclusion . It is valid when
is a tautology. Validity does not say that the premises are actually true. It says that there is no case where all of them are true and the conclusion is false.
Modus ponens
Modus ponens has the form
Its associated formula is
Logical identities reduce it to true:
The last line has the form , so the argument is valid.
Two more valid forms
| Name | Premises | Conclusion |
|---|---|---|
| hypothetical syllogism | , | |
| modus tollens | , |
The second form reasons backward through an implication correctly: if would force , but is false, then cannot be true. This is not the same as the invalid move from and to .
Predicates and universes of discourse
A universe of discourse, written , is the set of objects currently under discussion. A one-variable predicate is a Boolean-valued function
The value means that object has the property; means that it does not.
For a small universe containing the Greek figures used in the example, define
Under the intended interpretation,
The universe matters. A predicate can be evaluated only on objects in its stated domain, and its truth values depend on the interpretation we chose.
A predicate may have more than one variable. A two-variable predicate on the real numbers has type
For example, let mean . Then
Before values are supplied or variables are quantified, is an open formula rather than a proposition with one fixed truth value.
Quantifiers, scope, and bound variables
The two basic quantifiers are
| Symbol | Name | Read as |
|---|---|---|
| universal quantifier | “for every ” or “for all ” | |
| existential quantifier | “there exists an such that” |
Unless a smaller domain is written beside the quantifier, ranges over the chosen universe .
is true exactly when for every . One element with is a counterexample.
is true exactly when at least one has . Such an element is a witness. The existential statement is false only when throughout .
A universal statement requires a constant true predicate
Translating “all humans are mortal”
Let mean “ is human” and mean “ is mortal.” Then
says “Every human is mortal.” The implication is important. An object that is not human does not refute the statement; its antecedent is false, so that instance of the implication is true.
Free and bound variables
A quantifier binds occurrences of its variable inside its scope. In
is bound, but is still free. The formula may still depend on . In
both variables are bound, so the result is a proposition once the universe and predicate have been interpreted.
Order matters. In general,
The first formula may choose a different for each . The second requires one that works for every .
Negating quantified statements
Quantifier negation follows De Morgan's pattern:
The first identity says that a universal claim is false exactly when a counterexample exists. The second says that an existential claim is false exactly when every candidate fails.
Example with nested quantifiers
Negate
Move the negation inward one layer at a time:
- Pass the negation through the universal quantifier, changing to .
- Apply De Morgan's law to the disjunction, changing to and negating both parts.
- Pass the remaining negation through the existential quantifier, changing to .
The final statement says that some fails , and for that same , fails for every .
Why the universe matters
An unrestricted quantified statement can change truth value when its universe changes. For example,
is true if , but false if because and every negative real number are counterexamples. If your convention includes in , the statement is also false over . Always state the universe rather than relying on an unstated convention.
Restricted quantifiers
If , a quantifier can be restricted to :
and
The connective changes because the two statements have different jobs:
- A universal restriction uses an implication. Objects outside must not become counterexamples.
- An existential restriction uses a conjunction. A witness must both belong to and satisfy .
For example,
is true under the usual conventions for . If the surrounding universe also contains , that object is irrelevant: the expanded implication
has a false antecedent and is therefore true.
Likewise,
is true because is a witness. Objects outside neither prove nor disprove it.
De Morgan's laws keep the restriction:
0 reads
Last edited