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
First law
The negation of "for all x, P(x)" is equivalent to "there exists an x such that not P(x)"
Second law
The negation of "there exists an x such that P(x)" is equivalent to "for all x, not P(x)"