For the International version of the book, change “Section 1.6” to “Section 1.5”.
Please format your answers as closely to these examples: https://wiki.cs.byu.edu/_media/cs-236/homework_6_examples.pdf
For each of the problems (except Section 1.6 question 24), you will need to provide a proof in addition to what the question is asking (unless the conclusion you are asked to prove is incorrect; instead you will need to explain why it is incorrect).
For the problems involving Section 1.6 question 10, you don't need to explain what rules of inference are used as long as you provide a proof.
Schemes: C(X) P(X) W(X) Facts: C('d') Rules: P(X) :- C(X). W(X) :- P(X). Queries: W(X)?
Schemes: J(X) C(X) P(X) R(X) Facts: J('d') C('d') Rules: P(X) :- J(X). R(X) :- C(X), P(X). Queries: R(X)?
Schemes: P(X,Y) Q(X,Y,Z) R(X,Z) Facts: P('a','a') P('a','b') P('a','c') Q('a','b','c') Rules: R(X,Z) :- P(X,Z), Q(X,Y,Z) Queries: R('a',X)?