Predicate Logic
An extension of Propositional Logic that uses variables and quantifiers to represent and analyse Statement.
Predicate
Is a Statement that includes a variable.
- : "x is a prime number"
A predicate becomes a proposition when the variable are substituted for values.
- : "2 is a prime number" (True)
Quantifiers
Quantifiers describe how many of a thing there are.
Universal Quantifier
Symbol:
Means "For all" or "Every".
Example:
: "For every x, x is a prime number"
Existential Quantifier
Symbol:
Means "There exists" or "Some".
Example:
: "There exists an x such that x is a prime number"
DeMorgan's Laws for negating quantifiers
∼[(∀x)P(x)] ≡ (∃ x)[∼P(x)] ∼[(∀x)P(x)] ≡ (∀x)[∼P(x)]