Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CS 251 Discrete Structures II Homework 5 - Prof. Martin Cenek, Assignments of Discrete Structures and Graph Theory

Problems and questions for homework 5 in cs 251 discrete structures ii course. The tasks include using skolem's algorithm to transform given propositional logic formulas into clausal form, computing the composition of substitutions, and using unification algorithms to find most general unifiers for given sets of atoms. Additionally, students are asked to prove the validity of a statement using resolution.

Typology: Assignments

Pre 2010

Uploaded on 08/13/2009

koofers-user-s28-1
koofers-user-s28-1 🇺🇸

10 documents

1 / 1

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS 251 – Discrete Structures II.
Homework 5
1. Pg 530, Question 1(c,e,f). Use Skolem’s algorithm, to transform each wff into a clausal
form.
1c. x y(p(x,y)q(x)).
1e. xy(p(x,y) z q(x,y,z))
1f. x y z [(p(x,y) q(x,z) r(x,y,z)].
2. Pg 531, Question 4(b, c). Compute the composition of each of the following pairs of
substitutions.
4b. ={x/y}, ={y/x,x/a}
4c. ={x/y, y/a}, ={y/x}
3. Pg 531 Q 5a, 6a. Use Robinson’s unification algorithm and Martelli-Montanari
unification algorithm to find a most general unifier for the following set of atoms.
5a.6a. {p(x, f(y, a), y), p(f(a, b), v, z)}
4. Pg 532. 10a. Prove that the following statement is valid by using resolution to prove
that its negation is unsatisfiable.
10a. x p(x) x p(x).

Partial preview of the text

Download CS 251 Discrete Structures II Homework 5 - Prof. Martin Cenek and more Assignments Discrete Structures and Graph Theory in PDF only on Docsity!

CS 251 – Discrete Structures II. Homework 5

  1. Pg 530, Question 1(c,e,f). Use Skolem’s algorithm, to transform each wff into a clausal form. 1c. x y(p(x,y)q(x)). 1e. xy(p(x,y) z q(x,y,z)) 1f. x y z [(p(x,y) q(x,z) r(x,y,z)].
  2. Pg 531, Question 4(b, c). Compute the composition of each of the following pairs of substitutions. 4b. ={x/y}, ={y/x,x/a} 4c. ={x/y, y/a}, ={y/x}
  3. Pg 531 Q 5a, 6a. Use Robinson’s unification algorithm and Martelli-Montanari unification algorithm to find a most general unifier for the following set of atoms. 5a.6a. {p(x, f(y, a), y), p(f(a, b), v, z)}
  4. Pg 532. 10a. Prove that the following statement is valid by using resolution to prove that its negation is unsatisfiable. 10a. x p(x) x p(x).