← back to logic

Predicate Logic Proofs

Craig DeLancey · A Concise Introduction to Logic, Ch. 7 · CC BY-SA 4.0

Predicate logic proofs add four quantifier rules to natural deduction: universal instantiation (plug in a specific value), universal generalization (prove for arbitrary, conclude for all), existential instantiation (name the witness), and existential generalization (from a specific case, conclude something exists).

1. ∀x (P(x) → Q(x)) premise 2. P(a) premise 3. P(a) → Q(a) ∀E 1 4. Q(a) →E 3,2 5. ∃x Q(x) ∃I 4 From "all P imply Q" and "P(a)", derive "something is Q"

Universal instantiation (∀E)

From ∀x P(x), conclude P(c) for any constant c. If something holds for everything, it holds for any particular thing.

Scheme

Universal generalization (∀I)

To prove ∀x P(x), take an arbitrary element c (with no special assumptions about it) and prove P(c). Since c was arbitrary, the proof works for everything.

Scheme

Existential instantiation (∃E)

From ∃x P(x), introduce a new name c and assume P(c). The name must be fresh: not used elsewhere. You cannot pick which element it is.

Scheme

Existential generalization (∃I)

From P(c) for some specific c, conclude ∃x P(x). If a particular thing has a property, then something has that property.

Scheme

Quantifier negation

¬∀x P(x) ≡ ∃x ¬P(x). "Not everything is P" means "something is not P." ¬∃x P(x) ≡ ∀x ¬P(x). "Nothing is P" means "everything is not P."

Scheme

Quantifier rules reference

Rule From Conclude Restriction
∀E∀x P(x)P(c)any c
∀IP(c) for arbitrary c∀x P(x)c must be arbitrary
∃E∃x P(x)P(c) (name witness)c must be fresh
∃IP(c)∃x P(x)none