Math 470 Spring `05

advertisement
Math 470 Spring ’05
HW #7 Solutions
Section 2.4
8. Assume that (xi) is valid. Then it is satisfied by any interpretation A. So whatever
elements of A are chosen as the values of xi, the formula holds,. Let L’ be the extension
of L to include new constants ci. Let A’ be any interpretation of L’. Whatever values are
chosen for the ci, the formula holds for those values. Thus (ci) is true in A”.
Therefore (ci) is valid.
Conversely, assume that (ci) is valid. Then for any A’ an interpretation of L’, (ci) is
true. Restrict L’ to L by removing the ci. In the resulting A. (xi) is true.
Thus (xi) is true in every interpretatuon of L, so it is valid.
Section 2.6
12. a) F xyz(x,y,z) <-> xyz (x,y,z)
/
\
T xyz(x,y,z))
F xyz(x,y,z)
F xyz (x,y,z)
T xyz (x,y,z)
F yz (c,y,z)
F yz(d,y,z)
T yz (c, y, z)
T yz (d, y, z)
T z (c,e, z)
T z (d,g,z)
T (c,e,f)
T (d,g,h)
F yz (c,y,z)
F (d,g,h)
F z (c, e, z)
F yz(d,y,z)
F (c,e,f)
F z (d,g,z)
X
T z (d,g,z)
T (d,g,h)
X
b) Since z is a free variable of , the formula is not a sentence. It can be made one
(without changing its validity) by prefixing it with a universal quantifier applied
to a new variable and then applying rule 7b to that variable, so that  becomes
c.
We can now ignore the free occurrence of z.
(Or treat the formula as if it didn’t have a free occurrence of z.)
F z(xy (z v ) <-> xyw ((z/w) v ) )
/
\
T xy (z v )
F xy (z v )
F xyw ((z/w) v )
T xyw ((z/w) v )
T y (z (c,y,z) v (c,y))
T yw (f,y,w) v (f,y)
F yw ((c,y, w) v (c,y)
F xy (z v )
F w ((c,d, w) v (c,d)
F y( z (f,y,z) v (f,y)
F ((c,d,e) v (c,d)
F (z (f,g,z) v (f,g))
T y (z (c,y,z) v (c,y))
Fz (f,g,z)
T z (c, d, z) v (c,d)
T (c,d,e) v (c,d)
X
F(f,g)
F (f,g,h)
T yw (f,y,w) v (f,y)
T (f,g,h) v (f,g)
/
\
T (f,g,h)
T(f,g)
X
X
c) d) similar
Section 2.9
1. Suppose that  and  are equivalent.
Prove that x and x are equivalent. If x is true in a structure A, then  is
true in A for any element a of A replacing free occurrences of x, Since  is
equivalent to ,  is also true for any element of A. Then x is true in A.
Prove that x and x  are equivalent. If x is true in a structure A, then  is true
in A for some element a of A replacing free occurrences of x, Since  is equivalent
to ,  is also true for a. Then x is true in A.
Thus the equivalence of  and  is preserved for Qx and Qx . Repeating this n
times proves the claim.
2. A formula with free variables is valid iff the corresponding formula with the free
variables replaced by new constants is.
So we can replace any free variables in 1a to 4b’ by new constants without changing
their validity.
3. By exercises 1 and 2, we can assume that 1a to 4b contain neither free variables
and that the leading strings of quantifiers are empty. Thus 1a becomes
y <-> y
Tableau:
F y <-> y
/
\
T y
F y
F y
T y 
F y 
T (c)
F (d)
F (c)
F (d)
T y 
T (d)
T (c)
X
X
Semantic argument:
Assume that y  is true in a structure A. Then y is false in A. Then for some
element a of A,  is false when a replaces free occurrences of y. Then  is true for
a. So y  is true in A.
Conversely, assume that y  is true in A. Then for some element a of A,  is
true for a. So  is false for A. Then y  is false in A. Then y  is true in A.
Hence they are equivalent.
Similar tableau and semantic proofs can be carried out for the other claims.
4. Assume that x (x, f(x) ) is true in A. Let a be any element of A. Then (a,
f(a)) is true. So y (a, y) is true. As this holds for any element of A, xy
(x,y) is true in A. Thus the implication x (x, f(x) ) -> xy (x,y) is
valid.
Now let A = N, (x,y) be x < y and f be the identity function f(x) = x.
Then xy (x,y) is true in A but x (x, f(x) is not. So xy (x,y) -> x (x, f(x) is
false in A.
5. a) First pull out the y and y, changing the second y to v. Either can go first,
we’ll put the  in front.
vy( ( xP(x,y) -> Q(y,z) ) ^ (xR(x,v) v Q(x, v)).
Next, dealing with the x’s in each conjunct, changing the second to u, gives:
vy ( x( P(x,y ) -> Q (y,z) ) ^ u( R(u,v ) v Q (x, v)) (Note that the final x is not
in the scope of the quantifier.)
The u and the first x can now be pulled out, but must change to a new variable as
there is a free x.
vy w u (P(w,y) -> Q(y, z) ^ (R(u,v) v Q (x, v))
Skolemizing gives y w u ( (P (w,y) -> Q(y, z) ) ^ ( R(u, c) v Q (x, c))
b) First translate to (xR(x,y) -> y P(x,y) ) ^ (y P(x,y) -> xR(x,y))
The y in R is free as is the x in P, so all of the bound variables must be changed.
(u R(u,y) -> vP(x,v) ) ^ (wP(x,w) -> z R(z,y))
uv( R(u,y) -> P(x, v) ) ^ w z (P(x, w) -> R( z,y))
Finally
w z u v (R(u,y) -> P(x,v)) ^ P(x,w) -> R(z, v))
Skolemizing gives uv (R(u,y) -> P(x, v)) ^ (P(x,c) -> (d, v))
c) xy u v wz (Q(x,y) v P(u,v) ^ P(w,z))
Skolemizing gives: x v w z (Q(x, f(x)) v P(g(x), v)  P(w, z))
d) Rewrite the 1st conjunct as (xy P(x,y) ^ xyR(x,y)) and then as xy
P(x,y) ^ xy R(x,y).
Rewrite the second as xyQ(x,y).
Then pull the quantifiers forward, changing the second xy to uv and the third to wz;
xy uv wz (P(x,y) ^ R(u,v) ^ Q(w,z))
Skolemizing gives: x uvwz (P(x,f(x)) ^ R(u,v) ^ Q(w,z)).
Download