Math 470 Spring Õ05
HW #7 Solutions
Section 2.4
8. Assume that j(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 j holds for those values. Thus j(ci) is true in AÓ. Therefore j(ci) is valid.
Conversely, assume that j(ci) is valid. Then for any AÕ an interpretation of LÕ, j(ci) is true. Restrict LÕ to L by removing the ci. In the resulting A. j(xi) is true.
Thus j(xi) is true in every interpretatuon of L, so it is valid.
Section 2.6
12. a) F "x$y¯"zj(x,y,z) <-> "x$y$z¯ j(x,y,z)
/ \
T "x$y¯"zj(x,y,z)) F "x$y¯"zj(x,y,z)
F "x$y$z¯ j(x,y,z) T "x$y$z¯ j(x,y,z)
F $y$z ¯j(c,y,z) F $y¯"zj(d,y,z)
T $y¯"z j(c, y, z) T $y$z ¯j(d, y, z)
T ¯"z j(c,e, z) T $z ¯j(d,g,z)
T ¯j(c,e,f) T ¯j(d,g,h)
F $y$z ¯j(c,y,z) F j(d,g,h)
F $z ¯j(c, e, z) F $y¯"zj(d,y,z)
F ¯j(c,e,f) F ¯"z j(d,g,z)
X T "z j(d,g,z)
T j(d,g,h)
X
b) Since z is a free variable of y, 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 y becomes yc.
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 ("zj v y) <-> $x"y"w (j(z/w) v y) )
/ \
T $x"y ("zj v y) F $x"y ("zj v y)
F $x"y"w (j(z/w) v y) T $x"y"w (j(z/w) v y)
T "y ("z j(c,y,z) v y(c,y)) T "y"w j(f,y,w) v y(f,y)
F "y"w (j(c,y, w) v y(c,y) F $x"y ("zj v y)
F "w (j(c,d, w) v y(c,d) F "y( "z j(f,y,z) v y(f,y)
F (j(c,d,e) v y(c,d) F ("z j(f,g,z) v y(f,g))
T "y ("z j(c,y,z) v y(c,y)) F"z j(f,g,z)
T "z j(c, d, z) v y(c,d) Fy(f,g)
T j(c,d,e) v y(c,d) F j(f,g,h)
X T "y"w j(f,y,w) v y(f,y)
T j(f,g,h) v y(f,g)
/ \
T j(f,g,h) Ty(f,g)
X X
c) d) similar
Section 2.9
Prove that "xj and "xy are equivalent. If "xj is true in a structure A, then j is true in A for any element a of A replacing free occurrences of x, Since y is equivalent to j, y is also true for any element of A. Then "xy is true in A.
Prove that $xj and $x y are equivalent. If $xj is true in a structure A, then j is true in A for some element a of A replacing free occurrences of x, Since y is equivalent to j, y is also true for a. Then $xy is true in A.
Thus the equivalence of j and y is preserved for Qxj and Qx y. Repeating this n times proves the claim.
So we can replace any free variables in 1a to 4bÕ by new constants without changing their validity.
¯"yj <-> $y¯j
Tableau: F ¯"yj <-> $y¯j
/ \
T ¯"yj F ¯"yj
F $y¯j T $y ¯j
F "y j T ¯j(c)
F j(d) F j(c)
F ¯j(d) T "y j
T j(d) T j(c)
X X
Semantic argument:
Assume that ¯"y j is true in a structure A. Then "yj is false in A. Then for some element a of A, j is false when a replaces free occurrences of y. Then ¯j is true for a. So $y ¯j is true in A.
Conversely, assume that $y ¯j is true in A. Then for some element a of A, ¯j is true for a. So j is false for A. Then "y j is false in A. Then ¯"y j is true in A.
Hence they are equivalent.
Similar tableau and semantic proofs can be carried out for the other claims.
Now let A = N, j(x,y) be x < y and f be the identity function f(x) = x.
Then "x$y j(x,y) is true in A but "x j(x, f(x) is not. So "x$y j(x,y) -> "x j(x, f(x) is false in A.
$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) Rewrite the 3rd conjunct as "x"y ¯P(x,y). Then replace 2nd xy by uv and 3rd by wz.
$u"x$y "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(c, 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)).