Professional Documents
Culture Documents
Predicate Logic
• Last lecture: We introduced predicate logic,
with the aim of overcoming some inadequacies
in propositional logic
• Recall: A predicate is a statement such as
‘x < 3’, where x is any real no., or ‘y is in the
Heyward Library’, where y is any book title
The expressions ‘for all’ & ‘there exists’ are
called quantifiers, denoted by ∀ and ∃, resp.
• Example: If P(y) denotes ‘y is in the Heyward
Library’, what is meant by the expressions
∃y P(y) and ∀y P(y)?
1
Negating a Proposition
• In symbols, the negation of the proposition is
¬[∀x P(x)]
• In words, the negation of the propn is
‘It is not true that all accountants are rich’
• More simply, this is
‘Not all accountants are rich’
• Another way of expressing this is
‘There is an accountant who is not rich’
• In symbols, this is ∃x [¬P(x)]
3
1
Discrete Mathematics 2002 Lecture 15, 23-August-2002
Example (continued)
• Note that in the previous example, the
original propn ‘For every real no. x there is
a real no. y such that x + y = 0’ is true
• Its negation, which is ‘There is a no. x such
that, for all y, x + y ≠ 0’, is false
• This is what we’d expect – i.e. we’d expect
that the negation of a true statement is false
2
Discrete Mathematics 2002 Lecture 15, 23-August-2002
3
Discrete Mathematics 2002 Lecture 15, 23-August-2002
Historical Note
• Predicate logic was 1st described in
detail by Bertrand Russell & Alfred
North Whitehead in the 3-vol work
Principia Mathematica (1910-13)
• The aim of this work was to show
that mathematics can be deduced from logic
• They began by defining the connective nand (‘not
and’). [See Q.17, p.69 of text for info on nand.]
• By p.362 of the book, Russell & Whitehead had
concluded that ‘1 + 1 = 2’! (see next slide)
10