Predicate Logic
Predicates, names, variables, and the quantifiers ∀ and ∃ — capturing "all" and "some".
Sentence logic can’t see inside a sentence. “All circles are blue” and “Some circle is blue” both become single atoms — yet one entails the other, which sentence logic can’t explain. Predicate logic adds the missing structure.
- Names () denote particular objects; variables () are placeholders.
- Predicates (, , ) express properties and relations: = “x is blue”, = “x relates to y”.
- Quantifiers bind variables: (“for all x”) and (“there exists an x”). Teller writes these and .
A statement is evaluated in a model: a domain of objects plus an interpretation of each predicate. Pick predicates below and watch the universal and existential claims come out true or false over a fixed domain.
The two translation patterns
The single most important habit in predicate logic — and the easiest thing to get wrong:
- “Every K is C” is — universal with a conditional. (Writing would say “everything is a K and is C”, which is far stronger.)
- “Some K is C” is — existential with a conjunction. (Writing is almost always wrong: it is satisfied by any non-K.)
A universal is falsified by a single counterexample (a K that is not C); an existential is verified by a single witness (a K that is C) — exactly the rings the visualizer draws.
Multiple quantifiers and order
Relations need several quantifiers, and order matters:
- — “everyone loves someone (possibly different people)”.
- — “there is someone whom everyone loves (one person)”.
The second implies the first, but not the reverse. Swapping two quantifiers of the same type ( vs ) is harmless; swapping with changes the meaning.
Takeaways
- Predicate logic adds names, variables, predicates/relations, and the quantifiers , .
- Truth is relative to a model (domain + interpretation).
- “Every K is C” = ; “Some K is C” = .
- A universal falls to one counterexample; an existential needs one witness; quantifier order matters.
References
- Paul Teller, A Modern Formal Logic Primer, Prentice Hall (1989) — free at tellerprimer.ucdavis.edu. Curriculum follows the primer; explanations and examples here are original.