Slides / Bullets
- General first-order languages
- Sometimes we’Äôll ask you to translate English sentences into a first-order language that you design yourself.
- This sort of task can be done in many ways.
- Consider how we might translate ’ÄòJohn prefers logic to mathematics’Äô. The most natural way to do it is to use a ternary predicate and three individual constants: ’ÄòPrefers(john, logic, mathematics)’Äô.
- But you could do it with a binary predicate and two constants: ’ÄòPrefersToMathematics(john, logic)’Äô, or ’ÄòJohnPrefers(logic, mathematics). Or even a unary predicate: ’ÄòJohnPrefersToMathematics(logic)’Äô
-
- The three-place predicate is obviously more flexible. In general, when you’Äôre doing this kind of exercise, you want to aim for naturalness and flexibility.
- Function symbols
- Some FOL dialects include an additional sort of vocabulary, function symbols.
- Function symbols can be used to make complex terms, which function grammatically just like individual constants.
- EG: favouriteactor(cian), favouriteactor(father(cian)), favouriteactor(favourtieactor(cian))
- A function symbol has an arity just like a predicate, but we’Äôll write function symbols in lower case so there’Äôs never any confusion.
-
- (In prefix notation:) A complex term is the result of writing an n-ary function symbol followed by n terms (in parentheses, separated by commas), which may themselves be simple, i.e. individual constants, or complex.
- An atomic sentence is the result of writing an n-ary predicate letter followed by n terms (in parentheses, separated by commas).
- Happy(father(joe)); OlderThan(father(joe), joe).
- This is nonsense: Happy(Happy(joe)).
-
- Just as we require all individual constants to denote exactly one thing, so we require all complex terms to denote exactly one thing.
- So we can’Äôt have a function symbol ’ÄòsonOf’Äô, unless everyone in the domain we’Äôre talking about is a person with exactly one son.
- Just as the identity predicate ’Äò=’Äô is traditionally written in ’Äòinfix’Äô notation, so certain function symbols are traditionally written in infix notation.
- The language of arithmetic
- Binary predicates: =, <
- Individual constants: 0, 1
- Binary function symbols: +, ˆó
- Proofs
- We’Äôll introduce three methods for showing that a certain claim is a logical consequence of certain premises: informal proof, formal proof and truth-tables.
- In a proof, we start with the given premises, and step by step we establish intermediate conclusions that obviously follow from things we’Äôve already said, until eventually we reach the desired conclusion.
- Actually that’Äôs only the most basic sort of proof: later on we’Äôll introduce more complicated methods of proof that rely on subproofs.
-
- In an informal proof, you’Äôre allowed to make any step provided it’Äôs obvious to your audience how it follows from what you’Äôve already said.
- Unless your audience is a logic teacher, in which case the standard for ’Äòobviousness’Äô is higher.
- Informal proofs in logic should be completely rigorous. You’Äôll have to develop a special writing style: a useful skill.
- In a formal proof, the allowable steps are codified into a fixed set of mechanical rules.
- Informal proofs using atomic sentences
- Given what we know about the meaning of the predicates in the blocks language, there are plenty of obviously valid arguments, e.g.:
- ’ÄòLeftOf(a, b)’Äô entails ’ÄòRightOf(b, a)’Äô
- ’ÄòLeftOf(a, b)’Äô and ’ÄòLeftOf(b, c)’Äô entail ’ÄòLeftOf(a, c)’Äô
- ’ÄòLeftOf(a, b)’Äô and ’ÄòSameCol(b, c)’Äô entail ’ÄòLeftOf(a, c)’Äô
- Too many to list or codify in a formal system of proof.
-
- The identity predicate ’Äò=’Äô is of special interest: it’Äôs one of the bits of vocabulary that logic has traditionally been especially concerned with.
- The most important method of proof involving identity goes by the names identity elimination, substitution, the indiscernability of identicals and Leibniz’Äôs Law.
- Roughly: if we have established from our given premises that a=b, we can infer that whatever is true of a is true of b.
- Given a premise that involves a certain name, say a, and a premise of the form a = b, we can infer the result of substituting b for a in the first premise. Familiar from algebra.
-
- We also have the rule of identity introduction, aka the reflexivity of identity: this lets us infer a sentence of the form ’Äòa=a’Äô from whatever premises we please, or from none at all.
- Logically true sentences are sentences that must be true. They follow from every other sentence. We can also say that they follow from the null set of premises.
- The assumption that all names have referents is playing a crucial role here. Is ’ÄòSanta is identical to Santa’Äô a true sentence in English?
-
- Other useful principles:
- the symmetry of identity (from ’Äòa = b’Äô we can conclude ’Äòb = a’Äô)
- the transitivity of identity (from ’Äòa = b’Äô and ’Äòb = c’Äô, conclude ’Äòa = c’Äô)
- These can in fact be derived from the first two principles. (B&E derive symmetry on p. 50)
- Problems for next week:
- 1.9 (30%)
- 1.11 (25%)
- 2.6 (15%)
- 2.8 - 2.13 (30%)