Beruflich Dokumente
Kultur Dokumente
2
Phil. 015
Zoltan Domotor
Department of Philosophy, University of Pennsylvania
February 12, 2016
SEMANTICS AND SYNTAX OF PREDICATE LOGIC
Now that you are familiar with the syntactic and semantic structures of
LSL1 (presented in terms of natural deduction rules and truth tables) and
are aware of simple predications and quantification, we can devise a formal
(artificial) language to represent logical forms in predicate logic. All we need
to do is make certain modifications to sentential (truth-functional) logic.
However, now we will need six kinds of symbols:
1. Individual Variables: x, y, z, . . . .
Individual variables in the object language of LMPL2 are lower-case
italic letters, taken from the end of the latin alphabet with or without
primes or numerical subscripts. We use individual variables exclusively
to formalize individual variable words in a natural language or scientific discourse. Given a particular interpretation, individual variables
take their values precisely in the specified domain (universe of discourse) of a given interpretation. For example, if the domain is the
class of all humans, living in the past or present, then the individual
variables stand for humans only.
2. Individual Constants: a, b, c, . . . .
Individual (non-logical) constants are lower-case italic letters from the
initial segment of the latin alphabet, with or without primes or numerical subscripts. We use individual constants to symbolize proper
names of individuals in a natural or scientific language. Granted an
interpretation, individual constants refer to designated individuals in
the specified domain of interpretation.
3. Monadic (unary) Predicate Constants: F, G, H, . . . , F , G , H , . . . .
Predicate (non-logical) constants are primed capital italic letters, often
1
2
with numerical subscripts to indicate the number of arguments. In general, we shall omit the primes (e.g., instead of pF q we shall write pF q)
and the subscripts as well. Thus, instead of F1 , G1 , H1 , dots, we write
F, G, H, . . . . Monadic predicate constants formalize one-argument predicate expressions in a natural or scientific language.
4. Binary Predicate Constants: F, G, H, . . . , F2 , G2 , H2 , . . .
Binary (dyadic, two-place) predicate (non-logical) constants are primed
capital italic letters with a numerical subscript 2, indicating that the
predicate has two arguments. As practiced in Modern Logic, we shall
omit primes and subscripts.
For the time being, we shall use only one-place (monadic, unary, or of
degree one) and two-place (diadic, binary, or of degree two) predicate
constants that apply only to, respectively, single individuals or pairs of
individuals. For example, the sentence Alma speaks both French and
German is formalized as F a & Ga. Here a refers to Alma and the
monadic predicate constants F and G symbolize the respective properties (attributes) of being able to speak French and German. Note that
we write the predicate constant first and the individual constant next
with no punctuation between. Likewise, Alma loves Bill is formalized
as Lab. Here a refers to Alma, b refers to Bill, and L stands for the
love relationship. As expected, Bill loves Alma is formalized as Lba.
Ternary (triadic) relations, as in Alma is between Bill and Carl, are
less frequent. This sentence is formalized as Bbac. In general, n-place
predicates (with n 3) lead to additional enrichments of the predicate
language.
5. Sentential Letters: P, Q, R, . . . .
Sentential letters (with or without numerical subscripts) are also included, and are taken from sentential logic LSL. For example, the
sentence It is raining is captured by R, without any reference to
individuals. Thus, predicate logic can be viewed as a natural extension
of truth-functional (sententional, propositional) logic.
6. Logical Constants: logical connectives & , , , , , and quantifiers , .
7. Auxiliary Symbols: parantheses ( and ), brackets [ and ], and braces
{ and }, needed for unique and easy readability.
Using these symbols we can generate an infinite set of formulas in the
language of predicate logic of the form F a, xF x, x[F x Gx], y{F y &
x[F x Hx]}, z[Hz P ], . . . . Only formulas obtainable by obvious
2
(iv) an assigment that associates with each two-place predicate R a designated subset of ordered pairs in the Cartesian product DD (called the
extension of R), namely the subset of those ordered pairs of elements
in D that stand in relation denoted by R, and
(v) an assignment of one of the truth-values T or F to each sentential
letter.
For example, the sentence xF x is true under I if and only if for every
element d in the chosen domain D, d belongs to the subset assigned to F .
Similarly, under the same interpretation, the formula xF x is true if and
only if there exists an element d in the domain D such that it belongs to the
subset assigned to F .
For another example, given the universal conditional x[F x Gx], below
we determine its truth value under interpretation I, specified as follows:
(i) The domain is: D =df {1, 2, 3, 4}. I.e., the domain is specified by the
set of the first four consecutive natural numbers. Here =df is short
for is equal by definition;
(ii) the monadic (one-place) predicate F is understood to refer to the property of being even, i.e., formally its interpretation is given by the subset
F = {2, 4} of all even numbers in the chosen domain {1, 2, 3, 4}.
(iii) the monadic predicate G is understood to refer to the property of being
a prime number, i.e., its interpretation is given by the subset G = {2, 3}
of all prime numbers in the specified domain {1, 2, 3, 4}. There are no
other nonlogical constants to interpret. Remember, pF q refers to a
linguistic entity that belongs to the alphabet of the object language of
LMPL, and pFq denotes a set (a mathematical object).
It is easy to see that under the foregoing interpretation which is often
denoted by the ordered triple hD, F, Gi, the universal conditional says that all
even natural numbers below 5 are prime. Since 4 is below 5 and is not prime,
under the standing interpretation I the universal conditional x[F x Gx]
is false. Simply, it is not the case that all even numbers among 1, 2, 3, 4 are
prime. However, under the same interpretation I, the existential sentence
x[F x & Gx] comes out true, because there exists an even number that is
prime, namely 2.
Now, suppose we change the interpretation to I , newly specified as follows:
(i) The domain is: D =df {1, 3, 5, 7}. I.e., the domain is defined by the
set of the first four odd natural numbers;
4
applies: individual constant a may not occur in Y , nor in any assumption A, nor in any hypothesis H that is in effect at the line
at which E is applied. Alternatively, the restriction states that
constant a is not allowed to occur outside the subproof where it is
introduced. We may think of the name a introduced at the beginning of the subproof as the formal counterpart of the English Let
a be an arbitrary individual (e.g., John Doe) such that Z(a). The
restriction is handled automatically by introducing an individual
constant a that has not been used in any of the assumptions or
hypotheses before. Intuitively, in any proof, the rule E allows
us to put xZ(x) on hold and work instead in the subproof with
the temporary existential hypothesis Z(a) about a John Doe a,
until the desired result is obtained. At that point, by the rule E
we can return to the use of xZ(x) and at the same time discharge
the temporary existential hypothesis Z(a).
xZ(x)
Z(a) H
Y
Y
where constant a does not occur in Y or any assumption, or hypothesis.
3. Introduction and Elimation of the Identity Relation:
Special logical (unary, binary, etc.) predicates may be added to predicate calculus for special purposes. One of the most useful binary logical
predicate constants is the classical identity =, where a = b expresses
the fact that individual a is identical to individual b or a is the same
thing as b, or simply a is equal to b. For example, if a denotes Mark
Twain and b denotes Samuel Clemens, then a = b expresses the fact
that Mark Twain is the same individual as Samuel Clemens. The identity predicate = is special because like all logical symbols and unlike
all predicate constants, its interpretation is fixed. It always means it
is identical to. Specifically, given an interpretation with a domain D
in which individual constants a and b are interpreted as suitable designated elements in D, say a and b respectively, then a = b is true under
the extant interpretation just in case a = b, i.e., if and only if a and b
are the same objects in D.
Also, note that = is syntactically peculiar in that unlike all nonlogical
binary predicate constants, it is written between the individual constants or variables (as in a = b or x = y) to which it applies rather
than in front of them (as in Lab or Lxy). The so-called Polish notation
8
a=a
Observe that rule I= introduces formulas into proofs without deriving them from previous lines. In particular, the proof of the law
of reflexivity of identity xx = x consists of two simple steps:
1 a=a
I=
2 xx = x 1, I
Note that the use of I in step 2 is legitimate because the proof
does not use any assumptions or hypotheses containing a. This
should be clear, since a is generic. We could have started with
b = b, and so on.
Elimation of Identity =, symbolized by E=:
From a formula Z(a) (containing individual constant a) and a = b
or b = a we may infer Z(b), the result of replacing one or more
occurrences of a in Z by b.
(i)
(ii)
Z(a)
Z(a)
a=b
b=a
Z(b//a)
Z(b//a)
where the expression Z(b//a) denotes the formula that results
from Z(a) upon replacing one of more occurrences of a in Z with
b. Clearly, the inference rule E= is the traditional substitution
law : If a and b are really one and the the same (i.e., a = b), then
anything true of one of them must be true of the other as well.
Specifically, Z(b//a) must be true if obtained from the truth of
Z(a) by substituting equals for equals.
A proof or derivation in predicate logic with identity is a finite sequence
of consecutively numbered lines, each consisting of a sentence belonging to
the language of predicate logic together with its line number (on the left) and
all rules used (on the right), such that on each line the sentence is a given
assumption or a temporary hypothesis, or it follows from previous lines in
accordance with any of the 14 rules of sentential, 4 rules of predicate and
two rules of identity in quantificational logic, itemized above and in Handout
9
F a xF x
Proof.
1
2
3
4
5
F a
xF x
Fa
F a & F a
F x
A
H (for RAA)
2, E,H
1,3 I & ,H
2-4 RAA,H
A
A
1, E
2, E
H (for C)
3,5 MP, H
4,6 T, H
5-7 C,H
8, I
Observe that constant a does not occur in any of the assumptions. Its
occurrence in the hypothesis does not matter because the hypothesis
with its sub-subproof is discharged before the use of I.
M2
10
1
2
3
4
5
6
7
8
9
10
11
12
13
14
xF x xGx
xF x
Fa
F a Ga
x[F x Gx]
x[F x Gx]
xF x x[F x Gx]
xGx
Ga
F a Ga
x[F x Gx]
x[F x Gx]
xGx x[F x Gx]
x[F x Gx]
A
H (for C)
H (for E)
3, I, H,H
4,I,H,H
2,3-5, E,HH
2-6 C, H
H (for C)
H (for E)
9, I, H,H
10,I,H,H
8,9-11,E,HH
8-12, C, H
1,7,13 E
PL0
Proof.
1
2
3
4
5
x[F x Gx]
xF x
F a Ga
Fa
Ga
A
A
1, E
2, E
3,4 MP
xyLxy Laa
PL1
Proof.
1
2
3
xyLxy
yLay
Laa
A
1, E
2, E
PL2
Proof.
1
2
3
4
5
6
7
A
1, E
2, E &
2, E &
3, I, a generic
4, I, a generic
5,6 I &
11
PL3
Proof.
1
2
3
4
5
6
7
8
9
10
11
x[F x Gx]
F a Ga
Fa
xF x
xF x xGx]
F a (xF x xGx)
Ga
xGx
F x xGx
Ga (F x xGx)
xF x xGx
A
1, E
H (for C
3, I, H
4,I,H
3-5, CH
H (for C)
7, I,H
8,I,H
7-9,C
2,6,10,E
xF x xF x
PL4
Proof.
1
2
3
4
5
6
xF x
Fa
xF x
xF x & xF x
F a
xF x
A
H (for RAA)
2, I,H
1,3,I & ,H
2-4,RAA, H
(a is now outsdide H)
5, I
PL5
Proof.
1
2
3
4
5
6
7
xLax
xy[Lxy M yx]
Lab
y[Lay M ya]
Lab M ba
M ba
xM xa
A
A
1, E
2, E
4,E
3,5 MP
6, I (b is generic)
x[F x F x]
PL6
Proof.
1
2
3
Fa
Fa Fa
x[F x F x]
H (for C)
1,1 C, H
2, I
PL7
Proof.
1
2
3
4
5
6
7
8
xF x & F x
xF x
xF x
F a
Fa
P & P
P & negP
[f orallxF x & xF x]
H (for RAA)
1,E & , H
1,E & ,H
H (for E),H
2,E,H, H
4,5, T7, H, H
3,4-6,E H, H
1-7, RAA, H
PL9
Proof.
1
2
3
4
5
6
Fa
F b
a=b
Fb
F b & F b
a = b
A
A
H(for RAA)
1,3 E=, H
2,4 I & , H
3-5,RAA, H
xy[x = y y = x]
PL10
Proof.
1
2
3
4
5
6
a=b
a=a
b=a
a=bb=a
y[a = y y = a]
xy[x = y y = x]
H (for C)
I, H
1,2 E=
1,3 C, H
4 I, b is generic
5 I
13