Convert the following set of sentences to clausal form.
1. S1: $A {\;\;{\Leftrightarrow}\;\;}(B \lor E)$.
2. S2: $E {\:\;{\Rightarrow}\:\;}D$.
3. S3: $C \land F {\:\;{\Rightarrow}\:\;}\lnot B$.
4. S4: $E {\:\;{\Rightarrow}\:\;}B$.
5. S5: $B {\:\;{\Rightarrow}\:\;}F$.
6. S6: $B {\:\;{\Rightarrow}\:\;}C$
Give a trace of the execution of DPLL on the conjunction of these clauses.

Convert the following set of sentences to clausal form.
1. S1: $A {\;\;{\Leftrightarrow}\;\;}(B \lor E)$.
2. S2: $E {\:\;{\Rightarrow}\:\;}D$.
3. S3: $C \land F {\:\;{\Rightarrow}\:\;}\lnot B$.
4. S4: $E {\:\;{\Rightarrow}\:\;}B$.
5. S5: $B {\:\;{\Rightarrow}\:\;}F$.
6. S6: $B {\:\;{\Rightarrow}\:\;}C$
Give a trace of the execution of DPLL on the conjunction of these clauses.

4th edition: chapter 7, Logical Agents

Tested in Python, Java, JavaScript, C#, Scala, Julia, Lisp





Submit an Answer

The button opens a form on GitHub, with this exercise filled in; you need a GitHub account. Your answer becomes a pull request, and once a maintainer merges it, it shows under Student Answers.