Chapter 7

Section 7.1

1. a. [p(0, 0) p(0, 1)] [p(1, 0) p(1, 1)] .

2. a. x q(x), where x {0, 1}.

c. y p(x, y), where y {0, 1}.

e. x p(x), where x is an odd natural number.

3. a. x is a term. Therefore, p(x) is a wff, and it follows that x p(x) and x p(x) are wffs. Thus, x p(x) x p(x) is a wff.

4. It is illegal to have an atom, p(x) in this case, as an argument to a predicate.

5. a. The three occurrences of x, left to right, are free, bound, and bound. The four occurrences of y, left to right, are free, bound, bound, and free.

c. The three occurrences of x, left to right, are free, bound, and bound. Both occurrences of y are free.

6. x p(x, y, z) z q(z).

Get Discrete Structures, Logic, and Computability, 4th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.